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.23 to 0.1.24

20

index.js

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

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

@@ -125,2 +128,3 @@

.alias('yinke', 'useYinke') // 使用老的“yinke.com”进行构建
.alias('c', 'clear') // 以/dev/目录为准,删除/revs/目录、filesMap.json文件中对应的文件
.argv;

@@ -293,2 +297,4 @@

staticUrl = '/kuaifa-static/v1/revs/';
}else if(cwd.indexOf('/loan_beidailu_mobile_dev/') != -1 || cwd.indexOf('/loan_beidailu_mobile_mast/') != -1){ // 备贷录 app端
staticUrl = '/beidailu-mobile-static/v1/revs/';
}else{

@@ -314,2 +320,16 @@ console.log('\n ERROR:请检查当前命令运行的所在目录!'.red);

// /revs/目录、filesMap.json文件中,文件清理
// if(argv.clear){
// rd.each(outputDir, function(_file, _stat, next){
// console.log(_file, ' || ');
// var switchDev = outputDir.replace('', '$2');
// var isHave = fs.existsSync(_dst); // 获取目标路径下的资源,是否存在
// if()
// next();
// }, function(err){
// });
// return false;
// }
// 单独添加版本号 -- PS:暂时有冲突问题,先不在项目中应用

@@ -316,0 +336,0 @@ // function addVersion(f){

2

package.json
{
"name": "yk-cmp",
"description": "静态资源,从开发目录,发布到待发布目录,进行了压缩和版本号控制。修改相关文件对该资源的引用。",
"version": "0.1.23",
"version": "0.1.24",
"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