fis-optimizer-smarty-xss
Advanced tools
Comparing version 0.0.4 to 0.0.5
10
index.js
@@ -11,7 +11,5 @@ /* | ||
module.exports = function(content, file, conf){ | ||
fis.util.map(fis.config.get('setting.smarty'), function(key, value){ | ||
if(!conf.hasOwnProperty(key)){ | ||
conf[key] = value; | ||
} | ||
}); | ||
conf['leftDelimiter'] = conf['leftDelimiter'] || fis.config.get('settings.smarty.left_delimiter'); | ||
conf['rightDelimiter'] = conf['rightDelimiter'] || fis.config.get('settings.smarty.right_delimiter'); | ||
xss.config(conf); | ||
@@ -30,2 +28,2 @@ return xss.repair(content); | ||
} | ||
}; | ||
}; |
@@ -0,0 +0,0 @@ Copyright (C) 2013 baidu.com |
@@ -5,3 +5,3 @@ { | ||
"homepage": "http://fis.baidu.com/", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"author": { | ||
@@ -8,0 +8,0 @@ "name": "FIS Team", |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
2465
22
1