Skip to content

Commit

Permalink
Bump regex to v5.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
slevithan committed Nov 15, 2024
1 parent 74f2ed5 commit 2dc5c6a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
7 changes: 4 additions & 3 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
],
"dependencies": {
"emoji-regex-xs": "^1.0.0",
"regex": "slevithan/regex",
"regex": "^5.0.0",
"regex-recursion": "^4.2.1"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ function toOnigurumaAst(pattern, options) {
Accepts an Oniguruma pattern and returns an equivalent JavaScript `RegExp`.
@param {string} pattern Oniguruma regex pattern.
@param {Options} [options]
@returns {RegExp | EmulatedRegExp}
@returns {RegExp}
*/
function toRegExp(pattern, options) {
const result = toDetails(pattern, options);
Expand Down

0 comments on commit 2dc5c6a

Please sign in to comment.