yaml-validator icon indicating copy to clipboard operation
yaml-validator copied to clipboard

Validate Yaml files and enforce a given structure

Results 23 yaml-validator issues
Sort by recently updated
recently updated
newest added

yaml-validator does not currently provide a way to indicate that a key should have a boolean value. This seems like something that could easily be added. Note that the acceptable...

I was so hoping this would fit into my project, but I can't see, either in your readme or tests, if it supports a prototype schema. Given the following yaml:...

### Expected behaviour Errored function is called when an error occurs. ### Actual behaviour Writing Unit Tests (running on Jenkins with mocha), i override errored function to throw Error instead...

### Expected behaviour Should have validated yaml file. ### Actual behaviour ``` /usr/local/lib/node_modules/yaml-validator/index.js:129 const lineNumber = error.message.match(/line (\d+)/)[1]; ^ TypeError: Cannot read property '1' of null at YamlValidatore.loadData (/usr/local/lib/node_modules/yaml-validator/index.js:129:57) at...

### Expected behaviour Optional fields with a null value should be counted as valid if the structure matches. ### Actual behaviour Optional fields with a null value are counted as...

This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/node](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)) | [`20.14.11` -> `20.16.5`](https://renovatebot.com/diffs/npm/@types%2fnode/20.14.11/20.16.5) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/20.16.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) |...

dependencies

This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [typescript](https://www.typescriptlang.org/) ([source](https://redirect.github.com/microsoft/TypeScript)) | [`5.5.3` -> `5.6.2`](https://renovatebot.com/diffs/npm/typescript/5.5.3/5.6.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/typescript/5.6.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) |...

dependencies

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [sinon](https://sinonjs.org/) ([source](https://togithub.com/sinonjs/sinon)) | [`17.0.1` -> `18.0.0`](https://renovatebot.com/diffs/npm/sinon/17.0.1/18.0.0) |...

dependencies

This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [eslint](https://eslint.org) ([source](https://redirect.github.com/eslint/eslint)) | [`8.57.0` -> `9.10.0`](https://renovatebot.com/diffs/npm/eslint/8.57.0/9.10.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/eslint/9.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |...

dependencies

This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [c8](https://togithub.com/bcoe/c8) | [`9.1.0` -> `10.1.2`](https://renovatebot.com/diffs/npm/c8/9.1.0/10.1.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/c8/10.1.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/c8/10.1.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)...

dependencies