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

fis-command-release

Package Overview
Dependencies
Maintainers
2
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.2 to 0.11.3

13

lib/deploy.js

@@ -54,2 +54,3 @@ /*

if(dest.replace && dest.replace.from){
var reg = dest.replace.from;

@@ -84,3 +85,2 @@ if(typeof reg === 'string'){

file.setContent(content);
}

@@ -93,3 +93,3 @@ if(file.useHash && dest.opt.md5 > 0){

}
callback && callback(processors[dest._type], dest, release, file, settings[dest._name]);
callback && callback(processors[dest._type], dest, release, file, content, settings[dest._name]);
} else {

@@ -123,4 +123,4 @@ fis.log.error('unreleasable file [' + file.realpath + ']');

asyncTasks.push(function(cb){
prepareDeploy(task.dest, task.file, function(processor, dest, release, file, settings){
processor({to: dest.to, release: release}, file, dest, function(){
prepareDeploy(task.dest, task.file, function(processor, dest, release, file, content, settings){
processor({to: dest.to, release: release}, file, content, dest, function(){
//https://github.com/caolan/async/issues/75

@@ -144,3 +144,3 @@ //call async.parallelLimit with a sync function might cause Maximum call stack size exceeded

tasks.forEach(function(task){
prepareDeploy(task.dest, task.file, function(processor, dest, release, file, settings){
prepareDeploy(task.dest, task.file, function(processor, dest, release, file, content, settings){
taskSettings = settings;

@@ -153,3 +153,4 @@ taskProcessor = processor;

},
file: file
file: file,
content: content
});

@@ -156,0 +157,0 @@ });

{
"name": "fis-command-release",
"description": "fis release command.",
"version": "0.11.2",
"version": "0.11.3",
"author": "FIS Team <fis@baidu.com>",

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

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