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.12 to 0.3.13

7

lib/dest/index.js
'use strict';
var _ = require('lodash');
var defaults = _.defaults;
var defaults = require('defaults');
var path = require('path');

@@ -15,2 +13,3 @@ var through2 = require('through2');

function dest(outFolder, opt) {
opt = opt || {};
if (typeof outFolder !== 'string' && typeof outFolder !== 'function') {

@@ -20,3 +19,3 @@ throw new Error('Invalid output folder');

var options = defaults({}, opt, {
var options = defaults(opt, {
cwd: process.cwd()

@@ -23,0 +22,0 @@ });

'use strict';
var _ = require('lodash');
var defaults = _.defaults;
var defaults = require('defaults');
var through = require('through2');

@@ -18,2 +16,3 @@ var gs = require('glob-stream');

function src(glob, opt) {
opt = opt || {};
var pass = through.obj();

@@ -30,3 +29,3 @@

var options = defaults({}, opt, {
var options = defaults(opt, {
read: true,

@@ -33,0 +32,0 @@ buffer: true

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

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

"dependencies": {
"defaults": "^1.0.0",
"glob-stream": "^3.1.5",
"glob-watcher": "^0.0.6",
"graceful-fs": "^3.0.0",
"lodash": "^2.4.1",
"mkdirp": "^0.5.0",

@@ -20,0 +20,0 @@ "strip-bom": "^1.0.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