ajv-keywords
ajv-keywords copied to clipboard
Additional JSON-Schema keywords for Ajv JSON validator
Hi :) I have been given an object that I want to validate as well as an object with defaults for those values if they don't exist. ```typescript const validateData...
Bumps [jest](https://github.com/facebook/jest) from 26.6.3 to 27.5.1. Release notes Sourced from jest's releases. v27.5.1 Features [jest-config] Support comments in JSON config file (#12316) [pretty-format] Expose ConvertAnsi plugin (#12308) Fixes [expect] Add...
Basically removes all spaces inside strings
I added a normalize option for transform, a normalize option just basically removes multiple spaces and replaces them with a single space, I have been custom doing this in my...
Using `uniqueItemProperties: ['id']` where `id` is not required should (in my opinion, maybe it should be a separate function) allow multiple elements that have undefined `id` values. e.g. `[{id: 'a',...
Not sure this is ajv-keywords bug or ajv itself, or even this is a bug of a feature)) But it was very tricky to find out why transform trim sometimes...
Hello! I have found interesting behavior of transform keyword, which is probably a bug. In short: `"transform": [ "trim" ]` is not working on nested objects if specified via definitions....
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 7.2.0 to 8.3.0. Changelog Sourced from eslint-config-prettier's changelog. Version 8.3.0 (2021-04-24) Added: Support for [@babel/eslint-plugin]. Thanks to Chip Zhang (@ChipZhang) for the heads-up! ([eslint-plugin-babel] is still supported,...
Hi Below is Details , **Node version** : v14.16.0 **Npm version**: 7.7.6 Dependencies Details `"ajv": "^8.0.1", "ajv-keywords": "^5.0.0",` Code Snippet ``` const fastify = require("fastify")({ ajv: { plugins: [[require("ajv-keywords"), ["transform"]]],...
Bumps [@ajv-validator/config](https://github.com/ajv-validator/config) from 0.2.3 to 0.3.0. Commits a4249ab 0.3.0 cacd4fd remove esModuleInterop See full diff in compare view [](https://dependabot.com/compatibility-score/?dependency-name=@ajv-validator/config&package-manager=npm_and_yarn&previous-version=0.2.3&new-version=0.3.0) Dependabot will resolve any conflicts with this PR as...