Skip to content

Commit 6a57621

Browse files
refactor: format code with latest Prettier
1 parent 6c50113 commit 6a57621

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ _This changelog follows the [keep a changelog][keep-a-changelog]_ format to main
44

55
### [0.13.2](https://github.com/typestack/class-validator/compare/v0.13.1...v0.13.2) (2021-11-20)
66

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.
88
> Please update as soon as possible.
99
1010
#### Fixed

src/decorator/string/Matches.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export const MATCHES = 'matches';
1111
export function matches(value: string, pattern: RegExp): boolean;
1212
export function matches(value: string, pattern: string, modifiers: string): boolean;
1313
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);
1515
}
1616

1717
/**

0 commit comments

Comments
 (0)