Skip to content

Commit

Permalink
Switch from JSON Schema draft-07 to draft-2020-12
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Jun 14, 2024
1 parent 29b68a8 commit 3fae6f2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions source/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {
} from 'dot-prop';
import envPaths from 'env-paths';
import {writeFileSync as atomicWriteFileSync} from 'atomically';
import AjvModule, {type ValidateFunction as AjvValidateFunction} from 'ajv';
import {Ajv2020 as Ajv, type ValidateFunction as AjvValidateFunction} from 'ajv/dist/2020.js';
import ajvFormatsModule from 'ajv-formats';
import debounceFn from 'debounce-fn';
import semver from 'semver';
Expand All @@ -35,7 +35,6 @@ import {
} from './types.js';

// FIXME: https://github.com/ajv-validator/ajv/issues/2047
const Ajv = AjvModule.default;
const ajvFormats = ajvFormatsModule.default;

const encryptionAlgorithm = 'aes-256-cbc';
Expand Down

0 comments on commit 3fae6f2

Please sign in to comment.