Socket
Socket
Sign inDemoInstall

gcs-resumable-upload

Package Overview
Dependencies
Maintainers
5
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gcs-resumable-upload - npm Package Compare versions

Comparing version 0.7.7 to 0.8.0

11

index.js

@@ -50,2 +50,3 @@ 'use strict'

this.origin = cfg.origin
this.userProject = cfg.userProject

@@ -268,2 +269,7 @@ if (cfg.key) {

if (this.userProject) {
reqOpts.qs = reqOpts.qs || {}
reqOpts.qs.userProject = this.userProject
}
this.authClient.authorizeRequest(reqOpts, function (err, authorizedReqOpts) {

@@ -290,2 +296,7 @@ if (err) return callback(wrapError('Could not authenticate request', err))

if (this.userProject) {
reqOpts.qs = reqOpts.qs || {}
reqOpts.qs.userProject = this.userProject
}
this.authClient.authorizeRequest(reqOpts, function (err, authorizedReqOpts) {

@@ -292,0 +303,0 @@ if (err) return self.destroy(wrapError('Could not authenticate request', err))

2

package.json
{
"name": "gcs-resumable-upload",
"version": "0.7.7",
"version": "0.8.0",
"description": "Upload a file to Google Cloud Storage with built-in resumable behavior",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -166,2 +166,9 @@ # gcs-resumable-upload [![Build Status](https://travis-ci.org/stephenplusplus/gcs-resumable-upload.svg?branch=master)](https://travis-ci.org/stephenplusplus/gcs-resumable-upload)

###### config.userProject
- Type: `string`
- *Optional*
If the bucket being accessed has `requesterPays` functionality enabled, this can be set to control which project is billed for the access of this file.
--

@@ -168,0 +175,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