bireader 3.1.4 → 3.1.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/README.md +18 -5
- package/dist/aliases/BinaryAliasWriter.d.ts +73 -73
- package/dist/core/BiBase.d.ts +8 -0
- package/dist/core/BiBaseStream.d.ts +20 -0
- package/dist/index.browser.d.ts +61 -37
- package/dist/index.browser.js +49 -19
- package/dist/index.browser.js.map +1 -1
- package/dist/index.cjs.d.ts +100 -72
- package/dist/index.cjs.js +58 -18
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +100 -72
- package/dist/index.esm.d.ts +100 -72
- package/dist/index.esm.js +58 -18
- package/dist/index.esm.js.map +1 -1
- package/dist/indexBrowser.d.ts +16 -0
- package/package.json +10 -8
package/dist/indexBrowser.d.ts
CHANGED
|
@@ -1,6 +1,22 @@
|
|
|
1
1
|
export { BiReader } from './BiReader.js';
|
|
2
2
|
export { BiWriter } from './BiWriter.js';
|
|
3
3
|
export { hexdump } from './common.js';
|
|
4
|
+
/**
|
|
5
|
+
* Isn't usable in browser.
|
|
6
|
+
* @since 3.0
|
|
7
|
+
* @deprecated Use ``BiReader`` instead.
|
|
8
|
+
*/
|
|
9
|
+
export declare class BiReaderStream {
|
|
10
|
+
constructor();
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Isn't usable in browser.
|
|
14
|
+
* @since 3.0
|
|
15
|
+
* @deprecated Use ``BiWriter`` instead.
|
|
16
|
+
*/
|
|
17
|
+
export declare class BiWriterStream {
|
|
18
|
+
constructor();
|
|
19
|
+
}
|
|
4
20
|
/**
|
|
5
21
|
* Not in use anymore.
|
|
6
22
|
* @since 3.0
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bireader",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.5",
|
|
4
4
|
"description": "Read and write binary data in JavaScript",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs.js",
|
|
@@ -13,11 +13,16 @@
|
|
|
13
13
|
},
|
|
14
14
|
"exports": {
|
|
15
15
|
".": {
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
16
|
+
"types" : {
|
|
17
|
+
"require": "./dist/index.cjs.d.ts",
|
|
18
|
+
"import": "./dist/index.esm.d.ts"
|
|
19
19
|
},
|
|
20
|
-
"
|
|
20
|
+
"browser": "./dist/index.browser.js",
|
|
21
|
+
"node": {
|
|
22
|
+
"require": "./dist/index.cjs.js",
|
|
23
|
+
"import": "./dist/index.esm.js"
|
|
24
|
+
},
|
|
25
|
+
"default": "./dist/index.cjs.js"
|
|
21
26
|
}
|
|
22
27
|
},
|
|
23
28
|
"scripts": {
|
|
@@ -55,8 +60,5 @@
|
|
|
55
60
|
"rollup-plugin-dts": "^6.2.1",
|
|
56
61
|
"tslib": "^2.8.1",
|
|
57
62
|
"typescript": "^5.2.2"
|
|
58
|
-
},
|
|
59
|
-
"engines": {
|
|
60
|
-
"node": ">=12"
|
|
61
63
|
}
|
|
62
64
|
}
|