Socket
Socket
Sign inDemoInstall

client-oauth2

Package Overview
Dependencies
29
Maintainers
5
Versions
39
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.2.1 to 4.2.2

12

package.json
{
"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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc