Skip to content

Commit a0240f5

Browse files
committed
bump version & update readme
1 parent 8db0f93 commit a0240f5

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,9 @@ Questions, comments, bug reports, and pull requests are all welcome.
237237

238238
## Changelog
239239

240+
### 1.0.1
241+
* `importKey()` now returns this
242+
240243
### 1.0.0
241244
* Using semver now 🎉
242245
* **Breaking change**: Drop support nodejs < 8.11.1

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "node-rsa",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "Node.js RSA library",
55
"main": "src/NodeRSA.js",
66
"scripts": {

src/NodeRSA.js

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
/*!
22
* RSA library for Node.js
33
*
4-
* Copyright (c) 2014 rzcoder
5-
* All Rights Reserved.
6-
*
7-
* License BSD
4+
* Author: rzcoder
5+
* License MIT
86
*/
97

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

19-
if (typeof constants.RSA_NO_PADDING == "undefined") {
17+
if (typeof constants.RSA_NO_PADDING === "undefined") {
2018
//patch for node v0.10.x, constants do not defined
2119
constants.RSA_NO_PADDING = 3;
2220
}

0 commit comments

Comments
 (0)