Huge News!Announcing our $40M Series B led by Abstract Ventures.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.7.7 to 0.7.8

11

lib/deploy.js

@@ -33,2 +33,5 @@ /*

if(file.release){
if(dest.from !== '/'){
file.release = file.release.substring(dest.from.length);
}
if(dest.receiver){

@@ -50,3 +53,7 @@ if(!file.useHash || dest.md5 != 1){

function normilize(str){
return String(str || '').replace(/^\/|\/$/, '');
str = (str || '').trim();
if(str[0] !== '/'){
str = '/' + str;
}
return str.replace(/\/$/, '') + '/';
}

@@ -94,3 +101,3 @@

file.release &&
file.release.substring(1).indexOf(d.from) === 0 &&
file.release.indexOf(d.from) === 0 &&
fis.util.filter(file.subpath, d.include, d.exclude)

@@ -97,0 +104,0 @@ ){

2

package.json
{
"name" : "fis-command-release",
"description" : "fis release command.",
"version" : "0.7.7",
"version" : "0.7.8",
"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