Skip to content

Commit 8b41b54

Browse files
committed
fix: as of Node 22, JSON imports happen with with
See nodejs/node#51622
1 parent 2d090ce commit 8b41b54

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/validator/index.ts

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import Ajv from "ajv";
22
import addFormats from "ajv-formats";
3-
import projectSchema from "../resources/schema/project.json" assert { type: "json" };
4-
import collectionSchema from "../resources/schema/collection.json" assert { type: "json" };
5-
import urlSchema from "../resources/schema/url.json" assert { type: "json" };
6-
import socialProfileSchema from "../resources/schema/social-profile.json" assert { type: "json" };
7-
import blockchainAddressSchema from "../resources/schema/blockchain-address.json" assert { type: "json" };
3+
import projectSchema from "../resources/schema/project.json" with { type: "json" };
4+
import collectionSchema from "../resources/schema/collection.json" with { type: "json" };
5+
import urlSchema from "../resources/schema/url.json" with { type: "json" };
6+
import socialProfileSchema from "../resources/schema/social-profile.json" with { type: "json" };
7+
import blockchainAddressSchema from "../resources/schema/blockchain-address.json" with { type: "json" };
88
import { Project } from "../types/project.js";
99
import { Collection } from "../types/collection.js";
1010
import { URL } from "../types/url.js";

0 commit comments

Comments
 (0)