LibJS: Remove support for the "assert" keyword for import attributes

This was removed from the spec some time ago. See:
https://github.com/tc39/proposal-import-attributes/commit/14286bb
This commit is contained in:
Timothy Flynn
2025-01-20 12:07:29 -05:00
committed by Andreas Kling
parent 47ba231a9b
commit b64a355a30
Notes: github-actions[bot] 2025-01-21 13:59:26 +00:00
7 changed files with 14 additions and 31 deletions

View File

@@ -4,7 +4,7 @@ describe("basic behavior", () => {
let error = null;
let result = null;
import("./json-module.json", { assert: { type: "json" } })
import("./json-module.json", { with: { type: "json" } })
.then(jsonObj => {
passed = true;
result = jsonObj;