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

grunt-cacheinfo

Package Overview
Dependencies
Maintainers
2
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-cacheinfo - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

26

package.json
{
"name": "grunt-cacheinfo",
"description": "cacheinfo.",
"version": "0.1.3",
"homepage": "https://github.com/jayli/grunt-combohtml",
"version": "0.1.4",
"homepage": "http://gitlab.alibaba-inc.com/trip-tools/grunt-cacheinfo",
"author": {

@@ -12,3 +12,3 @@ "name": "bachi",

"type": "git",
"url": "git@github.com:jayli/grunt-combohtml.git"
"url": "git@gitlab.alibaba-inc.com:trip-tools/grunt-cacheinfo.git"
},

@@ -41,4 +41,4 @@ "licenses": [

],
"_id": "grunt-cacheinfo@0.1.2",
"_from": "grunt-cacheinfo@*",
"_id": "grunt-cacheinfo@0.1.3",
"_from": "grunt-cacheinfo@latest",
"maintainers": [

@@ -51,8 +51,8 @@ {

"directories": {},
"publish_time": 1418392430856,
"_cnpm_publish_time": 1418392430856,
"publish_time": 1418560962568,
"_cnpm_publish_time": 1418560962568,
"bugs": {
"url": "https://github.com/jayli/grunt-combohtml/issues"
},
"_shasum": "3f2e0253ba6e53130e934245da70de914193d1a9",
"_shasum": "f227b353e47209cdc22e7b790e5516d45f4286af",
"_npmVersion": "1.4.16",

@@ -64,9 +64,9 @@ "_npmUser": {

"dist": {
"shasum": "3f2e0253ba6e53130e934245da70de914193d1a9",
"size": 6923,
"shasum": "f227b353e47209cdc22e7b790e5516d45f4286af",
"size": 4784,
"noattachment": false,
"key": "grunt-cacheinfo/-/grunt-cacheinfo-0.1.2.tgz",
"tarball": "http://registry.npm.alibaba-inc.com/grunt-cacheinfo/download/grunt-cacheinfo-0.1.2.tgz"
"key": "grunt-cacheinfo/-/grunt-cacheinfo-0.1.3.tgz",
"tarball": "http://registry.npm.alibaba-inc.com/grunt-cacheinfo/download/grunt-cacheinfo-0.1.3.tgz"
},
"_resolved": "http://registry.npm.alibaba-inc.com/grunt-cacheinfo/download/grunt-cacheinfo-0.1.2.tgz"
"_resolved": "http://registry.npm.alibaba-inc.com/grunt-cacheinfo/download/grunt-cacheinfo-0.1.3.tgz"
}

@@ -14,1 +14,6 @@ # grunt-cacheinfo

},
### Release History
- 0.1.4
- 读取不到包配置时,直接跳过该任务避免报错

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

getGlobalConfig(function(globalConfig){
generatorCacheInfo(getPkgConfig(globalConfig),all_files);
var pkgConfig = getPkgConfig(globalConfig);
if(pkgConfig) {
generatorCacheInfo(pkgConfig, all_files);
} else {
done();
}
});

@@ -112,10 +119,12 @@

var abc = require(path.resolve(process.cwd(), options.abc));
var pkg = {};
var pkg = {},
isPkgFound = false;
for(var i = 0;i<globalConfig.length;i++){
if(globalConfig[i].name == abc.name){
pkg = globalConfig[i];
isPkgFound = true;
break;
}
}
return pkg;
return isPkgFound ? pkg : null;
}

@@ -219,4 +228,1 @@

};
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