diff --git a/script/make-executable.js b/script/make-executable.js index a87e34670c..f551ed9737 100644 --- a/script/make-executable.js +++ b/script/make-executable.js @@ -1,8 +1,8 @@ import fs from "node:fs"; import path from "node:path"; import { fileURLToPath } from "node:url"; -// TODO: This synta changes with node 21: assert { type: "json" } -> with { type: "json" } -import pkg from "../package.json" assert { type: "json" }; + +import pkg from "../package.json" with { type: "json" }; const __dirname = path.dirname(fileURLToPath(import.meta.url));