datalize
datalize copied to clipboard
Parameter, query, form data validation and filtering for NodeJS.
Bumps [urijs](https://github.com/medialize/URI.js) from 1.19.1 to 1.19.11. Release notes Sourced from urijs's releases. 1.19.11 (April 3rd 2022) SECURITY fixing URI.parse() handle excessive slashes in scheme-relative URLs - disclosed by zeyu2001 via...
Bumps [undefsafe](https://github.com/remy/undefsafe) from 2.0.2 to 2.0.5. Release notes Sourced from undefsafe's releases. v2.0.5 2.0.5 (2021-10-17) Bug Fixes remove debug and add tests (58fc474), closes #12 Commits 5d3fa34 chore: adding semver...
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.11 to 4.17.21. Commits f299b52 Bump to v4.17.21 c4847eb Improve performance of toNumber, trim and trimEnd on large input strings 3469357 Prevent command injection through _.template's variable...
I cannot set the field custom error message
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7. Commits c74c8af 1.3.7 024b8b5 update deps, add linting 032fbaf Use Object.create(null) to avoid default object property hazards 2da9039 1.3.6 cfea636 better git push script,...
我看了filters.js发现max方法有问题 1,方法没有引入ctx。 2,value > max时提示,写成了value < max,导致变成了最小值验证
Bumps [mixin-deep](https://github.com/jonschlinkert/mixin-deep) from 1.3.1 to 1.3.2. Commits - [`754f0c2`](https://github.com/jonschlinkert/mixin-deep/commit/754f0c20e1bc13ea5a21a64fbc7d6ba5f7b359b9) 1.3.2 - [`90ee1fa`](https://github.com/jonschlinkert/mixin-deep/commit/90ee1fab375fccfd9b926df718243339b4976d50) ensure keys are valid when mixing in values - See full diff in [compare view](https://github.com/jonschlinkert/mixin-deep/compare/1.3.1...1.3.2) Maintainer changes This...
set custom field error message. for example: field('title').required('please input title').length(5,20,{message:'标题长度超过限制范围'})
When using Express, if I want to use datalize for both params and query, the data gets overwritten. ```js router.get('/:id', datalize.params([ field('id') .required(), ]), datalize.query([ field('email') .required() .email(), ]), (req,...
Bumps [express](https://github.com/expressjs/express) from 4.16.3 to 4.17.3. Release notes Sourced from express's releases. 4.17.3 deps: accepts@~1.3.8 deps: mime-types@~2.1.34 deps: [email protected] deps: [email protected] deps: [email protected] deps: [email protected] deps: [email protected] deps: [email protected] deps:...