File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -57,8 +57,7 @@ export const MatchingStrategies = {
5757 LAST : 'last' ,
5858}
5959
60- export type MatchingStrategies =
61- typeof MatchingStrategies [ keyof typeof MatchingStrategies ]
60+ export type MatchingStrategies = typeof MatchingStrategies [ keyof typeof MatchingStrategies ]
6261
6362export type Filter = string | Array < string | string [ ] >
6463
Original file line number Diff line number Diff line change @@ -26,8 +26,7 @@ function addTrailingSlash(url: string): string {
2626}
2727
2828function validateUuid4 ( uuid : string ) : boolean {
29- const regexExp =
30- / ^ [ 0 - 9 a - f A - F ] { 8 } \b - [ 0 - 9 a - f A - F ] { 4 } \b - [ 0 - 9 a - f A - F ] { 4 } \b - [ 0 - 9 a - f A - F ] { 4 } \b - [ 0 - 9 a - f A - F ] { 12 } $ / gi
29+ const regexExp = / ^ [ 0 - 9 a - f A - F ] { 8 } \b - [ 0 - 9 a - f A - F ] { 4 } \b - [ 0 - 9 a - f A - F ] { 4 } \b - [ 0 - 9 a - f A - F ] { 4 } \b - [ 0 - 9 a - f A - F ] { 12 } $ / gi
3130 return regexExp . test ( uuid )
3231}
3332
You can’t perform that action at this time.
0 commit comments