Repository navigation
[release/13.2] Fix NpmRunner to handle multi-version npm view output - #15746
Merged
Jose Perez Rodriguez (joperezr) merged 1 commit intoApr 1, 2026
Merged
Jose Perez Rodriguez (joperezr) merged 1 commit into
Jose Perez Rodriguez (joperezr) merged 1 commit into
Conversation
When a version range like >=0.1.1 matches multiple published versions, npm view returns multi-line output instead of a single version string. The existing code tried to parse the entire multi-line output as a single SemVersion, which failed. Extract the last (highest) version from the multi-line output format: @scope/pkg@version 'version' Also bumps the @playwright/cli version range from >=0.1.1 to >=0.1.3. Fixes #15738 Co-authored-by: Copilot <[email protected]>
Contributor
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 15746Or
iex "& { $(irm https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 15746" |
Mitch Denny (mitchdenny)
approved these changes
Apr 1, 2026
James Newton-King (JamesNK)
approved these changes
Apr 1, 2026
Contributor
|
🎬 CLI E2E Test Recordings — 52 recordings uploaded (commit View recordings
📹 Recordings uploaded automatically from CI run #23833218085 |
Jose Perez Rodriguez (joperezr)
merged commit Apr 1, 2026
51ae0bf
into
release/13.2
253 checks passed
Jose Perez Rodriguez (joperezr)
deleted the
backport/pr-15739-to-release/13.2
branch
April 1, 2026 19:44
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport of #15739 to release/13.2
/cc Mitch Denny (@mitchdenny)
Customer Impact
Testing
Risk
Regression?