Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/ajv-validator/ajv
The fastest JSON schema Validator. Supports JSON Schema draft-04/06/07/2019-09/2020-12 and JSON Type Definition (RFC8927)
https://github.com/ajv-validator/ajv
refactor: use shared external scope for all functions
d0820fc6309c078a69803f8cd377ad1886ca3b5c authored over 4 years ago
d0820fc6309c078a69803f8cd377ad1886ca3b5c authored over 4 years ago
global scope of used values [WIP]
56b5177e9a8a4cae7f30e6f4e3bc2801470cd1c2 authored over 4 years ago
56b5177e9a8a4cae7f30e6f4e3bc2801470cd1c2 authored over 4 years ago
Merge pull request #1273 from ajv-validator/v7-alpha-typescript
V7 alpha typescript
95df4eac97fb558ac834ce7550ba4b4665a1fa37 authored over 4 years ago
refactor: tests to typescript
ddc035bc823beef6fe1fb7d207c8f87caa9573e0 authored over 4 years ago
ddc035bc823beef6fe1fb7d207c8f87caa9573e0 authored over 4 years ago
refactor: remove private fields
01b93fec1dcb4b39e3337c0379206c7926eaabf2 authored over 4 years ago
01b93fec1dcb4b39e3337c0379206c7926eaabf2 authored over 4 years ago
hint to install submodule when test is run
5f73aae5849bba8cf286f64f8afc5affceb12c58 authored over 4 years ago
5f73aae5849bba8cf286f64f8afc5affceb12c58 authored over 4 years ago
test: run full test only on travis
3d8d46f0a2c4288f98d5e872461f79ed34f7a647 authored over 4 years ago
3d8d46f0a2c4288f98d5e872461f79ed34f7a647 authored over 4 years ago
refactor: make CodeGen normal export
773a0fafd7c2dfe7515f4f08cda08fde0328bec8 authored over 4 years ago
773a0fafd7c2dfe7515f4f08cda08fde0328bec8 authored over 4 years ago
tests: ts tests, replace require-globify and brfs with jsontests script, remove vars from tests
b156e060287b09e1ec1012509114e76703999085 authored over 4 years ago
b156e060287b09e1ec1012509114e76703999085 authored over 4 years ago
Merge branch 'refactor-opt-object-type' of github.com:b4h0-c4t/ajv into refactor-opt-object-type
a3c7ebab222e4cce07b5e30ebcbb809da7f934e8 authored over 4 years ago
a3c7ebab222e4cce07b5e30ebcbb809da7f934e8 authored over 4 years ago
change _opts type to Options.
996333166f991380d4e2d95bc147d0e6e7a33fb6 authored over 4 years ago
996333166f991380d4e2d95bc147d0e6e7a33fb6 authored over 4 years ago
eslint: enable no-control-regex
a0d93890b553fdd0541ed7b2d46bda037ada877c authored over 4 years ago
a0d93890b553fdd0541ed7b2d46bda037ada877c authored over 4 years ago
eslint: enable no-var (excluding tests)
3e1694fc568c2256ebbe874aa142a68f54cbb401 authored over 4 years ago
3e1694fc568c2256ebbe874aa142a68f54cbb401 authored over 4 years ago
@typescript-eslint: enable no-empty-interface, no-explicit-any, no-unsafe-call, no-unsafe-return
4f47291db26664e0609abbaf1ffb9321e3216caa authored over 4 years ago
4f47291db26664e0609abbaf1ffb9321e3216caa authored over 4 years ago
eslint: enable @typescript-eslint/ban-types
323f8f5d4a1c7174d7cb546ddb01a41690c905de authored over 4 years ago
323f8f5d4a1c7174d7cb546ddb01a41690c905de authored over 4 years ago
enable noImplicitAny, rename interfaces, refactor
b67b15effd1766a9d15fd4bb0ea2686409eaf1d7 authored over 4 years ago
b67b15effd1766a9d15fd4bb0ea2686409eaf1d7 authored over 4 years ago
refactor: resolveRef; add missing types
7ca77d7a12cea482fad96a4e347001ab5b1e6c5c authored over 4 years ago
7ca77d7a12cea482fad96a4e347001ab5b1e6c5c authored over 4 years ago
enable noImplicitReturns
ee218155f5941612090b7f886a5c3ace36ba8ae7 authored over 4 years ago
ee218155f5941612090b7f886a5c3ace36ba8ae7 authored over 4 years ago
refactor: validate function wrapper
d61a1a507edaf7efbefd611e344fc0c173170730 authored over 4 years ago
d61a1a507edaf7efbefd611e344fc0c173170730 authored over 4 years ago
chore: update json-schema-traverse to include types
c93f7a08480a5fcc92e754b4fc3bc200d64322c5 authored over 4 years ago
c93f7a08480a5fcc92e754b4fc3bc200d64322c5 authored over 4 years ago
refactor: resolve getSchemaRefs
d324d65b96432139bbd5876e42fe2a0b77fa4dfb authored over 4 years ago
d324d65b96432139bbd5876e42fe2a0b77fa4dfb authored over 4 years ago
refactor: resolve
f57679e6ccb1059402954c4997f31ca53b317cdb authored over 4 years ago
f57679e6ccb1059402954c4997f31ca53b317cdb authored over 4 years ago
refactor: tracking in-progress compilations in Set
4dd9c549581bcf1f3bf1701edcfb1a6269f0c87a authored over 4 years ago
4dd9c549581bcf1f3bf1701edcfb1a6269f0c87a authored over 4 years ago
enable noImplicitThis
9041881cfef2f64d7f3d74155f335ce92c6a19e0 authored over 4 years ago
9041881cfef2f64d7f3d74155f335ce92c6a19e0 authored over 4 years ago
refactor: convert Ajv to class
1187c6ec1e03bd891ad7983ce43039e693c4f7d7 authored over 4 years ago
1187c6ec1e03bd891ad7983ce43039e693c4f7d7 authored over 4 years ago
Merge pull request #1269 from ajv-validator/v7-alpha-options
V7 alpha options
b6aec6fa1c313cf360b58f86c27d32d90b9a35e0 authored over 4 years ago
refactor: use checkStrictMode
ee65b8496894111af8cd816981d984c8141a5ae3 authored over 4 years ago
ee65b8496894111af8cd816981d984c8141a5ae3 authored over 4 years ago
docs: update options
efc63161945e8ad734a44c162f40ac50b0a6a6b2 authored over 4 years ago
efc63161945e8ad734a44c162f40ac50b0a6a6b2 authored over 4 years ago
remove transpile and async options, remove ajv-async dev dependency
58951d6acc13c190018e66eb77a1e09aff7432f1 authored over 4 years ago
58951d6acc13c190018e66eb77a1e09aff7432f1 authored over 4 years ago
docs: strict mode, closes #1258
4960c63f03a031a56a2bc84a80a5605a5290a3c6 authored over 4 years ago
4960c63f03a031a56a2bc84a80a5605a5290a3c6 authored over 4 years ago
feat(strict): "if" without "then" and "else", "then" or "else" without "if"
a8a658cac4ae7aa2acc47c368b34b57939cb394f authored over 4 years ago
a8a658cac4ae7aa2acc47c368b34b57939cb394f authored over 4 years ago
feat(strict): patterns in "patternProperties" matching "properties" are only allowed with allowMatchingProperties option
3fc3d6f145b0ab1fee5a77bd8c5d273c14c81b7c authored over 4 years ago
3fc3d6f145b0ab1fee5a77bd8c5d273c14c81b7c authored over 4 years ago
feat(strict): "if" without "then" and "else" throws or logs
3990d1cadfe468f369fe0a9b2c4cfe504e351488 authored over 4 years ago
3990d1cadfe468f369fe0a9b2c4cfe504e351488 authored over 4 years ago
feat(strict): "additionalItems" without "items" throws exception or logs warning
efb59a087f69dc1b981ce531c2e3990d872fc70b authored over 4 years ago
efb59a087f69dc1b981ce531c2e3990d872fc70b authored over 4 years ago
replace option strictNumbers with strict
8f4cf2084c84bc3176cba1b6256eaa57dc8e9bc8 authored over 4 years ago
8f4cf2084c84bc3176cba1b6256eaa57dc8e9bc8 authored over 4 years ago
replace option strictDefaults with strict (true by default)
45336658b51409fd97745ace726fa9d8a808bebd authored over 4 years ago
45336658b51409fd97745ace726fa9d8a808bebd authored over 4 years ago
replace option strictKeyword with strict (true by default)
8bab5d0965e64cbf2db5cab2930aab244f98da5b authored over 4 years ago
8bab5d0965e64cbf2db5cab2930aab244f98da5b authored over 4 years ago
remove option "nullable", support OpenAPI keyword "nullable" by default
261cb3df506f01cd8ba440172e02d404e88b366f authored over 4 years ago
261cb3df506f01cd8ba440172e02d404e88b366f authored over 4 years ago
move keywords without implementations to vocabularies
7c671ffe71d081cf4fb0470bb45d15957896542f authored over 4 years ago
7c671ffe71d081cf4fb0470bb45d15957896542f authored over 4 years ago
replace options jsonPointers: false with jsPropertySyntax: true; suppress logs during tests
231d1e5159a2ca9a99129f1e08e8f448416f375d authored over 4 years ago
231d1e5159a2ca9a99129f1e08e8f448416f375d authored over 4 years ago
deprecate option jsonPointers and change default to true
aee2c7241827a6aa26bae382dcbc612f780874b1 authored over 4 years ago
aee2c7241827a6aa26bae382dcbc612f780874b1 authored over 4 years ago
split removed/deprecated options to separate interface
f63c4e853ce2ae48154471c9c23d56c1e3c19dfd authored over 4 years ago
f63c4e853ce2ae48154471c9c23d56c1e3c19dfd authored over 4 years ago
deprecate option unicode: false
168013d0d6d03d19f1898940de800292dbf027ae authored over 4 years ago
168013d0d6d03d19f1898940de800292dbf027ae authored over 4 years ago
remove option uniqueItems, keywords is always validated if present
1648b961912d6d4887f7f40d484f99f249f53379 authored over 4 years ago
1648b961912d6d4887f7f40d484f99f249f53379 authored over 4 years ago
Merge pull request #1260 from ajv-validator/v7-alpha-unify-keywords
v7 alpha: unify keyword code generation
700b1d45abb8781ad1607838ebc92cf77c479a22 authored over 4 years ago
rename test
0068899aa7b56984542c4b45659189f53e207bdf authored over 4 years ago
0068899aa7b56984542c4b45659189f53e207bdf authored over 4 years ago
docs: user-defined keywords
d658fefbeab14ddb73d3fb7f4b98d513897f15a3 authored over 4 years ago
d658fefbeab14ddb73d3fb7f4b98d513897f15a3 authored over 4 years ago
use new addKeywords method api and keywords option in test
e675f8a29507e807c02e9cee9374862c65898562 authored over 4 years ago
e675f8a29507e807c02e9cee9374862c65898562 authored over 4 years ago
refactor: remove keyword definition meta-schema
20ca3fffe467052229a3bcbef674e699f054b407 authored over 4 years ago
20ca3fffe467052229a3bcbef674e699f054b407 authored over 4 years ago
feat: "implements" in keyword definition reserves keyword names (e.g., used by this definition)
606945cf893b8835cda5e1c4d5429da2bcaf54fa authored over 4 years ago
606945cf893b8835cda5e1c4d5429da2bcaf54fa authored over 4 years ago
browser bundle script (6 tests fail in browser), do not browserify code in schema tests
888029f27e8dcdb1dc4b7e203fac58fb361e31d4 authored over 4 years ago
888029f27e8dcdb1dc4b7e203fac58fb361e31d4 authored over 4 years ago
refactor: unify $data validation for all keywords; "const" and "multipleOf" valid with undefined
6939f9052129a74fcb02afe8692a4062d4a9422c authored over 4 years ago
6939f9052129a74fcb02afe8692a4062d4a9422c authored over 4 years ago
feat: support schemaType in all keywords, including $data; report $data error if $data schema validation fails
6210e4a5acb99c242f448c3e7d02a410f51cf9c9 authored over 4 years ago
6210e4a5acb99c242f448c3e7d02a410f51cf9c9 authored over 4 years ago
feat: optional newlines in generated code
b1befd98269a8cc937f6878d9811033b567ca8ff authored over 4 years ago
b1befd98269a8cc937f6878d9811033b567ca8ff authored over 4 years ago
feat: optional es5 code generation
d1644e6b9517178a8d5e22d4b414afa0e4cf7514 authored over 4 years ago
d1644e6b9517178a8d5e22d4b414afa0e4cf7514 authored over 4 years ago
feat: codegen forOf and forIn loops
e5e846b0fb6f1d3c8796d0388be1e663994269f6 authored over 4 years ago
e5e846b0fb6f1d3c8796d0388be1e663994269f6 authored over 4 years ago
make Code constructor private, check Name is valid identifier, rename Expr enum to Type
e7d72e98f1b542eb2d126387befbfe31d6f2e0e5 authored over 4 years ago
e7d72e98f1b542eb2d126387befbfe31d6f2e0e5 authored over 4 years ago
refactor: data type checks
a6396b2214b64c65587dea409b36efdecd4221ba authored over 4 years ago
a6396b2214b64c65587dea409b36efdecd4221ba authored over 4 years ago
improve codegen performance
694981cd899463505f1fd78675c9210de334a718 authored over 4 years ago
694981cd899463505f1fd78675c9210de334a718 authored over 4 years ago
feat: Code append
e3dd0b92139b8b1bb40ce9a6744c0460530549a6 authored over 4 years ago
e3dd0b92139b8b1bb40ce9a6744c0460530549a6 authored over 4 years ago
refactor: safe code generation
1445d212fbe4bcde01f250bc389e74d9aa2f81ff authored over 4 years ago
1445d212fbe4bcde01f250bc389e74d9aa2f81ff authored over 4 years ago
safer code generation 2
dcb9a519daad173337f1f492de23e5e7bfd7d4fc authored over 4 years ago
dcb9a519daad173337f1f492de23e5e7bfd7d4fc authored over 4 years ago
better OR expressions
0e8c7d9cf85152152e936169f86dd1bd225dd0f7 authored over 4 years ago
0e8c7d9cf85152152e936169f86dd1bd225dd0f7 authored over 4 years ago
safer code generation
92b70e85a3626c2dd20a1fdfbcb3552e4c2bacfc authored over 4 years ago
92b70e85a3626c2dd20a1fdfbcb3552e4c2bacfc authored over 4 years ago
refactor: assign keywords functions to scope via CodeGen Scope
b8f2349dd61da89a07df459df822c40ac459a7aa authored over 4 years ago
b8f2349dd61da89a07df459df822c40ac459a7aa authored over 4 years ago
feat: managing external scope via CodeGen, refactor keywords using patterns
9dbe651d48bb6fac0e24735fb71260aa289ad2b1 authored over 4 years ago
9dbe651d48bb6fac0e24735fb71260aa289ad2b1 authored over 4 years ago
feat: unify top level namespace management (WIP)
3723622b6dd8b8cd982a38210d45202354c716b5 authored over 4 years ago
3723622b6dd8b8cd982a38210d45202354c716b5 authored over 4 years ago
feat: remove deprecated option useDefaults: shared
32df5f1f3cf128dbafc630f51257ef74d1b0220a authored over 4 years ago
32df5f1f3cf128dbafc630f51257ef74d1b0220a authored over 4 years ago
feat: context data$Error method, separate error definition for $data errors
cd2aeb7f2a086e6d217899bf11757d902b795c06 authored over 4 years ago
cd2aeb7f2a086e6d217899bf11757d902b795c06 authored over 4 years ago
refactor: $dataMetaSchema now uses $data in keyword definitions
057cdfc7872a8d7dddfb84fbc9b46b224409292f authored over 4 years ago
057cdfc7872a8d7dddfb84fbc9b46b224409292f authored over 4 years ago
refactor: separate "additionalItems" from "items"
9f6a5411d9f97799d620e67b1e9c6636657397e4 authored over 4 years ago
9f6a5411d9f97799d620e67b1e9c6636657397e4 authored over 4 years ago
refactor: "required" and "uniqueItems" keywords
d940126e6143ec586faf605cbc91b51a217e91f4 authored over 4 years ago
d940126e6143ec586faf605cbc91b51a217e91f4 authored over 4 years ago
fix: skipped required test
da9bed360c6102158edd3044bdc2d788cecaf369 authored over 4 years ago
da9bed360c6102158edd3044bdc2d788cecaf369 authored over 4 years ago
refactor: remove function quotedString
3ab106688bd1aa7b6b716950b6962fd82ad9b5f3 authored over 4 years ago
3ab106688bd1aa7b6b716950b6962fd82ad9b5f3 authored over 4 years ago
fix: validation error for $ref keyword
f244b06340145510dbe1d6ebc582b276c3593e04 authored over 4 years ago
f244b06340145510dbe1d6ebc582b276c3593e04 authored over 4 years ago
refactor: "compile" and "validate" keywords error tracking
5e8ddecd9dd91cfc1627eda4e8ccfb7eb83d142a authored over 4 years ago
5e8ddecd9dd91cfc1627eda4e8ccfb7eb83d142a authored over 4 years ago
feat: KeywordContext methods for errors reporting and tracking
49733beaa2912ab2de8f2a0340d89dc48e002c6a authored over 4 years ago
49733beaa2912ab2de8f2a0340d89dc48e002c6a authored over 4 years ago
test: replace old "inline" keyword with "code" keyword tests
43cec7b05cdd8a2b1f1968b614aeff2ced9a4f25 authored over 4 years ago
43cec7b05cdd8a2b1f1968b614aeff2ced9a4f25 authored over 4 years ago
fix: option {removeAdditional: all} without additionalProperties
089c492c505ee129122c2b68f3700646dae10002 authored over 4 years ago
089c492c505ee129122c2b68f3700646dae10002 authored over 4 years ago
refactor: passing validation result from keyword "code" method
fa72bec5f49038ce643397e8f9d6cc1d3399186a authored over 4 years ago
fa72bec5f49038ce643397e8f9d6cc1d3399186a authored over 4 years ago
refactor: KeywordContext
e710856207a4dcc49e7106e997010d642fa5bbda authored over 4 years ago
e710856207a4dcc49e7106e997010d642fa5bbda authored over 4 years ago
refactor: keywordCode
9d1f18afe1bc33ecd9956cd3880270319ed34e75 authored over 4 years ago
9d1f18afe1bc33ecd9956cd3880270319ed34e75 authored over 4 years ago
refactor: shared function scoped names
47d172c1c6249fb4ad9d9ce48b781c7af82b747d authored over 4 years ago
47d172c1c6249fb4ad9d9ce48b781c7af82b747d authored over 4 years ago
refactor: pass data, parentData and parentDataProperty Names via CompilationContext
60c4b3cbebf60cf650ad8edc390633d1c6bb57da authored over 4 years ago
60c4b3cbebf60cf650ad8edc390633d1c6bb57da authored over 4 years ago
refactor: generate error messages using tagged templates
3eb4c02fae8139a0c22a7aded3d0d821ecf51d2b authored over 4 years ago
3eb4c02fae8139a0c22a7aded3d0d821ecf51d2b authored over 4 years ago
feat: safe code generation with template literals
e98739d7d31e9535205f373981106e6c99abce67 authored over 4 years ago
e98739d7d31e9535205f373981106e6c99abce67 authored over 4 years ago
feat: codegen Name class for variables in generated code
6e21dd0461f19b3457404ce77713bfc55dd55a95 authored over 4 years ago
6e21dd0461f19b3457404ce77713bfc55dd55a95 authored over 4 years ago
refactor: "compile/validate keywords code generation
94ed4bd0a7bbbb2cdd7ea2f75589e815ec9ea162 authored over 4 years ago
94ed4bd0a7bbbb2cdd7ea2f75589e815ec9ea162 authored over 4 years ago
refactor: simplify code generation by using different number of open blocks
f5a46db4df31802d3826490d08991cc525f50720 authored over 4 years ago
f5a46db4df31802d3826490d08991cc525f50720 authored over 4 years ago
refactor: split validate code generation
0aad9598f63a05aa1f4d967db6762d55db7de491 authored over 4 years ago
0aad9598f63a05aa1f4d967db6762d55db7de491 authored over 4 years ago
refactor: code generation, remove ifs from template literals
7f03fdd12b6448484c7f80b2a4b337a8a2454af3 authored over 4 years ago
7f03fdd12b6448484c7f80b2a4b337a8a2454af3 authored over 4 years ago
refactor: remove unused code
0567b0e8a6553908fe081e556d7145221bc936ba authored over 4 years ago
0567b0e8a6553908fe081e556d7145221bc936ba authored over 4 years ago
refactor: remove doT
188eadf806662fe8b30bdf305707e3bf26b76e5d authored over 4 years ago
188eadf806662fe8b30bdf305707e3bf26b76e5d authored over 4 years ago
refactor: $data support in "compile" and "validate" keywords
f3f353adbb0121da659c74fda7cb978945d2a726 authored over 4 years ago
f3f353adbb0121da659c74fda7cb978945d2a726 authored over 4 years ago
refactor: "validate" and "compile" keywords to typescript (except $data)
51ce38cea22d5bf4ec56864b5f02da4ead243ed2 authored over 4 years ago
51ce38cea22d5bf4ec56864b5f02da4ead243ed2 authored over 4 years ago
refactor: macro keywords code gen to typescript
1dd63053c38789b2c414173022388cf2e7b31cd3 authored over 4 years ago
1dd63053c38789b2c414173022388cf2e7b31cd3 authored over 4 years ago
remove support for "inline" keyword (9 tests skipped, to replace with "code" keywords)
84fa223efe0d7fb7857696d113ed28ab5f37eb85 authored over 4 years ago
84fa223efe0d7fb7857696d113ed28ab5f37eb85 authored over 4 years ago
refactor, fix eslint rules
a1eb1fb863f210d59f37509d725d507adbabcb75 authored over 4 years ago
a1eb1fb863f210d59f37509d725d507adbabcb75 authored over 4 years ago
refactor: "$ref" to typescript
eeb3a52c6103c71683e5313d64e11ef43f6eb758 authored over 4 years ago
eeb3a52c6103c71683e5313d64e11ef43f6eb758 authored over 4 years ago
refactor: "format" keyword to typescript
0273cab5bf830aad5d367420074f70de0a53a322 authored over 4 years ago
0273cab5bf830aad5d367420074f70de0a53a322 authored over 4 years ago