Skip to content

bump version & update readme #125

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 1, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -237,6 +237,9 @@ Questions, comments, bug reports, and pull requests are all welcome.

## Changelog

### 1.0.1
* `importKey()` now returns this

### 1.0.0
* Using semver now 🎉
* **Breaking change**: Drop support nodejs < 8.11.1
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-rsa",
"version": "1.0.0",
"version": "1.0.1",
"description": "Node.js RSA library",
"main": "src/NodeRSA.js",
"scripts": {
8 changes: 3 additions & 5 deletions src/NodeRSA.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
/*!
* RSA library for Node.js
*
* Copyright (c) 2014 rzcoder
* All Rights Reserved.
*
* License BSD
* Author: rzcoder
* License MIT
*/

var constants = require('constants');
@@ -16,7 +14,7 @@ var utils = require('./utils');
var schemes = require('./schemes/schemes.js');
var formats = require('./formats/formats.js');

if (typeof constants.RSA_NO_PADDING == "undefined") {
if (typeof constants.RSA_NO_PADDING === "undefined") {
//patch for node v0.10.x, constants do not defined
constants.RSA_NO_PADDING = 3;
}