glob-watcher
Advanced tools
Comparing version 3.1.0 to 3.2.0
10
index.js
@@ -6,9 +6,5 @@ 'use strict'; | ||
var asyncDone = require('async-done'); | ||
var assignWith = require('lodash.assignwith'); | ||
var defaults = require('object.defaults'); | ||
function assignNullish(objValue, srcValue) { | ||
return (srcValue == null ? objValue : srcValue); | ||
} | ||
var defaults = { | ||
var defaultOpts = { | ||
delay: 200, | ||
@@ -26,3 +22,3 @@ events: ['add', 'change', 'unlink'], | ||
var opt = assignWith({}, defaults, options, assignNullish); | ||
var opt = defaults({}, options, defaultOpts); | ||
@@ -29,0 +25,0 @@ if (!Array.isArray(opt.events)) { |
{ | ||
"name": "glob-watcher", | ||
"version": "3.1.0", | ||
"version": "3.2.0", | ||
"description": "Watch globs and execute a function upon change, with intelligent defaults for debouncing and queueing.", | ||
@@ -26,4 +26,4 @@ "author": "Gulp Team <team@gulpjs.com> (http://gulpjs.com/)", | ||
"chokidar": "^1.4.3", | ||
"lodash.assignwith": "^4.0.6", | ||
"lodash.debounce": "^4.0.6" | ||
"lodash.debounce": "^4.0.6", | ||
"object.defaults": "^1.0.0" | ||
}, | ||
@@ -30,0 +30,0 @@ "devDependencies": { |
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
8798
57
+ Addedobject.defaults@^1.0.0
+ Addedarray-each@1.0.1(transitive)
+ Addedarray-slice@1.1.0(transitive)
+ Addedfor-own@1.0.0(transitive)
+ Addedobject.defaults@1.1.0(transitive)
- Removedlodash.assignwith@^4.0.6
- Removedlodash.assignwith@4.2.0(transitive)