New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

fis-command-release

Package Overview
Dependencies
Maintainers
1
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.3.7 to 0.3.8

12

lib/deploy.js

@@ -8,3 +8,3 @@ /*

function upload(receiver, to, release, file, fis){
function upload(receiver, to, release, file){
fis.util.upload(

@@ -24,9 +24,9 @@ //url, request options, post data, file

function deploy(dest, file, fis){
function deploy(dest, file){
if(dest.receiver){
if(!file.useHash || dest.md5 != 1){
upload(dest.receiver, dest.to, file.release, file, fis);
upload(dest.receiver, dest.to, file.release, file);
}
if(file.useHash && dest.md5 > 0){
upload(dest.receiver, dest.to, file.getHashRelease(), file, fis);
upload(dest.receiver, dest.to, file.getHashRelease(), file);
}

@@ -42,3 +42,3 @@ } else {

module.exports = function(dest, md5, collection, fis){
module.exports = function(dest, md5, collection){
var settings = fis.config.get('deploy', {});

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

if(file.release.indexOf(d.from) === 0 && fis.util.filter(file.subpath, d.include, d.exclude)){
deploy(d, file, fis);
deploy(d, file);
}

@@ -69,0 +69,0 @@ });

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

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

@@ -10,3 +10,3 @@ /*

exports.desc = 'build and deploy your project';
exports.register = function(commander, fis){
exports.register = function(commander){

@@ -78,3 +78,3 @@ function watch(opt){

fis.util.map(ret.pkg, collection, true);
deploy(opt.dest, opt.md5, collection, fis);
deploy(opt.dest, opt.md5, collection);
collection = {};

@@ -81,0 +81,0 @@ return;

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