Skip to content

Commit

Permalink
Bump dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
slevithan committed Dec 19, 2024
1 parent 4f116aa commit d9688b0
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 21 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@
"dependencies": {
"emoji-regex-xs": "^1.0.0",
"regex": "^5.0.2",
"regex-recursion": "^4.3.0"
"regex-recursion": "^5.0.0"
},
"devDependencies": {
"esbuild": "^0.24.0",
"jasmine": "^5.4.0",
"jasmine": "^5.5.0",
"typescript": "^5.7.2",
"vscode-oniguruma": "^2.0.1"
}
Expand Down
28 changes: 14 additions & 14 deletions pnpm-lock.yaml

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

6 changes: 1 addition & 5 deletions src/transform.js
Original file line number Diff line number Diff line change
Expand Up @@ -798,11 +798,7 @@ function isValidGroupNameJs(name) {

// Returns a single node, either the given node or all nodes wrapped in a noncapturing group
function parseFragment(pattern, options) {
const opts = {
skipPropertyNameValidation: false,
...options,
};
const ast = parse(tokenize(pattern), opts);
const ast = parse(tokenize(pattern), options);
const alts = ast.pattern.alternatives;
if (alts.length > 1 || alts[0].elements.length > 1) {
return adoptAndSwapKids(createGroup(), alts);
Expand Down

0 comments on commit d9688b0

Please sign in to comment.