Skip to content

Commit

Permalink
bump version & update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
rzcoder committed Aug 1, 2018
1 parent 8db0f93 commit a0240f5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
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": {
Expand Down
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');
Expand All @@ -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;
}
Expand Down

0 comments on commit a0240f5

Please sign in to comment.