File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ _This changelog follows the [keep a changelog][keep-a-changelog]_ format to main
4
4
5
5
### [ 0.13.2] ( https://github.com/typestack/class-validator/compare/v0.13.1...v0.13.2 ) (2021-11-20)
6
6
7
- > __ NOTE: __ This version fixes a security vulnerability allowing denial of service attacks with a specially crafted request payload.
7
+ > ** NOTE: ** This version fixes a security vulnerability allowing denial of service attacks with a specially crafted request payload.
8
8
> Please update as soon as possible.
9
9
10
10
#### Fixed
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ export const MATCHES = 'matches';
11
11
export function matches ( value : string , pattern : RegExp ) : boolean ;
12
12
export function matches ( value : string , pattern : string , modifiers : string ) : boolean ;
13
13
export function matches ( value : string , pattern : RegExp | string , modifiers ?: string ) : boolean {
14
- return typeof value === 'string' && matchesValidator ( value , ( pattern as unknown ) as any , modifiers ) ;
14
+ return typeof value === 'string' && matchesValidator ( value , pattern as unknown as any , modifiers ) ;
15
15
}
16
16
17
17
/**
You can’t perform that action at this time.
0 commit comments