From e5a8ee68650728ff8cef2e7b4629a735a5737f45 Mon Sep 17 00:00:00 2001 From: Carl-Erik Kopseng Date: Wed, 11 Sep 2024 07:19:59 +0200 Subject: [PATCH] Remove deprecated 'assert' import syntax in favor of 'with' fixes #35825 --- scripts/up-to-date-check.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/up-to-date-check.js b/scripts/up-to-date-check.js index 342fb1a14c7b632..a1928b8b0ed363e 100644 --- a/scripts/up-to-date-check.js +++ b/scripts/up-to-date-check.js @@ -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;