From: inottn Date: Tue, 18 Feb 2025 00:18:34 +0000 (+0800) Subject: fix(ci): use `with` instead of `assert` syntax (#12901) X-Git-Tag: v3.5.14~76 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c8dd94ef9fe33f72732e7d9ec52b8e72918df8f;p=thirdparty%2Fvuejs%2Fcore.git fix(ci): use `with` instead of `assert` syntax (#12901) --- diff --git a/scripts/size-report.js b/scripts/size-report.js index f92577d0d1..47b25bb830 100644 --- a/scripts/size-report.js +++ b/scripts/size-report.js @@ -111,7 +111,7 @@ async function renderUsages() { */ async function importJSON(filePath) { if (!existsSync(filePath)) return undefined - return (await import(filePath, { assert: { type: 'json' } })).default + return (await import(filePath, { with: { type: 'json' } })).default } /**