Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fis-command-release

Package Overview
Dependencies
Maintainers
3
Versions
108
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fis-command-release - npm Package Compare versions

Comparing version 0.11.9 to 0.12.0

4

package.json
{
"name": "fis-command-release",
"description": "fis release command.",
"version": "0.11.9",
"version": "0.12.0",
"author": "FIS Team <fis@baidu.com>",

@@ -23,3 +23,3 @@ "homepage": "http://fis.baidu.com/",

"async": "0.9.0",
"chokidar": "0.12.5",
"chokidar": "1.0.3",
"livereload-server-spec": "0.2.3"

@@ -26,0 +26,0 @@ },

@@ -18,2 +18,4 @@ /*

opt.srcCache = fis.project.getSource();
// first compile
release(opt);
function listener(type){

@@ -49,12 +51,19 @@ return function (path) {

ignored : function(path) {
var adjustPath = fis.util(path).replace(fis.project.getProjectPath(), '');
if (adjustPath == '') return false; // if path == project.root
// first chokidar emit add event
if (adjustPath[0] != '/') adjustPath = '/' + adjustPath;
var include = fis.config.get('project.include');
var exclude = fis.config.get('project.exclude');
if (!fis.util.filter(adjustPath, include, exclude)) {
return true;
}
var ignored = ignoredReg.test(adjustPath);
if (fis.config.get('project.watch.exclude')){
ignored = ignored ||
fis.util.filter(adjustPath, fis.config.get('project.watch.exclude')) ||
fis.util.filter(adjustPath, fis.config.get('project.exclude'));
fis.util.filter(adjustPath, fis.config.get('project.watch.exclude'));
}

@@ -65,3 +74,4 @@

usePolling: fis.config.get('project.watch.usePolling', null),
persistent: true
persistent: true,
ignoreInitial: true
})

@@ -68,0 +78,0 @@ .on('add', listener('add'))

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