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

yk-cmp

Package Overview
Dependencies
Maintainers
1
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yk-cmp - npm Package Compare versions

Comparing version 0.1.25 to 0.1.26

24

index.js

@@ -14,3 +14,3 @@ /**

* 无
===== 功能使用1: =====
========== 功能使用1:==========
目录、文件自动清理功能。

@@ -20,3 +20,3 @@ 若/dev/目录中的,某个目录或文件有移除,只需在/v1/目录下执行以下命令,即可将/revs/目录、filesMap.json文件中,对应的内容自动移除,无需手动清除:

===== 功能使用2: =====
========== 功能使用2:==========
1、银客理财

@@ -100,3 +100,2 @@ PC、WAP、APP三端都在/v1/目录下,执行以下命令进行编译:yk-cmp

在loan_beidailu_mobile_dev、loan_beidailu_mobile_mast项目的/v1/目录下,执行以下命令进行编译:yk-cmp
*/

@@ -237,2 +236,3 @@

if(argv.clear){
var readline = require('readline');
var delFiles = 0,

@@ -275,6 +275,21 @@ delDir = 0;

callDeleteFunction(outputDir, function(){
function clearEnd(){
fs.writeFileSync(filesMap, JSON.stringify(filesMapJson, null, 2));
console.log('\n ===== 本次共删除:'+ delFiles +' 个文件,'+ delDir +' 个文件夹 =====');
console.timeEnd(' 耗时');
}
new Promise(() => {
var rl = readline.createInterface({
input: process.stdin,
output: process.stdout
});
rl.question('\n 垃圾文件清理准备开始,想好了吗?(Y/N)'.magenta, (answer) => {
rl.close();
if(answer.trim().toUpperCase() === 'Y'){
callDeleteFunction(outputDir, clearEnd);
}else{
clearEnd();
}
});
});

@@ -353,3 +368,2 @@ return false;

});
//fs.mkdir(diffPath, function(err){});
}

@@ -356,0 +370,0 @@ console.log(' Replace to ==>> '.magenta + target);

{
"name": "yk-cmp",
"description": "静态资源,从开发目录,发布到待发布目录,进行了压缩和版本号控制。修改相关文件对该资源的引用。",
"version": "0.1.25",
"version": "0.1.26",
"author": {

@@ -6,0 +6,0 @@ "name": "Wangshiqiang",

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