summaryrefslogtreecommitdiff
path: root/ext/bg/js/json-schema.js
Commit message (Collapse)AuthorAge
* JSON schema refactor (#731)toasted-nutbread2020-08-15
| | | | | | | | | | | | | | | | | | | | | | | | | * Remove JsonSchema.clone * Move createProxy function * Group public properties first * Create private version of getPropertySchema * Mark functions as private * Use non-static getValidValueOrDefault * Mark private * Make public validate function not take an info parameter * Remove JsonSchema * Add isValid function * Use isValid for some tests * Fix incorrect type
* More JSON schema improvements (#729)toasted-nutbread2020-08-11
| | | | | | | | | * Add support for constant values * Add contains check for arrays * Add tests * Simplify getValidValueOrDefault testing
* Json schema improvements (#722)toasted-nutbread2020-08-09
| | | | | | | | | | | | | * Add support for regex pattern testing * Add tests * Separate JsonSchemaProxyHandler statics into JsonSchemaValidator * Use this instead of JsonSchemaValidator * Make JsonSchemaValidator non-static * Use cache map for regex
* Make JsonSchemaProxyHandler.unconstrainedSchema public and non-configurable ↵toasted-nutbread2020-07-03
| | | | (#636)
* Clone function (#624)toasted-nutbread2020-06-28
| | | | | | | | | | | * Add clone function * Replace utilIsolate with clone * Replace JsonSchema.isolate with clone function * Include core.js for tests which use json-schema.js * Update visisted set
* Update license author field to broader to explicitly reflect thatAlex Yatskov2020-04-10
| | | | | Yomichan is an ongoing community project. It really does take a village, and everyone who contributes code owns a part of it :)
* Add no-shadowtoasted-nutbread2020-02-22
|
* Fix inittoasted-nutbread2020-02-02
|
* Improve schema path when using getPropertySchematoasted-nutbread2020-02-02
|
* Update how property schemas are returnedtoasted-nutbread2020-02-02
|
* Fix missing elsetoasted-nutbread2020-02-02
|
* Add improved error information when validation failstoasted-nutbread2020-02-02
|
* Fix ifSchematoasted-nutbread2020-02-02
|
* Fix conditional logictoasted-nutbread2020-02-02
|
* Update schema validation to throw errorstoasted-nutbread2020-02-02
|
* getSchemaOrValueType return nulltoasted-nutbread2020-02-02
|
* Fix maxLength checktoasted-nutbread2020-02-02
|
* Improve getPropertySchema's type detectiontoasted-nutbread2020-02-02
|
* Add validate on JsonSchematoasted-nutbread2020-02-02
|
* Improve support for array schemastoasted-nutbread2020-02-02
|
* Return unconstrained schema when additionalProperties is true/undefinedtoasted-nutbread2020-02-02
|
* Add support for conditionalstoasted-nutbread2020-02-02
|
* Add support for allOf, anyOf, oneOf, and nottoasted-nutbread2020-02-02
|
* Add simplified isObject testtoasted-nutbread2020-02-02
|
* Update license info URLtoasted-nutbread2020-01-01
|
* Update copyrighttoasted-nutbread2020-01-01
|
* Fix schema defaults not applying to arraystoasted-nutbread2019-12-29
|
* Create proxy system for json schema validationtoasted-nutbread2019-12-29