@xylabs/arraybuffer 4.13.4 → 4.13.6
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/neutral/index.d.ts +14 -19
- package/package.json +6 -6
package/dist/neutral/index.d.ts
CHANGED
|
@@ -1,19 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
export declare function toUint8Array(value: ArrayBufferLike | bigint | string, padLength?: number, base?: number): Uint8Array;
|
|
16
|
-
|
|
17
|
-
export declare function toUint8Array(value: ArrayBufferLike | bigint | string | undefined, padLength?: number, base?: number): Uint8Array | undefined;
|
|
18
|
-
|
|
19
|
-
export { }
|
|
1
|
+
declare const equalArrayBuffers: (a1: ArrayBufferLike, a2: ArrayBufferLike) => boolean;
|
|
2
|
+
|
|
3
|
+
declare const isArrayBuffer: (value: unknown) => value is ArrayBuffer;
|
|
4
|
+
declare const isArrayBufferLike: (value: unknown) => value is ArrayBufferLike;
|
|
5
|
+
|
|
6
|
+
declare function toArrayBuffer(value: undefined, padLength?: number, base?: number): undefined;
|
|
7
|
+
declare function toArrayBuffer(value: ArrayBufferLike | bigint | string, padLength?: number, base?: number): ArrayBufferLike;
|
|
8
|
+
declare function toArrayBuffer(value: ArrayBufferLike | bigint | string | undefined, padLength?: number, base?: number): ArrayBufferLike | undefined;
|
|
9
|
+
|
|
10
|
+
declare function toUint8Array(value: undefined, padLength?: number, base?: number): undefined;
|
|
11
|
+
declare function toUint8Array(value: ArrayBufferLike | bigint | string, padLength?: number, base?: number): Uint8Array;
|
|
12
|
+
declare function toUint8Array(value: ArrayBufferLike | bigint | string | undefined, padLength?: number, base?: number): Uint8Array | undefined;
|
|
13
|
+
|
|
14
|
+
export { equalArrayBuffers, isArrayBuffer, isArrayBufferLike, toArrayBuffer, toUint8Array };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xylabs/arraybuffer",
|
|
3
|
-
"version": "4.13.
|
|
3
|
+
"version": "4.13.6",
|
|
4
4
|
"description": "Base functionality used throughout XY Labs TypeScript/JavaScript libraries",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"xylabs",
|
|
@@ -35,13 +35,13 @@
|
|
|
35
35
|
"module": "dist/neutral/index.mjs",
|
|
36
36
|
"types": "dist/neutral/index.d.ts",
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@xylabs/assert": "^4.13.
|
|
39
|
-
"@xylabs/hex": "^4.13.
|
|
40
|
-
"@xylabs/typeof": "^4.13.
|
|
38
|
+
"@xylabs/assert": "^4.13.6",
|
|
39
|
+
"@xylabs/hex": "^4.13.6",
|
|
40
|
+
"@xylabs/typeof": "^4.13.6"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@xylabs/ts-scripts-yarn3": "^7.0.0-rc.
|
|
44
|
-
"@xylabs/tsconfig": "^7.0.0-rc.
|
|
43
|
+
"@xylabs/ts-scripts-yarn3": "^7.0.0-rc.8",
|
|
44
|
+
"@xylabs/tsconfig": "^7.0.0-rc.8",
|
|
45
45
|
"typescript": "^5.8.3",
|
|
46
46
|
"vitest": "^3.2.4"
|
|
47
47
|
},
|