Skip to content

Commit

Permalink
update ajv/ajv-formats versions, import fast-deep-equal directly
Browse files Browse the repository at this point in the history
  • Loading branch information
epoberezkin committed Mar 23, 2021
1 parent 5665c70 commit ed047da
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 6 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,11 @@
"url": "https://github.com/epoberezkin/ajv-keywords/issues"
},
"homepage": "https://github.com/epoberezkin/ajv-keywords#readme",
"dependencies": {
"fast-deep-equal": "^3.1.3"
},
"peerDependencies": {
"ajv": "^8.0.0-beta.0"
"ajv": "^8.0.0-beta.4"
},
"devDependencies": {
"@ajv-validator/config": "^0.2.3",
Expand All @@ -45,8 +48,8 @@
"@types/uuid": "^8.3.0",
"@typescript-eslint/eslint-plugin": "^4.4.1",
"@typescript-eslint/parser": "^4.4.1",
"ajv": "^8.0.0-beta.0",
"ajv-formats": "^1.5.1",
"ajv": "^8.0.0-beta.4",
"ajv-formats": "^2.0.0-beta.2",
"chai": "^4.2.0",
"eslint": "^7.2.0",
"eslint-config-prettier": "^7.0.0",
Expand Down
2 changes: 1 addition & 1 deletion src/definitions/uniqueItemProperties.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type {FuncKeywordDefinition, AnySchemaObject} from "ajv"
import equal from "ajv/dist/compile/equal"
import equal = require("fast-deep-equal")

const SCALAR_TYPES = ["number", "integer", "string", "boolean", "null"]

Expand Down

0 comments on commit ed047da

Please sign in to comment.