simple-oauth2
Advanced tools
Comparing version 2.5.0 to 2.5.1
@@ -1,1 +0,1 @@ | ||
{"processes":{"ea038989-66f7-4768-9fa1-8391adce98f1":{"parent":null,"children":[]}},"files":{"/Users/jsamines/dev/personal/simple-oauth2/index.js":["ea038989-66f7-4768-9fa1-8391adce98f1"],"/Users/jsamines/dev/personal/simple-oauth2/lib/client/auth-code.js":["ea038989-66f7-4768-9fa1-8391adce98f1"],"/Users/jsamines/dev/personal/simple-oauth2/lib/core.js":["ea038989-66f7-4768-9fa1-8391adce98f1"],"/Users/jsamines/dev/personal/simple-oauth2/lib/encoding.js":["ea038989-66f7-4768-9fa1-8391adce98f1"],"/Users/jsamines/dev/personal/simple-oauth2/lib/client/password.js":["ea038989-66f7-4768-9fa1-8391adce98f1"],"/Users/jsamines/dev/personal/simple-oauth2/lib/access-token/index.js":["ea038989-66f7-4768-9fa1-8391adce98f1"],"/Users/jsamines/dev/personal/simple-oauth2/lib/access-token/parse-token.js":["ea038989-66f7-4768-9fa1-8391adce98f1"],"/Users/jsamines/dev/personal/simple-oauth2/lib/client/client.js":["ea038989-66f7-4768-9fa1-8391adce98f1"]},"externalIds":{}} | ||
{"processes":{"0f9d051d-eb88-4967-ae20-ba22407dd22b":{"parent":"2eddfbea-f2b7-4251-baef-68fc7c78880b","children":[]},"2eddfbea-f2b7-4251-baef-68fc7c78880b":{"parent":null,"children":["0f9d051d-eb88-4967-ae20-ba22407dd22b","39b0ec7f-9dc4-4585-a30a-777aee160f01","6148b6bb-0d5e-496d-b17a-955127406483","64784a1f-9378-4a12-a77f-ae9b539c8c3c","6627ec42-ba7e-40e6-848c-ba73a1fb96cb","91738943-dfae-456d-b283-18ecd6f80ecf"]},"39b0ec7f-9dc4-4585-a30a-777aee160f01":{"parent":"2eddfbea-f2b7-4251-baef-68fc7c78880b","children":[]},"6148b6bb-0d5e-496d-b17a-955127406483":{"parent":"2eddfbea-f2b7-4251-baef-68fc7c78880b","children":[]},"64784a1f-9378-4a12-a77f-ae9b539c8c3c":{"parent":"2eddfbea-f2b7-4251-baef-68fc7c78880b","children":[]},"6627ec42-ba7e-40e6-848c-ba73a1fb96cb":{"parent":"2eddfbea-f2b7-4251-baef-68fc7c78880b","children":[]},"91738943-dfae-456d-b283-18ecd6f80ecf":{"parent":"2eddfbea-f2b7-4251-baef-68fc7c78880b","children":[]}},"files":{"/Users/jsamines/dev/personal/simple-oauth2/index.js":["0f9d051d-eb88-4967-ae20-ba22407dd22b","39b0ec7f-9dc4-4585-a30a-777aee160f01","6148b6bb-0d5e-496d-b17a-955127406483","64784a1f-9378-4a12-a77f-ae9b539c8c3c","6627ec42-ba7e-40e6-848c-ba73a1fb96cb","91738943-dfae-456d-b283-18ecd6f80ecf"],"/Users/jsamines/dev/personal/simple-oauth2/lib/client/auth-code.js":["0f9d051d-eb88-4967-ae20-ba22407dd22b","39b0ec7f-9dc4-4585-a30a-777aee160f01","6148b6bb-0d5e-496d-b17a-955127406483","64784a1f-9378-4a12-a77f-ae9b539c8c3c","6627ec42-ba7e-40e6-848c-ba73a1fb96cb","91738943-dfae-456d-b283-18ecd6f80ecf"],"/Users/jsamines/dev/personal/simple-oauth2/lib/core.js":["0f9d051d-eb88-4967-ae20-ba22407dd22b","39b0ec7f-9dc4-4585-a30a-777aee160f01","6148b6bb-0d5e-496d-b17a-955127406483","64784a1f-9378-4a12-a77f-ae9b539c8c3c","6627ec42-ba7e-40e6-848c-ba73a1fb96cb","91738943-dfae-456d-b283-18ecd6f80ecf"],"/Users/jsamines/dev/personal/simple-oauth2/lib/encoding.js":["0f9d051d-eb88-4967-ae20-ba22407dd22b","39b0ec7f-9dc4-4585-a30a-777aee160f01","6148b6bb-0d5e-496d-b17a-955127406483","64784a1f-9378-4a12-a77f-ae9b539c8c3c","6627ec42-ba7e-40e6-848c-ba73a1fb96cb","91738943-dfae-456d-b283-18ecd6f80ecf"],"/Users/jsamines/dev/personal/simple-oauth2/lib/client/password.js":["0f9d051d-eb88-4967-ae20-ba22407dd22b","39b0ec7f-9dc4-4585-a30a-777aee160f01","6148b6bb-0d5e-496d-b17a-955127406483","64784a1f-9378-4a12-a77f-ae9b539c8c3c","6627ec42-ba7e-40e6-848c-ba73a1fb96cb","91738943-dfae-456d-b283-18ecd6f80ecf"],"/Users/jsamines/dev/personal/simple-oauth2/lib/access-token/index.js":["0f9d051d-eb88-4967-ae20-ba22407dd22b","39b0ec7f-9dc4-4585-a30a-777aee160f01","6148b6bb-0d5e-496d-b17a-955127406483","64784a1f-9378-4a12-a77f-ae9b539c8c3c","6627ec42-ba7e-40e6-848c-ba73a1fb96cb","91738943-dfae-456d-b283-18ecd6f80ecf"],"/Users/jsamines/dev/personal/simple-oauth2/lib/access-token/parse-token.js":["0f9d051d-eb88-4967-ae20-ba22407dd22b","39b0ec7f-9dc4-4585-a30a-777aee160f01","6148b6bb-0d5e-496d-b17a-955127406483","64784a1f-9378-4a12-a77f-ae9b539c8c3c","6627ec42-ba7e-40e6-848c-ba73a1fb96cb","91738943-dfae-456d-b283-18ecd6f80ecf"],"/Users/jsamines/dev/personal/simple-oauth2/lib/client/client.js":["0f9d051d-eb88-4967-ae20-ba22407dd22b","39b0ec7f-9dc4-4585-a30a-777aee160f01","6148b6bb-0d5e-496d-b17a-955127406483","64784a1f-9378-4a12-a77f-ae9b539c8c3c","6627ec42-ba7e-40e6-848c-ba73a1fb96cb","91738943-dfae-456d-b283-18ecd6f80ecf"]},"externalIds":{}} |
# Changelog | ||
## 2.5.1 | ||
### New examples | ||
* [#249](https://github.com/lelylan/simple-oauth2/pull/249) Add dropbox usage example | ||
### Development dependencies upgradess | ||
* [#254](https://github.com/lelylan/simple-oauth2/pull/254) Upgrade codebase to eslint v6 and airbnb-base-eslint configuration v14 | ||
* [#253](https://github.com/lelylan/simple-oauth2/pull/253) Upgrade nock to v11 | ||
* [#252](https://github.com/lelylan/simple-oauth2/pull/252) Use ava instead of mocha as test runner | ||
* [#252](https://github.com/lelylan/simple-oauth2/pull/252) Use ava built-in assertions library instead of chai | ||
## 2.5.0 | ||
### Dependencies upgrades | ||
* Upgrade date-fns library to v2 | ||
* [#250](https://github.com/lelylan/simple-oauth2/pull/250) Upgrade date-fns library to v2 | ||
@@ -11,9 +23,9 @@ ## 2.4.0 | ||
* Upgrade Joi version to v15 (@hapi/joi) | ||
* [#235](https://github.com/lelylan/simple-oauth2/pull/235) Upgrade Joi version to v15 (@hapi/joi) | ||
### Development dependencies updates | ||
* Upgrade mocha test runner to v6 | ||
* Upgrade nyc to v14 | ||
* Upgrade development dependencies to latest version available | ||
* [#244](https://github.com/lelylan/simple-oauth2/pull/244) Upgrade mocha test runner to v6 | ||
* [#244](https://github.com/lelylan/simple-oauth2/pull/244) Upgrade nyc to v14 | ||
* [#244](https://github.com/lelylan/simple-oauth2/pull/244) Upgrade development dependencies to latest version available | ||
@@ -23,3 +35,3 @@ ## 2.3.0 | ||
* Upgrade debug dependency to v4 | ||
* [#242](https://github.com/lelylan/simple-oauth2/pull/242) Upgrade debug dependency to v4 | ||
@@ -26,0 +38,0 @@ ## 2.2.1 |
@@ -16,3 +16,2 @@ # Contributing | ||
* Run `npm test` to execute all specs. | ||
* Run `npm run test-watch` to auto execute all specs when a file change. | ||
* Run `npm run lint` to verify that all code pass our linting rules. | ||
@@ -19,0 +18,0 @@ |
@@ -31,3 +31,5 @@ 'use strict'; | ||
if (Array.isArray(params.scope)) { | ||
params.scope = params.scope.join(','); | ||
const scope = params.scope.join(','); | ||
Object.assign(params, { scope }); | ||
} | ||
@@ -34,0 +36,0 @@ |
{ | ||
"name": "simple-oauth2", | ||
"version": "2.5.0", | ||
"version": "2.5.1", | ||
"description": "Node.js client for OAuth2", | ||
@@ -20,7 +20,4 @@ "author": "Andrea Reginato <andrea.reginato@gmail.com>", | ||
"pretest": "npm run lint", | ||
"test": "nyc mocha", | ||
"posttest": "nyc check-coverage", | ||
"test": "nyc ava", | ||
"lint": "eslint .", | ||
"fix": "eslint . --fix", | ||
"test-watch": "mocha --watch --reporter=spec", | ||
"docs-gen": "doctoc README.md --github --no-title", | ||
@@ -54,12 +51,11 @@ "clean-install": "rm -rf node_modules && npm install" | ||
"devDependencies": { | ||
"chai": "^4.2.0", | ||
"ava": "^2.4.0", | ||
"chance": "^1.0.18", | ||
"chance-access-token": "^1.0.1", | ||
"doctoc": "^1.4.0", | ||
"eslint": "^4.19.1", | ||
"eslint-config-airbnb-base": "^12.0.0", | ||
"eslint": "^6.4.0", | ||
"eslint-config-airbnb-base": "^14.0.0", | ||
"eslint-plugin-import": "^2.9.0", | ||
"lodash": "^4.17.15", | ||
"mocha": "^6.2.0", | ||
"nock": "^10.0.6", | ||
"nock": "^11.3.5", | ||
"nyc": "^14.1.1" | ||
@@ -66,0 +62,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
277001
10
210830
48
810