Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

simple-oauth2

Package Overview
Dependencies
Maintainers
2
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simple-oauth2 - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

7

.eslintrc.json

@@ -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",

3

CHANGELOG.md
# 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

2

lib/client/access-token.js

@@ -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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc