Socket
Socket
Sign inDemoInstall

googleapis-common

Package Overview
Dependencies
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

googleapis-common - npm Package Compare versions

Comparing version 4.0.0 to 4.1.0

2

build/src/apiIndex.js

@@ -16,3 +16,3 @@ "use strict";

function getAPI(api, options,
// tslint:disable-next-line no-any
// eslint-disable-next-line @typescript-eslint/no-explicit-any
versions, context) {

@@ -19,0 +19,0 @@ let version;

@@ -282,3 +282,3 @@ "use strict";

}
// tslint:disable-next-line: no-any
// eslint-disable-next-line @typescript-eslint/no-explicit-any
_transform(chunk, encoding, callback) {

@@ -285,0 +285,0 @@ this.bytesRead += chunk.length;

@@ -71,3 +71,3 @@ "use strict";

const versionIndex = {};
// tslint:disable-next-line no-any
// eslint-disable-next-line @typescript-eslint/no-explicit-any
const apisIndex = {};

@@ -92,5 +92,3 @@ for (const set of apis) {

try {
const ep =
// tslint:disable-next-line: no-any
set.endpointCreator(options, this);
const ep = set.endpointCreator(options, this);
return Object.freeze(ep); // create new & freeze

@@ -97,0 +95,0 @@ }

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

export { OAuth2Client } from 'google-auth-library';
export { OAuth2Client, JWT, Compute, UserRefreshClient, DefaultTransporter, } from 'google-auth-library';
export { GaxiosPromise } from 'gaxios';
export { APIEndpoint, APIRequestContext, APIRequestParams, BodyResponseCallback, GlobalOptions, GoogleConfigurable, MethodOptions, ServiceOptions, } from './api';

@@ -3,0 +4,0 @@ export { getAPI } from './apiIndex';

@@ -17,2 +17,6 @@ "use strict";

exports.OAuth2Client = google_auth_library_1.OAuth2Client;
exports.JWT = google_auth_library_1.JWT;
exports.Compute = google_auth_library_1.Compute;
exports.UserRefreshClient = google_auth_library_1.UserRefreshClient;
exports.DefaultTransporter = google_auth_library_1.DefaultTransporter;
var apiIndex_1 = require("./apiIndex");

@@ -19,0 +23,0 @@ exports.getAPI = apiIndex_1.getAPI;

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

## [4.1.0](https://www.github.com/googleapis/nodejs-googleapis-common/compare/v4.0.0...v4.1.0) (2020-04-12)
### Features
* export additional types ([#256](https://www.github.com/googleapis/nodejs-googleapis-common/issues/256)) ([0534203](https://www.github.com/googleapis/nodejs-googleapis-common/commit/0534203a80fa88b3224bc9da22d2be4a2cb21796))
## [4.0.0](https://www.github.com/googleapis/nodejs-googleapis-common/compare/v3.2.2...v4.0.0) (2020-04-05)

@@ -9,0 +16,0 @@

{
"name": "googleapis-common",
"version": "4.0.0",
"version": "4.1.0",
"description": "A common tooling library used by the googleapis npm module. You probably don't want to use this directly.",

@@ -32,5 +32,12 @@ "repository": "googleapis/nodejs-googleapis-common",

"license": "Apache-2.0",
"dependencies": {
"extend": "^3.0.2",
"gaxios": "^3.0.0",
"google-auth-library": "^6.0.0",
"qs": "^6.7.0",
"url-template": "^2.0.8",
"uuid": "^7.0.0"
},
"devDependencies": {
"@compodoc/compodoc": "^1.1.9",
"@types/chai": "^4.1.7",
"@types/execa": "^0.9.0",

@@ -47,7 +54,7 @@ "@types/extend": "^3.0.1",

"c8": "^7.0.0",
"chai": "^4.2.0",
"codecov": "^3.5.0",
"execa": "^4.0.0",
"gts": "^2.0.0-alpha.9",
"is-docker": "^2.0.0",
"karma": "^4.1.0",
"karma": "^5.0.0",
"karma-chrome-launcher": "^3.0.0",

@@ -67,2 +74,3 @@ "karma-coverage": "^2.0.0",

"puppeteer": "^2.0.0",
"tmp": "^0.1.0",
"ts-loader": "^6.0.4",

@@ -73,12 +81,2 @@ "typescript": "^3.8.3",

},
"dependencies": {
"execa": "^4.0.0",
"extend": "^3.0.2",
"gaxios": "^3.0.0",
"google-auth-library": "^6.0.0",
"qs": "^6.7.0",
"tmp": "^0.1.0",
"url-template": "^2.0.8",
"uuid": "^7.0.0"
},
"engines": {

@@ -85,0 +83,0 @@ "node": ">=10"

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