client-oauth2
Advanced tools
Comparing version 4.2.1 to 4.2.2
{ | ||
"name": "client-oauth2", | ||
"version": "4.2.1", | ||
"version": "4.2.2", | ||
"description": "Straight-forward execution of OAuth 2.0 flows and authenticated API requests", | ||
@@ -52,7 +52,7 @@ "main": "src/client-oauth2.js", | ||
"is-travis": "^1.0.0", | ||
"karma": "^2.0.2", | ||
"karma-browserify": "^5.0.2", | ||
"karma": "^3.0.0", | ||
"karma-browserify": "^6.0.0", | ||
"karma-chai": "^0.1.0", | ||
"karma-chrome-launcher": "^2.0.0", | ||
"karma-cli": "^1.0.1", | ||
"karma-cli": "^2.0.0", | ||
"karma-coverage": "^1.1.2", | ||
@@ -65,9 +65,9 @@ "karma-firefox-launcher": "^1.0.0", | ||
"phantomjs-prebuilt": "^2.1.4", | ||
"standard": "^11.0.0", | ||
"standard": "^12.0.0", | ||
"watchify": "^3.7.0" | ||
}, | ||
"dependencies": { | ||
"popsicle": "^9.1.0", | ||
"popsicle": "^10.0.0", | ||
"safe-buffer": "^5.1.1" | ||
} | ||
} |
@@ -6,3 +6,8 @@ var Buffer = require('safe-buffer').Buffer | ||
var btoa = typeof Buffer === 'function' ? btoaBuffer : window.btoa | ||
var btoa | ||
if (typeof Buffer === 'function') { | ||
btoa = btoaBuffer | ||
} else { | ||
btoa = window.btoa | ||
} | ||
@@ -84,3 +89,3 @@ /** | ||
function btoaBuffer (string) { | ||
return new Buffer(string).toString('base64') | ||
return Buffer.from(string).toString('base64') | ||
} | ||
@@ -87,0 +92,0 @@ |
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
33511
742
+ Added@types/concat-stream@1.6.1(transitive)
+ Added@types/form-data@0.0.33(transitive)
+ Added@types/methods@1.1.4(transitive)
+ Added@types/node@22.5.5(transitive)
+ Added@types/tough-cookie@2.3.11(transitive)
+ Addedpopsicle@10.0.1(transitive)
+ Addedundici-types@6.19.8(transitive)
- Removedpopsicle@9.2.0(transitive)
Updatedpopsicle@^10.0.0