File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ " eslint-plugin-regexp " : patch
3
+ ---
4
+
5
+ Account for ` v ` flag in 2 util methods
Original file line number Diff line number Diff line change @@ -84,8 +84,6 @@ export function getJSRegexppAst(
84
84
85
85
return {
86
86
pattern : patternAst ,
87
- // FIXME: TS Error
88
- // @ts -expect-error -- FIXME
89
87
flags : {
90
88
type : "Flags" ,
91
89
raw : flagsString ?? "" ,
@@ -99,6 +97,7 @@ export function getJSRegexppAst(
99
97
multiline : flags . multiline ?? false ,
100
98
sticky : ! ignoreSticky && ( flags . sticky ?? false ) ,
101
99
unicode : flags . unicode ?? false ,
100
+ unicodeSets : flags . unicodeSets ?? false ,
102
101
} ,
103
102
}
104
103
}
Original file line number Diff line number Diff line change @@ -142,8 +142,10 @@ const EQUALS_CHECKER = {
142
142
a . global === b . global &&
143
143
a . ignoreCase === b . ignoreCase &&
144
144
a . multiline === b . multiline &&
145
+ a . hasIndices === b . hasIndices &&
145
146
a . sticky === b . sticky &&
146
- a . unicode === b . unicode
147
+ a . unicode === b . unicode &&
148
+ a . unicodeSets === b . unicodeSets
147
149
)
148
150
} ,
149
151
Group (
You can’t perform that action at this time.
0 commit comments