bare-buffer 3.4.1 → 3.4.2
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/index.d.ts +2 -2
- package/package.json +1 -1
- package/prebuilds/android-arm/bare-buffer.bare +0 -0
- package/prebuilds/android-arm64/bare-buffer.bare +0 -0
- package/prebuilds/android-ia32/bare-buffer.bare +0 -0
- package/prebuilds/android-x64/bare-buffer.bare +0 -0
- package/prebuilds/darwin-arm64/bare-buffer.bare +0 -0
- package/prebuilds/darwin-x64/bare-buffer.bare +0 -0
- package/prebuilds/ios-arm64/bare-buffer.bare +0 -0
- package/prebuilds/ios-arm64-simulator/bare-buffer.bare +0 -0
- package/prebuilds/ios-x64-simulator/bare-buffer.bare +0 -0
- package/prebuilds/linux-arm64/bare-buffer.bare +0 -0
- package/prebuilds/linux-x64/bare-buffer.bare +0 -0
- package/prebuilds/win32-arm64/bare-buffer.bare +0 -0
- package/prebuilds/win32-x64/bare-buffer.bare +0 -0
package/index.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ type BufferEncoding =
|
|
|
13
13
|
| 'utf16le'
|
|
14
14
|
| 'utf8'
|
|
15
15
|
|
|
16
|
-
interface Buffer extends Uint8Array {
|
|
16
|
+
interface Buffer extends Uint8Array<ArrayBuffer> {
|
|
17
17
|
compare(
|
|
18
18
|
target: Buffer,
|
|
19
19
|
targetStart?: number,
|
|
@@ -140,7 +140,7 @@ interface Buffer extends Uint8Array {
|
|
|
140
140
|
writeBigUInt64LE(value: bigint, offset?: number): number
|
|
141
141
|
}
|
|
142
142
|
|
|
143
|
-
declare class Buffer extends Uint8Array {
|
|
143
|
+
declare class Buffer extends Uint8Array<ArrayBuffer> {
|
|
144
144
|
constructor(arrayBuffer: ArrayBuffer, offset?: number, length?: number)
|
|
145
145
|
}
|
|
146
146
|
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|