angular/packages
Andrew Kushnir 59837f4749 refactor(platform-server): import xhr2 dynamically in the ServerXhr class (#50095)
This commit updates the `@angular/common/http` and `@angular/platform-server` packages to allow dynamic import of the `xhr2` dependency. The `xhr2` dependency has side-effects that rely on a global scope and as a result in some environments those side-effectful calls fail. With the changes from this PR, the import is delayed until it's actually needed, which gives a chance for the underlying platform to setup global scope (via shims) as needed.

Co-authored-by: alan-agius4 <17563226+alan-agius4@users.noreply.github.com>

PR Close #50095
2023-05-08 14:32:43 -07:00
..
animations refactor(animations): remove circular deps (#50049) 2023-05-04 08:58:25 +02:00
bazel build: update minimum supported Node version from 16.13.0 -> 16.14.0 (#49771) 2023-04-11 07:56:31 -07:00
benchpress refactor(core): Remove ReflectiveInjector symbol (#48103) 2023-04-04 16:43:53 -07:00
common refactor(platform-server): import xhr2 dynamically in the ServerXhr class (#50095) 2023-05-08 14:32:43 -07:00
compiler refactor(compiler): extract save/restore view logic to separate phase (#50008) 2023-05-08 14:30:13 -07:00
compiler-cli refactor(compiler): reflect arrow function definition (#50084) 2023-05-04 08:56:24 +02:00
core refactor(core): remove webworker related checks on assertDomNode (#50061) 2023-05-08 14:30:39 -07:00
docs/di docs: remove outdated/unsupported webworker doc (#49856) 2023-04-17 14:01:41 +00:00
elements build(elements): remove unecessary filegroup. (#49982) 2023-04-25 09:30:59 -07:00
examples refactor(core): Remove ReflectiveInjector symbol (#48103) 2023-04-04 16:43:53 -07:00
forms build: update minimum supported Node version from 16.13.0 -> 16.14.0 (#49771) 2023-04-11 07:56:31 -07:00
language-service fix(compiler-cli): catch fatal diagnostic when getting diagnostics for components (#50046) 2023-04-28 15:18:03 +02:00
localize build: update minimum supported Node version from 16.13.0 -> 16.14.0 (#49771) 2023-04-11 07:56:31 -07:00
misc/angular-in-memory-web-api build: update angular-in-memory-web-api to work with ESM (#48521) 2022-12-19 19:50:42 +00:00
platform-browser refactor(platform-browser): Throw tree-shakable errors. (#49341) 2023-05-04 12:21:20 +02:00
platform-browser-dynamic refactor(platform-browser): cleanup references to dart (#49858) 2023-04-18 14:00:45 +00:00
platform-server refactor(platform-server): import xhr2 dynamically in the ServerXhr class (#50095) 2023-05-08 14:32:43 -07:00
private/testing fix(platform-server): bundle @angular/domino in via esbuild (#49229) 2023-02-28 13:34:50 -08:00
router refactor(router): remove targetPageId from transition (#49799) 2023-04-17 17:36:02 +00:00
service-worker build: update minimum supported Node version from 16.13.0 -> 16.14.0 (#49771) 2023-04-11 07:56:31 -07:00
upgrade build: update minimum supported Node version from 16.13.0 -> 16.14.0 (#49771) 2023-04-11 07:56:31 -07:00
zone.js build: update dependency google-closure-compiler to v20230411 (#49892) 2023-04-18 19:07:14 +00:00
BUILD.bazel build(bazel): list docs entrypoints under packages to simplify docgen 2022-11-22 13:51:16 -07:00
circular-deps-test.conf.js build: ignore type only imports/exports for circular dependency checks (#47017) 2022-08-18 12:06:09 -07:00
empty.ts
goog.d.ts
license-banner.txt
README.md
system.d.ts
tsconfig-build.json build: update ts_library to produce ES2022 (#49559) 2023-03-23 08:18:45 -07:00
tsconfig-legacy-saucelabs.json refactor(compiler): drop obsolete NgFactory and NgSummary config options (#48268) 2023-02-21 13:03:59 -08:00
tsconfig-test.json
tsconfig-tsec-base.json
tsconfig.json refactor(compiler): drop obsolete NgFactory and NgSummary config options (#48268) 2023-02-21 13:03:59 -08:00
tsec-exemption.json fix(core): hardening attribute and property binding rules for <iframe> elements (#47964) 2022-11-09 00:47:56 -08:00
types.d.ts

Angular

The sources for this package are in the main Angular repo. Please file issues and pull requests against that repo.

Usage information and reference details can be found in Angular documentation.

License: MIT