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.1.0 to 2.1.1

6

lib/dest/index.js

@@ -23,4 +23,8 @@ 'use strict';

var mapStream = sourcemaps.write(opt.sourcemaps);
var saveStream = through2.obj(saveFile);
if (!opt.sourcemaps) {
return saveStream;
}
var mapStream = sourcemaps.write(opt.sourcemaps.path, opt.sourcemaps);
var outputStream = duplexify.obj(mapStream, saveStream);

@@ -27,0 +31,0 @@ mapStream.pipe(saveStream);

2

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

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

# vinyl-fs [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Coveralls Status][coveralls-image]][coveralls-url] [![Dependency Status][depstat-image]][depstat-url]
## Information
<table><br><tr><br><td>Package</td><td>vinyl-fs</td><br></tr><br><tr><br><td>Description</td><br><td>Vinyl adapter for the file system</td><br></tr><br><tr><br><td>Node Version</td><br><td>>= 0.10</td><br></tr><br></table>
<table><br><tr><br><td>Package</td><td>vinyl-fs</td><br></tr><br><tr><br><td>Description</td><br><td>Vinyl adapter for the file system</td><br></tr><br><tr><br><td>Node Version</td><br><td>>= 0.10</td><br></tr><br></table>

@@ -53,3 +53,2 @@ ## Usage

- since - `Date` or `number` if you only want files that have been modified since the time specified.
- stripBOM - `true` or `false` if you want the BOM to be stripped on UTF-8 encoded files.

@@ -101,4 +100,10 @@ - Default value is `true`.

- Default is `null` aka do not write sourcemaps.
- Use `.` to write sourcemaps as files
- Uses `gulp-sourcemaps` under the hood
- Examples:
- Write as inline comments
- fs.dest('./', {sourcemaps: true})
- Write as files in the same folder
- fs.dest('./', {<br> sourcemaps: {<br> path: '.'<br> }<br>})
- Any other options are passed through to `gulp-sourcemaps`
- fs.dest('./', {<br> sourcemaps: {<br> path: '.',<br> addComment: false,<br> includeContent: false<br> }<br>})

@@ -105,0 +110,0 @@ - Returns a Readable/Writable stream.

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