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.1 to 0.3.2

11

lib/src/index.js

@@ -5,3 +5,2 @@ 'use strict';

var through = require('through2');
var map = require('through2-map');
var gs = require('glob-stream');

@@ -13,7 +12,5 @@ var File = require('vinyl');

var formatStream = map.ctor({
objectMode: true
}, function (globFile) {
return new File(globFile);
});
function createFile (globFile, enc, cb) {
cb(null, new File(globFile));
}

@@ -34,3 +31,3 @@ function src(glob, opt) {

var outputStream = globStream
.pipe(formatStream())
.pipe(through.obj(createFile))
.pipe(getStats(options));

@@ -37,0 +34,0 @@

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

@@ -17,3 +17,2 @@ "repository": "git://github.com/wearefractal/vinyl-fs.git",

"through2": "^0.5.1",
"through2-map": "^1.3.0",
"vinyl": "^0.2.0"

@@ -20,0 +19,0 @@ },

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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