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

gulp-process-file-log

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-process-file-log - npm Package Compare versions

Comparing version 1.1.3 to 1.1.4

41

index.js

@@ -13,27 +13,30 @@ var through = require('through2');

return through.obj(
function (file, enc, cb) {
if (!file.path) {
cb();
function (file, enc, cb) {
if (!file.path) {
cb();
return;
}
return;
}
var asset = basenamePrefix + file.basename;
var asset = basenamePrefix + file.basename;
if (manifest.indexOf(asset) === -1) {
manifest.push(asset);
}
if (manifest.indexOf(asset) === -1) {
manifest.push(asset);
cb(null, file);
cb(null, file);
},
function (cb) {
if (!fileExists(path.dirname(logFile))) {
mkpath.sync(path.dirname(logFile));
}
return;
}
jsonfile.writeFile(logFile, manifest, {spaces: 2}, function (err) {
cb(err);
});
}
cb();
},
function (cb) {
if (!fileExists(path.dirname(logFile))) {
mkpath.sync(path.dirname(logFile));
}
jsonfile.writeFileSync(logFile, manifest, {spaces: 2}, function (err) {
cb(err);
});
}
);
};
{
"name": "gulp-process-file-log",
"version": "1.1.3",
"version": "1.1.4",
"description": "",

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

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