Huge News!Announcing our $40M Series B led by Abstract Ventures.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.4.2 to 0.4.3

2

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

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

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

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

@@ -25,0 +27,0 @@ - `getPkgConfig` 优先从 `abc.json` 中拼。

@@ -39,3 +39,4 @@ /*

distDir: 'build',
offlineSyncDir: 'offline-trip-sync'
offlineSyncDir: 'offline-trip-sync',
offlineSyncHost: 'g.alicdn.com',
});

@@ -283,3 +284,3 @@

abcJSON.cache.onlinePrefix = "https:\/\/g.alicdn.com\/" + abc.group + '\/' + abc.name + '\/' + abc.version + '\/' + options.offlineSyncDir + '\/';
abcJSON.cache.onlinePrefix = `https:\/\/${options.offlineSyncHost}\/` + abc.group + '\/' + abc.name + '\/' + abc.version + '\/' + options.offlineSyncDir + '\/';

@@ -286,0 +287,0 @@ clamUtil.fs.writeJSONFile(genABCJSONPath, abcJSON, function (err) {

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