Skip to content

Commit 388dc93

Browse files
CaerusKarualxhub
authored andcommitted
feat: remove @angular/http (angular#27038)
The legacy HTTP package was deprecated in v5 with the launch of @angular/common/http. The legacy package hasn't been published since v7, and will therefore not include a migration. PR Close angular#27038
1 parent fbd281c commit 388dc93

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+1
-5287
lines changed

.pullapprove.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,6 @@ groups:
366366
- >
367367
contains_any_globs(files, [
368368
'packages/common/http/**',
369-
'packages/http/**',
370369
'packages/examples/http/**',
371370
'aio/content/guide/http.md',
372371
'aio/content/examples/http/**',

docs/PUBLIC_API.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ Our semver, timed-release cycle and deprecation policy currently applies to thes
77
- `@angular/common`
88
- `@angular/elements`
99
- `@angular/forms`
10-
- `@angular/http`
1110
- `@angular/platform-browser`
1211
- `@angular/platform-browser-dynamic`
1312
- `@angular/platform-server`

goldens/public-api/http/http.d.ts

Lines changed: 0 additions & 259 deletions
This file was deleted.

goldens/public-api/http/testing/testing.d.ts

Lines changed: 0 additions & 21 deletions
This file was deleted.

integration/angular_integration_test.bzl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ GENERATED_NPM_PACKAGES = [
4444
"@angular/core",
4545
"@angular/elements",
4646
"@angular/forms",
47-
"@angular/http",
4847
"@angular/language-service",
4948
"@angular/localize",
5049
"@angular/platform-browser",

modules/benchmarks/src/bootstrap_ng2.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ function benchmarksBootstrap() {
3434
'/packages-dist/platform-browser/bundles/platform-browser.umd.js',
3535
'@angular/platform-browser-dynamic':
3636
'/packages-dist/platform-browser-dynamic/bundles/platform-browser-dynamic.umd.js',
37-
'@angular/http': '/packages-dist/http/bundles/http.umd.js',
3837
'@angular/upgrade': '/packages-dist/upgrade/bundles/upgrade.umd.js',
3938
'@angular/router': '/packages-dist/router/bundles/router.umd.js',
4039
'rxjs': '/all/benchmarks/vendor/rxjs',

modules/playground/src/jsonp/app/jsonp_comp.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import {Component} from '@angular/core';
1515
<h1>people</h1>
1616
<ul class="people">
1717
<li *ngFor="let person of people">
18-
hello, {{person['name']}}
18+
hello, {{person.name}}
1919
</li>
2020
</ul>
2121
`

packages/bazel/src/ng_package/ng_package.bzl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,6 @@ WELL_KNOWN_GLOBALS = {p: _global_name(p) for p in [
110110
"@angular/common/http/testing",
111111
"@angular/common/http",
112112
"@angular/elements",
113-
"@angular/http/testing",
114-
"@angular/http",
115113
"@angular/platform-browser-dynamic/testing",
116114
"@angular/platform-browser-dynamic",
117115
"@angular/compiler/testing",

packages/compiler-cli/integrationtest/BUILD.bazel

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ nodejs_test(
5656
"//packages/compiler-cli:npm_package",
5757
"//packages/core:npm_package",
5858
"//packages/forms:npm_package",
59-
"//packages/http:npm_package",
6059
"//packages/platform-browser:npm_package",
6160
"//packages/platform-browser-dynamic:npm_package",
6261
"//packages/platform-server:npm_package",

packages/compiler-cli/integrationtest/test_helpers.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ const requiredNodeModules = {
2828
'@angular/compiler-cli': resolveNpmTreeArtifact('angular/packages/compiler-cli/npm_package'),
2929
'@angular/core': resolveNpmTreeArtifact('angular/packages/core/npm_package'),
3030
'@angular/forms': resolveNpmTreeArtifact('angular/packages/forms/npm_package'),
31-
'@angular/http': resolveNpmTreeArtifact('angular/packages/http/npm_package'),
3231
'@angular/platform-browser':
3332
resolveNpmTreeArtifact('angular/packages/platform-browser/npm_package'),
3433
'@angular/platform-browser-dynamic':

0 commit comments

Comments
 (0)