Skip to content

Commit 2217aeb

Browse files
committed
update typescript, caught a bug
1 parent 2536fa1 commit 2217aeb

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

package-lock.json

Lines changed: 8 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"@types/lodash.camelcase": "^4.3.9",
3333
"@types/node": "^18.19.26",
3434
"rimraf": "^6.0.1",
35-
"typescript": "^5.4.3",
35+
"typescript": "^5.7.2",
3636
"vitest": "^2.1.8"
3737
},
3838
"dependencies": {

src/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ const concatSelectors = (
222222
* }
223223
* }
224224
*/
225-
s => (/&[a-z0-1-_]/i ? s.replace('&', ps) : s),
225+
s => (/&[a-z0-1-_]/i.test(s) ? s.replace('&', ps) : s),
226226
),
227227
),
228228
);

0 commit comments

Comments
 (0)