Skip to content

Commit

Permalink
build(deps): update re2 to 1.20.5 (#25483)
Browse files Browse the repository at this point in the history
  • Loading branch information
rarkins committed Oct 29, 2023
1 parent 4e912ae commit 09c2a6a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion lib/util/regex.ts
Expand Up @@ -43,7 +43,7 @@ export function regEx(
}

try {
const instance = new RegEx(pattern, flags);
const instance = flags ? new RegEx(pattern, flags) : new RegEx(pattern);
if (canBeCached) {
cache.set(key, instance);
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -251,7 +251,7 @@
"zod": "3.22.4"
},
"optionalDependencies": {
"re2": "1.20.3"
"re2": "1.20.5"
},
"devDependencies": {
"@hyrious/marshal": "0.3.2",
Expand Down
8 changes: 4 additions & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 09c2a6a

Please sign in to comment.