angular/packages
Andrew Scott a0551ee761 refactor(router): Eliminate constructor parameters in Router class (#48215)
The Router constructor and `setupRouter` factory mainly exist as a
legacy configuration. Since the Router's creation, the style in Angular
has evolved quite a bit. This commit eliminates and cleans up some
unnecessary comlicated code paths related to the router
constructor/factory.

Note that there are edits to the `setupTestingRouter` that could be seen
as breaking. However, it is not for several reasons:

1. The function is documented as a factory function. If used as
   documented, the parameters should match what's available in DI
2. The function is totally unused by the Router itself and is not used
   in g3 either. I believe it was made publicApi by an error when
   updating documentation annotations long ago.

PR Close #48215
2022-12-01 09:38:26 -08:00
..
animations build: reformat BUILD files (#48181) 2022-11-22 21:22:34 +00:00
bazel build(bazel): create AIO example playgrounds for manual testing 2022-11-22 13:51:16 -07:00
benchpress build(bazel): stamp targets to build, test, and serve aio against 2022-11-22 13:51:16 -07:00
common docs: update date pipe default timezone injection token reference (#48274) 2022-11-29 09:40:28 -08:00
compiler build(bazel): fix missing dgeni dependencies 2022-11-22 13:51:16 -07:00
compiler-cli fix(compiler-cli): accept inheriting the constructor from a class in a library (#48156) 2022-11-23 12:10:37 -08:00
core refactor(core): remove debug data structures (#48281) 2022-11-30 09:27:59 -08:00
docs docs: fix packages\docs\di\di.md (#46704) 2022-07-08 17:53:39 +00:00
elements build(bazel): create AIO example playgrounds for manual testing 2022-11-22 13:51:16 -07:00
examples build(bazel): add bazel targets for aio doc generation 2022-11-22 13:51:16 -07:00
forms build(bazel): create AIO example playgrounds for manual testing 2022-11-22 13:51:16 -07:00
language-service refactor(language-service): make selector nullable (#48193) 2022-11-23 09:27:03 -08:00
localize build: reformat BUILD files (#48181) 2022-11-22 21:22:34 +00:00
misc/angular-in-memory-web-api build: update angular version of in-memory-web-api (#48218) 2022-11-28 09:13:46 -08:00
platform-browser build: reformat BUILD files (#48181) 2022-11-22 21:22:34 +00:00
platform-browser-dynamic build: reformat BUILD files (#48181) 2022-11-22 21:22:34 +00:00
platform-server refactor(platform-server): remove Injector dependency for initDominoAdapter factory (#48231) 2022-11-28 09:12:35 -08:00
private/testing refactor(core): drop unused fields from the RootContext (#46806) 2022-08-05 09:58:06 -07:00
router refactor(router): Eliminate constructor parameters in Router class (#48215) 2022-12-01 09:38:26 -08:00
service-worker build(bazel): create AIO example playgrounds for manual testing 2022-11-22 13:51:16 -07:00
upgrade build: reformat BUILD files (#48181) 2022-11-22 21:22:34 +00:00
zone.js build(bazel): stamp targets to build, test, and serve aio against 2022-11-22 13:51:16 -07: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 build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
goog.d.ts refactor(core): replace references to goog.LOCALE with goog.getLocale() (#43089) 2021-08-10 10:35:26 -07:00
license-banner.txt build: bump license year (#44590) 2022-01-04 12:05:25 -08:00
README.md
system.d.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
tsconfig-build.json build: enable useUnknownInCatchVariables (#44679) 2022-02-01 18:17:29 +00:00
tsconfig-legacy-saucelabs.json build: bundle spec files for saucelabs legacy job (#44281) 2021-11-30 11:56:04 -05:00
tsconfig-test.json build: switch devmode output to es2015 (#44505) 2022-01-05 23:20:20 +00:00
tsconfig-tsec-base.json build: update tsconfigs to use ES2020 as target and module (#43431) 2021-10-01 18:28:42 +00:00
tsconfig.json refactor(bazel): enable typescript strictness flags for package (#47893) 2022-11-01 04:44:28 -07: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 build: update to jasmine 4.0 (#45558) 2022-04-11 16:25:28 +00:00

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