Socket
Socket
Sign inDemoInstall

vinyl-bufferstream

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vinyl-bufferstream - npm Package Compare versions

Comparing version 0.0.0 to 1.0.0

2

package.json
{
"name": "vinyl-bufferstream",
"version": "0.0.0",
"version": "1.0.0",
"description": "Deal with vinyl file contents, regardless of whether it is Buffer/Stream",

@@ -5,0 +5,0 @@ "repository": "shinnn/vinyl-bufferstream",

@@ -22,3 +22,11 @@ # vinyl-bufferstream

return through.obj(function(file, enc, cb) {
vinylBufferStream(file, cb);
vinylBufferStream(file, function(err, contents) {
if (err) {
self.emit('error', err);
} else {
file.contents = contents;
self.push(file);
}
cb();
});
});

@@ -92,3 +100,11 @@ }

return through.obj(function(file, enc, cb) {
vinylBufferStream(file, cb);
vinylBufferStream(file, function(err, contents) {
if (err) {
self.emit('error', err);
} else {
file.contents = contents;
self.push(file);
}
cb();
});
});

@@ -95,0 +111,0 @@ }

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