Comparing version 1.0.25 to 1.0.26
{ | ||
"name": "tpm", | ||
"version": "1.0.25", | ||
"version": "1.0.26", | ||
"description": "Static Package Manager", | ||
@@ -5,0 +5,0 @@ "author": "Longhao Luo <lhluo@tudou.com>", |
@@ -79,2 +79,3 @@ | ||
if (args[0] == 'img') { | ||
var env = args[1] || ''; | ||
var imgList = Util.grepPaths(distDirPath + '/img', function(path) { | ||
@@ -86,3 +87,3 @@ return /\.(jpg|png|gif|ico|swf)$/.test(path); | ||
imgList.forEach(function(path) { | ||
var url = 'http://css.tudouui.com/v3/' + getRelativePath(path); | ||
var url = 'http://css' + env + '.tudouui.com/v3/' + getRelativePath(path); | ||
Request(url, function (error, response, body) { | ||
@@ -89,0 +90,0 @@ pathCount--; |
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
Found 1 instance in 1 package
AI-detected potential security risk
Supply chain riskAI has determined that this package may contain potential security issues or vulnerabilities.
Found 1 instance in 1 package
1663211
38521
23
53