fis-command-release
Advanced tools
Comparing version 0.9.7 to 0.9.10
{ | ||
"name" : "fis-command-release", | ||
"description" : "fis release command.", | ||
"version" : "0.9.7", | ||
"version" : "0.9.10", | ||
"author" : "FIS Team <fis@baidu.com>", | ||
@@ -20,3 +20,3 @@ "homepage" : "http://fis.baidu.com/", | ||
"dependencies" : { | ||
"chokidar" : "0.6.3", | ||
"chokidar" : "0.8.4", | ||
"livereload-server-spec" : "0.2.3" | ||
@@ -23,0 +23,0 @@ }, |
@@ -16,2 +16,3 @@ /* | ||
var safePathReg = /[\\\/][_\-.\s\w]+$/i; | ||
var ignoredReg = /[\/\\](?:output\b[^\/\\]*([\/\\]|$)|\.|fis-conf\.js$)/i; | ||
function listener(path){ | ||
@@ -27,4 +28,15 @@ if(safePathReg.test(path)){ | ||
.watch(root, { | ||
ignored : /[\/\\](?:output\b[^\/\\]*([\/\\]|$)|\.|fis-conf\.js$)/i, | ||
// usePolling: false, | ||
ignored : function(path){ | ||
var ignored = ignoredReg.test(path); | ||
if (fis.config.get('project.exclude')){ | ||
ignored = ignored || | ||
fis.util.filter(path, fis.config.get('project.exclude')); | ||
} | ||
if (fis.config.get('project.watch.exclude')){ | ||
ignored = ignored || | ||
fis.util.filter(path, fis.config.get('project.watch.exclude')); | ||
} | ||
return ignored; | ||
}, | ||
usePolling: false, | ||
persistent: true | ||
@@ -31,0 +43,0 @@ }) |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
55651
1488
0
+ Addedchokidar@0.8.4(transitive)
+ Addedrecursive-readdir@0.0.2(transitive)
- Removedchokidar@0.6.3(transitive)
Updatedchokidar@0.8.4