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
3
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.4.3 to 0.4.5

2

package.json
{
"name": "grunt-cacheinfo",
"description": "cacheinfo.",
"version": "0.4.3",
"version": "0.4.5",
"author": {

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

@@ -23,2 +23,6 @@ # grunt-cacheinfo

- 0.4.5
- 请求 `offline-config/index.json` 失败,立刻终止构建
- 0.4.4
- `offline-config/index.json` 升级到 `https`
- 0.4.3

@@ -25,0 +29,0 @@ - [+] 增加 `offlineSyncHost` 配置项可以自行配置离线同步 CDN hostname,方便日常环境测试。

@@ -64,4 +64,8 @@ /*

var pwd = process.cwd();
var config_url = options.configUrl || 'http://g.alicdn.com/trip/offline-config/index.json';
var config_url = options.configUrl || 'https://g.alicdn.com/trip/offline-config/index.json';
if (/http:/.test(config_url)) {
config_url = config_url.replace(/^http/, 'https');
}
getGlobalConfig(function (globalConfig) {

@@ -188,3 +192,3 @@

}).on('error', function (e) {
console.log('错误:请求不到 ' + config_url);
grunt.fail.fatal('错误:请求不到 ' + config_url);
done();

@@ -191,0 +195,0 @@ });

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