Skip to content

Commit a49aeb3

Browse files
committed
Remove deprecated 'assert' import syntax in favor of 'with'
fixes mdn#35825
1 parent 315e53c commit a49aeb3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/up-to-date-check.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import yariPackageJson from "@mdn/yari/package.json" assert { type: "json" };
2-
import thisPackageJson from "../package.json" assert { type: "json" };
1+
import yariPackageJson from "@mdn/yari/package.json" with { type: "json" };
2+
import thisPackageJson from "../package.json" with { type: "json" };
33

44
const availableYariVersion = thisPackageJson.dependencies["@mdn/yari"];
55
const installedYariVersion = yariPackageJson.version;

0 commit comments

Comments
 (0)