Command
update
Is this a regression?
The previous version in which this bug was not present was
No response
Description
The image below shows the results of running npm outdate and ng update.
Both package.json and package-lock.json are specified as 22.0.4. However, the output of ng update indicates that there are no updates.
It seems the ng update command is behaving differently than in previous versions.
Minimal Reproduction
npm outdate
ng update --verbose
Exception or Error
Your Environment
Angular CLI : 22.0.4
Angular : 22.0.4
Node.js : 24.18.0
Package Manager : npm 11.18.0
Operating System : linux x64
┌───────────────────────────┬───────────────────┬───────────────────┐
│ Package │ Installed Version │ Requested Version │
├───────────────────────────┼───────────────────┼───────────────────┤
│ @angular/build │ 22.0.4 │ ^22.0.4 │
│ @angular/cli │ 22.0.4 │ ^22.0.4 │
│ @angular/common │ 22.0.4 │ ^22.0.4 │
│ @angular/compiler │ 22.0.4 │ ^22.0.4 │
│ @angular/compiler-cli │ 22.0.4 │ ^22.0.4 │
│ @angular/core │ 22.0.4 │ ^22.0.4 │
│ @angular/forms │ 22.0.4 │ ^22.0.4 │
│ @angular/platform-browser │ 22.0.4 │ ^22.0.4 │
│ @angular/router │ 22.0.4 │ ^22.0.4 │
│ rxjs │ 7.8.2 │ ^7.8.2 │
│ typescript │ 6.0.3 │ ^6.0.3 │
└───────────────────────────┴───────────────────┴───────────────────┘
Anything else relevant?
No response
Command
update
Is this a regression?
The previous version in which this bug was not present was
No response
Description
The image below shows the results of running
npm outdateandng update.Both
package.jsonandpackage-lock.jsonare specified as 22.0.4. However, the output ofng updateindicates that there are no updates.It seems the
ng updatecommand is behaving differently than in previous versions.Minimal Reproduction
npm outdate
ng update --verbose
Exception or Error
Your Environment
Anything else relevant?
No response