angular/packages/router/src
Anuj Chhajed 288238abef refactor(core): correct all typeof ngDevMode comparison patterns introduced by #63875
This change replaces all remaining occurrences of `typeof ngDevMode !== undefined`
with the correct `typeof ngDevMode !== 'undefined'` form. This aligns the codebase
with JavaScript typeof semantics and maintains consistency with other Angular code.

(cherry picked from commit 96b79fc393)
2025-12-08 10:30:06 -08:00
..
components fix(router): avoid component ID collisions with user code (#59300) 2025-01-06 19:18:52 +00:00
directives refactor(core): correct all typeof ngDevMode comparison patterns introduced by #63875 2025-12-08 10:30:06 -08:00
operators Revert "refactor(router): compress synchronous end to router navigation to single operator" 2025-12-02 19:13:07 +01:00
statemanager refactor(router): Add provider for integrating with Navigation API and Location shim 2025-10-27 09:22:00 +01:00
utils refactor(core): correct all typeof ngDevMode comparison patterns introduced by #63875 2025-12-08 10:30:06 -08:00
apply_redirects.ts refactor(router): update error checks extending error (#63487) 2025-09-11 16:55:58 +00:00
apply_redirects_rxjs.ts refactor(router): Add internal flag to control async vs rxjs recognize (#62994) 2025-08-29 08:55:13 -07:00
create_router_state.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
create_url_tree.ts fix(router): Respect custom UrlSerializer handling of query parameters (#64449) 2025-10-20 18:42:56 +00:00
errors.ts fix(router): Surface parse errors in Router.parseUrl (#64503) 2025-10-20 17:51:29 +00:00
events.ts docs: adds guide references to router APIs 2025-11-13 18:00:24 +00:00
index.ts refactor(router): publishing getLoadedRoutes using the global utils function (#58199) 2024-10-22 09:40:45 -07:00
models.ts docs(docs-infra): fix missing syntax highlighting 2025-11-24 13:13:25 -05:00
models_deprecated.ts fix(router): Remove 'any' type from route guards (#60378) 2025-03-28 11:50:11 +00:00
navigation_canceling_error.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
navigation_transition.ts Revert "refactor(router): compress synchronous end to router navigation to single operator" 2025-12-02 19:13:07 +01:00
page_title_strategy.ts docs: Adds guide for customizing page titles with TitleStrategy (#64238) 2025-10-06 15:17:58 -04:00
private_export.ts refactor(router): Add provider for integrating with Navigation API and Location shim 2025-10-27 09:22:00 +01:00
provide_router.ts docs: adds guide references to router APIs 2025-11-13 18:00:24 +00:00
recognize.ts refactor(common): remove unused import (#64699) 2025-10-30 19:27:34 +00:00
recognize_rxjs.ts refactor(router): update route config loading to use async/await (#64322) 2025-10-13 09:58:10 -07:00
route_reuse_strategy.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
router.ts docs(docs-infra): fix missing syntax highlighting 2025-11-24 13:13:25 -05:00
router_config.ts refactor(router): remove redundant providedIn: 'root' from injection tokens 2025-11-03 16:31:58 -08:00
router_config_loader.ts refactor(core): correct all typeof ngDevMode comparison patterns introduced by #63875 2025-12-08 10:30:06 -08:00
router_devtools.ts feat(devtools): clean up router tree for stable release (#63081) 2025-09-02 20:59:15 -07:00
router_module.ts Revert "refactor(common): Removes unused imports to clean up dependencies" 2025-11-06 09:05:05 -08:00
router_outlet_context.ts refactor(router): add return types to exported functions (#61310) 2025-05-14 08:57:35 -07:00
router_preloader.ts docs: Update router docs to add references and components input fixed syntaxis 2025-11-24 13:18:31 -05:00
router_scroller.ts refactor(router): add ngDevMode guards to InjectionToken names and cleanup imports 2025-11-10 12:04:35 -08:00
router_state.ts refactor(common): update examples to align with Angular best practices 2025-11-19 22:29:53 +00:00
shared.ts refactor: add explicit types for exports relying on inferred call return type (#61312) 2025-05-13 22:45:18 +00:00
url_handling_strategy.ts docs: Update router docs to add references and components input fixed syntaxis 2025-11-24 13:18:31 -05:00
url_tree.ts fix(router): handle parenthesized outlets without a name in DefaultUrlSerializer (#64507) 2025-10-23 12:33:59 +02:00
version.ts refactor(core): mark VERSION as @__PURE__ for better tree-shaking 2025-11-10 12:04:09 -08:00