@google-cloud/logging-bunyan
Advanced tools
Comparing version 3.1.1 to 3.2.0
@@ -95,13 +95,16 @@ /*! | ||
* | ||
* @example <caption>Import the client library</caption> | ||
* @example Import the client library | ||
* ``` | ||
* const {LoggingBunyan} = require('@google-cloud/logging-bunyan'); | ||
* | ||
* @example <caption>Create a client that uses <a | ||
* href="https://cloud.google.com/docs/authentication/production#providing_credentials_to_your_application">Application | ||
* Default Credentials (ADC)</a>:</caption> const loggingBunyan = new | ||
* ``` | ||
* @example Create a client that uses <a href="https://cloud.google.com/docs/authentication/production#providing_credentials_to_your_application">Application Default Credentials (ADC)</a>: | ||
* ``` | ||
* const loggingBunyan = new | ||
* LoggingBunyan(); | ||
* | ||
* @example <caption>Create a client with <a | ||
* href="https://cloud.google.com/docs/authentication/production#obtaining_and_providing_service_account_credentials_manually">explicit | ||
* credentials</a>:</caption> const loggingBunyan = new LoggingBunyan({ | ||
* ``` | ||
* @example Create a client with <a href="https://cloud.google.com/docs/authentication/production#obtaining_and_providing_service_account_credentials_manually">explicit credentials</a>: | ||
* ``` | ||
* const loggingBunyan = new LoggingBunyan({ | ||
* projectId: 'your-project-id', | ||
@@ -111,2 +114,3 @@ * keyFilename: '/path/to/keyfile.json' | ||
* | ||
* ``` | ||
* @example <caption>include:samples/quickstart.js</caption> | ||
@@ -113,0 +117,0 @@ * region_tag:logging_bunyan_quickstart |
@@ -121,13 +121,16 @@ "use strict"; | ||
* | ||
* @example <caption>Import the client library</caption> | ||
* @example Import the client library | ||
* ``` | ||
* const {LoggingBunyan} = require('@google-cloud/logging-bunyan'); | ||
* | ||
* @example <caption>Create a client that uses <a | ||
* href="https://cloud.google.com/docs/authentication/production#providing_credentials_to_your_application">Application | ||
* Default Credentials (ADC)</a>:</caption> const loggingBunyan = new | ||
* ``` | ||
* @example Create a client that uses <a href="https://cloud.google.com/docs/authentication/production#providing_credentials_to_your_application">Application Default Credentials (ADC)</a>: | ||
* ``` | ||
* const loggingBunyan = new | ||
* LoggingBunyan(); | ||
* | ||
* @example <caption>Create a client with <a | ||
* href="https://cloud.google.com/docs/authentication/production#obtaining_and_providing_service_account_credentials_manually">explicit | ||
* credentials</a>:</caption> const loggingBunyan = new LoggingBunyan({ | ||
* ``` | ||
* @example Create a client with <a href="https://cloud.google.com/docs/authentication/production#obtaining_and_providing_service_account_credentials_manually">explicit credentials</a>: | ||
* ``` | ||
* const loggingBunyan = new LoggingBunyan({ | ||
* projectId: 'your-project-id', | ||
@@ -137,2 +140,3 @@ * keyFilename: '/path/to/keyfile.json' | ||
* | ||
* ``` | ||
* @example <caption>include:samples/quickstart.js</caption> | ||
@@ -139,0 +143,0 @@ * region_tag:logging_bunyan_quickstart |
@@ -17,7 +17,7 @@ /*! | ||
declare namespace NodeJS { | ||
export interface Global { | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
_google_trace_agent: any; | ||
} | ||
export {}; | ||
declare global { | ||
// eslint-disable-next-line | ||
var _google_trace_agent: any; | ||
} |
@@ -7,2 +7,9 @@ # Changelog | ||
## [3.2.0](https://www.github.com/googleapis/nodejs-logging-bunyan/compare/v3.1.1...v3.2.0) (2021-12-09) | ||
### Features | ||
* add eslintignore for sameple generated code ([#1302](https://www.github.com/googleapis/nodejs-logging-bunyan/issues/1302)) ([#574](https://www.github.com/googleapis/nodejs-logging-bunyan/issues/574)) ([10c6371](https://www.github.com/googleapis/nodejs-logging-bunyan/commit/10c63713d659f36f45eeb23adba554ed159623a5)) | ||
### [3.1.1](https://www.github.com/googleapis/nodejs-logging-bunyan/compare/v3.1.0...v3.1.1) (2021-09-08) | ||
@@ -9,0 +16,0 @@ |
{ | ||
"name": "@google-cloud/logging-bunyan", | ||
"description": "Cloud Logging stream for Bunyan", | ||
"version": "3.1.1", | ||
"version": "3.2.0", | ||
"license": "Apache-2.0", | ||
@@ -62,3 +62,3 @@ "author": "Google Inc.", | ||
"@types/mocha": "^8.0.0", | ||
"@types/node": "^14.17.4", | ||
"@types/node": "^16.0.0", | ||
"@types/proxyquire": "^1.3.28", | ||
@@ -65,0 +65,0 @@ "@types/uuid": "^8.0.0", |
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
82667
894