Kaynağa Gözat

fix: replace assert import attribute with `with` keyword

Sv443 6 ay önce
ebeveyn
işleme
d37d9dbca6
2 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 1 1
      test/TestScript
  2. 1 1
      tools/post-build-global.mts

+ 1 - 1
test/TestScript

@@ -1 +1 @@
-Subproject commit 9275eeeb8e28a469a0e4796a7d0d9441c865f80f
+Subproject commit 271bee745497dc9a34fbc834f73b2a79791a9a09

+ 1 - 1
tools/post-build-global.mts

@@ -1,6 +1,6 @@
 import { access, constants as fsconstants, readFile, writeFile } from "node:fs/promises";
 import { resolve } from "node:path";
-import pkg from "../package.json" assert { type: "json" };
+import pkg from "../package.json" with { type: "json" };
 
 const { exit } = process;