Skip to content

Commit

Permalink
Remove deprecated 'assert' import syntax in favor of 'with'
Browse files Browse the repository at this point in the history
fixes #35825
  • Loading branch information
fatso83 committed Sep 11, 2024
1 parent 315e53c commit a49aeb3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/up-to-date-check.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import yariPackageJson from "@mdn/yari/package.json" assert { type: "json" };
import thisPackageJson from "../package.json" assert { type: "json" };
import yariPackageJson from "@mdn/yari/package.json" with { type: "json" };
import thisPackageJson from "../package.json" with { type: "json" };

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

0 comments on commit a49aeb3

Please sign in to comment.