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.8.12 to 0.8.13

14

lib/deploy.js

@@ -82,2 +82,16 @@ /*

var charset = file.charset;
if(file.isText() && content.length){
if(dest.replace && dest.replace.from && dest.replace.to){
var reg = dest.replace.from;
if(typeof reg === 'string'){
reg = new RegExp(fis.util.escapeReg(reg), 'g');
} else if(!(reg instanceof RegExp)){
fis.log.error('invalid deploy.replace.from [' + reg + ']');
}
content = content.replace(reg, dest.replace.to);
}
if(charset !== 'utf8' && charset !== 'utf-8'){
content = fis.util.toEncoding(content, charset);
}
}
if(file.isText() && content.length && charset !== 'utf8' && charset !== 'utf-8'){

@@ -84,0 +98,0 @@ content = fis.util.toEncoding(content, charset);

2

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