flex-combo-plus
Advanced tools
Comparing version 2.0.2 to 2.0.3
@@ -97,9 +97,13 @@ /** | ||
var matchedRule = null; | ||
// 找到匹配的规则,后者优先 | ||
rules.forEach(function(rule){ | ||
if(!rule.disabled && rule.from.test(reqPars.dirname)){ | ||
matchedRule = rule; | ||
// 找到匹配的规则,前者优先 | ||
var matchedRule = (function(){ | ||
var i, n, rule; | ||
for(i = 0, n = rules.length; i < n; i++){ | ||
rule = rules[i]; | ||
if(!rule.disabled && rule.from.test(reqPars.dirname)){ | ||
return rule; | ||
} | ||
} | ||
}); | ||
return null; | ||
}()); | ||
@@ -106,0 +110,0 @@ var rq = null, promises = []; |
{ | ||
"name": "flex-combo-plus", | ||
"version": "2.0.2", | ||
"description": "", | ||
"version": "2.0.3", | ||
"description": "process engine for aproxy", | ||
"main": "instance.js", | ||
@@ -10,3 +10,3 @@ "engines": { | ||
"dependencies": { | ||
"colors": "^1.0.3", | ||
"colors": "~1.0.3", | ||
"merge": "~1.2.0", | ||
@@ -13,0 +13,0 @@ "promise": "~6.0.1" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
19861
469
+ Addedcolors@1.0.3(transitive)
- Removedcolors@1.4.0(transitive)
Updatedcolors@~1.0.3