Commit 98023f7
committed
fix: parse npm show output correctly for multi-version ranges
npm show with a version range (e.g. ~1.136.0) outputs lines like
'@openui5/types@1.136.17 '1.136.17'' instead of just '1.136.17'.
Extract the bare semver with grep to avoid malformed version strings
that fail the downstream validation.1 parent c66c4f5 commit 98023f7
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
79 | | - | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
80 | 81 | | |
81 | 82 | | |
82 | 83 | | |
| |||
0 commit comments