node-input-validator
node-input-validator copied to clipboard
Validation library for node.js
Hi, Please, consider the following rule for a some request input, let's say to update user settings: ``` { "settings": "object|required", "settings.enableBlackTheme": "boolean", "info": "object", "info.displayName": "string" } ``` Info...
Snyk has created this PR to fix one or more vulnerable packages in the `npm` dependencies of this project.  #### Changes included in this PR - Changes to...
This is issue for version 5 (dev). I currently use node-input-validator version next (v5). I love this next version, cannot wait for the stable release 😃 . And the problem...
I see there is no option for restricting the special characters like or ! , in order to restrict script as an
Snyk has created this PR to fix one or more vulnerable packages in the `npm` dependencies of this project. #### Changes included in this PR - Changes to the following...
Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2. Release notes Sourced from json5's releases. v1.0.2 Fix: Properties with the name __proto__ are added to objects and arrays. (#199) This also fixes a...
Bumps [flat](https://github.com/hughsk/flat) to 5.0.2 and updates ancestor dependency [mocha](https://github.com/mochajs/mocha). These dependencies need to be updated together. Updates `flat` from 4.1.1 to 5.0.2 Commits e5ffd66 Release 5.0.2 fdb79d5 Update dependencies, refresh...
I have a tiny suggestion. the rule `boolean` allows none boolean types to pass like `'true'` or `1`. Thats totally fine, but in most cases you want the real boolean...
Bumps [minimatch](https://github.com/isaacs/minimatch) to 3.1.2 and updates ancestor dependency [mocha](https://github.com/mochajs/mocha). These dependencies need to be updated together. Updates `minimatch` from 3.0.4 to 3.1.2 Commits 699c459 3.1.2 2f2b5ff fix: trim pattern 25d7c0d...
The required condition thinks empty arrays don't exist and sends a "the * field is mandatory" error. Is there any way to require an array that can be empty? Reproducing...