Vitaliy Filippov
|
b9369ed663
|
Do not coerce nulls to strings and numbers without explicit option
|
2019-10-24 20:24:20 +03:00 |
Christian Pillsbury
|
382c2b9ed1
|
Issue #1061 - Update time and date-time format definitions to support two digit and colon-less variants of timezone offset. Add tests. Update test eslint to include global after function.
|
2019-09-10 08:34:05 -05:00 |
Evgeny Poberezkin
|
53b5682cb7
|
fix: the unknown keyword in the schema without known keywords inside compound schema (e.g. anyOf) is ignored with strictKeywords option
|
2019-07-13 21:38:44 +01:00 |
vanessa
|
c3093bbd6a
|
Add "empty" to useDefaults Option type definition (#1020)
|
2019-07-05 22:22:00 +01:00 |
Evgeny Poberezkin
|
ab841b462e
|
fix: addKeyword and schema without ID, closes #1001
|
2019-04-27 10:32:39 +01:00 |
ƇʘƁ̆ąƇ́
|
6be5ff65f9
|
fix(types): add strictKeywords to Options interface (#975)
|
2019-04-08 17:53:01 +01:00 |
Evgeny Poberezkin
|
38d1acddad
|
refactor: strictDefaults option
|
2019-03-03 10:54:16 +00:00 |
Evgeny Poberezkin
|
e993bd6b4e
|
feat: strictKeywords option to report unknown keywords, closes #781
|
2019-03-03 10:49:16 +00:00 |
Evgeny Poberezkin
|
88199d569c
|
rename option to strictDefaults
|
2019-03-03 09:16:00 +00:00 |
Teddy Katz
|
c081061a1e
|
feat: invalidDefaults option to warn when defaults are ignored, fixes #957
|
2019-03-01 02:19:12 -05:00 |
Evgeny Poberezkin
|
6831b68f64
|
feat: extract method to validate custom keyword definition
|
2019-02-22 11:16:30 +00:00 |
Evgeny Poberezkin
|
187e0212bd
|
fix: removeAdditional option breaking custom keywords, closes #955, closes epoberezkin/ajv-keywords#91
|
2019-02-22 10:52:52 +00:00 |
Evgeny Poberezkin
|
fe7f91d06b
|
fix: incorrect custom keyword definition schema, #941
|
2019-02-10 08:39:18 +00:00 |
Evgeny Poberezkin
|
7079aed195
|
remove property in custom keyword definition schema
|
2019-02-09 22:11:59 +00:00 |
Evgeny Poberezkin
|
47c8fc90ad
|
refactor: use json schema to validate custom keyword definition
|
2019-02-09 21:56:28 +00:00 |
Evgeny Poberezkin
|
33d1ac4682
|
style fix
|
2019-02-09 20:35:12 +00:00 |
Evgeny Poberezkin
|
fdfbd4402a
|
feat: support for required dependencies of custom keyword (keywords that must be present in the same schema)
|
2019-02-09 20:28:33 +00:00 |
Evgeny Poberezkin
|
ac2221a4b5
|
style fix
|
2019-02-09 11:40:40 +00:00 |
Mathew Polzin
|
28c85ada05
|
Allow nullable property of JSON Schema object to be false as well as true. Remove test that asserted failure if nullable was false.
|
2019-02-06 23:34:14 -08:00 |
Evgeny Poberezkin
|
aced0cc56e
|
refactor: security meta-schema
|
2019-02-02 19:46:59 +00:00 |
Evgeny Poberezkin
|
4031b6ac04
|
test: schema security
|
2019-02-02 19:26:59 +00:00 |
Evgeny Poberezkin
|
334071a380
|
docs: security considerations
|
2019-02-02 18:31:00 +00:00 |
Evgeny Poberezkin
|
95edb4958d
|
useDefaults: "empty" (#916)
* test: new value "empty" for useDefaults option
* feat: option useDefaults: "empty", closes #912
|
2019-01-03 21:47:28 +00:00 |
Evgeny Poberezkin
|
b65d61aa52
|
remove generic argument type
|
2019-01-03 20:34:39 +00:00 |
Simon Chan
|
729f15c4b9
|
Merge branch 'master' into master
|
2019-01-03 14:49:07 +08:00 |
Evgeny Poberezkin
|
0b57989f36
|
docs: equal.js file is needed, closes #890
|
2018-12-28 13:02:56 +00:00 |
Simon Chan
|
3f686531c9
|
Merge branch 'master' into master
|
2018-12-17 10:26:48 +08:00 |
Evgeny Poberezkin
|
223058beb0
|
refactor: remove uri format change during schema validation, closes #906
|
2018-12-16 20:46:30 +00:00 |
Xing Du
|
8f24e34158
|
Replace lib/refs/json-schema-draft-04.json with a copy of the official one
And revert the previous README change
|
2018-12-15 19:11:31 -08:00 |
Simon Chan
|
ad434b236d
|
docs: fix type definition for errors
|
2018-12-13 17:57:52 +08:00 |
Evgeny Poberezkin
|
bf0fc0301e
|
Revert "refactor: remove "equal" file"
This reverts commit f9fcc504a4 .
|
2018-11-29 08:51:17 +00:00 |
Evgeny Poberezkin
|
f9fcc504a4
|
refactor: remove "equal" file
|
2018-11-11 11:59:09 +00:00 |
Evgeny Poberezkin
|
f5937d93a9
|
remove old draft-6 mentions
|
2018-11-11 11:49:20 +00:00 |
Evgeny Poberezkin
|
d298a4802d
|
fix types
|
2018-11-11 11:06:11 +00:00 |
Evgeny Poberezkin
|
c8a32771e4
|
docs: type definition for serialize option, #880
|
2018-11-10 21:28:50 +00:00 |
Evgeny Poberezkin
|
f2010f40f2
|
feat: keyword "nullable", #486, closes epoberezkin/ajv-keywords#32
|
2018-11-10 21:03:51 +00:00 |
Evgeny Poberezkin
|
2acd5f3675
|
Merge pull request #865 from jsdevel/adding-logger-to-ts
Adding logger to typescript Options declaration.
|
2018-10-28 22:33:55 +00:00 |
Nathan Woltman
|
8d769b6891
|
Remove duplicated character in email regex
The `'` character appears twice in a character class part of the "full" email regex, which is redundant. This removes on of the `'`s.
|
2018-10-15 20:32:00 -04:00 |
jsdevel
|
ae684165ee
|
Adding logger to typescript Options declaration.
|
2018-10-02 21:43:53 -07:00 |
Evgeny Poberezkin
|
c1f929bcc8
|
fix: propertyNames with empty schema, closes #861
|
2018-09-23 11:33:11 +01:00 |
billytrend
|
f01e92a15a
|
Fixes grammar
|
2018-09-21 15:56:02 -07:00 |
Evgeny Poberezkin
|
cd53f365e4
|
fix types
|
2018-08-17 10:50:08 +01:00 |
Jonathan Stewmon
|
4865e6e894
|
support resolving internal refs from macro keywords
|
2018-06-25 15:31:37 -05:00 |
Evgeny Poberezkin
|
32651b5cfd
|
fix: compileAsync schema with multiple remote schemas and some recursive, fixes #801
|
2018-06-10 10:58:30 +01:00 |
Vadim Cebaniuc
|
5ebfe2c1f4
|
passContext in recursive $ref
|
2018-04-30 21:56:55 +03:00 |
Jason Walton
|
dfaee84f19
|
Fix typescript defs to allow numeric validators.
|
2018-04-18 15:13:21 -04:00 |
Evgeny Poberezkin
|
ca7fb83624
|
Merge branch 'fix/resolve-uri' of https://github.com/sondrele/ajv into sondrele-fix/resolve-uri
|
2018-03-24 23:01:01 +00:00 |
Evgeny Poberezkin
|
72b1cbbf22
|
fix: option v5 used instead of $data
|
2018-03-24 22:35:35 +00:00 |
Evgeny Poberezkin
|
cad7dc94e8
|
fix: check only own properties of schema, change property limit for equility check from 5 to 8, fixes #743
|
2018-03-24 22:34:16 +00:00 |
Stan Goldmann
|
15e8d62b86
|
Replace `Thenable` with official `PromiseLike` declaration
|
2018-03-05 12:36:28 +01:00 |