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

gcs-resumable-upload

Package Overview
Dependencies
Maintainers
1
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.4.1 to 0.4.2

4

index.js

@@ -89,2 +89,6 @@ 'use strict'

if (metadata.contentLength) {
reqOpts.headers['X-Upload-Content-Length'] = metadata.contentLength
}
if (metadata.contentType) {

@@ -91,0 +95,0 @@ reqOpts.headers['X-Upload-Content-Type'] = metadata.contentType

2

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

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

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

If you wish to only upload to a specific generation/version of this file, provide the generation number here.
This will cause the upload to fail if the current generation of the remote object does not match the one provided here.

@@ -94,0 +94,0 @@ ###### config.metadata

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