Skip to content

Commit

Permalink
8.0.0-beta.3
Browse files Browse the repository at this point in the history
  • Loading branch information
epoberezkin committed Mar 21, 2021
1 parent abf7ce8 commit d80b6cd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .tonic_example.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@ const Ajv = require("ajv")
const ajv = new Ajv({allErrors: true})

const schema = {
type: "object",
properties: {
foo: {type: "string"},
bar: {type: "number", maximum: 3},
},
required: ["foo", "bar"],
additionalProperties: false,
}

const validate = ajv.compile(schema)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ajv",
"version": "8.0.0-beta.2",
"version": "8.0.0-beta.3",
"description": "Another JSON Schema Validator",
"main": "dist/ajv.js",
"types": "dist/ajv.d.ts",
Expand Down

0 comments on commit d80b6cd

Please sign in to comment.