File tree Expand file tree Collapse file tree 2 files changed +17
-2
lines changed Expand file tree Collapse file tree 2 files changed +17
-2
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,12 @@ Custom error messages in JSON-Schema for Ajv validator
88[ ![ Coverage Status] ( https://coveralls.io/repos/github/ajv-validator/ajv-errors/badge.svg?branch=master )] ( https://coveralls.io/github/ajv-validator/ajv-errors?branch=master )
99[ ![ Gitter] ( https://img.shields.io/gitter/room/ajv-validator/ajv.svg )] ( https://gitter.im/ajv-validator/ajv )
1010
11+ ** Please note**
12+
13+ ajv-errors v2-beta supports [ ajv v7-beta] ( https://github.com/ajv-validator/ajv ) .
14+
15+ If you are using ajv v6, you should use [ ajv-errors v1] ( https://github.com/ajv-validator/ajv-errors/tree/v1 )
16+
1117## Contents
1218
1319- [ Install] ( #install )
@@ -23,6 +29,14 @@ Custom error messages in JSON-Schema for Ajv validator
2329
2430## Install
2531
32+ v2-beta:
33+
34+ ```
35+ npm install ajv-errors@beta
36+ ```
37+
38+ v1:
39+
2640```
2741npm install ajv-errors
2842```
Original file line number Diff line number Diff line change 11{
22 "name" : " ajv-errors" ,
3- "version" : " 1 .0.1 " ,
3+ "version" : " 2 .0.0-beta.0 " ,
44 "description" : " Custom error messages in JSON-Schema for Ajv validator" ,
55 "main" : " dist/index.js" ,
66 "types" : " dist/index.d.ts" ,
77 "files" : [
8- " lib"
8+ " src" ,
9+ " dist"
910 ],
1011 "scripts" : {
1112 "build" : " rm -rf dist && tsc" ,
You can’t perform that action at this time.
0 commit comments