Socket
Socket
Sign inDemoInstall

glob-watcher

Package Overview
Dependencies
Maintainers
3
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

glob-watcher - npm Package Compare versions

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": {

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