node-input-validator icon indicating copy to clipboard operation
node-input-validator copied to clipboard

Validation library for node.js

Results 22 node-input-validator issues
Sort by recently updated
recently updated
newest added

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. ![merge advice](https://app.snyk.io/badges/merge-advice/?package_manager=npm&package_name=validator&from_version=13.5.2&to_version=13.6.0&pr_id=f987bf62-4c7f-4602-a91d-1eee0b3c0c1f&visibility=true&has_feature_flag=false) #### 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

suggestion

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...

dependencies

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...

dependencies

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...

dependencies

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...