Skip to content

Commit 0012fb7

Browse files
authored
chore(deps): strict regex for package.json and yarn (#822)
1 parent d205f09 commit 0012fb7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

renovate.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"package.mustache"
4747
],
4848
"matchStrings": [
49-
"\\s\"(?<depName>.*?)\": \"(?<currentValue>.*?)\",?\\s"
49+
"\\s\"(?<depName>.*?)\": \"(?<currentValue>\\d.*?)\",?\\s"
5050
],
5151
"datasourceTemplate": "npm"
5252
},
@@ -75,7 +75,7 @@
7575
"description": "Update yarn version (won't work because we need to download the script but gives an alert at least)",
7676
"fileMatch": ".yarnrc.yml",
7777
"matchStrings": [
78-
"yarn/releases/yarn-(?<currentValue>.*?)"
78+
"yarn/releases/yarn-(?<currentValue>.*?)\\.cjs"
7979
],
8080
"depNameTemplate": "yarnpkg/berry",
8181
"datasourceTemplate": "github-releases"

0 commit comments

Comments
 (0)