Comparing version 0.3.12 to 0.3.13
'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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
12655
+ Addeddefaults@^1.0.0
+ Addedclone@1.0.4(transitive)
+ Addeddefaults@1.0.4(transitive)
- Removedlodash@^2.4.1
- Removedlodash@2.4.2(transitive)