Skip to content

Commit

Permalink
Use Node.js attributes instead of import assertions (removed on v22)
Browse files Browse the repository at this point in the history
See: https://stackoverflow.com/a/78876692
Signed-off-by: Juan Cruz Viotti <[email protected]>
  • Loading branch information
jviotti committed Aug 27, 2024
1 parent cb1d849 commit 3d754fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion implementations/ajv/main.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Ajv from 'ajv';
import draft4schema from 'ajv/lib/refs/json-schema-draft-04.json' assert { type: 'json' };
import draft4schema from 'ajv/lib/refs/json-schema-draft-04.json' with { type: 'json' };
import fs from 'fs';
import readline from 'readline';
import { performance } from 'perf_hooks';
Expand Down

0 comments on commit 3d754fe

Please sign in to comment.