Comparing version 0.1.9 to 0.1.10
{ | ||
"name": "xss", | ||
"main": "./lib/index.js", | ||
"version": "0.1.9", | ||
"version": "0.1.10", | ||
"description": "Sanitize untrusted HTML (to prevent XSS) with a configuration specified by a Whitelist. 根据白名单过滤HTML(防止XSS攻击)", | ||
@@ -6,0 +6,0 @@ "author": "leizongmin <leizongmin@gmail.com> (http://ucdok.com)", |
@@ -30,2 +30,4 @@ [![NPM version](https://badge.fury.io/js/xss.png)](http://badge.fury.io/js/xss) | ||
**Try Online:** http://ucdok.com/project/xss/ | ||
--------------- | ||
@@ -110,3 +112,3 @@ | ||
```HTML | ||
<script src="https://raw.github.com/leizongmin/js-xss/master/build/xss.js"></script> | ||
<script src="https://raw.github.com/leizongmin/js-xss/master/dist/xss.js"></script> | ||
<script> | ||
@@ -419,13 +421,1 @@ // apply function filterXSS in the same way | ||
The MIT License | ||
## Donate | ||
We made xss in our spare time because it's fun to build things. We hope you find it useful. | ||
If you like this package and want to support future development—or just say thank you, **please consider making a donation of $5, $10 or $20** (or whatever you can afford) to help us continue to improve it. | ||
[![Donate xss package by PayPal](https://raw.github.com/deweyapp/deweyapp/master/docs/images/donate.png)] | ||
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=leizongmin%40qq%2ecom&lc=US&no_note=0¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHostedGuest) | ||
[![Donate xss package by Alipay](https://img.alipay.com/sys/personalprod/style/mc/btn-index.png)](https://me.alipay.com/leizongmin) |
@@ -23,2 +23,4 @@ [![NPM version](https://badge.fury.io/js/xss.png)](http://badge.fury.io/js/xss) | ||
**在线测试:** http://ucdok.com/project/xss/ | ||
--------------- | ||
@@ -86,3 +88,3 @@ | ||
```HTML | ||
<script src="https://raw.github.com/leizongmin/js-xss/master/build/xss.js"></script> | ||
<script src="https://raw.github.com/leizongmin/js-xss/master/dist/xss.js"></script> | ||
<script> | ||
@@ -407,11 +409,1 @@ // 使用函数名 filterXSS,用法一样 | ||
The MIT License | ||
## 捐赠 | ||
如果您觉得xss模块对您有帮助,欢迎请作者一杯咖啡 | ||
[![捐赠xss模块](https://img.alipay.com/sys/personalprod/style/mc/btn-index.png)](https://me.alipay.com/leizongmin) | ||
[![Donate xss package by PayPal](https://raw.github.com/deweyapp/deweyapp/master/docs/images/donate.png)] | ||
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=leizongmin%40qq%2ecom&lc=US&no_note=0¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHostedGuest) |
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
204654
419