From 98da0281653c4926d2ca6d7f498776fb26d1f514 Mon Sep 17 00:00:00 2001 From: Pedro Castro Date: Tue, 23 Apr 2024 12:26:48 -0300 Subject: [PATCH 1/3] checkout tests --- analysis/tests/src/expected/CompletionResolve.res.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/analysis/tests/src/expected/CompletionResolve.res.txt b/analysis/tests/src/expected/CompletionResolve.res.txt index d0492d217..22fdcd689 100644 --- a/analysis/tests/src/expected/CompletionResolve.res.txt +++ b/analysis/tests/src/expected/CompletionResolve.res.txt @@ -1,5 +1,5 @@ Completion resolve: Belt_Array -"\nUtilities for `Array` functions.\n\n### Note about index syntax\n\nCode like `arr[0]` does *not* compile to JavaScript `arr[0]`. Reason transforms\nthe `[]` index syntax into a function: `Array.get(arr, 0)`. By default, this\nuses the default standard library's `Array.get` function, which may raise an\nexception if the index isn't found. If you `open Belt`, it will use the\n`Belt.Array.get` function which returns options instead of raising exceptions. \n[See this for more information](../belt.mdx#array-access-runtime-safety).\n" +"\nUtililites for `Array` functions.\n\n### Note about index syntax\n\nCode like `arr[0]` does *not* compile to JavaScript `arr[0]`. Reason transforms\nthe `[]` index syntax into a function: `Array.get(arr, 0)`. By default, this\nuses the default standard library's `Array.get` function, which may raise an\nexception if the index isn't found. If you `open Belt`, it will use the\n`Belt.Array.get` function which returns options instead of raising exceptions. \n[See this for more information](../belt.mdx#array-access-runtime-safety).\n" Completion resolve: ModuleStuff " This is a top level module doc. " From 6733034c6e7646c85c575f2e745ae1e236155c6f Mon Sep 17 00:00:00 2001 From: Pedro Castro Date: Tue, 23 Apr 2024 15:06:17 -0300 Subject: [PATCH 2/3] update rescript --- analysis/tests/package-lock.json | 14 +++++++------- analysis/tests/package.json | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/analysis/tests/package-lock.json b/analysis/tests/package-lock.json index e1a3416e2..aa28542ff 100644 --- a/analysis/tests/package-lock.json +++ b/analysis/tests/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "rescript": "11.1.0-rc.2" + "rescript": "^11.1.0" }, "devDependencies": { "@rescript/react": "0.12.0" @@ -69,9 +69,9 @@ } }, "node_modules/rescript": { - "version": "11.1.0-rc.2", - "resolved": "https://registry.npmjs.org/rescript/-/rescript-11.1.0-rc.2.tgz", - "integrity": "sha512-kCUtmsODEUF1Eth5ppc+yIK79HLI7CwRs1R4iopDek4FC58IqHSLT3K1XHGB39YCWuOuV9WMly+wksHRJcSLcw==", + "version": "11.1.0", + "resolved": "https://registry.npmjs.org/rescript/-/rescript-11.1.0.tgz", + "integrity": "sha512-9la2Dv+ACylQ77I8s4spPu1JnLZXbH5WgxcLHLLUBWgFFSiv0wXqgzWztrBIZqwFgVX5BYcwldUqUVcEzdCyHg==", "hasInstallScript": true, "bin": { "bsc": "bsc", @@ -140,9 +140,9 @@ } }, "rescript": { - "version": "11.1.0-rc.2", - "resolved": "https://registry.npmjs.org/rescript/-/rescript-11.1.0-rc.2.tgz", - "integrity": "sha512-kCUtmsODEUF1Eth5ppc+yIK79HLI7CwRs1R4iopDek4FC58IqHSLT3K1XHGB39YCWuOuV9WMly+wksHRJcSLcw==" + "version": "11.1.0", + "resolved": "https://registry.npmjs.org/rescript/-/rescript-11.1.0.tgz", + "integrity": "sha512-9la2Dv+ACylQ77I8s4spPu1JnLZXbH5WgxcLHLLUBWgFFSiv0wXqgzWztrBIZqwFgVX5BYcwldUqUVcEzdCyHg==" }, "scheduler": { "version": "0.23.0", diff --git a/analysis/tests/package.json b/analysis/tests/package.json index 3b96b9bd8..c34977ca6 100644 --- a/analysis/tests/package.json +++ b/analysis/tests/package.json @@ -8,6 +8,6 @@ "@rescript/react": "0.12.0" }, "dependencies": { - "rescript": "11.1.0-rc.2" + "rescript": "^11.1.0" } } From c89ff33740477b57f45b3953d5ff3bf72c5cdb16 Mon Sep 17 00:00:00 2001 From: Pedro Castro Date: Tue, 23 Apr 2024 15:07:57 -0300 Subject: [PATCH 3/3] update tests --- analysis/tests/src/expected/CompletionResolve.res.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/analysis/tests/src/expected/CompletionResolve.res.txt b/analysis/tests/src/expected/CompletionResolve.res.txt index 22fdcd689..d0492d217 100644 --- a/analysis/tests/src/expected/CompletionResolve.res.txt +++ b/analysis/tests/src/expected/CompletionResolve.res.txt @@ -1,5 +1,5 @@ Completion resolve: Belt_Array -"\nUtililites for `Array` functions.\n\n### Note about index syntax\n\nCode like `arr[0]` does *not* compile to JavaScript `arr[0]`. Reason transforms\nthe `[]` index syntax into a function: `Array.get(arr, 0)`. By default, this\nuses the default standard library's `Array.get` function, which may raise an\nexception if the index isn't found. If you `open Belt`, it will use the\n`Belt.Array.get` function which returns options instead of raising exceptions. \n[See this for more information](../belt.mdx#array-access-runtime-safety).\n" +"\nUtilities for `Array` functions.\n\n### Note about index syntax\n\nCode like `arr[0]` does *not* compile to JavaScript `arr[0]`. Reason transforms\nthe `[]` index syntax into a function: `Array.get(arr, 0)`. By default, this\nuses the default standard library's `Array.get` function, which may raise an\nexception if the index isn't found. If you `open Belt`, it will use the\n`Belt.Array.get` function which returns options instead of raising exceptions. \n[See this for more information](../belt.mdx#array-access-runtime-safety).\n" Completion resolve: ModuleStuff " This is a top level module doc. "