parse5-plain-text-conversion-stream 8.0.0 → 8.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.
Files changed (2) hide show
  1. package/dist/index.d.ts +2 -2
  2. package/package.json +13 -5
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { type ParserOptions, type TreeAdapterTypeMap } from 'parse5';
1
+ import { type ParserOptions, type TreeAdapterTypeMap, type DefaultTreeAdapterMap } from 'parse5';
2
2
  import { ParserStream } from 'parse5-parser-stream';
3
3
  /**
4
4
  * Converts plain text files into HTML document as required by [HTML specification](https://html.spec.whatwg.org/#read-text).
@@ -21,6 +21,6 @@ import { ParserStream } from 'parse5-parser-stream';
21
21
  * file.pipe(converter);
22
22
  * ```
23
23
  */
24
- export declare class PlainTextConversionStream<T extends TreeAdapterTypeMap> extends ParserStream<T> {
24
+ export declare class PlainTextConversionStream<T extends TreeAdapterTypeMap = DefaultTreeAdapterMap> extends ParserStream<T> {
25
25
  constructor(options?: ParserOptions<T>);
26
26
  }
package/package.json CHANGED
@@ -2,9 +2,14 @@
2
2
  "name": "parse5-plain-text-conversion-stream",
3
3
  "type": "module",
4
4
  "description": "Stream that converts plain text files into HTML document.",
5
- "version": "8.0.0",
5
+ "version": "8.0.1",
6
6
  "author": "Ivan Nikulin <ifaaan@gmail.com> (https://github.com/inikulin)",
7
- "contributors": "https://github.com/inikulin/parse5/graphs/contributors",
7
+ "contributors": [
8
+ "James Garbutt (https://github.com/43081j)",
9
+ "Felix Boehm (https://github.com/fb55)",
10
+ "Ivan Nikulin (https://github.com/inikulin)",
11
+ "Titus (https://github.com/wooorm)"
12
+ ],
8
13
  "homepage": "https://parse5.js.org",
9
14
  "funding": "https://github.com/inikulin/parse5?sponsor=1",
10
15
  "keywords": [
@@ -26,8 +31,8 @@
26
31
  }
27
32
  },
28
33
  "dependencies": {
29
- "parse5": "^8.0.0",
30
- "parse5-parser-stream": "^8.0.0"
34
+ "parse5": "^8.1.1",
35
+ "parse5-parser-stream": "^8.1.1"
31
36
  },
32
37
  "repository": {
33
38
  "type": "git",
@@ -36,5 +41,8 @@
36
41
  "files": [
37
42
  "dist/**/*.js",
38
43
  "dist/**/*.d.ts"
39
- ]
44
+ ],
45
+ "devDependencies": {
46
+ "parse5-test-utils": "1.0.0"
47
+ }
40
48
  }