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.7 to 0.11.8

2

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

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

@@ -11,3 +11,3 @@ /*

exports.register = function(commander){
function watch(opt){

@@ -37,3 +37,3 @@ var root = fis.project.getProjectPath();

}
});
});
}

@@ -69,3 +69,3 @@ clearTimeout(timer);

}
function time(fn){

@@ -78,3 +78,3 @@ process.stdout.write('\n δ '.bold.yellow);

}
var LRServer, LRTimer;

@@ -99,3 +99,3 @@ function reload(){

}
var lastModified = {};

@@ -105,3 +105,3 @@ var collection = {};

var deploy = require('./lib/deploy.js');
deploy.done = function(){

@@ -111,3 +111,3 @@ clearTimeout(LRTimer);

};
function release(opt){

@@ -140,3 +140,3 @@ var flag, cost, start = Date.now();

};
opt.beforeCompile = function(file){

@@ -146,3 +146,3 @@ collection[file.subpath] = file;

};
try {

@@ -186,3 +186,3 @@ //release

}
commander

@@ -204,7 +204,7 @@ .option('-d, --dest <names>', 'release output destination', String, 'preview')

.action(function(){
var options = arguments[arguments.length - 1];
fis.log.throw = true;
//configure log

@@ -250,8 +250,8 @@ if(options.verbose){

}
//init project
fis.project.setProjectRoot(root);
process.title = 'fis ' + process.argv.splice(2).join(' ') + ' [ ' + root + ' ]';
if(conf){

@@ -264,6 +264,7 @@ var cache = fis.cache(conf, 'conf');

require(conf);
fis.emitter.emit('fis-conf:loaded');
} else {
fis.log.warning('missing config file [' + filename + ']');
}
if(options.clean){

@@ -275,3 +276,3 @@ time(function(){

delete options.clean;
//domain, fuck EventEmitter

@@ -282,3 +283,3 @@ if(options.domains){

}
if(options.live){

@@ -318,3 +319,3 @@ var LiveReloadServer = require('livereload-server-spec');

}
switch (typeof options.md5){

@@ -332,3 +333,3 @@ case 'undefined':

options.hash = options.md5 > 0;
if(options.watch){

@@ -335,0 +336,0 @@ watch(options);

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