angular/packages
Kristiyan Kostadinov 5cd26a9420 fix(compiler-cli): handle deferred blocks with shared dependencies correctly (#59926)
When the compiler analyzes the defer blocks in a component, it generates two sets of dependencies: ones specific for each block and others from all the deferred blocks within the component. The logic that combines all the defer block dependencies wasn't de-duplicating them which resulted in us producing `setClassMetadataAsync` calls where the callback can have multiple parameters with the same name. This was a problem both in full and partial compilation, but the latter was more visible, because Babel throws an error in such cases.

These changes add some logic to de-duplicate the dependencies so that we produce valid code.

Fixes #59922.

PR Close #59926
2025-02-12 09:15:53 -08:00
..
animations fix(core): animation sometimes renderer not being destroyed during HMR (#59574) 2025-01-16 11:36:43 -08:00
bazel feat(core): support TypeScript 5.8 (#59830) 2025-02-03 14:00:41 -08:00
benchpress build: update cross-repo angular dependencies (#58666) 2024-11-19 16:51:40 -08:00
common refactor(common): drop error messages in production (#59545) 2025-01-28 09:39:42 +01:00
compiler refactor(compiler): pass more information to HMR replacement function (#59854) 2025-02-12 09:05:30 -08:00
compiler-cli fix(compiler-cli): handle deferred blocks with shared dependencies correctly (#59926) 2025-02-12 09:15:53 -08:00
core fix(core): invalidate HMR component if replacement throws an error (#59854) 2025-02-12 09:05:30 -08:00
docs/di docs: remove outdated/unsupported webworker doc (#49856) 2023-04-17 14:01:41 +00:00
elements fix(elements): not setting initial value on signal-based input (#59773) 2025-01-29 08:50:25 -08:00
examples refactor: remove unnecessary TSLint rule flags (#59365) 2025-01-07 16:06:21 +00:00
forms feat(forms): support type set in form validators (#45793) 2025-02-05 08:59:55 -08:00
language-service feat(compiler): support untagged template literals in expressions (#59230) 2025-01-21 12:04:53 -08:00
localize docs: set syntax highlighting to the remaining Markdown code examples blocks (#59088) 2025-01-14 15:14:02 -05:00
misc/angular-in-memory-web-api docs: fix spelling of "set up" (#58362) 2025-02-03 13:50:49 -08:00
platform-browser refactor(platform-browser): remove redundant DomEventsPlugin dependencies (#59811) 2025-02-03 13:57:45 -08:00
platform-browser-dynamic refactor(core): Migrate all packages with the explicit-standalone-flag schematic. (#58160) 2024-10-14 14:58:57 +00:00
platform-server test(core): update tests that were relying on implicit animations module (#59762) 2025-01-29 10:52:18 -08:00
private/testing docs: set syntax highlighting of code examples MD code blocks (#59026) 2024-12-04 17:30:28 +01:00
router refactor(router): remove unused code (#59704) 2025-01-28 09:38:34 +01:00
service-worker fix(service-worker): add missing rxjs peer dependency (#59747) 2025-01-28 13:09:50 +01:00
ssr refactor(core): add REQUEST, RESPONSE_INIT and REQUEST_CONTEXT tokens (#58669) 2024-11-14 14:21:21 -08:00
upgrade docs: set syntax highlighting to the remaining Markdown code examples blocks (#59088) 2025-01-14 15:14:02 -05:00
zone.js build: lock file maintenance (#59763) 2025-01-29 08:49:47 -08:00
BUILD.bazel docs(core): remove redundant reference-manifests handwritten entries (#59169) 2024-12-12 17:29:22 -08:00
circular-deps-test.conf.js refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
empty.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
goog.d.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
license-banner.txt build: update licence date. (#55129) 2024-04-08 11:31:12 -07:00
README.md docs: fix links to docs (#57391) 2024-08-19 09:20:15 -07:00
system.d.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
tsconfig-build.json build: remove usages of useDefineForClassFields: false (#58297) 2024-10-28 12:26:05 -07:00
tsconfig-legacy-saucelabs.json feat(core): support TypeScript 5.5 (#56096) 2024-05-29 15:33:33 +02:00
tsconfig-test.json
tsconfig-tsec-base.json refactor(core): throw an error when hydration marker is missing from DOM (#51170) 2023-08-04 11:31:49 -04:00
tsconfig.json feat(language-service): add code reactoring action to migrate @Input to signal-input (#57214) 2024-08-29 07:50:41 -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 refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02: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