We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ddf3ed9 commit 54147abCopy full SHA for 54147ab
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "node-rsa",
3
- "version": "0.2.10",
+ "version": "0.2.11",
4
"description": "Node.js RSA library",
5
"main": "src/NodeRSA.js",
6
"scripts": {
src/NodeRSA.js
@@ -37,7 +37,7 @@ module.exports = (function () {
37
* @constructor
38
*/
39
function NodeRSA(key, format, options) {
40
- if (!this instanceof NodeRSA) {
+ if (!(this instanceof NodeRSA)) {
41
return new NodeRSA(key, options);
42
}
43
0 commit comments