@google-cloud/common
Advanced tools
Comparing version 0.16.0 to 0.16.1
{ | ||
"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. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
1670
0
73085
80
+ Addedlog-driver@1.2.5(transitive)
- Removedlog-driver@1.2.7(transitive)
Updatedlog-driver@1.2.5