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

vinyl-fs

Package Overview
Dependencies
Maintainers
2
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 2.4.1 to 2.4.2

17

lib/src/index.js
'use strict';
var path = require('path');
var assign = require('object-assign');

@@ -17,17 +16,2 @@ var through2 = require('through2');

function normalizePath(options) {
function normalize(globFile, enc, cb) {
// TODO: probably move this somewhere
// Ref https://github.com/gulpjs/vinyl/issues/80
var normalizedFile = assign({}, globFile, {
path: path.normalize(globFile.path),
});
cb(null, normalizedFile);
}
return through2.obj(options, normalize);
}
function createFile(globFile, enc, cb) {

@@ -60,3 +44,2 @@ cb(null, new File(globFile));

var outputStream = globStream
.pipe(normalizePath(options))
.pipe(resolveSymlinks(options))

@@ -63,0 +46,0 @@ .pipe(through2.obj(options, createFile));

4

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

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

"duplexify": "^3.2.0",
"glob-stream": "^5.2.0",
"glob-stream": "^5.3.2",
"graceful-fs": "^4.0.0",

@@ -18,0 +18,0 @@ "gulp-sourcemaps": "^1.5.2",

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