angular-cn/packages
Kristiyan Kostadinov 07c1ddc487 fix(router): error if module is destroyed before location is initialized (#42560)
This is something I ran into while working on a fix for the `TestBed` module teardown behavior for #18831. In the `RouterInitializer.appInitializer` we have a callback to the `LOCATION_INITIALIZED` which has to do some DI lookups. The problem is that if the module is destroyed before the location promise resolves, the `Injector.get` calls will fail. This is unlikely to happen in a real app, but it'll show up in unit tests once the test module teardown behavior is fixed.

PR Close #42560
2021-06-17 18:11:53 +00:00
..
animations feat(core): support TypeScript 4.3 (#42022) 2021-06-04 11:17:09 -07:00
bazel feat(core): support TypeScript 4.3 (#42022) 2021-06-04 11:17:09 -07:00
benchpress test: clean up internal testing utilities (#42177) 2021-05-26 20:07:25 +00:00
common Revert "refactor: remove checked-in locale files (#42230)" (#42583) 2021-06-16 09:49:38 -07:00
compiler fix(compiler): always match close tag to the nearest open element (#42554) 2021-06-14 14:10:46 -07:00
compiler-cli fix(compiler-cli): prevent prior compilations from being retained in watch builds (#42537) 2021-06-09 16:10:04 -07:00
core feat(core): add opt-in test module teardown configuration (#42566) 2021-06-17 18:03:47 +00:00
docs docs: remove/update broken links in resources appearing on aio (#42232) 2021-05-26 14:21:12 -07:00
elements feat(core): support TypeScript 4.3 (#42022) 2021-06-04 11:17:09 -07:00
examples docs: fix issue 24571 in ngOnChanges (#42517) 2021-06-08 12:44:30 -07:00
forms docs(forms): correct sample code for FormArray.reset (#42477) 2021-06-16 14:01:55 -07:00
language-service fix(language-service): 'go to defininition' for objects defined in template (#42559) 2021-06-14 14:13:48 -07:00
localize ci: add lint error for files with missing trailing new-line (#42478) 2021-06-04 13:31:03 -07:00
misc/angular-in-memory-web-api feat(core): support TypeScript 4.3 (#42022) 2021-06-04 11:17:09 -07:00
platform-browser feat(core): support TypeScript 4.3 (#42022) 2021-06-04 11:17:09 -07:00
platform-browser-dynamic feat(core): add opt-in test module teardown configuration (#42566) 2021-06-17 18:03:47 +00:00
platform-server feat(core): support TypeScript 4.3 (#42022) 2021-06-04 11:17:09 -07:00
private/testing docs: convert the last `my-app` components to `app-root` (#42256) 2021-05-25 22:13:36 +00:00
router fix(router): error if module is destroyed before location is initialized (#42560) 2021-06-17 18:11:53 +00:00
service-worker feat(core): support TypeScript 4.3 (#42022) 2021-06-04 11:17:09 -07:00
upgrade feat(core): support TypeScript 4.3 (#42022) 2021-06-04 11:17:09 -07:00
zone.js fix(zone.js): only one listener should also re-throw an error correctly (#41868) 2021-06-10 09:24:03 -07:00
BUILD.bazel build: remove unused no-strict tsconfig file (#42506) 2021-06-07 10:47:47 -07:00
README.md docs: add doc reference to npm package readme (#33911) 2019-11-20 14:46:23 -08:00
circular-deps-test.conf.js fix(platform-webworker): remove platform-webworker and platform-webworker-dynamic (#38846) 2020-09-30 09:13:59 -04:00
empty.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
goog.d.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
license-banner.txt docs: update year (#40925) 2021-02-22 12:37:40 -08:00
system.d.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
tsconfig-build.json refactor(core): ensure compatibility with typescript strict flag (#30993) 2019-07-18 14:21:25 -07:00
tsconfig-test.json refactor: fix typescript strict flag failures in all tests (#30993) 2019-07-18 14:21:26 -07:00
tsconfig.json build: exclude compiler compliance tests from Saucelabs tests (#41866) 2021-04-30 14:15:10 -07:00
types.d.ts build: replace @types/trusted-types dep with minimal type defs (#39211) 2020-10-15 09:08:00 -07:00

README.md

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