Comparing version 2.0.0 to 2.0.1
@@ -293,4 +293,4 @@ var esprima = require('esprima'); | ||
// 如果require 命中配置 exculde 规则,则将发出警告,并将其替换成undefined; | ||
if (!rFile.useCompile) { | ||
alp.log.warning(rFile.realpath + '文件命中exclude配置项的规则,将不会对其进行解析,在' + file.realpath + '中的require(' + requireValue + ')将被替换为undefined'); | ||
if (!rFile.useCompile && parentNotExpressionOrSequence) { | ||
alp.log.warning(rFile.realpath + '文件命中exclude配置项的规则,在' + file.realpath + '中的require(' + requireValue + ')将被替换为undefined'); | ||
return { | ||
@@ -297,0 +297,0 @@ name: 'undefined', |
{ | ||
"name": "alpaca-sm", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "分析Html文件依赖的js文件和css文件", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
49581
0