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

@google-cloud/common

Package Overview
Dependencies
Maintainers
16
Versions
118
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@google-cloud/common - npm Package Compare versions

Comparing version 0.16.0 to 0.16.1

4

package.json
{
"name": "@google-cloud/common",
"description": "Common components for Cloud APIs Node.js Client Libraries",
"version": "0.16.0",
"version": "0.16.1",
"license": "Apache-2.0",

@@ -57,3 +57,3 @@ "author": "Google Inc.",

"is": "^3.2.0",
"log-driver": "^1.2.5",
"log-driver": "1.2.5",
"methmeth": "^1.1.0",

@@ -60,0 +60,0 @@ "modelo": "^4.2.0",

@@ -10,10 +10,7 @@ <img src="https://avatars2.githubusercontent.com/u/2810941?v=3&s=96" alt="Google Cloud Platform logo" title="Google Cloud Platform" align="right" height="96" width="96"/>

> Node.js idiomatic client for [Common][product-docs].
> Node.js Common package
Google Cloud Common node.js module contains stuff used by other Cloud API modules.
* [Common Node.js Client API Reference][client-docs]
* [github.com/googlecloudplatform/google-cloud-node](https://github.com/googlecloudplatform/google-cloud-node)
* [Common Documentation][product-docs]

@@ -47,6 +44,2 @@ Read more about the client libraries for Cloud APIs, including the older

1. Enable the Google Cloud Common Module API.
[Enable the API][enable_api]
1. [Set up authentication with a service account][auth] so you can access the

@@ -57,14 +50,11 @@ API from your local workstation.

[billing]: https://support.google.com/cloud/answer/6293499#enable-billing
[enable_api]: https://console.cloud.google.com/flows/enableapi?apiid=common.googleapis.com
[auth]: https://cloud.google.com/docs/authentication/getting-started
### Installing the client library
### Installing the package
npm install --save @google-cloud/common
It's unlikely you will need to install this package directly, as it will be
installed as a dependency when you install other `@google-cloud` packages.
The [Common Node.js Client API Reference][client-docs] documentation
also contains samples.
## Versioning

@@ -92,4 +82,2 @@

[client-docs]: https://cloud.google.com/nodejs/docs/reference/common/latest/
[product-docs]: https://cloud.google.com/nodejs/docs/reference/common/
[shell_img]: http://gstatic.com/cloudssh/images/open-btn.png

@@ -333,4 +333,10 @@ /**

var authClient = googleAuth(config);
var googleAutoAuthConfig = extend({}, config);
if (googleAutoAuthConfig.projectId === '{{projectId}}') {
delete googleAutoAuthConfig.projectId;
}
var authClient = googleAuth(googleAutoAuthConfig);
/**

@@ -337,0 +343,0 @@ * The returned function that will make an authenticated request.

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