Skip to content

Commit

Permalink
fix: deps
Browse files Browse the repository at this point in the history
Temporary disable ajv-merge-patch to suppress the rain
of CVE warning noise
  • Loading branch information
kirillgroshkov committed Dec 18, 2023
1 parent c3e9c27 commit 4649988
Show file tree
Hide file tree
Showing 3 changed files with 567 additions and 551 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
"ajv": "^8.6.2",
"ajv-formats": "^2.1.0",
"ajv-keywords": "^5.0.0",
"ajv-merge-patch": "^5.0.1",
"binary-split": "^1.0.5",
"chalk": "^4.0.0",
"debug": "^4.1.1",
Expand Down
3 changes: 2 additions & 1 deletion src/validation/ajv/getAjv.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ export function getAjv(opt?: Options): Ajv {

// Adds $merge, $patch keywords
// https://github.com/ajv-validator/ajv-merge-patch
require('ajv-merge-patch')(ajv)
// Kirill: temporarily disabled, as it creates a noise of CVE warnings
// require('ajv-merge-patch')(ajv)

return ajv
}
Expand Down
Loading

0 comments on commit 4649988

Please sign in to comment.