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

gcs-resumable-upload

Package Overview
Dependencies
Maintainers
4
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.4 to 0.7.5

6

index.js

@@ -52,3 +52,3 @@ 'use strict'

if (cfg.key) {
var base64Key = new Buffer(cfg.key).toString('base64')
var base64Key = Buffer.from(cfg.key).toString('base64')
this.encryption = {

@@ -197,4 +197,4 @@ key: base64Key,

// this continues an upload in progress. check if the bytes are the same
cachedFirstChunk = new Buffer(cachedFirstChunk)
firstChunk = new Buffer(firstChunk)
cachedFirstChunk = Buffer.from(cachedFirstChunk)
firstChunk = Buffer.from(firstChunk)

@@ -201,0 +201,0 @@ if (!bufferEqual(cachedFirstChunk, firstChunk)) {

{
"name": "gcs-resumable-upload",
"version": "0.7.4",
"version": "0.7.5",
"description": "Upload a file to Google Cloud Storage with built-in resumable behavior",

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

"dependencies": {
"buffer-equal": "0.0.1",
"configstore": "^1.2.1",
"google-auto-auth": "^0.2.1",
"buffer-equal": "^1.0.0",
"configstore": "^3.0.0",
"google-auto-auth": "^0.6.0",
"pumpify": "^1.3.3",

@@ -38,5 +38,5 @@ "request": "^2.61.0",

"is-stream": "^1.0.1",
"mocha": "^2.2.5",
"mockery": "^1.4.0",
"standard": "^5.1.0"
"mocha": "^3.2.0",
"mockery": "^2.0.0",
"standard": "^10.0.1"
},

@@ -43,0 +43,0 @@ "standard": {

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