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

2

package.json
{
"name": "grunt-cacheinfo",
"description": "cacheinfo.",
"version": "0.4.9",
"version": "0.4.10",
"author": {

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

@@ -171,5 +171,5 @@ /*

let isAir = (abc.defPublishType === 'weex' || abc.defPublishType === 'webapp') && !abc.awpProxy;
let wapUrlDomain = options.wapUrlDomain || (isAir ? 'http://market.m.taobao.com/' : 'http://h5.m.taobao.com/');
let wapUrlDomain = options.wapUrlDomain || (isAir ? 'http://market.m.taobao.com/' : 'http://h5.m.taobao.com/');
let baseUrl = abc.baseUrl.replace(/^\//, '');
// 迁移至 weex/webapp 兼容老版本

@@ -204,3 +204,3 @@ if (isAir && !/^\/?app\//.test(baseUrl)) {

let count = 0;
function handleError() {

@@ -239,2 +239,3 @@ if (count < 2) {

var packageName = pkg.isAir ? pkg.name : pkg.name.replace(/^h5-/, '');
var universalWeex = (!abc.universalTargets || abc.universalTargets.weex);
var awpPathMap = abc.awpPathMap || {};

@@ -343,7 +344,6 @@

cache_files[p.replace(/\/index\.html/, abc.composite ? '.html' : '')] = f;
delete cache_files[p];
}
}
// 处理 index.weex.js
if (/\.js$/.test(f)) {
if (/\.js$/.test(f) && universalWeex) {
if (/pages\/[^/]+\/index\.(weex|native)(-min)?\.js$/.test(f)) {

@@ -354,6 +354,5 @@ weex_cache_files[p.replace(/\/index\.(weex|native)(-min)?\.js$/, abc.composite ? '.html' : '')] = f;

}
delete cache_files[p];
}
});
if (Object.keys(weex_cache_files).length) {

@@ -432,2 +431,2 @@ abcJSON.weexCache = weex_cache_files;

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