Skip to content

Commit

Permalink
downgraded to ajv keywords 3.5.2 ajv-validator/ajv-keywords#164 (comm…
Browse files Browse the repository at this point in the history
  • Loading branch information
matt212 committed Mar 31, 2021
1 parent df54e70 commit c90df3c
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 201 deletions.
6 changes: 3 additions & 3 deletions app/utils/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ const path = require("path");

const fastify = require("fastify")({
logger: { prettyPrint: true, level: "debug", prettifier: pinoInspector },
// ajv: {
// plugins: [[require("ajv-keywords"), ["transform"]]],
// },
ajv: {
plugins: [[require("ajv-keywords"), ["transform"]]],
},
});
fastify.register(require("fastify-multipart"));

Expand Down
221 changes: 25 additions & 196 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
"test": "test"
},
"dependencies": {
"ajv": "^8.0.1",
"ajv-keywords": "^5.0.0",
"ajv-keywords": "^3.5.2",
"async": "^3.2.0",
"autocannon": "^7.0.5",
"better-queue": "^3.8.10",
Expand Down

0 comments on commit c90df3c

Please sign in to comment.