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

@google-cloud/logging

Package Overview
Dependencies
Maintainers
1
Versions
157
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@google-cloud/logging - npm Package Compare versions

Comparing version 5.5.2 to 5.5.3

9

build/src/index.d.ts

@@ -17,5 +17,3 @@ /*!

/// <reference types="node" />
import { GoogleAuth } from 'google-gax';
import * as gax from 'google-gax';
import { Response } from 'teeny-request';
import * as middleware from './middleware';

@@ -44,2 +42,5 @@ import { detectServiceContext } from './metadata';

export declare type LogSink = google_config.logging.v2.ILogSink;
export interface AbortableDuplex extends Duplex {
abort(): void;
}
export interface CreateSinkRequest {

@@ -54,3 +55,3 @@ destination: any;

export interface CreateSinkCallback {
(err: Error | null, sink?: Sink | null, resp?: LogSink | Response): void;
(err: Error | null, sink?: Sink | null, resp?: LogSink): void;
}

@@ -180,3 +181,3 @@ export declare type GetEntriesResponse = [Entry[], google.logging.v2.IListLogEntriesRequest, google.logging.v2.IListLogEntriesResponse];

};
auth: GoogleAuth;
auth: gax.GoogleAuth;
options: LoggingOptions;

@@ -183,0 +184,0 @@ projectId: string;

@@ -18,3 +18,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
const common = require("@google-cloud/common");
const common_1 = 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_gax_1 = require("google-gax");
const gax = require("google-gax");
const pumpify = require('pumpify');

@@ -141,3 +141,3 @@ const streamEvents = require("stream-events");

this.api = {};
this.auth = new google_gax_1.GoogleAuth(options_);
this.auth = new gax.GoogleAuth(options_);
this.options = options_;

@@ -155,9 +155,9 @@ this.projectId = this.options.projectId || '{{projectId}}';

}
if (common.util.isCustomType(config.destination, 'bigquery/dataset')) {
if (common_1.util.isCustomType(config.destination, 'bigquery/dataset')) {
await this.setAclForDataset_(config);
}
if (common.util.isCustomType(config.destination, 'pubsub/topic')) {
if (common_1.util.isCustomType(config.destination, 'pubsub/topic')) {
await this.setAclForTopic_(config);
}
if (common.util.isCustomType(config.destination, 'storage/bucket')) {
if (common_1.util.isCustomType(config.destination, 'storage/bucket')) {
await this.setAclForBucket_(config);

@@ -164,0 +164,0 @@ }

@@ -17,5 +17,3 @@ /*!

/// <reference types="node" />
import { DeleteCallback } from '@google-cloud/common';
import { CallOptions } from 'google-gax';
import { Response } from 'teeny-request';
import { google } from '../proto/logging';

@@ -40,6 +38,8 @@ import { GetEntriesCallback, GetEntriesResponse, Logging } from '.';

}
export declare type ApiResponse = [Response];
export declare type Metadata = any;
export declare type ApiResponse = [Metadata];
export interface ApiResponseCallback {
(err: Error | null, apiResponse?: Response): void;
(err: Error | null, apiResponse?: Metadata): void;
}
export declare type DeleteCallback = ApiResponseCallback;
export declare type MonitoredResource = google.api.IMonitoredResource;

@@ -46,0 +46,0 @@ export interface WriteOptions {

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

### [5.5.3](https://www.github.com/googleapis/nodejs-logging/compare/v5.5.2...v5.5.3) (2019-10-22)
### Bug Fixes
* **deps:** bump google-gax to 1.7.5 ([#616](https://www.github.com/googleapis/nodejs-logging/issues/616)) ([5d73a06](https://www.github.com/googleapis/nodejs-logging/commit/5d73a06083552db6aa03be4e6cb5f1de97620eec))
* **deps:** update dependency @google-cloud/storage to v4 ([#613](https://www.github.com/googleapis/nodejs-logging/issues/613)) ([4ec4f18](https://www.github.com/googleapis/nodejs-logging/commit/4ec4f18a3e07b798882e5f17e642fae5d9f68912))
### [5.5.2](https://www.github.com/googleapis/nodejs-logging/compare/v5.5.1...v5.5.2) (2019-10-17)

@@ -9,0 +17,0 @@

{
"name": "@google-cloud/logging",
"description": "Stackdriver Logging Client Library for Node.js",
"version": "5.5.2",
"version": "5.5.3",
"license": "Apache-2.0",

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

"gcp-metadata": "^3.1.0",
"google-gax": "^1.6.3",
"google-gax": "^1.7.5",
"is": "^3.3.0",

@@ -73,3 +73,2 @@ "on-finished": "^2.3.0",

"stream-events": "^1.0.4",
"teeny-request": "^5.2.1",
"through2": "^3.0.0",

@@ -80,5 +79,4 @@ "type-fest": "^0.8.0"

"@google-cloud/bigquery": "^4.0.0",
"@google-cloud/nodejs-repo-tools": "^3.3.0",
"@google-cloud/pubsub": "^1.0.0",
"@google-cloud/storage": "^3.0.4",
"@google-cloud/storage": "^4.0.0",
"@types/extend": "^3.0.0",

@@ -104,3 +102,2 @@ "@types/is": "0.0.21",

"google-proto-files": "^1.0.0",
"grpc": "^1.22.2",
"gts": "^1.0.0",

@@ -107,0 +104,0 @@ "http2spy": "^1.1.0",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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