Skip to content

Commit

Permalink
update typescript, caught a bug
Browse files Browse the repository at this point in the history
  • Loading branch information
antonk52 committed Dec 8, 2024
1 parent 2536fa1 commit 2217aeb
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
15 changes: 8 additions & 7 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 @@ -32,7 +32,7 @@
"@types/lodash.camelcase": "^4.3.9",
"@types/node": "^18.19.26",
"rimraf": "^6.0.1",
"typescript": "^5.4.3",
"typescript": "^5.7.2",
"vitest": "^2.1.8"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ const concatSelectors = (
* }
* }
*/
s => (/&[a-z0-1-_]/i ? s.replace('&', ps) : s),
s => (/&[a-z0-1-_]/i.test(s) ? s.replace('&', ps) : s),
),
),
);
Expand Down

0 comments on commit 2217aeb

Please sign in to comment.