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

gtoken

Package Overview
Dependencies
Maintainers
6
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gtoken - npm Package Compare versions

Comparing version 2.3.2 to 2.3.3

5

build/src/index.js

@@ -214,8 +214,7 @@ "use strict";

const body = (e.response && e.response.data) ? e.response.data : {};
let err = e;
if (body.error) {
const desc = body.error_description ? `: ${body.error_description}` : '';
err = new Error(`${body.error}${desc}`);
e.message = `${body.error}${desc}`;
}
throw err;
throw e;
});

@@ -222,0 +221,0 @@ });

@@ -7,2 +7,25 @@ # Changelog

## v2.3.3
03-13-2019 14:54 PDT
### Bug Fixes
- fix: propagate error message ([#173](https://github.com/google/node-gtoken/pull/173))
### Documentation
- docs: update links in contrib guide ([#171](https://github.com/google/node-gtoken/pull/171))
- docs: move CONTRIBUTING.md to root ([#166](https://github.com/google/node-gtoken/pull/166))
- docs: add lint/fix example to contributing guide ([#164](https://github.com/google/node-gtoken/pull/164))
### Internal / Testing Changes
- build: Add docuploader credentials to node publish jobs ([#176](https://github.com/google/node-gtoken/pull/176))
- build: use node10 to run samples-test, system-test etc ([#175](https://github.com/google/node-gtoken/pull/175))
- build: update release configuration
- chore(deps): update dependency mocha to v6
- build: use linkinator for docs test ([#170](https://github.com/google/node-gtoken/pull/170))
- build: create docs test npm scripts ([#169](https://github.com/google/node-gtoken/pull/169))
- build: test using @grpc/grpc-js in CI ([#168](https://github.com/google/node-gtoken/pull/168))
- build: ignore googleapis.com in doc link check ([#162](https://github.com/google/node-gtoken/pull/162))
- build: check for 404s on all docs
## v2.3.2

@@ -9,0 +32,0 @@

11

package.json
{
"name": "gtoken",
"version": "2.3.2",
"version": "2.3.3",
"description": "Node.js Google Authentication Service Account Tokens",

@@ -22,3 +22,5 @@ "main": "./build/src/index.js",

"samples-test": "cd samples/ && npm link ../ && npm test && cd ../",
"docs": "compodoc src/"
"docs": "compodoc src/",
"docs-test": "linkinator docs -r --skip www.googleapis.com",
"predocs-test": "npm run docs"
},

@@ -57,7 +59,8 @@ "keywords": [

"js-green-licenses": "^0.5.0",
"mocha": "^5.0.1",
"mocha": "^6.0.0",
"nock": "^10.0.0",
"nyc": "^13.0.0",
"source-map-support": "^0.5.6",
"typescript": "~3.2.0"
"typescript": "~3.3.0",
"linkinator": "^1.1.2"
},

@@ -64,0 +67,0 @@ "files": [

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