fix(deps): update dependency class-validator to ^0.13.0
This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| class-validator | dependencies | minor | ^0.12.2 -> ^0.13.0 |
Release Notes
typestack/class-validator
v0.13.2
NOTE: This version fixes a security vulnerability allowing denial of service attacks with a specially crafted request payload. Please update as soon as possible.
Fixed
- switched to use
Array.isArrayin array checks frominstanceofoperator
Changed
-
libphonenumber-jspackage updated to1.9.43from1.9.7 -
validatorpackage updated to13.5.2from13.5.2 - various dev-dependencies updated
v0.13.1
Added
- optional mather function has been added to the
ArrayUniquedecorator
Fixed
- a typo was fixed in the error message generated by the
IsUUIDdecorator - calling
ValidationError.toString()doesn't result in an error whenforbidNonWhitelistedparameter was used - fixed typo in error message generated by
IsIndecorator - the
@types/validatorpackage is correctly installed -
inlineSourcesoption is enabled in tsconfig preventing various sourcemap errors when consuming the package
Changed
- various dev dependencies has been updated
v0.13.0
Added
- project is restructured to allow three-shaking
- added option to fail on first validation error (#620)
- two new validator option is added:
-
always- allows setting global default foralwaysoption for decorators -
strictGroups- ignore decorators with at least one group, whenValidatorOptions.groupsis empty
-
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.