registry-auth-token
Advanced tools
Comparing version 4.1.0 to 4.1.1
@@ -1,9 +0,7 @@ | ||
const safeBuffer = require('safe-buffer').Buffer | ||
function decodeBase64 (base64) { | ||
return safeBuffer.from(base64, 'base64').toString('utf8') | ||
return Buffer.from(base64, 'base64').toString('utf8') | ||
} | ||
function encodeBase64 (string) { | ||
return safeBuffer.from(string, 'utf8').toString('base64') | ||
return Buffer.from(string, 'utf8').toString('base64') | ||
} | ||
@@ -10,0 +8,0 @@ |
{ | ||
"name": "registry-auth-token", | ||
"version": "4.1.0", | ||
"version": "4.1.1", | ||
"description": "Get the auth token set for an npm registry (if any)", | ||
@@ -35,4 +35,3 @@ "main": "index.js", | ||
"dependencies": { | ||
"rc": "^1.2.8", | ||
"safe-buffer": "^5.0.1" | ||
"rc": "^1.2.8" | ||
}, | ||
@@ -39,0 +38,0 @@ "devDependencies": { |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
1
0
31193
605
- Removedsafe-buffer@^5.0.1
- Removedsafe-buffer@5.2.1(transitive)