diff options
| author | Asher Gomez <ashersaupingomez@gmail.com> | 2024-04-02 12:57:05 +1100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-02 12:57:05 +1100 |
| commit | 858abbe745aa8188654120d4999ab983b014c197 (patch) | |
| tree | 85b314b1e8166aaa9efb2ba1f416abfa00f0b7a8 /tools/node_compat | |
| parent | b0c1bd82a85ddb54ffe717a2c158c33c0be99fe8 (diff) | |
chore: update `std` submodule to 0.221.0 (#23112)
Diffstat (limited to 'tools/node_compat')
| -rwxr-xr-x | tools/node_compat/setup.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/node_compat/setup.ts b/tools/node_compat/setup.ts index 50dba393c..1d685f543 100755 --- a/tools/node_compat/setup.ts +++ b/tools/node_compat/setup.ts @@ -4,11 +4,11 @@ /** This copies the test files according to the config file `tests/node_compat/config.jsonc` */ import { walk } from "@std/fs/walk.ts"; -import { sep } from "@std/path/mod.ts"; +import { SEPARATOR } from "@std/path/constants.ts"; import { ensureFile } from "@std/fs/ensure_file.ts"; -import { writeAll } from "@std/streams/write_all.ts"; +import { writeAll } from "@std/io/write_all.ts"; import { withoutAll } from "@std/collections/without_all.ts"; -import { relative } from "@std/path/posix.ts"; +import { relative } from "@std/path/posix/relative.ts"; import { config, ignoreList } from "../../tests/node_compat/common.ts"; @@ -110,7 +110,7 @@ async function copyTests() { console.log("Copying test files..."); for await (const entry of walk(VENDORED_NODE_TEST, { skip: ignoreList })) { - const fragments = entry.path.split(sep); + const fragments = entry.path.split(SEPARATOR); // suite is the directory name after test/. For example, if the file is // "node_compat/node/test/fixtures/policy/main.mjs" // then suite is "fixtures/policy" |
