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.1.8 to 0.1.9

2

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

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

@@ -14,2 +14,3 @@ /*

var http = require('http');
var url = require('url');
var clamUtil = require('clam-util');

@@ -109,5 +110,8 @@ var exec = require('child_process').exec;

var wap_relative = wapUrl;
wap_relative = wap_relative.replace('http://h5.m.taobao.com','');
wap_relative = wap_relative.replace('http://h5.wapa.taobao.com','');
wap_relative = wap_relative.replace('http://h5.waptest.taobao.com','');
var parsedUrl = url.parse(wapUrl);
if(!parsedUrl.host || !parsedUrl.protocol) {
wapUrl = 'http://' + wapUrl;
parsedUrl = url.parse(wapUrl);
}
wap_relative = parsedUrl.path;
wap_relative = wap_relative.replace('#/fillinfo','');

@@ -114,0 +118,0 @@ return wap_relative;

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