typology icon indicating copy to clipboard operation
typology copied to clipboard

A data validation library for Node.js and browser

Results 9 typology issues
Sort by recently updated
recently updated
newest added

Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.0.4 to 3.1.2. Commits 699c459 3.1.2 2f2b5ff fix: trim pattern 25d7c0d 3.1.1 55dda29 fix: treat nocase:true as always having magic 5e1fb8d 3.1.0 f8145c5 Add 'allowWindowsEscape' option 570e8b1...

dependencies

To be nitpicky, it would be really nice to have the concerned type in the error message when 'Invalid type' errors occur.

enhancement

- [ ] : More precise errors. - [ ] : Partial validation through the `~` sigil. - [ ] : Flags (regex like) - [x] : Possibility to pass...

enhancement

``` javascript typology.scan( { key: 'string' }, { key: 555 } ); > error: "Expected a "string" but found a "number"." > path: "key" ``` ``` javascript typology.add( 'custom_type', {...

enhancement

`Expected a \"string\" but found a \"undefined\".` Should be `Expected \"string\" but found \"undefined\".` So that types with a plural names don't create silly grammatical havoc.

enhancement

Maybe through `~`?

enhancement