Comparing version 0.0.5 to 0.0.6
@@ -28,9 +28,10 @@ /** | ||
a: ['target', 'href', 'title'], | ||
img: ['src', 'alt', 'title'], | ||
img: ['src', 'alt', 'title', 'width', 'height'], | ||
div: [], | ||
table: ['width', 'border'], | ||
tr: [], | ||
tr: ['rowspan'], | ||
td: ['width', 'colspan'], | ||
th: ['width', 'colspan'], | ||
tbody: [], | ||
thead: [], | ||
ul: [], | ||
@@ -37,0 +38,0 @@ li: [], |
{ | ||
"name": "xss", | ||
"main": "./lib/index.js", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "XSS攻击代码过滤 Remove XSS attack vectors from user-supplied HTML", | ||
@@ -6,0 +6,0 @@ "author": "leizongmin <leizongmin@gmail.com> (http://ucdok.com)", |
@@ -125,3 +125,3 @@ [![Build Status](https://secure.travis-ci.org/leizongmin/js-xss.png?branch=master)](http://travis-ci.org/leizongmin/js-xss) | ||
``` | ||
Copyright (c) 2012 Lei Zongmin(雷宗民) <leizongmin@gmail.com> | ||
Copyright (c) 2012-2013 Lei Zongmin(雷宗民) <leizongmin@gmail.com> | ||
http://ucdok.com | ||
@@ -128,0 +128,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
147816
990