parse5-sax-parser 7.0.0 → 8.0.0
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/README.md
CHANGED
package/dist/dev-null-stream.js
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
1
|
import { Transform } from 'node:stream';
|
|
3
2
|
import type { Tokenizer, TokenHandler, Token } from 'parse5';
|
|
4
3
|
import { ParserFeedbackSimulator } from './parser-feedback-simulator.js';
|
|
@@ -39,6 +38,7 @@ export interface SAXParserOptions {
|
|
|
39
38
|
*/
|
|
40
39
|
export declare class SAXParser extends Transform implements TokenHandler {
|
|
41
40
|
protected options: SAXParserOptions;
|
|
41
|
+
/** @internal */
|
|
42
42
|
protected parserFeedbackSimulator: ParserFeedbackSimulator;
|
|
43
43
|
private pendingText;
|
|
44
44
|
private lastChunkWritten;
|
|
@@ -151,4 +151,3 @@ export interface SAXParser {
|
|
|
151
151
|
*/
|
|
152
152
|
on(event: string, handler: (...args: any[]) => void): this;
|
|
153
153
|
}
|
|
154
|
-
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"name": "parse5-sax-parser",
|
|
3
3
|
"type": "module",
|
|
4
4
|
"description": "Streaming SAX-style HTML parser.",
|
|
5
|
-
"version": "
|
|
5
|
+
"version": "8.0.0",
|
|
6
6
|
"author": "Ivan Nikulin <ifaaan@gmail.com> (https://github.com/inikulin)",
|
|
7
7
|
"contributors": "https://github.com/inikulin/parse5/graphs/contributors",
|
|
8
|
-
"homepage": "https://
|
|
8
|
+
"homepage": "https://parse5.js.org",
|
|
9
9
|
"funding": "https://github.com/inikulin/parse5?sponsor=1",
|
|
10
10
|
"keywords": [
|
|
11
11
|
"parse5",
|
|
@@ -18,16 +18,20 @@
|
|
|
18
18
|
"main": "dist/index.js",
|
|
19
19
|
"module": "dist/index.js",
|
|
20
20
|
"types": "dist/index.d.ts",
|
|
21
|
-
"exports":
|
|
21
|
+
"exports": {
|
|
22
|
+
".": {
|
|
23
|
+
"default": "./dist/index.js"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
22
26
|
"dependencies": {
|
|
23
|
-
"parse5": "^
|
|
27
|
+
"parse5": "^8.0.0"
|
|
24
28
|
},
|
|
25
29
|
"repository": {
|
|
26
30
|
"type": "git",
|
|
27
31
|
"url": "git://github.com/inikulin/parse5.git"
|
|
28
32
|
},
|
|
29
33
|
"files": [
|
|
30
|
-
"dist",
|
|
31
|
-
"
|
|
34
|
+
"dist/**/*.js",
|
|
35
|
+
"dist/**/*.d.ts"
|
|
32
36
|
]
|
|
33
37
|
}
|