Socket
Socket
Sign inDemoInstall

gulp-azure-storage

Package Overview
Dependencies
109
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.4.1 to 0.5.0

15

lib/upload.js

@@ -7,2 +7,3 @@ var azure = require('azure-storage');

var createReadStream = require('streamifier').createReadStream;
var mime = require('mime');

@@ -23,7 +24,7 @@ module.exports = function (opts) {

var that = this;
if (file.isDirectory()) {
return;
}
q.push(function(cb) {

@@ -34,6 +35,6 @@ var istream = file.isBuffer() ? createReadStream(file.contents) : file.contents;

prefix + file.relative,
{ metadata: { fsmode: file.stat.mode } },
{ metadata: { fsmode: file.stat.mode }, contentType: mime.lookup(file.relative) },
function(err) {
if (err) { return cb(err); }
that.push(file);

@@ -43,3 +44,3 @@ cb();

);
istream.pipe(ostream);

@@ -68,4 +69,4 @@ });

});
return stream;
};
};
{
"name": "gulp-azure-storage",
"version": "0.4.1",
"version": "0.5.0",
"description": "Gulp plugin to download and upload files to/from the Azure blob storage",

@@ -25,2 +25,3 @@ "main": "index.js",

"event-stream": "^3.1.7",
"mime": "^1.3.4",
"optimist": "^0.6.1",

@@ -27,0 +28,0 @@ "progress": "^1.1.8",

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