Socket
Socket
Sign inDemoInstall

client-oauth2

Package Overview
Dependencies
24
Maintainers
5
Versions
39
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.2.4 to 4.2.5

4

package.json
{
"name": "client-oauth2",
"version": "4.2.4",
"version": "4.2.5",
"description": "Straight-forward execution of OAuth 2.0 flows and authenticated API requests",

@@ -68,5 +68,5 @@ "main": "src/client-oauth2.js",

"dependencies": {
"popsicle": "^10.0.0",
"popsicle": "12.0.4",
"safe-buffer": "^5.1.1"
}
}

@@ -13,4 +13,3 @@ var popsicle = require('popsicle')

module.exports = function request (method, url, body, headers) {
return popsicle.get({
url: url,
return popsicle.fetch(url, {
body: body,

@@ -20,7 +19,10 @@ method: method,

}).then(function (res) {
return {
status: res.status,
body: res.body
}
return res.text()
.then(body => {
return {
status: res.status,
body: body
}
})
})
}
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