Skip to content

Commit 76eb3ac

Browse files
chore: update @types/node to v25 (#380)
1 parent 30de187 commit 76eb3ac

File tree

5 files changed

+12
-11
lines changed

5 files changed

+12
-11
lines changed

package-lock.json

Lines changed: 8 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"@robot-inventor/tsconfig-base": "^6.0.0",
4242
"@rspack/cli": "^1.1.0",
4343
"@rspack/core": "^1.1.0",
44-
"@types/node": "^24.2.1",
44+
"@types/node": "^25.0.2",
4545
"cross-env": "^10.0.0",
4646
"fork-ts-checker-webpack-plugin": "^9.0.2",
4747
"typescript": "^5.9.2"

script/addUserScriptComment.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import fs from "fs";
1+
import fs from "node:fs";
22
import packageJson from "../package.json" with { type: "json" };
33

44
const userScript = fs.readFileSync("./index.user.js", "utf8");

script/copyManifest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import fs from "fs";
1+
import fs from "node:fs";
22
import manifestV2 from "../src/manifest/v2.json" with { type: "json" };
33
import manifestV3 from "../src/manifest/v3.json" with { type: "json" };
44
import packageJson from "../package.json" with { type: "json" };

script/package.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { execSync } from "child_process";
1+
import { execSync } from "node:child_process";
22

33
// eslint-disable-next-line no-console
44
console.log("Building...");

0 commit comments

Comments
 (0)