@thi.ng/bitstream 2.4.4 → 2.4.5
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/CHANGELOG.md +1 -1
- package/output.d.ts +1 -1
- package/package.json +6 -6
- package/simple.d.ts +1 -1
package/CHANGELOG.md
CHANGED
package/output.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export declare class BitOutputStream {
|
|
|
8
8
|
constructor(buffer?: number | Uint8Array, offset?: number);
|
|
9
9
|
get position(): number;
|
|
10
10
|
seek(pos: number): BitOutputStream;
|
|
11
|
-
bytes(): Uint8Array
|
|
11
|
+
bytes(): Uint8Array<ArrayBuffer>;
|
|
12
12
|
reader(from?: number): BitInputStream;
|
|
13
13
|
write(x: number, wordSize?: number): this;
|
|
14
14
|
writeWords(input: Iterable<number>, wordSize?: number): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/bitstream",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.5",
|
|
4
4
|
"description": "ES6 iterator based read/write bit streams with support for variable word widths",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -36,13 +36,13 @@
|
|
|
36
36
|
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@thi.ng/errors": "^2.5.
|
|
39
|
+
"@thi.ng/errors": "^2.5.19"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@microsoft/api-extractor": "^7.
|
|
42
|
+
"@microsoft/api-extractor": "^7.48.0",
|
|
43
43
|
"esbuild": "^0.24.0",
|
|
44
|
-
"typedoc": "^0.26.
|
|
45
|
-
"typescript": "^5.
|
|
44
|
+
"typedoc": "^0.26.11",
|
|
45
|
+
"typescript": "^5.7.2"
|
|
46
46
|
},
|
|
47
47
|
"keywords": [
|
|
48
48
|
"binary",
|
|
@@ -81,5 +81,5 @@
|
|
|
81
81
|
"rle-pack"
|
|
82
82
|
]
|
|
83
83
|
},
|
|
84
|
-
"gitHead": "
|
|
84
|
+
"gitHead": "85e2f0935b58bde5d165fbe754fafec5da0b731e\n"
|
|
85
85
|
}
|
package/simple.d.ts
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
export declare const bitWriter: (capacity?: number) => {
|
|
15
15
|
write: (x: number, n?: number) => void;
|
|
16
|
-
bytes: () => Uint8Array
|
|
16
|
+
bytes: () => Uint8Array<ArrayBuffer>;
|
|
17
17
|
};
|
|
18
18
|
/**
|
|
19
19
|
* Barebones alternative to {@link BitInputStream} for word sizes <= 8 and with
|