Comparing version 1.0.3 to 1.0.4
{ | ||
"name": "node-rsa", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "Node.js RSA library", | ||
@@ -5,0 +5,0 @@ "main": "src/NodeRSA.js", |
@@ -55,3 +55,3 @@ var ber = require('asn1').Ber; | ||
if (_.isString(data)) { | ||
let pem = utils.trimSurroundingText(data, PRIVATE_OPENING_BOUNDARY, PRIVATE_CLOSING_BOUNDARY) | ||
var pem = utils.trimSurroundingText(data, PRIVATE_OPENING_BOUNDARY, PRIVATE_CLOSING_BOUNDARY) | ||
.replace(/\s+|\n\r|\n|\r$/gm, ''); | ||
@@ -58,0 +58,0 @@ buffer = Buffer.from(pem, 'base64'); |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
184407
29