v0.2.11 update cssfilter@0.0.7 fixed issue #52
This commit is contained in:
9
dist/xss.js
vendored
9
dist/xss.js
vendored
@@ -1426,15 +1426,6 @@ exports = module.exports = filterCSS;
|
||||
exports.FilterCSS = FilterCSS;
|
||||
for (var i in DEFAULT) exports[i] = DEFAULT[i];
|
||||
|
||||
|
||||
|
||||
// 在AMD下使用
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
define(function () {
|
||||
return module.exports;
|
||||
});
|
||||
}
|
||||
|
||||
// 在浏览器端使用
|
||||
if (typeof window !== 'undefined') {
|
||||
window.filterCSS = module.exports;
|
||||
|
||||
2
dist/xss.min.js
vendored
2
dist/xss.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "xss",
|
||||
"main": "./lib/index.js",
|
||||
"version": "0.2.10",
|
||||
"version": "0.2.11",
|
||||
"description": "Sanitize untrusted HTML (to prevent XSS) with a configuration specified by a Whitelist. 根据白名单过滤HTML(防止XSS攻击)",
|
||||
"author": "leizongmin <leizongmin@gmail.com> (http://ucdok.com)",
|
||||
"contributors": [
|
||||
@@ -19,7 +19,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"commander": "^2.9.0",
|
||||
"cssfilter": "0.0.6"
|
||||
"cssfilter": "0.0.7"
|
||||
},
|
||||
"devDependencies": {
|
||||
"blanket": "^1.2.1",
|
||||
|
||||
Reference in New Issue
Block a user