diff --git a/implementations/js-hyperjump/bowtie_hyperjump.js b/implementations/js-hyperjump/bowtie_hyperjump.js index e81626030..4873424d2 100644 --- a/implementations/js-hyperjump/bowtie_hyperjump.js +++ b/implementations/js-hyperjump/bowtie_hyperjump.js @@ -10,7 +10,7 @@ import "@hyperjump/json-schema/draft-2019-09"; import "@hyperjump/json-schema/draft-07"; import "@hyperjump/json-schema/draft-06"; import "@hyperjump/json-schema/draft-04"; -import packageJson from "./node_modules/@hyperjump/json-schema/package.json" assert { type: "json" }; +import packageJson from "./node_modules/@hyperjump/json-schema/package.json" with { type: "json" }; const hyperjump_version = packageJson.version; diff --git a/implementations/js-jsonschema/bowtie_jsonschema.js b/implementations/js-jsonschema/bowtie_jsonschema.js index 0d76b48d3..9708dbed9 100644 --- a/implementations/js-jsonschema/bowtie_jsonschema.js +++ b/implementations/js-jsonschema/bowtie_jsonschema.js @@ -2,12 +2,12 @@ import readline from "readline/promises"; import os from "os"; import process from "process"; import { Validator } from "jsonschema"; -import packageJson from "./node_modules/jsonschema/package.json" assert { type: "json" }; +import packageJson from "./node_modules/jsonschema/package.json" with { type: "json" }; -import draft3 from "json-metaschema/draft-03-schema.json" assert { type: "json" }; -import draft4 from "json-metaschema/draft-04-schema.json" assert { type: "json" }; -import draft6 from "json-metaschema/draft-06-schema.json" assert { type: "json" }; -import draft7 from "json-metaschema/draft-07-schema.json" assert { type: "json" }; +import draft3 from "json-metaschema/draft-03-schema.json" with { type: "json" }; +import draft4 from "json-metaschema/draft-04-schema.json" with { type: "json" }; +import draft6 from "json-metaschema/draft-06-schema.json" with { type: "json" }; +import draft7 from "json-metaschema/draft-07-schema.json" with { type: "json" }; const jsonschema_version = packageJson.version;