Skip to content

Commit 9328e57

Browse files
author
Edward Smit
authored
Merge pull request #64 from sbeekhuis/feature/maintenance
Feature/maintenance
2 parents 82939b7 + a53c93e commit 9328e57

File tree

5 files changed

+4022
-12
lines changed

5 files changed

+4022
-12
lines changed

.travis.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
language: node_js
22
node_js:
3-
- 6 # to be removed 2019-04-01
4-
- 8 # to be removed 2019-12-31
5-
- 9 # to be removed 2018-06-30
3+
- 8 # LTS to be removed 2019-12-31
4+
- 10 # LTS to be removed 2021-04-30
5+
- 11 # to be removed 2019-06-01
6+
- 12 # future LTS to be removed 2022-04-30
67
- lts/* # safety net; don't remove
78
- node # safety net; don't remove
89
deploy:

MAINTAINERS

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
bsander
21
edwardsmit
3-
JrSchild
42
keithamus
53
roelandvanbatenburg
6-
thabemmz

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,15 @@ For general help with json-schema see this excellent [guide](http://spacetelesco
1616

1717
JSON Schema validation is done by [Tiny Validator tv4](https://github.com/geraintluff/tv4).
1818

19+
It seems that tv4 is not actively developed anymore, nor does it support versions of JSON schema after draft-04.
20+
However this chai plugin will use tv4 as its backend for the forseeable future. If you want newer versions of the JSON-schema or more performance you could look at using
21+
[ajv](https://github.com/epoberezkin/ajv) in conjunction with [chai-json-schema-ajv](https://github.com/up9cloud/chai-json-schema-ajv)
22+
1923
The assertion will fail if a schema use a `$ref` to a schema that is not added before the assertion is called. Use `chai.tv4.addSchema(uri, schema)` to preset schemas.
2024

2125
JSON Schema's main use-case is validating JSON documents and API responses, but it is also a powerful way to describe and validate *any* JavaScript value or object.
2226

27+
2328
## Usage
2429

2530

@@ -216,7 +221,7 @@ before(function (done) {
216221
````
217222

218223
## History
219-
See [Releases](https://github.com/chaijs/chai-json-schema/releases).
224+
See [Releases](https://github.com/chaijs/chai-json-schema/releases).
220225

221226
## Build
222227

0 commit comments

Comments
 (0)