Skip to content

Commit

Permalink
fix(vendors): simplify the currentValue capture for npm commands (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
marcusrbrown committed Jun 4, 2024
1 parent 476fc8b commit 6185485
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions vendors.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,10 @@
"^\\.renovaterc$"
],
"matchStrings": [
"\\s*npx\\s+(?<depName>.+?)@(?<currentValue>.+?)(?:\\s+?.*)*$",
"\\s*npm\\s+install\\s+(?:-(?:g|-global)\\s+)?(?<depName>.+?)@(?<currentValue>.+?)(?:\\s+?.*)*$"
]
"\\s*npx\\s+(?<depName>.+?)@(?<currentValue>[a-z0-9.-]+)",
"\\s*npm\\s+install\\s+(?:-(?:g|-global)\\s+)?(?<depName>.+?)@(?<currentValue>[a-z0-9.-]+)"
],
"versioningTemplate": "loose"
}
]
},
Expand Down

0 comments on commit 6185485

Please sign in to comment.