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

readme

32dc36d4737a1f8e1f730878e94e39697fd26b65 authored over 4 years ago by Evgeny Poberezkin <[email protected]>
test: codegen

f81beffbcb04dc65a2d7246717e1ba42b33b19a8 authored over 4 years ago by Evgeny Poberezkin <[email protected]>
test: deprecated addKeywords and keywords option API

b0c55e1fdafb104e3b1e02ad9b0a2ec969d85a2f authored over 4 years ago by Evgeny Poberezkin <[email protected]>
docs: remove utils from docs

871e947d2640edf99be69f044aa0ad74168d4ca5 authored over 4 years ago by Evgeny Poberezkin <[email protected]>
refactor: util.ts

c31fec5b5db84e454ffcf0a248762557acc20e0d authored over 4 years ago by Evgeny Poberezkin <[email protected]>
docs: keyword errors

67117bac6bc866ef44011eacfed9f1da582a79b0 authored over 4 years ago by Evgeny Poberezkin <[email protected]>
document user defined keywords and relevant types

c5393f4cca21f18315204ebd1edcf4ebbb0e2bd3 authored over 4 years ago by Evgeny Poberezkin <[email protected]>
split readme to files, fix links

cac624b71a3ee8976787170f99830cc2b8a7d00f authored over 4 years ago by Evgeny Poberezkin <[email protected]>
docs: move to DOCS folder, update FAQ (closes #874), update examples in JSON-SCHEMA.md (previously KEYWORDS.md), rename CUSTOM.md to KEYWORDS.md

cf41c76a10b84ed23b9026ab11e8bbf238e1da5f authored over 4 years ago by Evgeny Poberezkin <[email protected]>
remove options serialilze and cache

119351373c3efcdb727e381c96d94e86709e2434 authored over 4 years ago by Evgeny Poberezkin <[email protected]>
Merge pull request #1286 from ajv-validator/v7-alpha-strict-types

V7: option strictTypes

ca4cb53e05ff41494a81047b06555c1a8593eeb2 authored over 4 years ago by Evgeny Poberezkin <[email protected]>
test for strictTuples

e2dea13aeaffc09e55ede0a9c736c719f58beaba authored over 4 years ago by Evgeny Poberezkin <[email protected]>
feat: strictTuples option, docs

537de13680bef31a1217ed5a8183b5e45630d327 authored over 4 years ago by Evgeny Poberezkin <[email protected]>
fix tests failing because of strictTypes, add allowUnionTypes option

5758319df7c95d7b817fcf2a987bd9d5e541d771 authored over 4 years ago by Evgeny Poberezkin <[email protected]>
test: fixing tests failing because of strictTypes [WIP]

419a79689d281f547b43e8626e6d63b77bc2c08c authored over 4 years ago by Evgeny Poberezkin <[email protected]>
refactor: AddedKeywordDefinition with type and schemaType always arrays

88a1d47d2fd09526672e9ebc7133ffea1c8af46a authored over 4 years ago by Evgeny Poberezkin <[email protected]>
feat: strictTypes option

6be22e42d95f7e9f4882d8b90ea4fafc7a6f6cbe authored over 4 years ago by Evgeny Poberezkin <[email protected]>
refactor: group all validation function params after data into dataCxt, refactor code generation for object literals

9e2e6b99380d4d37d6cb5a22a8059aa38f9c1957 authored over 4 years ago by Evgeny Poberezkin <[email protected]>
feat: combine code generation options in "code" option

c7cf624185cbc88481d0baf364c7d33c9e0a3a73 authored over 4 years ago by Evgeny Poberezkin <[email protected]>
feat: remove options extendRefs (it is default now) and missingRef (always fail compilation), add deprecated ignoreKeywordsWithRef to pass draft 6/7 tests

cfe3e9206541b60a126b1673a032b5ce4fe63c84 authored over 4 years ago by Evgeny Poberezkin <[email protected]>
feat: change cache interface to use Map, remove Cache class, use actual schema reference as the key, remove fast-json-stable-stringify from dependencies

a1505a94888759da10145c74661dd65a0c069e83 authored over 4 years ago by Evgeny Poberezkin <[email protected]>
refactor: move Options, Logger and Cache to ajv.ts

89fb180fc8ff4eb647f07701ef1568e9e85645f6 authored over 4 years ago by Evgeny Poberezkin <[email protected]>
docs: fix example

5ec8ee25218afc562cb4fc150ab3312e3d4ccceb authored over 4 years ago by Evgeny Poberezkin <[email protected]>
chore: fix eslint script for windows

013ce3e787decb2e3a6f7834fb5e64d6fa48eabd authored over 4 years ago by Evgeny Poberezkin <[email protected]>
Merge branch 'master' into v7-alpha

d331f10831fa4ae05b544d7d3c1a1452e5ece434 authored over 4 years ago by Evgeny Poberezkin <[email protected]>
Merge pull request #1283 from ecwyne/patch-2

Export Typescript Types

66d118a8c59ce81506b1bc01ef3fb3a5b509f72b authored over 4 years ago by Evgeny Poberezkin <[email protected]>
Merge branch 'v7-alpha' into patch-2

352354137042ab93317f8660757cee083a5e7a3b authored over 4 years ago by Evgeny Poberezkin <[email protected]>
Merge pull request #1285 from ajv-validator/v7-alpha-formats

Formats: options and docs

98733b173995fac6ed98f3537e2421258dfce09e authored over 4 years ago by Evgeny Poberezkin <[email protected]>
refactor option defaults - now all "true" by default options are explicitly assigned in InstanceOptions

5a3dc3ea8a696f86533b84af189f27b81e33a97e authored over 4 years ago by Evgeny Poberezkin <[email protected]>
replace option format with validateFormats, refactor checkDeprecatedProperties

656a3155572ee150009848fafa6261ff37f89a51 authored over 4 years ago by Evgeny Poberezkin <[email protected]>
exclude removed options from public interface, add RemovedOptions interface to check options for JS users

5f5265fea56b4037d20600ec843ccc98bb73cae3 authored over 4 years ago by Evgeny Poberezkin <[email protected]>
update docs with error params, typescript examples, update type signatures and test

bf63813f29d6d8cbc06bc2597c88327e666ed3fe authored over 4 years ago by Evgeny Poberezkin <[email protected]>
docs: update method signatures to be closer to typescript

15c21a9bab17f21d3b299b6819608611bfffd041 authored over 4 years ago by Evgeny Poberezkin <[email protected]>
feat: replace unknownFormats option with `strict: false` and formats with true as format definition

e7228eb1bbb629dc90e7dab5e227575a8c469836 authored over 4 years ago by Evgeny Poberezkin <[email protected]>
Merge pull request #1284 from ajv-validator/v7-alpha-error-params

V7 alpha error params

04775b1bf8a81c6367ff4b692a2a9de02937d264 authored over 4 years ago by Evgeny Poberezkin <[email protected]>
remove unused keyword name union type

bb342fd02b90f3199c885790e4a33c09970fff50 authored over 4 years ago by Evgeny Poberezkin <[email protected]>
remove prettier check from CI

5fbf421d271ddee696a4c7bc782352c85f389891 authored over 4 years ago by Evgeny Poberezkin <[email protected]>
docs: formats in ajv-formats

52cfe8be1046dec664de59f711c5dd6dcfef958f authored over 4 years ago by Evgeny Poberezkin <[email protected]>
style: update files to match prettier config

9180f4c626818a596bdcc7a508fc0b97fc45a4fc authored over 4 years ago by Evgeny Poberezkin <[email protected]>
remove coveralls from dependencies

4fb63c7e8123b340336cce3a21f9c8b650fdb60f authored over 4 years ago by Evgeny Poberezkin <[email protected]>
refactor: keyword validation errors

f7a5f9dc967932637d221ab2fd264aa48d434bd8 authored over 4 years ago by Evgeny Poberezkin <[email protected]>
feat: DefinedError as discriminated union with different parameter types, closes #843, closes #1090

defca2ce21dcd98fbedffde2dd693c6672ee3b13 authored over 4 years ago by Evgeny Poberezkin <[email protected]>
refactor: import keyword definiions (rather than require)

61e7520d4bf76ac4f6a81bf9585d9142378d3081 authored over 4 years ago by Evgeny Poberezkin <[email protected]>
export additional types

c5c1b84152960e5f63630d3444e5d7d67e7c2a77 authored over 4 years ago by Evgeny Poberezkin <[email protected]>
update ajv-formats and fix tests

c207bbc8a4fa1be5c7510b25b8f470ae5a2c7854 authored over 4 years ago by Evgeny Poberezkin <[email protected]>
7.0.0-alpha.1

4bb210de5cd6f1ba9190b80a26e52ec9eb56bff8 authored over 4 years ago by Evgeny Poberezkin <[email protected]>
types for async validation (with $async tag in schema)

07fd0c05886ca52e3d825950dd76c6862f1f4924 authored over 4 years ago by Evgeny Poberezkin <[email protected]>
test: run format tests from JSON-Schema-Test-Suite with ajv-formats, use "import type"

b35e72ca3177b89a1d8fac2a3722213826b9e73b authored over 4 years ago by Evgeny Poberezkin <[email protected]>
export Typescript types

ajv.d.ts is in dist not lib in npm package

ad5881e57b65e5bce64c968e894a6063acf2bc61 authored over 4 years ago by Eric Wyne <[email protected]>
7.0.0-alpha.0

80f6f5dcfd83774e585a7c85f4173e7645d60037 authored over 4 years ago by Evgeny Poberezkin <[email protected]>
Merge pull request #1262 from b4h0-c4t/refactor-opt-object-type

Add _opts property type in Ajv.Ajv

877d286e7f145b1b2127da66c6800b071533f28f authored over 4 years ago by Evgeny Poberezkin <[email protected]>
Merge pull request #1278 from ajv-validator/v7-alpha-resolve

V7 alpha resolve

ab9948a2982c733a4dcb2bfe388decdef7d9dae7 authored over 4 years ago by Evgeny Poberezkin <[email protected]>
JSONSchemaType: allow partial properties in partial schemas

0e30a749753464e90ae8e6423bd1da31591c304b authored over 4 years ago by Evgeny Poberezkin <[email protected]>
rename type parameter in JSONSchemaType

71420861d2ea4dbfe99892adf0315252274c95d0 authored over 4 years ago by Evgeny Poberezkin <[email protected]>
refactor: _addSchema (schema is now always added before validation, not only in recursive cases, for consistency)

0451facf35b4c8455fbe6c805c51d5e0c626a62c authored over 4 years ago by Evgeny Poberezkin <[email protected]>
JSONSchemaType for definitions

ca74224ea15d9e0f18202558389e97d64626b70b authored over 4 years ago by Evgeny Poberezkin <[email protected]>
add remaining keywords to JSONSchemaType

4ff2135636d558dc4a254dda4047c5faf5b54ba2 authored over 4 years ago by Evgeny Poberezkin <[email protected]>
schema type for const and enum with nullable

650af5bbefbea1747980334b4a3c1cc5f611fb79 authored over 4 years ago by Evgeny Poberezkin <[email protected]>
validation as type guard, close #736, close #1279

9885226beb7691230df41163f7c98348970d0632 authored over 4 years ago by Evgeny Poberezkin <[email protected]>
test: $async validation result types

4f41529819292545e3e59f561514d1136198b902 authored over 4 years ago by Evgeny Poberezkin <[email protected]>
6.12.5

f1c8e45b9cdff918be28becf03bf0b339321c398 authored over 4 years ago by Evgeny Poberezkin <[email protected]>
Merge branch 'villasv-fix-1279' into v7-alpha-resolve

0bda289dde755d5cc486b01ee78483895b500147 authored over 4 years ago by Evgeny Poberezkin <[email protected]>
refactor: sync/$async schemas validate function types

ddfae0266312187e026a77f4c94d39a1cd8aac25 authored over 4 years ago by Evgeny Poberezkin <[email protected]>
Merge branch 'fix-1279' of git://github.com/villasv/ajv into villasv-fix-1279

f17af479e7bc51fb500726d9132acf3f445ff816 authored over 4 years ago by Evgeny Poberezkin <[email protected]>
Merge branch 'ChALkeR-chalker/fix-comma'

764035e201d7733b8d700d4a04dd079fef9f4d30 authored over 4 years ago by Evgeny Poberezkin <[email protected]>
Merge branch 'chalker/fix-comma' of git://github.com/ChALkeR/ajv into ChALkeR-chalker/fix-comma

37981602ce6d43313ae106644b372b021626a8af authored over 4 years ago by Evgeny Poberezkin <[email protected]>
rename Ajv class members (remove _), make class members readonly when they are not changed

f38f755bb3e79a7d1910c179ac399c64d868af81 authored over 4 years ago by Evgeny Poberezkin <[email protected]>
feat: processCode now receives SchemaEnv as 2nd arg; remove localRoot, replace root, isRoot, async in SchemaCxt with schemaEnv

ab91c3c5f0c6503313763d6bb2094f7f387a182b authored over 4 years ago by Evgeny Poberezkin <[email protected]>
feat: remove support for callback parameter from compileAsync

945190d4748ccb77cd925d10ca938b08f2aa1172 authored over 4 years ago by Evgeny Poberezkin <[email protected]>
refactor: compileAsync

a4d115d5ddb3141f51151fce4c35ca7e79ddb48c authored over 4 years ago by Evgeny Poberezkin <[email protected]>
refactor: remove localCompile, remove resolveRef from SchemaCxt compilation context

0e4c2d88e2db08aa208aaf952292172ebd9d1a9d authored over 4 years ago by Evgeny Poberezkin <[email protected]>
refactor: remove validate wrapper function (closure) to improve performance for cyclic schema refs

4bbb97f0f3c4608f49da45e300746d1785e0546a authored over 4 years ago by Evgeny Poberezkin <[email protected]>
refactor: $ref keyword

58bc64dee9503378f6e78b279aed45843f6ba871 authored over 4 years ago by Evgeny Poberezkin <[email protected]>
refactor: eslint rules, classes

2d7fd9cc8c3fe3bbfaf0ae626a8ade37fdd31020 authored over 4 years ago by Evgeny Poberezkin <[email protected]>
refactor: SchemaRoot to SchemaEnv

cca486bc724657809b8aa9101c456fd6c07b4e43 authored over 4 years ago by Evgeny Poberezkin <[email protected]>
refactor: resolveRecursive, rename StoredSchema to SchemaEnv

d0b2d436136edbdf8a56671275abf888d17b2699 authored over 4 years ago by Evgeny Poberezkin <[email protected]>
feat: add unicode flag to regular expressions, passes ecmascript-regex and non-bmp-regex tests

912c3f4ea61524a0d9c372444da556d91d42c1e8 authored over 4 years ago by Evgeny Poberezkin <[email protected]>
tests: update JSON-Schema-Test-Suite tests

8daaf7da67f0527388f9d769d2e6b2b94933571c authored over 4 years ago by Evgeny Poberezkin <[email protected]>
Make compiled validation interface async aware

99552fe02c31c105dad739ab9b8167edda2da235 authored over 4 years ago by Victor Villas <[email protected]>
refactor: remove SchemaEnv, refactor resolve, resolveSchema

4c6d522de8c0cfe095a5068755de4be2f9ed6425 authored over 4 years ago by Evgeny Poberezkin <[email protected]>
refactor: replace refVal arrays with shared scope

3b38dfc89b1e58fa2dd70b653917350cc968bf4d authored over 4 years ago by Evgeny Poberezkin <[email protected]>
refactor: replace refVal[0] with localRoot

9399a9b996506f36b07842df66544086e24e801d authored over 4 years ago by Evgeny Poberezkin <[email protected]>
refactor: resolve and resolveRef

ad731276bd2e2df6172adf02cbcb2cb8984c19eb authored over 4 years ago by Evgeny Poberezkin <[email protected]>
refactor: ref resolution resolve and getJsonPointer

33ffbc069c470fda1ac21c77ce5e44187d5b5fe5 authored over 4 years ago by Evgeny Poberezkin <[email protected]>
allow referencing validation functions via shared scope

17ee1c0e74f1f953752a602d692dbecad9760857 authored over 4 years ago by Evgeny Poberezkin <[email protected]>
refactor: NameRec interface -> ValueScopeName class

d1c7600cf407bccece48d148736850204179bde8 authored over 4 years ago by Evgeny Poberezkin <[email protected]>
style: consistent spelling for "cxt" (=context)

79c368d2eaf29ffea62e891667c375a35794fa7f authored over 4 years ago by Evgeny Poberezkin <[email protected]>
remove formats from SchemaCtx

7337158529e52989c657aef1e18f88f24dec7f8e authored over 4 years ago by Evgeny Poberezkin <[email protected]>
refactor: schema compilation

ab5ecad337fa691ab55d710e255709b8005d2fee authored over 4 years ago by Evgeny Poberezkin <[email protected]>
refactor: pass validate function Name via SchemaCtx (compilation context)

0f4ecfafdf5d2a716cca375f7b7eddf7b2cc0adc authored over 4 years ago by Evgeny Poberezkin <[email protected]>
refactor: remove logger and RULES from SchemaCtx (compilation context)

766265f80a13a5cfc52191e657946a58f7f58059 authored over 4 years ago by Evgeny Poberezkin <[email protected]>
refactor: remove formats from compilation closure parameters

5ba494f25a15218aeccc7cec6afb83a21e76d99c authored over 4 years ago by Evgeny Poberezkin <[email protected]>
refactor: compileStoredSchema

310aa054436705f857ee241fa3f7ac1f5cc14aae authored over 4 years ago by Evgeny Poberezkin <[email protected]>
refactor: compileSchemaFragment

561bc8b97fee4a4ffbae96a4f82cfbcc2cef6940 authored over 4 years ago by Evgeny Poberezkin <[email protected]>
Merge pull request #1277 from ajv-validator/v7-alpha-scope

Shared function scope

47162291990aecb0ca67325f9982adfd642a218c authored over 4 years ago by Evgeny Poberezkin <[email protected]>
feat: codegen forRange loop

b8fe72aad8a616ac4eb820fae0b9c5dea1f66330 authored over 4 years ago by Evgeny Poberezkin <[email protected]>
refactor: ScopeValue class, remove "private" methods from CodeGen class

4a0311d1906c026f648d71d1bb5ee35ab4072d8f authored over 4 years ago by Evgeny Poberezkin <[email protected]>
move _Code definition

1e4d751ef41a18f3a030530a9b7e3aa8dabd58cf authored over 4 years ago by Evgeny Poberezkin <[email protected]>
use Name self instead of hard-coded "self"

9596996836ff4a83101b3b6f940ae1e3cffeea80 authored over 4 years ago by Evgeny Poberezkin <[email protected]>
refactor: pass external functions and ValidationError via Scope

ba791959254ad853ee2832bd2e752ae0142271c3 authored over 4 years ago by Evgeny Poberezkin <[email protected]>