Skip to content

Commit 5a82174

Browse files
committed
chore(deps): upgrade rescript to v11.1.1
feat(buffer): deprecate slice methods in favor of subarray - Mark `slice` and `sliceToEnd` as deprecated - Recommend using `subarray` and `subarrayToEnd` instead
1 parent de1c6b8 commit 5a82174

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
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.1",
2323
"zora": "^5.2.0"
2424
},
2525
"files": [

src/Buffer.res

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,9 @@ external readBigUint64BE: (t, ~offset: int) => bigint = "readBigUInt64BE"
284284
@send
285285
external readBigUint64LE: (t, ~offset: int) => bigint = "readBigUInt64LE"
286286

287+
@deprecated("Use `subarray` instead")
287288
@send external slice: (t, ~start: int, ~end_: int) => t = "slice"
289+
@deprecated("Use `subarrayToEnd` instead")
288290
@send external sliceToEnd: (t, ~start: int) => t = "slice"
289291

290292
@send external subarray: (t, ~start: int, ~end_: int) => t = "subarray"

yarn.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -971,19 +971,19 @@ __metadata:
971971
changie: "npm:^1.18.0"
972972
onchange: "npm:^7.1.0"
973973
pta: "npm:^1.2.0"
974-
rescript: "npm:^11.0.1"
974+
rescript: "npm:^11.1.1"
975975
zora: "npm:^5.2.0"
976976
languageName: unknown
977977
linkType: soft
978978

979-
"rescript@npm:^11.0.1":
980-
version: 11.0.1
981-
resolution: "rescript@npm:11.0.1"
979+
"rescript@npm:^11.1.1":
980+
version: 11.1.4
981+
resolution: "rescript@npm:11.1.4"
982982
bin:
983983
bsc: bsc
984984
bstracing: lib/bstracing
985985
rescript: rescript
986-
checksum: a37dc757a14c57a15fe75a12df52f3d564cc6ef5cacc8356fe70a7d4ab9692736c0fbb56456dff090d8b5b18935a09aed066c623e6764f4c76bed61187e611b7
986+
checksum: 7f12186a84209f586457a60e65755fcdfbcbb503ac805c60ab5132ce4c927bc264c3b851419ed5498ba7dc4066723377bb7453f893f482a0ccd424986d02beba
987987
languageName: node
988988
linkType: hard
989989

0 commit comments

Comments
 (0)