ajv-keywords
ajv-keywords copied to clipboard
Additional JSON-Schema keywords for Ajv JSON validator
I have forked this repository and defined a new keyword `secret`, which transforms the data into a redacted string. e.g. `apiKey123` is transformed into `******`. Ideally I would like to...
Hi, I tried to follow your [doc](https://ajv.js.org/keywords.html#define-keyword-with-compile-function) on adding keywords with a `compile` function. When I try to generate the standalone validator, I get `ValueError: CodeGen: "code" for keyword0 not...
Due to `export default ...` the types announce a named export called "default", which indeed does not exist necessitating the following workaround: ```ts import ajvTransformKeywordBorkedDefault from "ajv-keywords/dist/definitions/transform.js" // moduleResolution: node16...
Hi, I have the example like below, ``` "obj2": { { "prop1": "baz", "prop2": 999 }, { "prop1": "qux", "prop2": 555 } } ``` i.e object containing objects, now in...
PR in response to the feature request in [issue 107](https://github.com/ajv-validator/ajv-keywords/issues/107). This PR impliments the suggestion by @epoberezkin by changing the keyword implementation of uniqueItemsProperties. It extends the uniqueItemsProperties to accepts...
Hi, I open this issue because `deepProperties` doesn't work with keys that have numbers in them. ```js const schema = { type: 'object', deepProperties: { '/audio.2.0/requireForced': { const: true, },...
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 7.2.0 to 8.7.0. Changelog Sourced from eslint-config-prettier's changelog. Version 8.7.0 (2023-03-06) Added: [@typescript-eslint/block-spacing]. Thanks to @ttionya! Added: [@typescript-eslint/key-spacing]. Thanks to @ttionya! Version 8.6.0 (2023-01-02) Added: [vue/multiline-ternary]. Thanks...
Suggestion to replace `fast-deep-equal` to well-maintained faster implementation. The same as https://github.com/ajv-validator/ajv/pull/2235
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 17.0.45 to 18.14.6. Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...
Bumps [eslint](https://github.com/eslint/eslint) from 7.32.0 to 8.35.0. Release notes Sourced from eslint's releases. v8.35.0 Features 8e34a04 feat: add afterHashbangComment option to lines-around-comment rule (#16920) (SUZUKI Sosuke) c8c0c71 feat: Move all and...