Skip to content

Commit 186ae90

Browse files
committed
Merge with the main branch of the parent repo
2 parents 082bb77 + 47ff6ae commit 186ae90

File tree

4 files changed

+38
-7
lines changed

4 files changed

+38
-7
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"changie": "^1.18.0",
2020
"onchange": "^7.1.0",
2121
"pta": "1.2.0",
22-
"rescript": "^11.0.1",
22+
"rescript": "^11.1.0",
2323
"zora": "^5.2.0"
2424
},
2525
"files": [
File renamed without changes.

src/Buffer.res

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -272,8 +272,25 @@ external readUintBE: (t, ~offset: int, ~length: int) => float = "readUintBE"
272272
@send
273273
external readUintLE: (t, ~offset: int, ~length: int) => float = "readUintLE"
274274

275-
@send external slice: (t, ~start: int, ~end_: int) => t = "slice"
276-
@send external sliceToEnd: (t, ~start: int) => t = "slice"
275+
@send
276+
external readBigInt64BE: (t, ~offset: int) => bigint = "readBigInt64BE"
277+
278+
@send
279+
external readBigInt64LE: (t, ~offset: int) => bigint = "readBigInt64LE"
280+
281+
@send
282+
external readBigUint64BE: (t, ~offset: int) => bigint = "readBigUInt64BE"
283+
284+
@send
285+
external readBigUint64LE: (t, ~offset: int) => bigint = "readBigUInt64LE"
286+
287+
@deprecated("Use `subarray` instead") @send
288+
external slice: (t, ~start: int, ~end_: int) => t = "slice"
289+
@deprecated("Use `subarrayToEnd` instead") @send
290+
external sliceToEnd: (t, ~start: int) => t = "slice"
291+
292+
@send external subarray: (t, ~start: int, ~end_: int) => t = "subarray"
293+
@send external subarrayToEnd: (t, ~start: int) => t = "subarray"
277294

278295
@send external swap16: t => t = "swap16"
279296
@send external swap32: t => t = "swap32"

yarn.lock

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -526,13 +526,20 @@ __metadata:
526526
languageName: node
527527
linkType: hard
528528

529-
"ignore@npm:^5.1.4, ignore@npm:^5.2.0":
529+
"ignore@npm:^5.1.4":
530530
version: 5.3.2
531531
resolution: "ignore@npm:5.3.2"
532532
checksum: f9f652c957983634ded1e7f02da3b559a0d4cc210fca3792cb67f1b153623c9c42efdc1c4121af171e295444459fc4a9201101fb041b1104a3c000bccb188337
533533
languageName: node
534534
linkType: hard
535535

536+
"ignore@npm:^5.2.0":
537+
version: 5.2.4
538+
resolution: "ignore@npm:5.2.4"
539+
checksum: 7c7cd90edd9fea6e037f9b9da4b01bf0a86b198ce78345f9bbd983929d68ff14830be31111edc5d70c264921f4962404d75b7262b4d9cc3bc12381eccbd03096
540+
languageName: node
541+
linkType: hard
542+
536543
"imurmurhash@npm:^0.1.4":
537544
version: 0.1.4
538545
resolution: "imurmurhash@npm:0.1.4"
@@ -623,7 +630,14 @@ __metadata:
623630
languageName: node
624631
linkType: hard
625632

626-
"lru-cache@npm:^10.0.1, lru-cache@npm:^10.2.0":
633+
"lru-cache@npm:^10.0.1":
634+
version: 10.1.0
635+
resolution: "lru-cache@npm:10.1.0"
636+
checksum: 778bc8b2626daccd75f24c4b4d10632496e21ba064b126f526c626fbdbc5b28c472013fccd45d7646b9e1ef052444824854aed617b59cd570d01a8b7d651fc1e
637+
languageName: node
638+
linkType: hard
639+
640+
"lru-cache@npm:^10.2.0":
627641
version: 10.4.3
628642
resolution: "lru-cache@npm:10.4.3"
629643
checksum: ebd04fbca961e6c1d6c0af3799adcc966a1babe798f685bb84e6599266599cd95d94630b10262f5424539bc4640107e8a33aa28585374abf561d30d16f4b39fb
@@ -931,12 +945,12 @@ __metadata:
931945
changie: "npm:^1.18.0"
932946
onchange: "npm:^7.1.0"
933947
pta: "npm:1.2.0"
934-
rescript: "npm:^11.0.1"
948+
rescript: "npm:^11.1.0"
935949
zora: "npm:^5.2.0"
936950
languageName: unknown
937951
linkType: soft
938952

939-
"rescript@npm:^11.0.1":
953+
"rescript@npm:^11.1.0":
940954
version: 11.1.4
941955
resolution: "rescript@npm:11.1.4"
942956
bin:

0 commit comments

Comments
 (0)