@hyperfrontend/immutable-api-utils 0.0.2 → 0.1.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/CHANGELOG.md +16 -0
- package/README.md +65 -4
- package/built-in-copy/array/index.cjs.js +40 -0
- package/built-in-copy/array/index.cjs.js.map +1 -0
- package/built-in-copy/array/index.d.ts +40 -0
- package/built-in-copy/array/index.d.ts.map +1 -0
- package/built-in-copy/array/index.esm.js +35 -0
- package/built-in-copy/array/index.esm.js.map +1 -0
- package/built-in-copy/console/index.cjs.js +130 -0
- package/built-in-copy/console/index.cjs.js.map +1 -0
- package/built-in-copy/console/index.d.ts +105 -0
- package/built-in-copy/console/index.d.ts.map +1 -0
- package/built-in-copy/console/index.esm.js +110 -0
- package/built-in-copy/console/index.esm.js.map +1 -0
- package/built-in-copy/date/index.cjs.js +49 -0
- package/built-in-copy/date/index.cjs.js.map +1 -0
- package/built-in-copy/date/index.d.ts +49 -0
- package/built-in-copy/date/index.d.ts.map +1 -0
- package/built-in-copy/date/index.esm.js +43 -0
- package/built-in-copy/date/index.esm.js.map +1 -0
- package/built-in-copy/encoding/index.cjs.js +67 -0
- package/built-in-copy/encoding/index.cjs.js.map +1 -0
- package/built-in-copy/encoding/index.d.ts +52 -0
- package/built-in-copy/encoding/index.d.ts.map +1 -0
- package/built-in-copy/encoding/index.esm.js +61 -0
- package/built-in-copy/encoding/index.esm.js.map +1 -0
- package/built-in-copy/error/index.cjs.js +122 -0
- package/built-in-copy/error/index.cjs.js.map +1 -0
- package/built-in-copy/error/index.d.ts +99 -0
- package/built-in-copy/error/index.d.ts.map +1 -0
- package/built-in-copy/error/index.esm.js +112 -0
- package/built-in-copy/error/index.esm.js.map +1 -0
- package/built-in-copy/function/index.cjs.js +61 -0
- package/built-in-copy/function/index.cjs.js.map +1 -0
- package/built-in-copy/function/index.d.ts +47 -0
- package/built-in-copy/function/index.d.ts.map +1 -0
- package/built-in-copy/function/index.esm.js +54 -0
- package/built-in-copy/function/index.esm.js.map +1 -0
- package/built-in-copy/json/index.cjs.js +34 -0
- package/built-in-copy/json/index.cjs.js.map +1 -0
- package/built-in-copy/json/index.d.ts +31 -0
- package/built-in-copy/json/index.d.ts.map +1 -0
- package/built-in-copy/json/index.esm.js +30 -0
- package/built-in-copy/json/index.esm.js.map +1 -0
- package/built-in-copy/map/index.cjs.js +44 -0
- package/built-in-copy/map/index.cjs.js.map +1 -0
- package/built-in-copy/map/index.d.ts +33 -0
- package/built-in-copy/map/index.d.ts.map +1 -0
- package/built-in-copy/map/index.esm.js +40 -0
- package/built-in-copy/map/index.esm.js.map +1 -0
- package/built-in-copy/math/index.cjs.js +317 -0
- package/built-in-copy/math/index.cjs.js.map +1 -0
- package/built-in-copy/math/index.d.ts +232 -0
- package/built-in-copy/math/index.d.ts.map +1 -0
- package/built-in-copy/math/index.esm.js +272 -0
- package/built-in-copy/math/index.esm.js.map +1 -0
- package/built-in-copy/messaging/index.cjs.js +123 -0
- package/built-in-copy/messaging/index.cjs.js.map +1 -0
- package/built-in-copy/messaging/index.d.ts +95 -0
- package/built-in-copy/messaging/index.d.ts.map +1 -0
- package/built-in-copy/messaging/index.esm.js +114 -0
- package/built-in-copy/messaging/index.esm.js.map +1 -0
- package/built-in-copy/number/index.cjs.js +141 -0
- package/built-in-copy/number/index.cjs.js.map +1 -0
- package/built-in-copy/number/index.d.ts +95 -0
- package/built-in-copy/number/index.d.ts.map +1 -0
- package/built-in-copy/number/index.esm.js +123 -0
- package/built-in-copy/number/index.esm.js.map +1 -0
- package/built-in-copy/object/index.cjs.js +174 -0
- package/built-in-copy/object/index.cjs.js.map +1 -0
- package/built-in-copy/object/index.d.ts +209 -0
- package/built-in-copy/object/index.d.ts.map +1 -0
- package/built-in-copy/object/index.esm.js +149 -0
- package/built-in-copy/object/index.esm.js.map +1 -0
- package/built-in-copy/promise/index.cjs.js +80 -0
- package/built-in-copy/promise/index.cjs.js.map +1 -0
- package/built-in-copy/promise/index.d.ts +63 -0
- package/built-in-copy/promise/index.d.ts.map +1 -0
- package/built-in-copy/promise/index.esm.js +70 -0
- package/built-in-copy/promise/index.esm.js.map +1 -0
- package/built-in-copy/reflect/index.cjs.js +101 -0
- package/built-in-copy/reflect/index.cjs.js.map +1 -0
- package/built-in-copy/reflect/index.d.ts +81 -0
- package/built-in-copy/reflect/index.d.ts.map +1 -0
- package/built-in-copy/reflect/index.esm.js +86 -0
- package/built-in-copy/reflect/index.esm.js.map +1 -0
- package/built-in-copy/regexp/index.cjs.js +37 -0
- package/built-in-copy/regexp/index.cjs.js.map +1 -0
- package/built-in-copy/regexp/index.d.ts +28 -0
- package/built-in-copy/regexp/index.d.ts.map +1 -0
- package/built-in-copy/regexp/index.esm.js +34 -0
- package/built-in-copy/regexp/index.esm.js.map +1 -0
- package/built-in-copy/set/index.cjs.js +36 -0
- package/built-in-copy/set/index.cjs.js.map +1 -0
- package/built-in-copy/set/index.d.ts +27 -0
- package/built-in-copy/set/index.d.ts.map +1 -0
- package/built-in-copy/set/index.esm.js +33 -0
- package/built-in-copy/set/index.esm.js.map +1 -0
- package/built-in-copy/string/index.cjs.js +46 -0
- package/built-in-copy/string/index.cjs.js.map +1 -0
- package/built-in-copy/string/index.d.ts +34 -0
- package/built-in-copy/string/index.d.ts.map +1 -0
- package/built-in-copy/string/index.esm.js +41 -0
- package/built-in-copy/string/index.esm.js.map +1 -0
- package/built-in-copy/symbol/index.cjs.js +123 -0
- package/built-in-copy/symbol/index.cjs.js.map +1 -0
- package/built-in-copy/symbol/index.d.ts +99 -0
- package/built-in-copy/symbol/index.d.ts.map +1 -0
- package/built-in-copy/symbol/index.esm.js +105 -0
- package/built-in-copy/symbol/index.esm.js.map +1 -0
- package/built-in-copy/timers/index.cjs.js +105 -0
- package/built-in-copy/timers/index.cjs.js.map +1 -0
- package/built-in-copy/timers/index.d.ts +73 -0
- package/built-in-copy/timers/index.d.ts.map +1 -0
- package/built-in-copy/timers/index.esm.js +96 -0
- package/built-in-copy/timers/index.esm.js.map +1 -0
- package/built-in-copy/typed-arrays/index.cjs.js +360 -0
- package/built-in-copy/typed-arrays/index.cjs.js.map +1 -0
- package/built-in-copy/typed-arrays/index.d.ts +321 -0
- package/built-in-copy/typed-arrays/index.d.ts.map +1 -0
- package/built-in-copy/typed-arrays/index.esm.js +321 -0
- package/built-in-copy/typed-arrays/index.esm.js.map +1 -0
- package/built-in-copy/url/index.cjs.js +103 -0
- package/built-in-copy/url/index.cjs.js.map +1 -0
- package/built-in-copy/url/index.d.ts +71 -0
- package/built-in-copy/url/index.d.ts.map +1 -0
- package/built-in-copy/url/index.esm.js +95 -0
- package/built-in-copy/url/index.esm.js.map +1 -0
- package/built-in-copy/weak-map/index.cjs.js +36 -0
- package/built-in-copy/weak-map/index.cjs.js.map +1 -0
- package/built-in-copy/weak-map/index.d.ts +27 -0
- package/built-in-copy/weak-map/index.d.ts.map +1 -0
- package/built-in-copy/weak-map/index.esm.js +33 -0
- package/built-in-copy/weak-map/index.esm.js.map +1 -0
- package/built-in-copy/weak-set/index.cjs.js +36 -0
- package/built-in-copy/weak-set/index.cjs.js.map +1 -0
- package/built-in-copy/weak-set/index.d.ts +27 -0
- package/built-in-copy/weak-set/index.d.ts.map +1 -0
- package/built-in-copy/weak-set/index.esm.js +33 -0
- package/built-in-copy/weak-set/index.esm.js.map +1 -0
- package/built-in-copy/websocket/index.cjs.js +50 -0
- package/built-in-copy/websocket/index.cjs.js.map +1 -0
- package/built-in-copy/websocket/index.d.ts +37 -0
- package/built-in-copy/websocket/index.d.ts.map +1 -0
- package/built-in-copy/websocket/index.esm.js +43 -0
- package/built-in-copy/websocket/index.esm.js.map +1 -0
- package/bundle/index.iife.js +1167 -5
- package/bundle/index.iife.js.map +1 -1
- package/bundle/index.iife.min.js +1 -1
- package/bundle/index.iife.min.js.map +1 -1
- package/bundle/index.umd.js +1167 -5
- package/bundle/index.umd.js.map +1 -1
- package/bundle/index.umd.min.js +1 -1
- package/bundle/index.umd.min.js.map +1 -1
- package/index.cjs.js +1167 -5
- package/index.cjs.js.map +1 -1
- package/index.d.ts +32 -3
- package/index.d.ts.map +1 -1
- package/index.esm.js +1151 -6
- package/index.esm.js.map +1 -1
- package/lib/locked-prop-descriptors.d.ts.map +1 -0
- package/lib/locked-props.d.ts.map +1 -0
- package/{locked.d.ts → lib/locked.d.ts} +12 -1
- package/lib/locked.d.ts.map +1 -0
- package/locked/index.cjs.js +107 -0
- package/locked/index.cjs.js.map +1 -0
- package/locked/index.d.ts +2 -0
- package/locked/index.d.ts.map +1 -0
- package/locked/index.esm.js +105 -0
- package/locked/index.esm.js.map +1 -0
- package/locked-prop-descriptors/index.cjs.js +11 -0
- package/locked-prop-descriptors/index.cjs.js.map +1 -0
- package/locked-prop-descriptors/index.d.ts +2 -0
- package/locked-prop-descriptors/index.d.ts.map +1 -0
- package/locked-prop-descriptors/index.esm.js +9 -0
- package/locked-prop-descriptors/index.esm.js.map +1 -0
- package/locked-props/index.cjs.js +32 -0
- package/locked-props/index.cjs.js.map +1 -0
- package/locked-props/index.d.ts +2 -0
- package/locked-props/index.d.ts.map +1 -0
- package/locked-props/index.esm.js +30 -0
- package/locked-props/index.esm.js.map +1 -0
- package/package.json +149 -14
- package/locked-prop-descriptors.d.ts.map +0 -1
- package/locked-props.d.ts.map +0 -1
- package/locked.d.ts.map +0 -1
- /package/{locked-prop-descriptors.d.ts → lib/locked-prop-descriptors.d.ts} +0 -0
- /package/{locked-props.d.ts → lib/locked-props.d.ts} +0 -0
|
@@ -0,0 +1,321 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Safe copies of TypedArray and ArrayBuffer built-ins via factory functions.
|
|
3
|
+
*
|
|
4
|
+
* Provides safe references to Uint8Array, Int8Array, ArrayBuffer, DataView, etc.
|
|
5
|
+
* These references are captured at module initialization time to protect against
|
|
6
|
+
* prototype pollution attacks. Import only what you need for tree-shaking.
|
|
7
|
+
*
|
|
8
|
+
* @module @hyperfrontend/immutable-api-utils/built-in-copy/typed-arrays
|
|
9
|
+
*/
|
|
10
|
+
/**
|
|
11
|
+
* (Safe copy) Creates a new ArrayBuffer using the captured ArrayBuffer constructor.
|
|
12
|
+
* Use this instead of `new ArrayBuffer()`.
|
|
13
|
+
*
|
|
14
|
+
* @param byteLength - The size, in bytes, of the array buffer to create.
|
|
15
|
+
* @returns A new ArrayBuffer instance.
|
|
16
|
+
*/
|
|
17
|
+
export declare const createArrayBuffer: (byteLength: number) => ArrayBuffer;
|
|
18
|
+
/**
|
|
19
|
+
* (Safe copy) Returns true if arg is an ArrayBuffer or SharedArrayBuffer.
|
|
20
|
+
*/
|
|
21
|
+
export declare const isView: (arg: any) => arg is ArrayBufferView;
|
|
22
|
+
/**
|
|
23
|
+
* (Safe copy) Creates a new SharedArrayBuffer using the captured SharedArrayBuffer constructor.
|
|
24
|
+
* Use this instead of `new SharedArrayBuffer()`.
|
|
25
|
+
*
|
|
26
|
+
* @param byteLength - The size, in bytes, of the shared array buffer to create.
|
|
27
|
+
* @returns A new SharedArrayBuffer instance.
|
|
28
|
+
*/
|
|
29
|
+
export declare const createSharedArrayBuffer: (byteLength: number) => SharedArrayBuffer;
|
|
30
|
+
/**
|
|
31
|
+
* (Safe copy) Creates a new DataView using the captured DataView constructor.
|
|
32
|
+
* Use this instead of `new DataView()`.
|
|
33
|
+
*
|
|
34
|
+
* @param buffer - The ArrayBuffer or SharedArrayBuffer to view.
|
|
35
|
+
* @param byteOffset - Optional byte offset to start the view.
|
|
36
|
+
* @param byteLength - Optional byte length of the view.
|
|
37
|
+
* @returns A new DataView instance.
|
|
38
|
+
*/
|
|
39
|
+
export declare const createDataView: (buffer: ArrayBuffer | SharedArrayBuffer, byteOffset?: number, byteLength?: number) => DataView;
|
|
40
|
+
/**
|
|
41
|
+
* (Safe copy) Creates a new Uint8Array using the captured Uint8Array constructor.
|
|
42
|
+
* Use this instead of `new Uint8Array()`.
|
|
43
|
+
*
|
|
44
|
+
* Supports all standard Uint8Array constructor overloads:
|
|
45
|
+
* - `createUint8Array(length)` - Creates array of given length
|
|
46
|
+
* - `createUint8Array(arrayLike)` - Creates from array-like or iterable
|
|
47
|
+
* - `createUint8Array(buffer, byteOffset?, length?)` - Creates view over buffer
|
|
48
|
+
*
|
|
49
|
+
* @param length - The length of the array to create.
|
|
50
|
+
* @returns A new Uint8Array instance.
|
|
51
|
+
*/
|
|
52
|
+
export declare function createUint8Array(length: number): Uint8Array;
|
|
53
|
+
export declare function createUint8Array(array: ArrayLike<number> | Iterable<number>): Uint8Array;
|
|
54
|
+
export declare function createUint8Array(buffer: ArrayBufferLike, byteOffset?: number, length?: number): Uint8Array;
|
|
55
|
+
/**
|
|
56
|
+
* (Safe copy) Creates a new Uint8Array from an array-like or iterable object.
|
|
57
|
+
*/
|
|
58
|
+
export declare const uint8ArrayFrom: typeof Uint8Array.from;
|
|
59
|
+
/**
|
|
60
|
+
* (Safe copy) Creates a new Uint8Array from a variable number of arguments.
|
|
61
|
+
*/
|
|
62
|
+
export declare const uint8ArrayOf: typeof Uint8Array.of;
|
|
63
|
+
/**
|
|
64
|
+
* (Safe copy) Creates a new Uint8ClampedArray using the captured Uint8ClampedArray constructor.
|
|
65
|
+
* Use this instead of `new Uint8ClampedArray()`.
|
|
66
|
+
*
|
|
67
|
+
* @param length - Number of elements to allocate in the clamped array.
|
|
68
|
+
* @returns A new Uint8ClampedArray instance.
|
|
69
|
+
*/
|
|
70
|
+
export declare const createUint8ClampedArray: (length: number) => Uint8ClampedArray;
|
|
71
|
+
/**
|
|
72
|
+
* (Safe copy) Creates a new Uint8ClampedArray from an array-like or iterable object.
|
|
73
|
+
*/
|
|
74
|
+
export declare const uint8ClampedArrayFrom: typeof Uint8ClampedArray.from;
|
|
75
|
+
/**
|
|
76
|
+
* (Safe copy) Creates a new Uint8ClampedArray from a variable number of arguments.
|
|
77
|
+
*/
|
|
78
|
+
export declare const uint8ClampedArrayOf: typeof Uint8ClampedArray.of;
|
|
79
|
+
/**
|
|
80
|
+
* (Safe copy) Creates a new Uint16Array using the captured Uint16Array constructor.
|
|
81
|
+
* Use this instead of `new Uint16Array()`.
|
|
82
|
+
*
|
|
83
|
+
* @param length - The length of the array.
|
|
84
|
+
* @returns A new Uint16Array instance.
|
|
85
|
+
*/
|
|
86
|
+
export declare const createUint16Array: (length: number) => Uint16Array;
|
|
87
|
+
/**
|
|
88
|
+
* (Safe copy) Creates a new Uint16Array from an array-like or iterable object.
|
|
89
|
+
*/
|
|
90
|
+
export declare const uint16ArrayFrom: typeof Uint16Array.from;
|
|
91
|
+
/**
|
|
92
|
+
* (Safe copy) Creates a new Uint16Array from a variable number of arguments.
|
|
93
|
+
*/
|
|
94
|
+
export declare const uint16ArrayOf: typeof Uint16Array.of;
|
|
95
|
+
/**
|
|
96
|
+
* (Safe copy) Creates a new Uint32Array using the captured Uint32Array constructor.
|
|
97
|
+
* Use this instead of `new Uint32Array()`.
|
|
98
|
+
*
|
|
99
|
+
* @param length - The length of the array.
|
|
100
|
+
* @returns A new Uint32Array instance.
|
|
101
|
+
*/
|
|
102
|
+
export declare const createUint32Array: (length: number) => Uint32Array;
|
|
103
|
+
/**
|
|
104
|
+
* (Safe copy) Creates a new Uint32Array from an array-like or iterable object.
|
|
105
|
+
*/
|
|
106
|
+
export declare const uint32ArrayFrom: typeof Uint32Array.from;
|
|
107
|
+
/**
|
|
108
|
+
* (Safe copy) Creates a new Uint32Array from a variable number of arguments.
|
|
109
|
+
*/
|
|
110
|
+
export declare const uint32ArrayOf: typeof Uint32Array.of;
|
|
111
|
+
/**
|
|
112
|
+
* (Safe copy) Creates a new Int8Array using the captured Int8Array constructor.
|
|
113
|
+
* Use this instead of `new Int8Array()`.
|
|
114
|
+
*
|
|
115
|
+
* @param length - The length of the array.
|
|
116
|
+
* @returns A new Int8Array instance.
|
|
117
|
+
*/
|
|
118
|
+
export declare const createInt8Array: (length: number) => Int8Array;
|
|
119
|
+
/**
|
|
120
|
+
* (Safe copy) Creates a new Int8Array from an array-like or iterable object.
|
|
121
|
+
*/
|
|
122
|
+
export declare const int8ArrayFrom: typeof Int8Array.from;
|
|
123
|
+
/**
|
|
124
|
+
* (Safe copy) Creates a new Int8Array from a variable number of arguments.
|
|
125
|
+
*/
|
|
126
|
+
export declare const int8ArrayOf: typeof Int8Array.of;
|
|
127
|
+
/**
|
|
128
|
+
* (Safe copy) Creates a new Int16Array using the captured Int16Array constructor.
|
|
129
|
+
* Use this instead of `new Int16Array()`.
|
|
130
|
+
*
|
|
131
|
+
* @param length - The length of the array.
|
|
132
|
+
* @returns A new Int16Array instance.
|
|
133
|
+
*/
|
|
134
|
+
export declare const createInt16Array: (length: number) => Int16Array;
|
|
135
|
+
/**
|
|
136
|
+
* (Safe copy) Creates a new Int16Array from an array-like or iterable object.
|
|
137
|
+
*/
|
|
138
|
+
export declare const int16ArrayFrom: typeof Int16Array.from;
|
|
139
|
+
/**
|
|
140
|
+
* (Safe copy) Creates a new Int16Array from a variable number of arguments.
|
|
141
|
+
*/
|
|
142
|
+
export declare const int16ArrayOf: typeof Int16Array.of;
|
|
143
|
+
/**
|
|
144
|
+
* (Safe copy) Creates a new Int32Array using the captured Int32Array constructor.
|
|
145
|
+
* Use this instead of `new Int32Array()`.
|
|
146
|
+
*
|
|
147
|
+
* @param length - The length of the array.
|
|
148
|
+
* @returns A new Int32Array instance.
|
|
149
|
+
*/
|
|
150
|
+
export declare const createInt32Array: (length: number) => Int32Array;
|
|
151
|
+
/**
|
|
152
|
+
* (Safe copy) Creates a new Int32Array from an array-like or iterable object.
|
|
153
|
+
*/
|
|
154
|
+
export declare const int32ArrayFrom: typeof Int32Array.from;
|
|
155
|
+
/**
|
|
156
|
+
* (Safe copy) Creates a new Int32Array from a variable number of arguments.
|
|
157
|
+
*/
|
|
158
|
+
export declare const int32ArrayOf: typeof Int32Array.of;
|
|
159
|
+
/**
|
|
160
|
+
* (Safe copy) Creates a new Float32Array using the captured Float32Array constructor.
|
|
161
|
+
* Use this instead of `new Float32Array()`.
|
|
162
|
+
*
|
|
163
|
+
* @param length - The length of the array.
|
|
164
|
+
* @returns A new Float32Array instance.
|
|
165
|
+
*/
|
|
166
|
+
export declare const createFloat32Array: (length: number) => Float32Array;
|
|
167
|
+
/**
|
|
168
|
+
* (Safe copy) Creates a new Float32Array from an array-like or iterable object.
|
|
169
|
+
*/
|
|
170
|
+
export declare const float32ArrayFrom: typeof Float32Array.from;
|
|
171
|
+
/**
|
|
172
|
+
* (Safe copy) Creates a new Float32Array from a variable number of arguments.
|
|
173
|
+
*/
|
|
174
|
+
export declare const float32ArrayOf: typeof Float32Array.of;
|
|
175
|
+
/**
|
|
176
|
+
* (Safe copy) Creates a new Float64Array using the captured Float64Array constructor.
|
|
177
|
+
* Use this instead of `new Float64Array()`.
|
|
178
|
+
*
|
|
179
|
+
* @param length - The length of the array.
|
|
180
|
+
* @returns A new Float64Array instance.
|
|
181
|
+
*/
|
|
182
|
+
export declare const createFloat64Array: (length: number) => Float64Array;
|
|
183
|
+
/**
|
|
184
|
+
* (Safe copy) Creates a new Float64Array from an array-like or iterable object.
|
|
185
|
+
*/
|
|
186
|
+
export declare const float64ArrayFrom: typeof Float64Array.from;
|
|
187
|
+
/**
|
|
188
|
+
* (Safe copy) Creates a new Float64Array from a variable number of arguments.
|
|
189
|
+
*/
|
|
190
|
+
export declare const float64ArrayOf: typeof Float64Array.of;
|
|
191
|
+
/**
|
|
192
|
+
* (Safe copy) Creates a new BigInt64Array using the captured BigInt64Array constructor.
|
|
193
|
+
* Use this instead of `new BigInt64Array()`.
|
|
194
|
+
*
|
|
195
|
+
* @param length - The length of the array.
|
|
196
|
+
* @returns A new BigInt64Array instance.
|
|
197
|
+
*/
|
|
198
|
+
export declare const createBigInt64Array: (length: number) => BigInt64Array;
|
|
199
|
+
/**
|
|
200
|
+
* (Safe copy) Creates a new BigInt64Array from an array-like or iterable object.
|
|
201
|
+
*/
|
|
202
|
+
export declare const bigInt64ArrayFrom: typeof BigInt64Array.from;
|
|
203
|
+
/**
|
|
204
|
+
* (Safe copy) Creates a new BigInt64Array from a variable number of arguments.
|
|
205
|
+
*/
|
|
206
|
+
export declare const bigInt64ArrayOf: typeof BigInt64Array.of;
|
|
207
|
+
/**
|
|
208
|
+
* (Safe copy) Creates a new BigUint64Array using the captured BigUint64Array constructor.
|
|
209
|
+
* Use this instead of `new BigUint64Array()`.
|
|
210
|
+
*
|
|
211
|
+
* @param length - The length of the array.
|
|
212
|
+
* @returns A new BigUint64Array instance.
|
|
213
|
+
*/
|
|
214
|
+
export declare const createBigUint64Array: (length: number) => BigUint64Array;
|
|
215
|
+
/**
|
|
216
|
+
* (Safe copy) Creates a new BigUint64Array from an array-like or iterable object.
|
|
217
|
+
*/
|
|
218
|
+
export declare const bigUint64ArrayFrom: typeof BigUint64Array.from;
|
|
219
|
+
/**
|
|
220
|
+
* (Safe copy) Creates a new BigUint64Array from a variable number of arguments.
|
|
221
|
+
*/
|
|
222
|
+
export declare const bigUint64ArrayOf: typeof BigUint64Array.of;
|
|
223
|
+
/**
|
|
224
|
+
* (Safe copy) Namespace object containing all TypedArray utilities.
|
|
225
|
+
* Note: Importing this imports all methods in this namespace (no tree-shaking).
|
|
226
|
+
*/
|
|
227
|
+
export declare const TypedArrays: Readonly<{
|
|
228
|
+
readonly createArrayBuffer: (byteLength: number) => ArrayBuffer;
|
|
229
|
+
readonly isView: (arg: any) => arg is ArrayBufferView;
|
|
230
|
+
readonly createSharedArrayBuffer: (byteLength: number) => SharedArrayBuffer;
|
|
231
|
+
readonly createDataView: (buffer: ArrayBuffer | SharedArrayBuffer, byteOffset?: number, byteLength?: number) => DataView;
|
|
232
|
+
readonly createUint8Array: typeof createUint8Array;
|
|
233
|
+
readonly uint8ArrayFrom: {
|
|
234
|
+
(arrayLike: ArrayLike<number>): Uint8Array<ArrayBuffer>;
|
|
235
|
+
<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8Array<ArrayBuffer>;
|
|
236
|
+
(elements: Iterable<number>): Uint8Array<ArrayBuffer>;
|
|
237
|
+
<T>(elements: Iterable<T>, mapfn?: (v: T, k: number) => number, thisArg?: any): Uint8Array<ArrayBuffer>;
|
|
238
|
+
};
|
|
239
|
+
readonly uint8ArrayOf: (...items: number[]) => Uint8Array<ArrayBuffer>;
|
|
240
|
+
readonly createUint8ClampedArray: (length: number) => Uint8ClampedArray;
|
|
241
|
+
readonly uint8ClampedArrayFrom: {
|
|
242
|
+
(arrayLike: ArrayLike<number>): Uint8ClampedArray<ArrayBuffer>;
|
|
243
|
+
<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8ClampedArray<ArrayBuffer>;
|
|
244
|
+
(elements: Iterable<number>): Uint8ClampedArray<ArrayBuffer>;
|
|
245
|
+
<T>(elements: Iterable<T>, mapfn?: (v: T, k: number) => number, thisArg?: any): Uint8ClampedArray<ArrayBuffer>;
|
|
246
|
+
};
|
|
247
|
+
readonly uint8ClampedArrayOf: (...items: number[]) => Uint8ClampedArray<ArrayBuffer>;
|
|
248
|
+
readonly createUint16Array: (length: number) => Uint16Array;
|
|
249
|
+
readonly uint16ArrayFrom: {
|
|
250
|
+
(arrayLike: ArrayLike<number>): Uint16Array<ArrayBuffer>;
|
|
251
|
+
<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Uint16Array<ArrayBuffer>;
|
|
252
|
+
(elements: Iterable<number>): Uint16Array<ArrayBuffer>;
|
|
253
|
+
<T>(elements: Iterable<T>, mapfn?: (v: T, k: number) => number, thisArg?: any): Uint16Array<ArrayBuffer>;
|
|
254
|
+
};
|
|
255
|
+
readonly uint16ArrayOf: (...items: number[]) => Uint16Array<ArrayBuffer>;
|
|
256
|
+
readonly createUint32Array: (length: number) => Uint32Array;
|
|
257
|
+
readonly uint32ArrayFrom: {
|
|
258
|
+
(arrayLike: ArrayLike<number>): Uint32Array<ArrayBuffer>;
|
|
259
|
+
<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Uint32Array<ArrayBuffer>;
|
|
260
|
+
(elements: Iterable<number>): Uint32Array<ArrayBuffer>;
|
|
261
|
+
<T>(elements: Iterable<T>, mapfn?: (v: T, k: number) => number, thisArg?: any): Uint32Array<ArrayBuffer>;
|
|
262
|
+
};
|
|
263
|
+
readonly uint32ArrayOf: (...items: number[]) => Uint32Array<ArrayBuffer>;
|
|
264
|
+
readonly createInt8Array: (length: number) => Int8Array;
|
|
265
|
+
readonly int8ArrayFrom: {
|
|
266
|
+
(arrayLike: ArrayLike<number>): Int8Array<ArrayBuffer>;
|
|
267
|
+
<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Int8Array<ArrayBuffer>;
|
|
268
|
+
(elements: Iterable<number>): Int8Array<ArrayBuffer>;
|
|
269
|
+
<T>(elements: Iterable<T>, mapfn?: (v: T, k: number) => number, thisArg?: any): Int8Array<ArrayBuffer>;
|
|
270
|
+
};
|
|
271
|
+
readonly int8ArrayOf: (...items: number[]) => Int8Array<ArrayBuffer>;
|
|
272
|
+
readonly createInt16Array: (length: number) => Int16Array;
|
|
273
|
+
readonly int16ArrayFrom: {
|
|
274
|
+
(arrayLike: ArrayLike<number>): Int16Array<ArrayBuffer>;
|
|
275
|
+
<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Int16Array<ArrayBuffer>;
|
|
276
|
+
(elements: Iterable<number>): Int16Array<ArrayBuffer>;
|
|
277
|
+
<T>(elements: Iterable<T>, mapfn?: (v: T, k: number) => number, thisArg?: any): Int16Array<ArrayBuffer>;
|
|
278
|
+
};
|
|
279
|
+
readonly int16ArrayOf: (...items: number[]) => Int16Array<ArrayBuffer>;
|
|
280
|
+
readonly createInt32Array: (length: number) => Int32Array;
|
|
281
|
+
readonly int32ArrayFrom: {
|
|
282
|
+
(arrayLike: ArrayLike<number>): Int32Array<ArrayBuffer>;
|
|
283
|
+
<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Int32Array<ArrayBuffer>;
|
|
284
|
+
(elements: Iterable<number>): Int32Array<ArrayBuffer>;
|
|
285
|
+
<T>(elements: Iterable<T>, mapfn?: (v: T, k: number) => number, thisArg?: any): Int32Array<ArrayBuffer>;
|
|
286
|
+
};
|
|
287
|
+
readonly int32ArrayOf: (...items: number[]) => Int32Array<ArrayBuffer>;
|
|
288
|
+
readonly createFloat32Array: (length: number) => Float32Array;
|
|
289
|
+
readonly float32ArrayFrom: {
|
|
290
|
+
(arrayLike: ArrayLike<number>): Float32Array<ArrayBuffer>;
|
|
291
|
+
<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Float32Array<ArrayBuffer>;
|
|
292
|
+
(elements: Iterable<number>): Float32Array<ArrayBuffer>;
|
|
293
|
+
<T>(elements: Iterable<T>, mapfn?: (v: T, k: number) => number, thisArg?: any): Float32Array<ArrayBuffer>;
|
|
294
|
+
};
|
|
295
|
+
readonly float32ArrayOf: (...items: number[]) => Float32Array<ArrayBuffer>;
|
|
296
|
+
readonly createFloat64Array: (length: number) => Float64Array;
|
|
297
|
+
readonly float64ArrayFrom: {
|
|
298
|
+
(arrayLike: ArrayLike<number>): Float64Array<ArrayBuffer>;
|
|
299
|
+
<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Float64Array<ArrayBuffer>;
|
|
300
|
+
(elements: Iterable<number>): Float64Array<ArrayBuffer>;
|
|
301
|
+
<T>(elements: Iterable<T>, mapfn?: (v: T, k: number) => number, thisArg?: any): Float64Array<ArrayBuffer>;
|
|
302
|
+
};
|
|
303
|
+
readonly float64ArrayOf: (...items: number[]) => Float64Array<ArrayBuffer>;
|
|
304
|
+
readonly createBigInt64Array: (length: number) => BigInt64Array;
|
|
305
|
+
readonly bigInt64ArrayFrom: {
|
|
306
|
+
(arrayLike: ArrayLike<bigint>): BigInt64Array<ArrayBuffer>;
|
|
307
|
+
<U>(arrayLike: ArrayLike<U>, mapfn: (v: U, k: number) => bigint, thisArg?: any): BigInt64Array<ArrayBuffer>;
|
|
308
|
+
(elements: Iterable<bigint>): BigInt64Array<ArrayBuffer>;
|
|
309
|
+
<T>(elements: Iterable<T>, mapfn?: (v: T, k: number) => bigint, thisArg?: any): BigInt64Array<ArrayBuffer>;
|
|
310
|
+
};
|
|
311
|
+
readonly bigInt64ArrayOf: (...items: bigint[]) => BigInt64Array<ArrayBuffer>;
|
|
312
|
+
readonly createBigUint64Array: (length: number) => BigUint64Array;
|
|
313
|
+
readonly bigUint64ArrayFrom: {
|
|
314
|
+
(arrayLike: ArrayLike<bigint>): BigUint64Array<ArrayBuffer>;
|
|
315
|
+
<U>(arrayLike: ArrayLike<U>, mapfn: (v: U, k: number) => bigint, thisArg?: any): BigUint64Array<ArrayBuffer>;
|
|
316
|
+
(elements: Iterable<bigint>): BigUint64Array<ArrayBuffer>;
|
|
317
|
+
<T>(elements: Iterable<T>, mapfn?: (v: T, k: number) => bigint, thisArg?: any): BigUint64Array<ArrayBuffer>;
|
|
318
|
+
};
|
|
319
|
+
readonly bigUint64ArrayOf: (...items: bigint[]) => BigUint64Array<ArrayBuffer>;
|
|
320
|
+
}>;
|
|
321
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../libs/utils/immutable-api/src/built-in-copy/typed-arrays/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAwBH;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB,GAAI,YAAY,MAAM,KAAG,WAA0E,CAAA;AAEjI;;GAEG;AACH,eAAO,MAAM,MAAM,sCAAsB,CAAA;AAMzC;;;;;;GAMG;AACH,eAAO,MAAM,uBAAuB,GAAI,YAAY,MAAM,KAAG,iBACY,CAAA;AAMzE;;;;;;;;GAQG;AACH,eAAO,MAAM,cAAc,GAAI,QAAQ,WAAW,GAAG,iBAAiB,EAAE,aAAa,MAAM,EAAE,aAAa,MAA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AAO,MAAM,iBAAiB,EAAI,OAAO,aAAa,CAAC,IAA6C,CAAA;AAEpG;;GAEG;AACH,eAAO,MAAM,eAAe,EAAI,OAAO,aAAa,CAAC,EAAyC,CAAA;AAM9F;;;;;;GAMG;AACH,eAAO,MAAM,oBAAoB,GAAI,QAAQ,MAAM,KAAG,cAA+E,CAAA;AAErI;;GAEG;AACH,eAAO,MAAM,kBAAkB,EAAI,OAAO,cAAc,CAAC,IAA+C,CAAA;AAExG;;GAEG;AACH,eAAO,MAAM,gBAAgB,EAAI,OAAO,cAAc,CAAC,EAA2C,CAAA;AAMlG;;;GAGG;AACH,eAAO,MAAM,WAAW;6CA/TsB,MAAM,KAAG,WAAW;;mDAkBd,MAAM,KAAG,iBAAiB;sCAgBvC,WAAW,GAAG,iBAAiB,eAAe,MAAM,eAAe,MAAM,KAAG,QAAQ;;;;;;;;;+CAyD3E,MAAM,KAAG,iBAAiB;;;;;;;;yCAwBhC,MAAM,KAAG,WAAW;;;;;;;;yCAuBpB,MAAM,KAAG,WAAW;;;;;;;;uCAuBtB,MAAM,KAAG,SAAS;;;;;;;;wCAuBjB,MAAM,KAAG,UAAU;;;;;;;;wCAuBnB,MAAM,KAAG,UAAU;;;;;;;;0CAuBjB,MAAM,KAAG,YAAY;;;;;;;;0CAuBrB,MAAM,KAAG,YAAY;;;;;;;;2CAuBpB,MAAM,KAAG,aAAa;;;;;;;;4CAuBrB,MAAM,KAAG,cAAc;;;;;;;;EA0DlE,CAAA"}
|
|
@@ -0,0 +1,321 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Safe copies of TypedArray and ArrayBuffer built-ins via factory functions.
|
|
3
|
+
*
|
|
4
|
+
* Provides safe references to Uint8Array, Int8Array, ArrayBuffer, DataView, etc.
|
|
5
|
+
* These references are captured at module initialization time to protect against
|
|
6
|
+
* prototype pollution attacks. Import only what you need for tree-shaking.
|
|
7
|
+
*
|
|
8
|
+
* @module @hyperfrontend/immutable-api-utils/built-in-copy/typed-arrays
|
|
9
|
+
*/
|
|
10
|
+
// Capture references at module initialization time
|
|
11
|
+
const _ArrayBuffer = globalThis.ArrayBuffer;
|
|
12
|
+
const _SharedArrayBuffer = globalThis.SharedArrayBuffer;
|
|
13
|
+
const _DataView = globalThis.DataView;
|
|
14
|
+
const _Uint8Array = globalThis.Uint8Array;
|
|
15
|
+
const _Uint8ClampedArray = globalThis.Uint8ClampedArray;
|
|
16
|
+
const _Uint16Array = globalThis.Uint16Array;
|
|
17
|
+
const _Uint32Array = globalThis.Uint32Array;
|
|
18
|
+
const _Int8Array = globalThis.Int8Array;
|
|
19
|
+
const _Int16Array = globalThis.Int16Array;
|
|
20
|
+
const _Int32Array = globalThis.Int32Array;
|
|
21
|
+
const _Float32Array = globalThis.Float32Array;
|
|
22
|
+
const _Float64Array = globalThis.Float64Array;
|
|
23
|
+
const _BigInt64Array = globalThis.BigInt64Array;
|
|
24
|
+
const _BigUint64Array = globalThis.BigUint64Array;
|
|
25
|
+
const _Reflect = globalThis.Reflect;
|
|
26
|
+
const _freeze = globalThis.Object.freeze;
|
|
27
|
+
// ============================================================================
|
|
28
|
+
// ArrayBuffer
|
|
29
|
+
// ============================================================================
|
|
30
|
+
/**
|
|
31
|
+
* (Safe copy) Creates a new ArrayBuffer using the captured ArrayBuffer constructor.
|
|
32
|
+
* Use this instead of `new ArrayBuffer()`.
|
|
33
|
+
*
|
|
34
|
+
* @param byteLength - The size, in bytes, of the array buffer to create.
|
|
35
|
+
* @returns A new ArrayBuffer instance.
|
|
36
|
+
*/
|
|
37
|
+
const createArrayBuffer = (byteLength) => _Reflect.construct(_ArrayBuffer, [byteLength]);
|
|
38
|
+
/**
|
|
39
|
+
* (Safe copy) Returns true if arg is an ArrayBuffer or SharedArrayBuffer.
|
|
40
|
+
*/
|
|
41
|
+
const isView = _ArrayBuffer.isView;
|
|
42
|
+
// ============================================================================
|
|
43
|
+
// SharedArrayBuffer
|
|
44
|
+
// ============================================================================
|
|
45
|
+
/**
|
|
46
|
+
* (Safe copy) Creates a new SharedArrayBuffer using the captured SharedArrayBuffer constructor.
|
|
47
|
+
* Use this instead of `new SharedArrayBuffer()`.
|
|
48
|
+
*
|
|
49
|
+
* @param byteLength - The size, in bytes, of the shared array buffer to create.
|
|
50
|
+
* @returns A new SharedArrayBuffer instance.
|
|
51
|
+
*/
|
|
52
|
+
const createSharedArrayBuffer = (byteLength) => _Reflect.construct(_SharedArrayBuffer, [byteLength]);
|
|
53
|
+
// ============================================================================
|
|
54
|
+
// DataView
|
|
55
|
+
// ============================================================================
|
|
56
|
+
/**
|
|
57
|
+
* (Safe copy) Creates a new DataView using the captured DataView constructor.
|
|
58
|
+
* Use this instead of `new DataView()`.
|
|
59
|
+
*
|
|
60
|
+
* @param buffer - The ArrayBuffer or SharedArrayBuffer to view.
|
|
61
|
+
* @param byteOffset - Optional byte offset to start the view.
|
|
62
|
+
* @param byteLength - Optional byte length of the view.
|
|
63
|
+
* @returns A new DataView instance.
|
|
64
|
+
*/
|
|
65
|
+
const createDataView = (buffer, byteOffset, byteLength) => _Reflect.construct(_DataView, [buffer, byteOffset, byteLength]);
|
|
66
|
+
function createUint8Array(arg, byteOffset, length) {
|
|
67
|
+
if (typeof arg === 'number') {
|
|
68
|
+
return _Reflect.construct(_Uint8Array, [arg]);
|
|
69
|
+
}
|
|
70
|
+
if (arg instanceof _ArrayBuffer || arg instanceof _SharedArrayBuffer) {
|
|
71
|
+
return _Reflect.construct(_Uint8Array, [arg, byteOffset, length]);
|
|
72
|
+
}
|
|
73
|
+
return _Reflect.construct(_Uint8Array, [arg]);
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* (Safe copy) Creates a new Uint8Array from an array-like or iterable object.
|
|
77
|
+
*/
|
|
78
|
+
const uint8ArrayFrom = _Uint8Array.from.bind(_Uint8Array);
|
|
79
|
+
/**
|
|
80
|
+
* (Safe copy) Creates a new Uint8Array from a variable number of arguments.
|
|
81
|
+
*/
|
|
82
|
+
const uint8ArrayOf = _Uint8Array.of.bind(_Uint8Array);
|
|
83
|
+
// ============================================================================
|
|
84
|
+
// Uint8ClampedArray
|
|
85
|
+
// ============================================================================
|
|
86
|
+
/**
|
|
87
|
+
* (Safe copy) Creates a new Uint8ClampedArray using the captured Uint8ClampedArray constructor.
|
|
88
|
+
* Use this instead of `new Uint8ClampedArray()`.
|
|
89
|
+
*
|
|
90
|
+
* @param length - Number of elements to allocate in the clamped array.
|
|
91
|
+
* @returns A new Uint8ClampedArray instance.
|
|
92
|
+
*/
|
|
93
|
+
const createUint8ClampedArray = (length) => _Reflect.construct(_Uint8ClampedArray, [length]);
|
|
94
|
+
/**
|
|
95
|
+
* (Safe copy) Creates a new Uint8ClampedArray from an array-like or iterable object.
|
|
96
|
+
*/
|
|
97
|
+
const uint8ClampedArrayFrom = _Uint8ClampedArray.from.bind(_Uint8ClampedArray);
|
|
98
|
+
/**
|
|
99
|
+
* (Safe copy) Creates a new Uint8ClampedArray from a variable number of arguments.
|
|
100
|
+
*/
|
|
101
|
+
const uint8ClampedArrayOf = _Uint8ClampedArray.of.bind(_Uint8ClampedArray);
|
|
102
|
+
// ============================================================================
|
|
103
|
+
// Uint16Array
|
|
104
|
+
// ============================================================================
|
|
105
|
+
/**
|
|
106
|
+
* (Safe copy) Creates a new Uint16Array using the captured Uint16Array constructor.
|
|
107
|
+
* Use this instead of `new Uint16Array()`.
|
|
108
|
+
*
|
|
109
|
+
* @param length - The length of the array.
|
|
110
|
+
* @returns A new Uint16Array instance.
|
|
111
|
+
*/
|
|
112
|
+
const createUint16Array = (length) => _Reflect.construct(_Uint16Array, [length]);
|
|
113
|
+
/**
|
|
114
|
+
* (Safe copy) Creates a new Uint16Array from an array-like or iterable object.
|
|
115
|
+
*/
|
|
116
|
+
const uint16ArrayFrom = _Uint16Array.from.bind(_Uint16Array);
|
|
117
|
+
/**
|
|
118
|
+
* (Safe copy) Creates a new Uint16Array from a variable number of arguments.
|
|
119
|
+
*/
|
|
120
|
+
const uint16ArrayOf = _Uint16Array.of.bind(_Uint16Array);
|
|
121
|
+
// ============================================================================
|
|
122
|
+
// Uint32Array
|
|
123
|
+
// ============================================================================
|
|
124
|
+
/**
|
|
125
|
+
* (Safe copy) Creates a new Uint32Array using the captured Uint32Array constructor.
|
|
126
|
+
* Use this instead of `new Uint32Array()`.
|
|
127
|
+
*
|
|
128
|
+
* @param length - The length of the array.
|
|
129
|
+
* @returns A new Uint32Array instance.
|
|
130
|
+
*/
|
|
131
|
+
const createUint32Array = (length) => _Reflect.construct(_Uint32Array, [length]);
|
|
132
|
+
/**
|
|
133
|
+
* (Safe copy) Creates a new Uint32Array from an array-like or iterable object.
|
|
134
|
+
*/
|
|
135
|
+
const uint32ArrayFrom = _Uint32Array.from.bind(_Uint32Array);
|
|
136
|
+
/**
|
|
137
|
+
* (Safe copy) Creates a new Uint32Array from a variable number of arguments.
|
|
138
|
+
*/
|
|
139
|
+
const uint32ArrayOf = _Uint32Array.of.bind(_Uint32Array);
|
|
140
|
+
// ============================================================================
|
|
141
|
+
// Int8Array
|
|
142
|
+
// ============================================================================
|
|
143
|
+
/**
|
|
144
|
+
* (Safe copy) Creates a new Int8Array using the captured Int8Array constructor.
|
|
145
|
+
* Use this instead of `new Int8Array()`.
|
|
146
|
+
*
|
|
147
|
+
* @param length - The length of the array.
|
|
148
|
+
* @returns A new Int8Array instance.
|
|
149
|
+
*/
|
|
150
|
+
const createInt8Array = (length) => _Reflect.construct(_Int8Array, [length]);
|
|
151
|
+
/**
|
|
152
|
+
* (Safe copy) Creates a new Int8Array from an array-like or iterable object.
|
|
153
|
+
*/
|
|
154
|
+
const int8ArrayFrom = _Int8Array.from.bind(_Int8Array);
|
|
155
|
+
/**
|
|
156
|
+
* (Safe copy) Creates a new Int8Array from a variable number of arguments.
|
|
157
|
+
*/
|
|
158
|
+
const int8ArrayOf = _Int8Array.of.bind(_Int8Array);
|
|
159
|
+
// ============================================================================
|
|
160
|
+
// Int16Array
|
|
161
|
+
// ============================================================================
|
|
162
|
+
/**
|
|
163
|
+
* (Safe copy) Creates a new Int16Array using the captured Int16Array constructor.
|
|
164
|
+
* Use this instead of `new Int16Array()`.
|
|
165
|
+
*
|
|
166
|
+
* @param length - The length of the array.
|
|
167
|
+
* @returns A new Int16Array instance.
|
|
168
|
+
*/
|
|
169
|
+
const createInt16Array = (length) => _Reflect.construct(_Int16Array, [length]);
|
|
170
|
+
/**
|
|
171
|
+
* (Safe copy) Creates a new Int16Array from an array-like or iterable object.
|
|
172
|
+
*/
|
|
173
|
+
const int16ArrayFrom = _Int16Array.from.bind(_Int16Array);
|
|
174
|
+
/**
|
|
175
|
+
* (Safe copy) Creates a new Int16Array from a variable number of arguments.
|
|
176
|
+
*/
|
|
177
|
+
const int16ArrayOf = _Int16Array.of.bind(_Int16Array);
|
|
178
|
+
// ============================================================================
|
|
179
|
+
// Int32Array
|
|
180
|
+
// ============================================================================
|
|
181
|
+
/**
|
|
182
|
+
* (Safe copy) Creates a new Int32Array using the captured Int32Array constructor.
|
|
183
|
+
* Use this instead of `new Int32Array()`.
|
|
184
|
+
*
|
|
185
|
+
* @param length - The length of the array.
|
|
186
|
+
* @returns A new Int32Array instance.
|
|
187
|
+
*/
|
|
188
|
+
const createInt32Array = (length) => _Reflect.construct(_Int32Array, [length]);
|
|
189
|
+
/**
|
|
190
|
+
* (Safe copy) Creates a new Int32Array from an array-like or iterable object.
|
|
191
|
+
*/
|
|
192
|
+
const int32ArrayFrom = _Int32Array.from.bind(_Int32Array);
|
|
193
|
+
/**
|
|
194
|
+
* (Safe copy) Creates a new Int32Array from a variable number of arguments.
|
|
195
|
+
*/
|
|
196
|
+
const int32ArrayOf = _Int32Array.of.bind(_Int32Array);
|
|
197
|
+
// ============================================================================
|
|
198
|
+
// Float32Array
|
|
199
|
+
// ============================================================================
|
|
200
|
+
/**
|
|
201
|
+
* (Safe copy) Creates a new Float32Array using the captured Float32Array constructor.
|
|
202
|
+
* Use this instead of `new Float32Array()`.
|
|
203
|
+
*
|
|
204
|
+
* @param length - The length of the array.
|
|
205
|
+
* @returns A new Float32Array instance.
|
|
206
|
+
*/
|
|
207
|
+
const createFloat32Array = (length) => _Reflect.construct(_Float32Array, [length]);
|
|
208
|
+
/**
|
|
209
|
+
* (Safe copy) Creates a new Float32Array from an array-like or iterable object.
|
|
210
|
+
*/
|
|
211
|
+
const float32ArrayFrom = _Float32Array.from.bind(_Float32Array);
|
|
212
|
+
/**
|
|
213
|
+
* (Safe copy) Creates a new Float32Array from a variable number of arguments.
|
|
214
|
+
*/
|
|
215
|
+
const float32ArrayOf = _Float32Array.of.bind(_Float32Array);
|
|
216
|
+
// ============================================================================
|
|
217
|
+
// Float64Array
|
|
218
|
+
// ============================================================================
|
|
219
|
+
/**
|
|
220
|
+
* (Safe copy) Creates a new Float64Array using the captured Float64Array constructor.
|
|
221
|
+
* Use this instead of `new Float64Array()`.
|
|
222
|
+
*
|
|
223
|
+
* @param length - The length of the array.
|
|
224
|
+
* @returns A new Float64Array instance.
|
|
225
|
+
*/
|
|
226
|
+
const createFloat64Array = (length) => _Reflect.construct(_Float64Array, [length]);
|
|
227
|
+
/**
|
|
228
|
+
* (Safe copy) Creates a new Float64Array from an array-like or iterable object.
|
|
229
|
+
*/
|
|
230
|
+
const float64ArrayFrom = _Float64Array.from.bind(_Float64Array);
|
|
231
|
+
/**
|
|
232
|
+
* (Safe copy) Creates a new Float64Array from a variable number of arguments.
|
|
233
|
+
*/
|
|
234
|
+
const float64ArrayOf = _Float64Array.of.bind(_Float64Array);
|
|
235
|
+
// ============================================================================
|
|
236
|
+
// BigInt64Array
|
|
237
|
+
// ============================================================================
|
|
238
|
+
/**
|
|
239
|
+
* (Safe copy) Creates a new BigInt64Array using the captured BigInt64Array constructor.
|
|
240
|
+
* Use this instead of `new BigInt64Array()`.
|
|
241
|
+
*
|
|
242
|
+
* @param length - The length of the array.
|
|
243
|
+
* @returns A new BigInt64Array instance.
|
|
244
|
+
*/
|
|
245
|
+
const createBigInt64Array = (length) => _Reflect.construct(_BigInt64Array, [length]);
|
|
246
|
+
/**
|
|
247
|
+
* (Safe copy) Creates a new BigInt64Array from an array-like or iterable object.
|
|
248
|
+
*/
|
|
249
|
+
const bigInt64ArrayFrom = _BigInt64Array.from.bind(_BigInt64Array);
|
|
250
|
+
/**
|
|
251
|
+
* (Safe copy) Creates a new BigInt64Array from a variable number of arguments.
|
|
252
|
+
*/
|
|
253
|
+
const bigInt64ArrayOf = _BigInt64Array.of.bind(_BigInt64Array);
|
|
254
|
+
// ============================================================================
|
|
255
|
+
// BigUint64Array
|
|
256
|
+
// ============================================================================
|
|
257
|
+
/**
|
|
258
|
+
* (Safe copy) Creates a new BigUint64Array using the captured BigUint64Array constructor.
|
|
259
|
+
* Use this instead of `new BigUint64Array()`.
|
|
260
|
+
*
|
|
261
|
+
* @param length - The length of the array.
|
|
262
|
+
* @returns A new BigUint64Array instance.
|
|
263
|
+
*/
|
|
264
|
+
const createBigUint64Array = (length) => _Reflect.construct(_BigUint64Array, [length]);
|
|
265
|
+
/**
|
|
266
|
+
* (Safe copy) Creates a new BigUint64Array from an array-like or iterable object.
|
|
267
|
+
*/
|
|
268
|
+
const bigUint64ArrayFrom = _BigUint64Array.from.bind(_BigUint64Array);
|
|
269
|
+
/**
|
|
270
|
+
* (Safe copy) Creates a new BigUint64Array from a variable number of arguments.
|
|
271
|
+
*/
|
|
272
|
+
const bigUint64ArrayOf = _BigUint64Array.of.bind(_BigUint64Array);
|
|
273
|
+
// ============================================================================
|
|
274
|
+
// Namespace Export
|
|
275
|
+
// ============================================================================
|
|
276
|
+
/**
|
|
277
|
+
* (Safe copy) Namespace object containing all TypedArray utilities.
|
|
278
|
+
* Note: Importing this imports all methods in this namespace (no tree-shaking).
|
|
279
|
+
*/
|
|
280
|
+
const TypedArrays = _freeze({
|
|
281
|
+
createArrayBuffer,
|
|
282
|
+
isView,
|
|
283
|
+
createSharedArrayBuffer,
|
|
284
|
+
createDataView,
|
|
285
|
+
createUint8Array,
|
|
286
|
+
uint8ArrayFrom,
|
|
287
|
+
uint8ArrayOf,
|
|
288
|
+
createUint8ClampedArray,
|
|
289
|
+
uint8ClampedArrayFrom,
|
|
290
|
+
uint8ClampedArrayOf,
|
|
291
|
+
createUint16Array,
|
|
292
|
+
uint16ArrayFrom,
|
|
293
|
+
uint16ArrayOf,
|
|
294
|
+
createUint32Array,
|
|
295
|
+
uint32ArrayFrom,
|
|
296
|
+
uint32ArrayOf,
|
|
297
|
+
createInt8Array,
|
|
298
|
+
int8ArrayFrom,
|
|
299
|
+
int8ArrayOf,
|
|
300
|
+
createInt16Array,
|
|
301
|
+
int16ArrayFrom,
|
|
302
|
+
int16ArrayOf,
|
|
303
|
+
createInt32Array,
|
|
304
|
+
int32ArrayFrom,
|
|
305
|
+
int32ArrayOf,
|
|
306
|
+
createFloat32Array,
|
|
307
|
+
float32ArrayFrom,
|
|
308
|
+
float32ArrayOf,
|
|
309
|
+
createFloat64Array,
|
|
310
|
+
float64ArrayFrom,
|
|
311
|
+
float64ArrayOf,
|
|
312
|
+
createBigInt64Array,
|
|
313
|
+
bigInt64ArrayFrom,
|
|
314
|
+
bigInt64ArrayOf,
|
|
315
|
+
createBigUint64Array,
|
|
316
|
+
bigUint64ArrayFrom,
|
|
317
|
+
bigUint64ArrayOf,
|
|
318
|
+
});
|
|
319
|
+
|
|
320
|
+
export { TypedArrays, bigInt64ArrayFrom, bigInt64ArrayOf, bigUint64ArrayFrom, bigUint64ArrayOf, createArrayBuffer, createBigInt64Array, createBigUint64Array, createDataView, createFloat32Array, createFloat64Array, createInt16Array, createInt32Array, createInt8Array, createSharedArrayBuffer, createUint16Array, createUint32Array, createUint8Array, createUint8ClampedArray, float32ArrayFrom, float32ArrayOf, float64ArrayFrom, float64ArrayOf, int16ArrayFrom, int16ArrayOf, int32ArrayFrom, int32ArrayOf, int8ArrayFrom, int8ArrayOf, isView, uint16ArrayFrom, uint16ArrayOf, uint32ArrayFrom, uint32ArrayOf, uint8ArrayFrom, uint8ArrayOf, uint8ClampedArrayFrom, uint8ClampedArrayOf };
|
|
321
|
+
//# sourceMappingURL=index.esm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.esm.js","sources":["../../../../../../../../../../../libs/utils/immutable-api/src/built-in-copy/typed-arrays/index.ts"],"sourcesContent":[null],"names":[],"mappings":"AAAA;;;;;;;;AAQG;AAEH;AACA,MAAM,YAAY,GAAG,UAAU,CAAC,WAAW;AAC3C,MAAM,kBAAkB,GAAG,UAAU,CAAC,iBAAiB;AACvD,MAAM,SAAS,GAAG,UAAU,CAAC,QAAQ;AACrC,MAAM,WAAW,GAAG,UAAU,CAAC,UAAU;AACzC,MAAM,kBAAkB,GAAG,UAAU,CAAC,iBAAiB;AACvD,MAAM,YAAY,GAAG,UAAU,CAAC,WAAW;AAC3C,MAAM,YAAY,GAAG,UAAU,CAAC,WAAW;AAC3C,MAAM,UAAU,GAAG,UAAU,CAAC,SAAS;AACvC,MAAM,WAAW,GAAG,UAAU,CAAC,UAAU;AACzC,MAAM,WAAW,GAAG,UAAU,CAAC,UAAU;AACzC,MAAM,aAAa,GAAG,UAAU,CAAC,YAAY;AAC7C,MAAM,aAAa,GAAG,UAAU,CAAC,YAAY;AAC7C,MAAM,cAAc,GAAG,UAAU,CAAC,aAAa;AAC/C,MAAM,eAAe,GAAG,UAAU,CAAC,cAAc;AACjD,MAAM,QAAQ,GAAG,UAAU,CAAC,OAAO;AACnC,MAAM,OAAO,GAAG,UAAU,CAAC,MAAM,CAAC,MAAM;AAExC;AACA;AACA;AAEA;;;;;;AAMG;AACI,MAAM,iBAAiB,GAAG,CAAC,UAAkB,KAA+B,QAAQ,CAAC,SAAS,CAAC,YAAY,EAAE,CAAC,UAAU,CAAC;AAEhI;;AAEG;AACI,MAAM,MAAM,GAAG,YAAY,CAAC;AAEnC;AACA;AACA;AAEA;;;;;;AAMG;AACI,MAAM,uBAAuB,GAAG,CAAC,UAAkB,KACrC,QAAQ,CAAC,SAAS,CAAC,kBAAkB,EAAE,CAAC,UAAU,CAAC;A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