Previously, parsedVersionSpec was passed to NPMRegistrySource.prototype.fetch which stripped the alias if the versionSpec also contained a semver range, like npm:@codingame/monaco-vscode-api@ >= 1.69.0 < 1.70.0.
This change removes the semver parsing from Source.constructSource as it is the rensponsibility of NPMRegistrySource.prototype.fetch.
Previously,
parsedVersionSpec
was passed toNPMRegistrySource.prototype.fetch
which stripped the alias if the versionSpec also contained a semver range, likenpm:@codingame/monaco-vscode-api@ >= 1.69.0 < 1.70.0
.This change removes the semver parsing from
Source.constructSource
as it is the rensponsibility ofNPMRegistrySource.prototype.fetch
.Fixes #331