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.isArray
in array checks frominstanceof
operator
Changed
-
libphonenumber-js
package updated to1.9.43
from1.9.7
-
validator
package updated to13.5.2
from13.5.2
- various dev-dependencies updated
v0.13.1
Added
- optional mather function has been added to the
ArrayUnique
decorator
Fixed
- a typo was fixed in the error message generated by the
IsUUID
decorator - calling
ValidationError.toString()
doesn't result in an error whenforbidNonWhitelisted
parameter was used - fixed typo in error message generated by
IsIn
decorator - the
@types/validator
package is correctly installed -
inlineSources
option 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 foralways
option for decorators -
strictGroups
- ignore decorators with at least one group, whenValidatorOptions.groups
is empty
-
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.