v0.2.11 update cssfilter@0.0.7 fixed issue #52

This commit is contained in:
Zongmin Lei
2016-04-25 00:25:54 +08:00
parent f18825d226
commit 77ea436b14
3 changed files with 3 additions and 12 deletions

9
dist/xss.js vendored
View File

@@ -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

File diff suppressed because one or more lines are too long

View File

@@ -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",