Socket
Socket
Sign inDemoInstall

client-oauth2

Package Overview
Dependencies
23
Maintainers
5
Versions
39
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.1.0 to 4.2.0

18

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

@@ -14,2 +14,3 @@ "main": "src/client-oauth2.js",

"buffer": false,
"safe-buffer": false,
"./src/request/index.js": "./src/request/browser.js"

@@ -45,9 +46,10 @@ },

"body-parser": "^1.15.2",
"browserify": "^14.1.0",
"chai": "^3.2.0",
"browserify": "^16.1.1",
"chai": "^4.1.2",
"cors": "^2.8.1",
"envify": "^4.0.0",
"es6-promise": "^4.2.4",
"express": "^4.14.0",
"is-travis": "^1.0.0",
"karma": "^1.3.0",
"karma": "^2.0.0",
"karma-browserify": "^5.0.2",

@@ -61,12 +63,12 @@ "karma-chai": "^0.1.0",

"karma-phantomjs-launcher": "^1.0.0",
"mocha": "^3.0.2",
"mocha": "^5.0.4",
"object-assign": "^4.1.1",
"phantomjs": "^2.1.3",
"phantomjs-prebuilt": "^2.1.4",
"standard": "^9.0.2",
"standard": "^11.0.0",
"watchify": "^3.7.0"
},
"dependencies": {
"popsicle": "^9.1.0"
"popsicle": "^9.1.0",
"safe-buffer": "^5.1.1"
}
}
# Client OAuth 2.0
[![Greenkeeper badge](https://badges.greenkeeper.io/mulesoft/js-client-oauth2.svg)](https://greenkeeper.io/)
[![NPM version][npm-image]][npm-url]

@@ -4,0 +6,0 @@ [![NPM downloads][downloads-image]][downloads-url]

@@ -0,1 +1,2 @@

var Buffer = require('safe-buffer').Buffer
var Querystring = require('querystring')

@@ -400,3 +401,3 @@ var Url = require('url')

/**
* Make a request on behalf of the user credentials to get an acces token.
* Make a request on behalf of the user credentials to get an access token.
*

@@ -473,3 +474,3 @@ * @param {string} username

// any useful information from the uri.
if (!url.hash && !url.query) {
if (!url.hash && !url.search) {
return Promise.reject(new TypeError('Unable to process uri: ' + uri))

@@ -476,0 +477,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