client-oauth2
Advanced tools
Comparing version 4.2.4 to 4.2.5
{ | ||
"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 | ||
} | ||
}) | ||
}) | ||
} |
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
33567
744
+ Added@servie/events@1.0.0(transitive)
+ Added@types/tough-cookie@4.0.5(transitive)
+ Addedbyte-length@1.0.2(transitive)
+ Addedip-regex@2.1.0(transitive)
+ Addedmake-error-cause@2.3.0(transitive)
+ Addedpopsicle@12.0.4(transitive)
+ Addedpopsicle-content-encoding@1.0.0(transitive)
+ Addedpopsicle-cookie-jar@1.0.1(transitive)
+ Addedpopsicle-redirects@1.1.1(transitive)
+ Addedpopsicle-transport-http@1.2.1(transitive)
+ Addedpopsicle-transport-xhr@1.0.2(transitive)
+ Addedpopsicle-user-agent@1.0.0(transitive)
+ Addedquerystringify@2.2.0(transitive)
+ Addedrequires-port@1.0.0(transitive)
+ Addedservie@4.3.3(transitive)
+ Addedthrowback@4.1.0(transitive)
+ Addedtough-cookie@3.0.14.1.4(transitive)
+ Addedts-expect@1.3.0(transitive)
+ Addeduniversalify@0.2.0(transitive)
+ Addedurl-parse@1.5.10(transitive)
- Removed@types/concat-stream@1.6.1(transitive)
- Removed@types/form-data@0.0.33(transitive)
- Removed@types/methods@1.1.4(transitive)
- Removed@types/node@22.9.0(transitive)
- Removed@types/tough-cookie@2.3.11(transitive)
- Removedasynckit@0.4.0(transitive)
- Removedbuffer-from@1.1.2(transitive)
- Removedcombined-stream@1.0.8(transitive)
- Removedconcat-stream@1.6.2(transitive)
- Removedcore-util-is@1.0.3(transitive)
- Removeddelayed-stream@1.0.0(transitive)
- Removedform-data@2.5.2(transitive)
- Removedinherits@2.0.4(transitive)
- Removedisarray@1.0.0(transitive)
- Removedmake-error-cause@1.2.2(transitive)
- Removedmime-db@1.52.0(transitive)
- Removedmime-types@2.1.35(transitive)
- Removedpopsicle@10.0.1(transitive)
- Removedprocess-nextick-args@2.0.1(transitive)
- Removedreadable-stream@2.3.8(transitive)
- Removedsafe-buffer@5.1.2(transitive)
- Removedstring_decoder@1.1.1(transitive)
- Removedtough-cookie@2.5.0(transitive)
- Removedtypedarray@0.0.6(transitive)
- Removedundici-types@6.19.8(transitive)
- Removedutil-deprecate@1.0.2(transitive)
Updatedpopsicle@12.0.4