Initial React project
This commit is contained in:
4
node_modules/@eslint/config-array/dist/cjs/std__path/posix.cjs
generated
vendored
4
node_modules/@eslint/config-array/dist/cjs/std__path/posix.cjs
generated
vendored
@@ -951,7 +951,7 @@ caseInsensitive = false } = {}) {
|
||||
let endsWithSep = false;
|
||||
let i = j;
|
||||
// Terminates with `i` at the non-inclusive end of the current segment.
|
||||
for(; i < glob.length && !c.seps.includes(glob[i]); i++){
|
||||
for(; i < glob.length && !(c.seps.includes(glob[i]) && groupStack.length === 0); i++){
|
||||
if (inEscape) {
|
||||
inEscape = false;
|
||||
const escapeChars = inRange ? RANGE_ESCAPE_CHARS : REG_EXP_ESCAPE_CHARS;
|
||||
@@ -1224,7 +1224,7 @@ const constants = {
|
||||
"(": ")",
|
||||
"[": "]"
|
||||
};
|
||||
const regex = /\\(.)|(^!|\*|\?|[\].+)]\?|\[[^[\\\]]+\]|\{[^{\\}]+\}|\(\?[:!=][^\\)]+\)|\([^(|]+\|[^\\)]+\))/;
|
||||
const regex = /\\(.)|(^!|\*|\?|[\].+)]\?|\[[^[\\\]]+\]|\{[^{\\}]+\}|\(\?[:!=][^\\)]+\)|\([^(|]+\|[^\\)]+\)|@\([^)]+\))/;
|
||||
if (str === "") {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user