We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 92d575b commit 375a396Copy full SHA for 375a396
packages/schematics/update/update/index.ts
@@ -38,7 +38,9 @@ const peerCompatibleWhitelist: { [name: string]: PeerVersionTransform } = {
38
while (!semver.gtr(major + '.0.0', range)) {
39
major++;
40
if (major >= 99) {
41
- throw new SchematicsException(`Invalid range: ${JSON.stringify(range)}`);
+ // Use original range if it supports a major this high
42
+ // Range is most likely unbounded (e.g., >=5.0.0)
43
+ return range;
44
}
45
46
0 commit comments