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 3.2.2 to 4.0.0

2

build/src/api.js
"use strict";
// Copyright 2018, Google, LLC.
// Copyright 2020 Google LLC
// Licensed under the Apache License, Version 2.0 (the "License");

@@ -4,0 +4,0 @@ // you may not use this file except in compliance with the License.

"use strict";
// Copyright 2018, Google, LLC.
// Copyright 2020 Google LLC
// Licensed under the Apache License, Version 2.0 (the "License");

@@ -4,0 +4,0 @@ // you may not use this file except in compliance with the License.

"use strict";
// Copyright 2016 Google LLC
//
// Copyright 2020 Google LLC
// Licensed under the Apache License, Version 2.0 (the "License");

@@ -8,3 +7,3 @@ // you may not use this file except in compliance with the License.

//
// http://www.apache.org/licenses/LICENSE-2.0
// http://www.apache.org/licenses/LICENSE-2.0
//

@@ -24,4 +23,4 @@ // Unless required by applicable law or agreed to in writing, software

const isbrowser_1 = require("./isbrowser");
const url_1 = require("url");
// tslint:disable-next-line no-var-requires
const resolve = require("url");
// eslint-disable-next-line @typescript-eslint/no-var-requires
const pkg = require('../../package.json');

@@ -146,3 +145,3 @@ function isReadableStream(obj) {

const path = options.url.slice(parameters.context._options.rootUrl.length);
options.url = url_1.resolve(parameters.context._options.rootUrl, path);
options.url = resolve.resolve(parameters.context._options.rootUrl, path);
}

@@ -149,0 +148,0 @@ // When forming the querystring, override the serializer so that array

"use strict";
// Copyright 2019 Google LLC
// Copyright 2020 Google LLC
// Licensed under the Apache License, Version 2.0 (the "License");

@@ -4,0 +4,0 @@ // you may not use this file except in compliance with the License.

"use strict";
// Copyright 2014-2016, Google, Inc.
// Copyright 2020 Google LLC
// Licensed under the Apache License, Version 2.0 (the "License");

@@ -17,3 +17,3 @@ // you may not use this file except in compliance with the License.

const google_auth_library_1 = require("google-auth-library");
const url = require("url");
const resolve = require("url");
const util = require("util");

@@ -114,3 +114,3 @@ const apirequest_1 = require("./apirequest");

if (typeof apiDiscoveryUrl === 'string') {
const parts = url.parse(apiDiscoveryUrl);
const parts = resolve.parse(apiDiscoveryUrl);
if (apiDiscoveryUrl && !parts.protocol) {

@@ -117,0 +117,0 @@ this.log('Reading from file ' + apiDiscoveryUrl);

"use strict";
// Copyright 2018, Google, LLC.
// Copyright 2020 Google LLC
// Licensed under the Apache License, Version 2.0 (the "License");

@@ -34,3 +34,3 @@ // you may not use this file except in compliance with the License.

for (const resourceName in schema.resources) {
if (schema.resources.hasOwnProperty(resourceName)) {
if (Object.prototype.hasOwnProperty.call(schema.resources, resourceName)) {
const resource = schema.resources[resourceName];

@@ -57,3 +57,3 @@ if (!target[resourceName]) {

for (const name in schema.methods) {
if (schema.methods.hasOwnProperty(name)) {
if (Object.prototype.hasOwnProperty.call(schema.methods, name)) {
const method = schema.methods[name];

@@ -60,0 +60,0 @@ target[name] = this.makeMethod(rootSchema, method, context);

"use strict";
// Copyright 2018, Google, LLC.
// Copyright 2020 Google LLC
// Licensed under the Apache License, Version 2.0 (the "License");

@@ -4,0 +4,0 @@ // you may not use this file except in compliance with the License.

"use strict";
// Copyright 2019 Google LLC
//
// Copyright 2020 Google LLC
// Licensed under the Apache License, Version 2.0 (the "License");

@@ -8,3 +7,3 @@ // you may not use this file except in compliance with the License.

//
// http://www.apache.org/licenses/LICENSE-2.0
// http://www.apache.org/licenses/LICENSE-2.0
//

@@ -11,0 +10,0 @@ // Unless required by applicable law or agreed to in writing, software

"use strict";
// Copyright 2018, Google, LLC.
// Copyright 2020 Google LLC
// Licensed under the Apache License, Version 2.0 (the "License");

@@ -14,3 +14,7 @@ // you may not use this file except in compliance with the License.

// limitations under the License.
/**
* These are a collection of interfaces that represent the GoogleApis
* Discovery json formats.
*/
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=schema.js.map

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

## [4.0.0](https://www.github.com/googleapis/nodejs-googleapis-common/compare/v3.2.2...v4.0.0) (2020-04-05)
### ⚠ BREAKING CHANGES
* require node 10 in engines field (see: https://github.com/googleapis/nodejs-googleapis-common/pull/239) (#240)
### Features
* require node 10 in engines field (see: https://github.com/googleapis/nodejs-googleapis-common/pull/239) ([#240](https://www.github.com/googleapis/nodejs-googleapis-common/issues/240)) ([f210ec1](https://www.github.com/googleapis/nodejs-googleapis-common/commit/f210ec13976567ed41101b3bd85f810d51faa8a8))
### [3.2.2](https://www.github.com/googleapis/nodejs-googleapis-common/compare/v3.2.1...v3.2.2) (2020-02-28)

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

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

@@ -45,5 +45,6 @@ "repository": "googleapis/nodejs-googleapis-common",

"@types/uuid": "^7.0.0",
"c8": "^7.0.0",
"chai": "^4.2.0",
"codecov": "^3.5.0",
"gts": "^1.0.0",
"gts": "^2.0.0-alpha.9",
"is-docker": "^2.0.0",

@@ -59,3 +60,3 @@ "karma": "^4.1.0",

"linkinator": "^2.0.0",
"mocha": "^7.0.0",
"mocha": "^7.1.1",
"mv": "^2.1.1",

@@ -65,6 +66,5 @@ "ncp": "^2.0.0",

"null-loader": "^3.0.0",
"c8": "^7.0.0",
"puppeteer": "^2.0.0",
"ts-loader": "^6.0.4",
"typescript": "3.6.4",
"typescript": "^3.8.3",
"webpack": "^4.35.0",

@@ -74,6 +74,8 @@ "webpack-cli": "^3.3.5"

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

@@ -83,4 +85,4 @@ "uuid": "^7.0.0"

"engines": {
"node": ">=8.10.0"
"node": ">=10"
}
}

@@ -50,2 +50,23 @@ [//]: # "This README.md file is auto-generated, all changes to this file will be lost."

## Supported Node.js Versions
Our client libraries follow the [Node.js release schedule](https://nodejs.org/en/about/releases/).
Libraries are compatible with all current _active_ and _maintenance_ versions of
Node.js.
Client libraries targetting some end-of-life versions of Node.js are available, and
can be installed via npm [dist-tags](https://docs.npmjs.com/cli/dist-tag).
The dist-tags follow the naming convention `legacy-(version)`.
_Legacy Node.js versions are supported as a best effort:_
* Legacy versions will not be tested in continuous integration.
* Some security patches may not be able to be backported.
* Dependencies will not be kept up-to-date, and features will not be backported.
#### Legacy tags available
* `legacy-8`: install client libraries from this dist-tag for versions
compatible with Node.js 8.
## Versioning

@@ -74,2 +95,8 @@

Please note that this `README.md`, the `samples/README.md`,
and a variety of configuration files in this repository (including `.nycrc` and `tsconfig.json`)
are generated from a central template. To edit one of these files, make an edit
to its template in this
[directory](https://github.com/googleapis/synthtool/tree/master/synthtool/gcp/templates/node_library).
## License

@@ -76,0 +103,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