Socket
Socket
Sign inDemoInstall

gulp-azure-storage

Package Overview
Dependencies
123
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.7.1 to 0.8.0

4

lib/upload.js

@@ -17,2 +17,4 @@ var azure = require('azure-storage');

}
var metadata = opts.metadata || {}
var contentSettings = opts.contentSettings || {}
var prefix = opts.prefix || '';

@@ -34,3 +36,3 @@ var service = azure.createBlobService(opts.account, opts.key).withFilter(new azure.LinearRetryPolicyFilter());

prefix + file.relative,
{ metadata: { fsmode: file.stat.mode }, contentSettings: {contentType: mime.lookup(file.relative)}},
{ metadata: Object.assign({ fsmode: file.stat.mode }, metadata), contentSettings: Object.assign({contentType: mime.lookup(file.relative)}, contentSettings)},
function(err) {

@@ -37,0 +39,0 @@ if (err) { return cb(err); }

{
"name": "gulp-azure-storage",
"version": "0.7.1",
"version": "0.8.0",
"description": "Gulp plugin to download and upload files to/from the Azure blob storage",

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc