Skip to content

Commit

Permalink
fix: use node: prefix for node imports
Browse files Browse the repository at this point in the history
  • Loading branch information
arlac77 committed Mar 20, 2024
1 parent 28c389a commit c5ebec1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions src/expander.mjs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import os from "os";
import { readFile } from "fs/promises";
import { createCipheriv, createDecipheriv, scryptSync, randomBytes } from "crypto";
import { dirname, resolve } from "path";
import { spawn } from "child_process";
import os from "node:os";
import { readFile } from "node:fs/promises";
import { createCipheriv, createDecipheriv, scryptSync, randomBytes } from "node:crypto";
import { dirname, resolve } from "mode:path";
import { spawn } from "node:child_process";
import { createContext } from "expression-expander";
import { ConfigParser } from "./grammar.mjs";
import { createValue, merge } from "./util.mjs";
Expand Down
2 changes: 1 addition & 1 deletion tests/basics-ava.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import test from "ava";
import { arch } from "os";
import { arch } from "node:os";
import { expand, createValue } from "config-expander";

const basedir = new URL(".", import.meta.url).pathname;
Expand Down
4 changes: 2 additions & 2 deletions tests/files-ava.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import test from "ava";
import { join } from "path";
import { readFileSync } from "fs";
import { join } from "node:path";
import { readFileSync } from "node:fs";
import { expand } from "config-expander";

const basedir = new URL(".", import.meta.url).pathname;
Expand Down

0 comments on commit c5ebec1

Please sign in to comment.