simple-oauth2
Advanced tools
Comparing version 1.1.0 to 1.2.0
@@ -8,2 +8,9 @@ { | ||
"no-param-reassign": 0, | ||
"comma-dangle": ["error", { | ||
"arrays": "always-multiline", | ||
"objects": "always-multiline", | ||
"imports": "always-multiline", | ||
"exports": "always-multiline", | ||
"functions": "never" | ||
}], | ||
"import/no-extraneous-dependencies": [ | ||
@@ -10,0 +17,0 @@ "error", |
# Changelog | ||
## v1.2.0 | ||
* Upgrade dependencies, to avoid using outdated/vulnerable versions | ||
## v1.1.0 | ||
@@ -4,0 +7,0 @@ * Add support to body encoding format in library requests |
@@ -65,3 +65,3 @@ 'use strict'; | ||
.api('POST', tokenUrl, options) | ||
.then((response) => createAccessToken(response)) | ||
.then(response => createAccessToken(response)) | ||
.nodeify(callback); | ||
@@ -68,0 +68,0 @@ }; |
@@ -7,3 +7,5 @@ 'use strict'; | ||
const HTTPError = require('./error'); | ||
const request = Promise.promisify(require('request')); | ||
const request = Promise.promisify(require('request'), { | ||
multiArgs: true, | ||
}); | ||
@@ -10,0 +12,0 @@ /** |
{ | ||
"name": "simple-oauth2", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"description": "Node.js client for OAuth2", | ||
@@ -22,3 +22,3 @@ "author": "Andrea Reginato <andrea.reginato@gmail.com>", | ||
"lint": "eslint .", | ||
"format": "eslint . --fix", | ||
"fix": "eslint . --fix", | ||
"test-watch": "mocha --watch --reporter=spec", | ||
@@ -28,7 +28,7 @@ "docs-gen": "doctoc README.md --github --no-title" | ||
"dependencies": { | ||
"bluebird": "^2.10.1", | ||
"bluebird": "^3.5.0", | ||
"date-fns": "^1.3.0", | ||
"debug": "^2.2.0", | ||
"joi": "^9.0.4", | ||
"request": "^2.67.0" | ||
"joi": "^10.4.1", | ||
"request": "^2.81.0" | ||
}, | ||
@@ -39,8 +39,8 @@ "devDependencies": { | ||
"mocha": "^3.0.0", | ||
"nock": "^8.0.0", | ||
"nock": "^9.0.13", | ||
"eslint": "^3.2.2", | ||
"eslint-config-airbnb-base": "^5.0.1", | ||
"eslint-plugin-import": "^1.12.0" | ||
"eslint-config-airbnb-base": "^11.1.3", | ||
"eslint-plugin-import": "^2.2.0" | ||
}, | ||
"license": "Apache-2.0" | ||
} |
Sorry, the diff of this file is not supported yet
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
29990
432
+ Addedbluebird@3.7.2(transitive)
+ Addedjoi@10.6.0(transitive)
- Removedbluebird@2.11.0(transitive)
- Removedjoi@9.2.0(transitive)
- Removedmoment@2.30.1(transitive)
Updatedbluebird@^3.5.0
Updatedjoi@^10.4.1
Updatedrequest@^2.81.0