Home > Back-end >  @angular/http not updates after npm update
@angular/http not updates after npm update

Time:10-17

After running npm update all of my angular packages will change to the latest version except @angular/http.

Does anyone know the reason?

Here is a part of my package.json:

"dependencies": {
    "@angular/animations": "^12.2.10",
    "@angular/cdk": "^12.2.10",
    "@angular/cli": "^12.2.10",
    "@angular/common": "^12.2.10",
    "@angular/compiler": "^12.2.10",
    "@angular/core": "^12.2.10",
    "@angular/forms": "^12.2.10",
    "@angular/http": "^7.2.16",
    "@angular/localize": "^12.2.10",
    "@angular/platform-browser": "^12.2.10",
    "@angular/platform-browser-dynamic": "^12.2.10",
    "@angular/pwa": "^0.1000.8",
    "@angular/router": "^12.2.10",
    "@angular/service-worker": "^12.2.10"
  },

After running npm update every package version changed from ^12.2.8 to ^12.2.10 but @angular/http remains on the old version.

CodePudding user response:

this package has been deprecated and the last version that was released was 7.2.16 based on this link

  • Related