New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@google-cloud/pubsub

Package Overview
Dependencies
Maintainers
1
Versions
171
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@google-cloud/pubsub - npm Package Compare versions

Comparing version 2.11.0 to 2.11.1-pre

16

build/src/v1/publisher_client.js

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

const google_gax_1 = require("google-gax");
const path = require("path");
const jsonProtos = require("../../protos/protos.json");
/**

@@ -122,9 +122,3 @@ * Client JSON configuration object, loaded from

// Load the applicable protos.
// For Node.js, pass the path to JSON proto file.
// For browsers, pass the JSON content.
const nodejsProtoPath = path.join(__dirname, '..', '..', 'protos', 'protos.json');
this._protos = this._gaxGrpc.loadProto(opts.fallback
? // eslint-disable-next-line @typescript-eslint/no-var-requires
require('../../protos/protos.json')
: nodejsProtoPath);
this._protos = this._gaxGrpc.loadProtoJSON(jsonProtos);
// This API contains "path templates"; forward-slash-separated

@@ -151,7 +145,3 @@ // identifiers to uniquely identify resources within the API.

// rather than holding a request open.
const protoFilesRoot = opts.fallback
? this._gaxModule.protobuf.Root.fromJSON(
// eslint-disable-next-line @typescript-eslint/no-var-requires
require('../../protos/protos.json'))
: this._gaxModule.protobuf.loadSync(nodejsProtoPath);
const protoFilesRoot = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
// Some methods on this API support automatically batching

@@ -158,0 +148,0 @@ // requests; denote this.

6

package.json
{
"name": "@google-cloud/pubsub",
"description": "Cloud Pub/Sub Client Library for Node.js",
"version": "2.11.0",
"version": "2.11.1-pre",
"license": "Apache-2.0",

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

"google-auth-library": "^7.0.0",
"google-gax": "^2.9.2",
"google-gax": "load-proto-json",
"is-stream-ended": "^0.1.4",

@@ -101,3 +101,3 @@ "lodash.snakecase": "^4.1.1",

"tmp": "^0.2.0",
"ts-loader": "^8.0.0",
"ts-loader": "^9.0.0",
"typescript": "^3.8.3",

@@ -104,0 +104,0 @@ "uuid": "^8.0.0",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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