We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb9bc52 commit f601da7Copy full SHA for f601da7
script/make-executable.js
@@ -1,8 +1,8 @@
1
import fs from "node:fs";
2
import path from "node:path";
3
import { fileURLToPath } from "node:url";
4
-// TODO: This synta changes with node 21: assert { type: "json" } -> with { type: "json" }
5
-import pkg from "../package.json" assert { type: "json" };
+
+import pkg from "../package.json" with { type: "json" };
6
7
const __dirname = path.dirname(fileURLToPath(import.meta.url));
8
0 commit comments