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.8 to 0.11.9

2

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

@@ -6,0 +6,0 @@ "homepage": "http://fis.baidu.com/",

@@ -23,4 +23,3 @@ /*

if (type == 'add' || type == 'change') {
if (!opt.srcCache[file.subpath]) {
var file = fis.file(path);
if (!opt.srcCache[file.subpath] && file.release) {
opt.srcCache[file.subpath] = file;

@@ -49,8 +48,15 @@ }

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

@@ -65,4 +71,5 @@ },

.on('unlinkDir', listener('unlinkDir'))
.on('error', function(err){
//fis.log.error(err);
.on('error', function(err) {
err.message += fis.cli.colors.red('\n\tYou can set `fis.config.set("project.watch.usePolling", true)` fix it.');
fis.log.error(err);
});

@@ -327,2 +334,2 @@ }

});
};
};
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