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.2.2 to 0.2.3

2

package.json
{
"name": "grunt-cacheinfo",
"description": "cacheinfo.",
"version": "0.2.2",
"version": "0.2.3",
"homepage": "http://gitlab.alibaba-inc.com/trip-tools/grunt-cacheinfo",

@@ -6,0 +6,0 @@ "author": {

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

- 0.2.2
- using `-min.js` for weex map.
- using `-min.js` for weex map.
- 0.2.3
- bugfix for weex cache, add `options.wxDir` to define weex entry page jsbundle dir.

@@ -30,3 +30,5 @@ /*

// 支持扩展 meta merge 到 abc.json 上
extMeta: {}
extMeta: {},
// weex file dir
wxDir: 'pages'
});

@@ -253,4 +255,6 @@

var projectName = abc.name.replace(/^h5-/, '');
var wxDir = options.wxDir;
var wxRegExp = new RegExp('^' + wxDir + '\/.*\.js$', 'i');
all_files.forEach(function (file, k) {
if (/^pages.*\.js$/.test(file)) {
if (wxRegExp.test(file)) {
abcJSON.cache['/js/' + abc.group + '/' + projectName + '/' + file.replace(/\.js$/, '-min.js')] = file;

@@ -257,0 +261,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