diff --git a/package-lock.json b/package-lock.json index 9fae163..aa490e7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1207,9 +1207,9 @@ ] }, "node_modules/@rescript/darwin-arm64": { - "version": "12.0.0-alpha.13", - "resolved": "https://registry.npmjs.org/@rescript/darwin-arm64/-/darwin-arm64-12.0.0-alpha.13.tgz", - "integrity": "sha512-L0Cci52OUO88lvVWUmbpNXGNWewyFb4eoiGCkdpYmld1HNc3xh7UNfv7GwzCM/Yzij+thIDyUcuxodFsQ3PAVA==", + "version": "12.0.0-alpha.14", + "resolved": "https://registry.npmjs.org/@rescript/darwin-arm64/-/darwin-arm64-12.0.0-alpha.14.tgz", + "integrity": "sha512-yrScC0FvAjQ2B1EnC8EbwRZX8tTEtyiRXLNCOlqOPcmTKXBr7KHknV2MsKqsn4kgmm29/ERZ0zyP4xHh2ookAw==", "cpu": [ "arm64" ], @@ -1222,9 +1222,9 @@ } }, "node_modules/@rescript/darwin-x64": { - "version": "12.0.0-alpha.13", - "resolved": "https://registry.npmjs.org/@rescript/darwin-x64/-/darwin-x64-12.0.0-alpha.13.tgz", - "integrity": "sha512-6YZN4W+iI6IwchS/Fleq8pXo8u78eaaPRwgKtJYNc/Knt4mWBw2mBq+NrAvib3N4M3kUFo9J5h2IM4lV5RKtSg==", + "version": "12.0.0-alpha.14", + "resolved": "https://registry.npmjs.org/@rescript/darwin-x64/-/darwin-x64-12.0.0-alpha.14.tgz", + "integrity": "sha512-O2pyYtyZFfPXq4U5PCe0hwAdQwdAjjQMY0rAoAqcoI/DIcRIpEc4y/7z6rK9Izig4qBZuQl0z33KKAYPuq6l5g==", "cpu": [ "x64" ], @@ -1237,9 +1237,9 @@ } }, "node_modules/@rescript/linux-arm64": { - "version": "12.0.0-alpha.13", - "resolved": "https://registry.npmjs.org/@rescript/linux-arm64/-/linux-arm64-12.0.0-alpha.13.tgz", - "integrity": "sha512-MrhZD/KXTF5CKi5wY2Iq0dkxIuNfgtKOX/lxKeBmSbNtZKT3uswFh277zCBn5yUS1euCSYS9KanXB/VDq4svOw==", + "version": "12.0.0-alpha.14", + "resolved": "https://registry.npmjs.org/@rescript/linux-arm64/-/linux-arm64-12.0.0-alpha.14.tgz", + "integrity": "sha512-pd3LKwojp02wrq9x32ALiIMlfbcTYedQahiaLCIPLVhOb03YEANd1NHwEyyqm81LdpIK190yA3yiJ3Mi1afWFA==", "cpu": [ "arm64" ], @@ -1252,9 +1252,9 @@ } }, "node_modules/@rescript/linux-x64": { - "version": "12.0.0-alpha.13", - "resolved": "https://registry.npmjs.org/@rescript/linux-x64/-/linux-x64-12.0.0-alpha.13.tgz", - "integrity": "sha512-Rn0RMZuVptt4SIlF4eFI/iwPHbhigBtnMn471Z0pdYJpbXdtjNA2LsMTruYjzEWry33VpkYX0FU9dfIyNDNLOA==", + "version": "12.0.0-alpha.14", + "resolved": "https://registry.npmjs.org/@rescript/linux-x64/-/linux-x64-12.0.0-alpha.14.tgz", + "integrity": "sha512-vgXn4WiP1JJVvzGxWihxUPfiCYp8y5uvBO/DxDh+yQ2hivkZYkxTQjG6psd9oRbtoY2OPxl7J9S/7abhUznAOQ==", "cpu": [ "x64" ], @@ -1267,9 +1267,9 @@ } }, "node_modules/@rescript/win32-x64": { - "version": "12.0.0-alpha.13", - "resolved": "https://registry.npmjs.org/@rescript/win32-x64/-/win32-x64-12.0.0-alpha.13.tgz", - "integrity": "sha512-akpk8jaIOkiYe+J305jE6fS7+sMigzgNH/zl4fkuyr7ch2reXjp/qrUP2rUlmayBRFAUWwaLTie//ewAJtpMiw==", + "version": "12.0.0-alpha.14", + "resolved": "https://registry.npmjs.org/@rescript/win32-x64/-/win32-x64-12.0.0-alpha.14.tgz", + "integrity": "sha512-iEnGhXiJhb7Nf8d6QDswCMlEubeh/YO4I5e022u4lm1t9aaBw/r89flDRsewe4b49i6KkSuoWzNG1uFtxIEwdA==", "cpu": [ "x64" ], @@ -6160,17 +6160,19 @@ } }, "node_modules/rescript": { - "version": "12.0.0-alpha.13", - "resolved": "https://registry.npmjs.org/rescript/-/rescript-12.0.0-alpha.13.tgz", - "integrity": "sha512-O15nrJtn9Hj+MjfXkamRUV2jBdyYp2cdEaFsp5cmJRcXQ0hN+zqmO2RUKQ1gSID161Idex5/gDhv9PloH89gZA==", + "version": "12.0.0-alpha.14", + "resolved": "https://registry.npmjs.org/rescript/-/rescript-12.0.0-alpha.14.tgz", + "integrity": "sha512-1Cxy0BHi3T1Yq+whl5sVOSMRsB6+NdnX7RbQ0jeXQOBvo3rGHsJ/hXoOqZPacbTDIsBNJNuTyBK74CYrEJynLg==", "license": "SEE LICENSE IN LICENSE", "workspaces": [ "packages/*", "packages/@rescript/*", "tests/dependencies/**", "tests/analysis_tests/**", + "tests/docstring_tests", "tests/gentype_tests/**", - "tests/tools_tests" + "tests/tools_tests", + "scripts/res" ], "bin": { "bsc": "cli/bsc.js", @@ -6183,11 +6185,11 @@ "node": ">=20.11.0" }, "optionalDependencies": { - "@rescript/darwin-arm64": "12.0.0-alpha.13", - "@rescript/darwin-x64": "12.0.0-alpha.13", - "@rescript/linux-arm64": "12.0.0-alpha.13", - "@rescript/linux-x64": "12.0.0-alpha.13", - "@rescript/win32-x64": "12.0.0-alpha.13" + "@rescript/darwin-arm64": "12.0.0-alpha.14", + "@rescript/darwin-x64": "12.0.0-alpha.14", + "@rescript/linux-arm64": "12.0.0-alpha.14", + "@rescript/linux-x64": "12.0.0-alpha.14", + "@rescript/win32-x64": "12.0.0-alpha.14" } }, "node_modules/restructure": { @@ -7871,33 +7873,33 @@ "optional": true }, "@rescript/darwin-arm64": { - "version": "12.0.0-alpha.13", - "resolved": "https://registry.npmjs.org/@rescript/darwin-arm64/-/darwin-arm64-12.0.0-alpha.13.tgz", - "integrity": "sha512-L0Cci52OUO88lvVWUmbpNXGNWewyFb4eoiGCkdpYmld1HNc3xh7UNfv7GwzCM/Yzij+thIDyUcuxodFsQ3PAVA==", + "version": "12.0.0-alpha.14", + "resolved": "https://registry.npmjs.org/@rescript/darwin-arm64/-/darwin-arm64-12.0.0-alpha.14.tgz", + "integrity": "sha512-yrScC0FvAjQ2B1EnC8EbwRZX8tTEtyiRXLNCOlqOPcmTKXBr7KHknV2MsKqsn4kgmm29/ERZ0zyP4xHh2ookAw==", "optional": true }, "@rescript/darwin-x64": { - "version": "12.0.0-alpha.13", - "resolved": "https://registry.npmjs.org/@rescript/darwin-x64/-/darwin-x64-12.0.0-alpha.13.tgz", - "integrity": "sha512-6YZN4W+iI6IwchS/Fleq8pXo8u78eaaPRwgKtJYNc/Knt4mWBw2mBq+NrAvib3N4M3kUFo9J5h2IM4lV5RKtSg==", + "version": "12.0.0-alpha.14", + "resolved": "https://registry.npmjs.org/@rescript/darwin-x64/-/darwin-x64-12.0.0-alpha.14.tgz", + "integrity": "sha512-O2pyYtyZFfPXq4U5PCe0hwAdQwdAjjQMY0rAoAqcoI/DIcRIpEc4y/7z6rK9Izig4qBZuQl0z33KKAYPuq6l5g==", "optional": true }, "@rescript/linux-arm64": { - "version": "12.0.0-alpha.13", - "resolved": "https://registry.npmjs.org/@rescript/linux-arm64/-/linux-arm64-12.0.0-alpha.13.tgz", - "integrity": "sha512-MrhZD/KXTF5CKi5wY2Iq0dkxIuNfgtKOX/lxKeBmSbNtZKT3uswFh277zCBn5yUS1euCSYS9KanXB/VDq4svOw==", + "version": "12.0.0-alpha.14", + "resolved": "https://registry.npmjs.org/@rescript/linux-arm64/-/linux-arm64-12.0.0-alpha.14.tgz", + "integrity": "sha512-pd3LKwojp02wrq9x32ALiIMlfbcTYedQahiaLCIPLVhOb03YEANd1NHwEyyqm81LdpIK190yA3yiJ3Mi1afWFA==", "optional": true }, "@rescript/linux-x64": { - "version": "12.0.0-alpha.13", - "resolved": "https://registry.npmjs.org/@rescript/linux-x64/-/linux-x64-12.0.0-alpha.13.tgz", - "integrity": "sha512-Rn0RMZuVptt4SIlF4eFI/iwPHbhigBtnMn471Z0pdYJpbXdtjNA2LsMTruYjzEWry33VpkYX0FU9dfIyNDNLOA==", + "version": "12.0.0-alpha.14", + "resolved": "https://registry.npmjs.org/@rescript/linux-x64/-/linux-x64-12.0.0-alpha.14.tgz", + "integrity": "sha512-vgXn4WiP1JJVvzGxWihxUPfiCYp8y5uvBO/DxDh+yQ2hivkZYkxTQjG6psd9oRbtoY2OPxl7J9S/7abhUznAOQ==", "optional": true }, "@rescript/win32-x64": { - "version": "12.0.0-alpha.13", - "resolved": "https://registry.npmjs.org/@rescript/win32-x64/-/win32-x64-12.0.0-alpha.13.tgz", - "integrity": "sha512-akpk8jaIOkiYe+J305jE6fS7+sMigzgNH/zl4fkuyr7ch2reXjp/qrUP2rUlmayBRFAUWwaLTie//ewAJtpMiw==", + "version": "12.0.0-alpha.14", + "resolved": "https://registry.npmjs.org/@rescript/win32-x64/-/win32-x64-12.0.0-alpha.14.tgz", + "integrity": "sha512-iEnGhXiJhb7Nf8d6QDswCMlEubeh/YO4I5e022u4lm1t9aaBw/r89flDRsewe4b49i6KkSuoWzNG1uFtxIEwdA==", "optional": true }, "@rollup/rollup-android-arm-eabi": { @@ -11168,15 +11170,15 @@ } }, "rescript": { - "version": "12.0.0-alpha.13", - "resolved": "https://registry.npmjs.org/rescript/-/rescript-12.0.0-alpha.13.tgz", - "integrity": "sha512-O15nrJtn9Hj+MjfXkamRUV2jBdyYp2cdEaFsp5cmJRcXQ0hN+zqmO2RUKQ1gSID161Idex5/gDhv9PloH89gZA==", - "requires": { - "@rescript/darwin-arm64": "12.0.0-alpha.13", - "@rescript/darwin-x64": "12.0.0-alpha.13", - "@rescript/linux-arm64": "12.0.0-alpha.13", - "@rescript/linux-x64": "12.0.0-alpha.13", - "@rescript/win32-x64": "12.0.0-alpha.13" + "version": "12.0.0-alpha.14", + "resolved": "https://registry.npmjs.org/rescript/-/rescript-12.0.0-alpha.14.tgz", + "integrity": "sha512-1Cxy0BHi3T1Yq+whl5sVOSMRsB6+NdnX7RbQ0jeXQOBvo3rGHsJ/hXoOqZPacbTDIsBNJNuTyBK74CYrEJynLg==", + "requires": { + "@rescript/darwin-arm64": "12.0.0-alpha.14", + "@rescript/darwin-x64": "12.0.0-alpha.14", + "@rescript/linux-arm64": "12.0.0-alpha.14", + "@rescript/linux-x64": "12.0.0-alpha.14", + "@rescript/win32-x64": "12.0.0-alpha.14" } }, "restructure": { diff --git a/tests/FetchAPI/URLSearchParams__test.js b/tests/FetchAPI/URLSearchParams__test.js index e3510d9..aa133c9 100644 --- a/tests/FetchAPI/URLSearchParams__test.js +++ b/tests/FetchAPI/URLSearchParams__test.js @@ -3,7 +3,7 @@ let params1 = new URLSearchParams("foo=1&bar=2"); -Array.from(params1.keys()).forEach(prim => { +params1.keys().toArray().forEach(prim => { console.log(prim); }); @@ -18,7 +18,7 @@ let params2 = new URLSearchParams([ ] ]); -Array.from(params2.values()).forEach(prim => { +params2.values().toArray().forEach(prim => { console.log(prim); }); @@ -27,7 +27,7 @@ let params3 = new URLSearchParams({ bar: "b" }); -Array.from(params3.entries()).forEach(param => { +params3.entries().toArray().forEach(param => { console.log(param[0], param[1]); });