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

@google-cloud/pubsub

Package Overview
Dependencies
Maintainers
1
Versions
170
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 0.7.1 to 0.8.0

5

package.json
{
"name": "@google-cloud/pubsub",
"version": "0.7.1",
"version": "0.8.0",
"author": "Google Inc.",

@@ -53,3 +53,4 @@ "description": "Google Cloud Pub/Sub Client Library for Node.js",

"dependencies": {
"@google-cloud/common": "^0.11.0",
"@google-cloud/common": "^0.12.0",
"@google-cloud/common-grpc": "^0.1.1",
"arrify": "^1.0.0",

@@ -56,0 +57,0 @@ "extend": "^3.0.0",

@@ -25,2 +25,3 @@ /*!

var common = require('@google-cloud/common');
var commonGrpc = require('@google-cloud/common-grpc');
var is = require('is');

@@ -83,6 +84,6 @@ var util = require('util');

common.GrpcService.call(this, config, pubsub.options);
commonGrpc.Service.call(this, config, pubsub.options);
}
util.inherits(IAM, common.GrpcService);
util.inherits(IAM, commonGrpc.Service);

@@ -89,0 +90,0 @@ /**

@@ -25,2 +25,3 @@ /*!

var common = require('@google-cloud/common');
var commonGrpc = require('@google-cloud/common-grpc');
var extend = require('extend');

@@ -80,6 +81,6 @@ var is = require('is');

common.GrpcService.call(this, config, options);
commonGrpc.Service.call(this, config, options);
}
util.inherits(PubSub, common.GrpcService);
util.inherits(PubSub, commonGrpc.Service);

@@ -86,0 +87,0 @@ /**

7

src/subscription.js

@@ -25,2 +25,3 @@ /*!

var common = require('@google-cloud/common');
var commonGrpc = require('@google-cloud/common-grpc');
var events = require('events');

@@ -274,3 +275,3 @@ var is = require('is');

common.GrpcServiceObject.call(this, config);
commonGrpc.ServiceObject.call(this, config);
events.EventEmitter.call(this);

@@ -336,3 +337,3 @@

modelo.inherits(Subscription, common.GrpcServiceObject, events.EventEmitter);
modelo.inherits(Subscription, commonGrpc.ServiceObject, events.EventEmitter);

@@ -370,3 +371,3 @@ /**

if (publishTime.seconds && publishTime.nanos) {
if (is.defined(publishTime.seconds) && is.defined(publishTime.nanos)) {
var seconds = parseInt(publishTime.seconds, 10);

@@ -373,0 +374,0 @@ var milliseconds = parseInt(publishTime.nanos, 10) / 1e6;

@@ -25,2 +25,3 @@ /*!

var common = require('@google-cloud/common');
var commonGrpc = require('@google-cloud/common-grpc');
var extend = require('extend');

@@ -184,3 +185,3 @@ var is = require('is');

common.GrpcServiceObject.call(this, {
commonGrpc.ServiceObject.call(this, {
parent: pubsub,

@@ -229,3 +230,3 @@ id: this.name,

util.inherits(Topic, common.GrpcServiceObject);
util.inherits(Topic, commonGrpc.ServiceObject);

@@ -232,0 +233,0 @@ /**

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