Socket
Socket
Sign inDemoInstall

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.3.4 to 2.4.0

5

lib/dest/index.js

@@ -37,2 +37,7 @@ 'use strict';

}
if (typeof sourcemapOpt === 'string') {
sourcemapOpt = {
path: sourcemapOpt,
};
}

@@ -39,0 +44,0 @@ var mapStream = sourcemaps.write(sourcemapOpt.path, sourcemapOpt);

2

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

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

@@ -202,3 +202,4 @@ <p align="center">

Enables sourcemap support on files passed through the stream. Will write inline soucemaps if specified as `true`. Uses [gulp-sourcemaps] under the hood.
Enables sourcemap support on files passed through the stream. Will write inline soucemaps if specified as `true`.
Specifying a `string` is shorthand for the path option. Uses [gulp-sourcemaps] under the hood.

@@ -215,5 +216,3 @@ Examples:

vfs.dest('./', {
sourcemaps: {
path: '.'
}
sourcemaps: '.'
});

@@ -231,3 +230,3 @@

Type: `Boolean` or `Object`
Type: `Boolean`, `String` or `Object`

@@ -234,0 +233,0 @@ Default: `undefined` (do not write sourcemaps)

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