purifai 2.0.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +2 -2
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -64,7 +64,7 @@ var DEFAULT_OPTIONS = {
|
|
|
64
64
|
allowedProtocols: ["http", "https", "mailto"],
|
|
65
65
|
aggressiveMode: true
|
|
66
66
|
};
|
|
67
|
-
var VERSION = "2.0.
|
|
67
|
+
var VERSION = "2.0.1";
|
|
68
68
|
var MAX_FILTER_PASSES = 5;
|
|
69
69
|
function decodeEncodingBypasses(str) {
|
|
70
70
|
let result = str;
|
|
@@ -401,6 +401,6 @@ var index_default = Purifai;
|
|
|
401
401
|
* Advanced XSS protection with polyglot attack resistance.
|
|
402
402
|
* Blocks sophisticated obfuscation techniques that bypass other sanitizers.
|
|
403
403
|
*
|
|
404
|
-
* @version 2.0.
|
|
404
|
+
* @version 2.0.1
|
|
405
405
|
* @license MIT
|
|
406
406
|
*/
|
package/dist/index.d.cts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -32,7 +32,7 @@ var DEFAULT_OPTIONS = {
|
|
|
32
32
|
allowedProtocols: ["http", "https", "mailto"],
|
|
33
33
|
aggressiveMode: true
|
|
34
34
|
};
|
|
35
|
-
var VERSION = "2.0.
|
|
35
|
+
var VERSION = "2.0.1";
|
|
36
36
|
var MAX_FILTER_PASSES = 5;
|
|
37
37
|
function decodeEncodingBypasses(str) {
|
|
38
38
|
let result = str;
|
|
@@ -369,6 +369,6 @@ export {
|
|
|
369
369
|
* Advanced XSS protection with polyglot attack resistance.
|
|
370
370
|
* Blocks sophisticated obfuscation techniques that bypass other sanitizers.
|
|
371
371
|
*
|
|
372
|
-
* @version 2.0.
|
|
372
|
+
* @version 2.0.1
|
|
373
373
|
* @license MIT
|
|
374
374
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "purifai",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"description": "Zero-dependency strip-to-text HTML sanitizer with contextual output encoding (HTML, attribute, URL). ~4.1KB gzipped, no DOM required - runs in Node, browsers and edge runtimes.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"nodejs",
|
|
55
55
|
"browser"
|
|
56
56
|
],
|
|
57
|
-
"author": "Purifai Team <
|
|
57
|
+
"author": "Purifai Team <it@worksonmy.dev>",
|
|
58
58
|
"license": "MIT",
|
|
59
59
|
"homepage": "https://github.com/moji2002/purifai#readme",
|
|
60
60
|
"repository": {
|