Skip to content

Commit

Permalink
build(deps): update re2 to 1.20.5 (renovatebot#25483)
Browse files Browse the repository at this point in the history
  • Loading branch information
rarkins authored and jon4hz committed Nov 9, 2023
1 parent 10be118 commit ffe82f7
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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 ffe82f7

Please sign in to comment.