Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "utf7", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Converts text to and from UTF-7 (RFC 2152 and IMAP)", | ||
@@ -10,4 +10,8 @@ "author": "Konstantin Käfer <kkaefer@gmail.com>", | ||
"dependencies": { | ||
"semver": "~5.3.0" | ||
}, | ||
"devDependencies": { | ||
"tape" : "~4.6.0" | ||
"tape": "~4.6.0" | ||
}, | ||
@@ -14,0 +18,0 @@ |
var Buffer = require('buffer').Buffer; | ||
var semver = require('semver'); | ||
if (process.version >= 'v6.0.0') { | ||
if (semver.gte(process.version, '6.0.0')) { | ||
function allocateAsciiBuffer(length) { | ||
return Buffer.alloc(length, encoding='ascii'); | ||
return Buffer.alloc(length, 'ascii'); | ||
} | ||
@@ -29,5 +30,5 @@ } else { | ||
if (process.version >= 'v6.0.0') { | ||
if (semver.gte(process.version, '6.0.0')) { | ||
function allocateBase64Buffer(str) { | ||
return Buffer.from(str, encoding='base64'); | ||
return Buffer.from(str, 'base64'); | ||
} | ||
@@ -34,0 +35,0 @@ } else { |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
12560
201
0
1
+ Addedsemver@~5.3.0
+ Addedsemver@5.3.0(transitive)