@google-cloud/logging
Advanced tools
Comparing version 5.5.1 to 5.5.2
@@ -18,3 +18,2 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const common_grpc_1 = require("@google-cloud/common-grpc"); | ||
// tslint:disable-next-line variable-name | ||
@@ -24,2 +23,3 @@ const EventId = require('eventid'); | ||
const is = require("is"); | ||
const common_1 = require("./common"); | ||
const eventId = new EventId(); | ||
@@ -121,4 +121,3 @@ /** | ||
if (is.object(this.data)) { | ||
// tslint:disable-next-line no-any | ||
entry.jsonPayload = common_grpc_1.Service.objToStruct_(this.data, { | ||
entry.jsonPayload = common_1.objToStruct(this.data, { | ||
removeCircular: !!options.removeCircular, | ||
@@ -153,4 +152,3 @@ stringify: true, | ||
if (entry.payload === 'jsonPayload') { | ||
// tslint:disable-next-line no-any | ||
data = common_grpc_1.Service.structToObj_(data); | ||
data = common_1.structToObj(data); | ||
} | ||
@@ -157,0 +155,0 @@ const serializedEntry = new Entry(entry, data); |
@@ -17,3 +17,3 @@ /*! | ||
/// <reference types="node" /> | ||
import { GoogleAuth } from 'google-auth-library'; | ||
import { GoogleAuth } from 'google-gax'; | ||
import * as gax from 'google-gax'; | ||
@@ -20,0 +20,0 @@ import { Response } from 'teeny-request'; |
@@ -18,3 +18,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const common = require("@google-cloud/common-grpc"); | ||
const common = require("@google-cloud/common"); | ||
const paginator_1 = require("@google-cloud/paginator"); | ||
@@ -25,3 +25,3 @@ const projectify_1 = require("@google-cloud/projectify"); | ||
const extend = require("extend"); | ||
const google_auth_library_1 = require("google-auth-library"); | ||
const google_gax_1 = require("google-gax"); | ||
const pumpify = require('pumpify'); | ||
@@ -141,3 +141,3 @@ const streamEvents = require("stream-events"); | ||
this.api = {}; | ||
this.auth = new google_auth_library_1.GoogleAuth(options_); | ||
this.auth = new google_gax_1.GoogleAuth(options_); | ||
this.options = options_; | ||
@@ -144,0 +144,0 @@ this.projectId = this.options.projectId || '{{projectId}}'; |
@@ -7,2 +7,9 @@ # Changelog | ||
### [5.5.2](https://www.github.com/googleapis/nodejs-logging/compare/v5.5.1...v5.5.2) (2019-10-17) | ||
### Bug Fixes | ||
* **deps:** update dependency @opencensus/propagation-stackdriver to v0.0.18 ([#605](https://www.github.com/googleapis/nodejs-logging/issues/605)) ([0dac747](https://www.github.com/googleapis/nodejs-logging/commit/0dac747ac18484d54d2d33dbd7424b2c0294dbb9)) | ||
### [5.5.1](https://www.github.com/googleapis/nodejs-logging/compare/v5.5.0...v5.5.1) (2019-10-17) | ||
@@ -9,0 +16,0 @@ |
{ | ||
"name": "@google-cloud/logging", | ||
"description": "Stackdriver Logging Client Library for Node.js", | ||
"version": "5.5.1", | ||
"version": "5.5.2", | ||
"license": "Apache-2.0", | ||
@@ -55,7 +55,7 @@ "author": "Google Inc.", | ||
"dependencies": { | ||
"@google-cloud/common-grpc": "^1.0.6", | ||
"@google-cloud/common": "^2.2.2", | ||
"@google-cloud/paginator": "^2.0.0", | ||
"@google-cloud/projectify": "^1.0.0", | ||
"@google-cloud/promisify": "^1.0.0", | ||
"@opencensus/propagation-stackdriver": "0.0.17", | ||
"@opencensus/propagation-stackdriver": "0.0.18", | ||
"arrify": "^2.0.0", | ||
@@ -66,5 +66,4 @@ "dot-prop": "^5.1.0", | ||
"gcp-metadata": "^3.1.0", | ||
"google-auth-library": "^5.2.2", | ||
"google-gax": "^1.6.3", | ||
"is": "^3.2.1", | ||
"is": "^3.3.0", | ||
"on-finished": "^2.3.0", | ||
@@ -71,0 +70,0 @@ "protobufjs": "^6.8.8", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
3326116
20
103
61285
+ Added@google-cloud/common@^2.2.2
+ Added@opencensus/core@0.0.18(transitive)
+ Added@opencensus/propagation-stackdriver@0.0.18(transitive)
- Removed@google-cloud/common-grpc@^1.0.6
- Removedgoogle-auth-library@^5.2.2
- Removed@google-cloud/common-grpc@1.0.10(transitive)
- Removed@grpc/grpc-js@0.6.18(transitive)
- Removed@opencensus/core@0.0.17(transitive)
- Removed@opencensus/propagation-stackdriver@0.0.17(transitive)
Updatedis@^3.3.0