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 5.1.0 to 6.0.0

6

build/src/apirequest.js

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

];
if (!isbrowser_1.isBrowser()) {
if (!(0, isbrowser_1.isBrowser)()) {
// gaxios doesn't support multipart/related uploads, so it has to

@@ -233,3 +233,3 @@ // be implemented here.

options.params = params;
if (!isbrowser_1.isBrowser()) {
if (!(0, isbrowser_1.isBrowser)()) {
options.headers['Accept-Encoding'] = 'gzip';

@@ -303,3 +303,3 @@ options.userAgentDirectives.push({

// google-auth-library-nodejs).
if (!isbrowser_1.isBrowser()) {
if (!(0, isbrowser_1.isBrowser)()) {
headers['x-goog-api-client'] = `gdcl/${pkg.version} gl-node/${process.versions.node}`;

@@ -306,0 +306,0 @@ }

@@ -40,4 +40,4 @@ import { GlobalOptions } from './api';

discoverAPI(apiDiscoveryUrl: string | {
url: string;
url?: string;
}): Promise<EndpointCreator>;
}

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

};
const res = await apirequest_1.createAPIRequest(parameters);
const res = await (0, apirequest_1.createAPIRequest)(parameters);
return this.makeEndpoint(res.data);

@@ -141,0 +141,0 @@ }

@@ -98,5 +98,5 @@ "use strict";

if (!callback) {
return apirequest_1.createAPIRequest(parameters);
return (0, apirequest_1.createAPIRequest)(parameters);
}
apirequest_1.createAPIRequest(parameters, callback);
(0, apirequest_1.createAPIRequest)(parameters, callback);
return;

@@ -103,0 +103,0 @@ };

@@ -15,2 +15,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.Endpoint = exports.Discovery = exports.AuthPlus = exports.createAPIRequest = exports.getAPI = exports.GaxiosError = exports.Gaxios = exports.AwsClient = exports.IdentityPoolClient = exports.BaseExternalAccountClient = exports.ExternalAccountClient = exports.GoogleAuth = exports.DefaultTransporter = exports.UserRefreshClient = exports.Compute = exports.JWT = exports.OAuth2Client = void 0;
var google_auth_library_1 = require("google-auth-library");

@@ -17,0 +18,0 @@ Object.defineProperty(exports, "OAuth2Client", { enumerable: true, get: function () { return google_auth_library_1.OAuth2Client; } });

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

## [6.0.0](https://github.com/googleapis/nodejs-googleapis-common/compare/v5.1.0...v6.0.0) (2022-05-10)
### ⚠ BREAKING CHANGES
* update library to use Node 12 (#466)
### Build System
* update library to use Node 12 ([#466](https://github.com/googleapis/nodejs-googleapis-common/issues/466)) ([c7dc14f](https://github.com/googleapis/nodejs-googleapis-common/commit/c7dc14f0302db5ca99b8cb15e5e2e570d164baef))
## [5.1.0](https://github.com/googleapis/nodejs-googleapis-common/compare/v5.0.5...v5.1.0) (2022-02-22)

@@ -9,0 +20,0 @@

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

@@ -39,3 +39,3 @@ "repository": "googleapis/nodejs-googleapis-common",

"gaxios": "^4.0.0",
"google-auth-library": "^7.14.0",
"google-auth-library": "^8.0.2",
"qs": "^6.7.0",

@@ -49,3 +49,3 @@ "url-template": "^2.0.8",

"@types/extend": "^3.0.1",
"@types/mocha": "^8.0.0",
"@types/mocha": "^9.0.0",
"@types/mv": "^2.1.0",

@@ -63,3 +63,3 @@ "@types/ncp": "^2.0.1",

"execa": "^5.0.0",
"gts": "^2.0.0",
"gts": "^3.1.0",
"http2spy": "^2.0.0",

@@ -76,3 +76,3 @@ "is-docker": "^2.0.0",

"linkinator": "^2.0.0",
"mocha": "^8.3.2",
"mocha": "^9.2.2",
"mv": "^2.1.1",

@@ -84,6 +84,6 @@ "ncp": "^2.0.0",

"puppeteer": "^13.0.0",
"sinon": "^13.0.0",
"sinon": "^14.0.0",
"tmp": "^0.2.0",
"ts-loader": "^8.0.0",
"typescript": "^3.8.3",
"typescript": "^4.6.4",
"webpack": "^5.30.0",

@@ -93,4 +93,4 @@ "webpack-cli": "^4.0.0"

"engines": {
"node": ">=10.10.0"
"node": ">=12.0.0"
}
}
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