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

vinyl-fs

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vinyl-fs - npm Package Compare versions

Comparing version 0.3.2 to 0.3.3

5

lib/dest/index.js

@@ -11,2 +11,4 @@ 'use strict';

function noop () {}
// 511 = 0777

@@ -59,5 +61,6 @@ var processMode = 511 & (~process.umask());

return through2.obj(saveFile);
return through2.obj(saveFile)
.on('data', noop);
}
module.exports = dest;

2

package.json
{
"name": "vinyl-fs",
"description": "Vinyl adapter for the file system",
"version": "0.3.2",
"version": "0.3.3",
"homepage": "http://github.com/wearefractal/vinyl-fs",

@@ -6,0 +6,0 @@ "repository": "git://github.com/wearefractal/vinyl-fs.git",

@@ -364,4 +364,23 @@ var vfs = require('../');

stream1.end();
})
});
['end', 'finish'].forEach(function(eventName) {
it('should emit ' + eventName + ' event', function(done) {
var srcPath = path.join(__dirname, './fixtures/test.coffee');
var stream = vfs.dest('./out-fixtures/', {cwd: __dirname});
stream.on(eventName, function() {
done();
});
var file = new File({
path: srcPath,
cwd: __dirname,
contents: new Buffer("1234567890")
});
stream.write(file);
stream.end();
});
});
});
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