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

@google-cloud/common

Package Overview
Dependencies
Maintainers
4
Versions
118
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@google-cloud/common - npm Package Compare versions

Comparing version 0.28.0 to 0.29.0

6

build/src/service-object.js

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

// behavior. Ensure we call the original `request` method.
this.request(reqOpts, callback);
ServiceObject.prototype.request.call(this, reqOpts, callback);
}

@@ -187,3 +187,3 @@ exists(callback) {

// behavior. Ensure we call the original `request` method.
this.request(reqOpts, (err, body, res) => {
ServiceObject.prototype.request.call(this, reqOpts, (err, body, res) => {
this.metadata = body;

@@ -205,3 +205,3 @@ callback(err, this.metadata, res);

// behavior. Ensure we call the original `request` method.
this.request(reqOpts, (err, body, res) => {
ServiceObject.prototype.request.call(this, reqOpts, (err, body, res) => {
this.metadata = body;

@@ -208,0 +208,0 @@ callback(err, this.metadata, res);

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

request(reqOpts, callback) {
this.request_(reqOpts, callback);
Service.prototype.request_.call(true, reqOpts, callback);
}

@@ -166,3 +166,3 @@ /**

const opts = extend(true, reqOpts, { shouldReturnStream: true });
return this.request_(opts);
return Service.prototype.request_.call(this, opts);
}

@@ -169,0 +169,0 @@ }

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

## v0.29.0
12-19-2018 13:11 PST
- fix: use request_ for service-object ([#337](https://github.com/googleapis/nodejs-common/pull/337))
## v0.28.0

@@ -9,0 +15,0 @@

{
"name": "@google-cloud/common",
"description": "Common components for Cloud APIs Node.js Client Libraries",
"version": "0.28.0",
"version": "0.29.0",
"license": "Apache-2.0",

@@ -6,0 +6,0 @@ "author": "Google Inc.",

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