angular/packages
Kristiyan Kostadinov c421ffdbfb fix(compiler): control flow nodes with root at the end projected incorrectly (#58607)
Fixes an edge case where a control flow node that has non-projectable nodes followed by an element node at the end would cause the entire control flow node to be project. For example if we have a projection target of `Main: <ng-content/> Slot: <ng-content select="[foo]"/>`, inserting a node of `@if (true) {Hello <span foo>world</span>}` would project the entire `Hello world` into the `[foo]` slot.

In the process of working on the issue, I also found that `@let` declarations at the root of the control flow node would prevent content projection as well.

PR Close #58607
2024-11-12 18:05:00 +00:00
..
animations refactor(core): Migrate all packages with the explicit-standalone-flag schematic. (#58160) 2024-10-14 14:58:57 +00:00
bazel build: remove usages of useDefineForClassFields: false (#58297) 2024-10-28 12:26:05 -07:00
benchpress refactor(platform-server): Add an ssr benchmark setup. (#57647) 2024-10-04 10:45:22 -07:00
common refactor: add @__PURE__ next to @pureOrBreakMyCode for improved bundler compatibility (#58297) 2024-10-28 12:26:05 -07:00
compiler fix(compiler): control flow nodes with root at the end projected incorrectly (#58607) 2024-11-12 18:05:00 +00:00
compiler-cli fix(compiler): control flow nodes with root at the end projected incorrectly (#58607) 2024-11-12 18:05:00 +00:00
core fix(compiler): control flow nodes with root at the end projected incorrectly (#58607) 2024-11-12 18:05:00 +00:00
docs/di docs: remove outdated/unsupported webworker doc (#49856) 2023-04-17 14:01:41 +00:00
elements refactor(core): Migrate all packages with the explicit-standalone-flag schematic. (#58160) 2024-10-14 14:58:57 +00:00
examples build: remove usages of useDefineForClassFields: false (#58297) 2024-10-28 12:26:05 -07:00
forms build: remove usages of useDefineForClassFields: false (#58297) 2024-10-28 12:26:05 -07:00
language-service fix(compiler-cli): report individual diagnostics for unused imports (#58589) 2024-11-11 15:31:00 +00:00
localize build: update babel dependencies (#58499) 2024-11-06 06:59:44 +01:00
misc/angular-in-memory-web-api refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
platform-browser fix(platform-browser): correctly add external stylesheets to ShadowDOM components (#58482) 2024-11-05 11:33:17 +01: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 fix(compiler): control flow nodes with root at the end projected incorrectly (#58607) 2024-11-12 18:05:00 +00:00
private/testing refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
router fix(router): remove setter for injector on OutletContext (#58343) 2024-10-24 16:41:04 -07:00
service-worker build: remove usages of useDefineForClassFields: false (#58297) 2024-10-28 12:26:05 -07:00
ssr build: remove redundant file (#58556) 2024-11-07 22:43:23 +00:00
upgrade refactor(core): Migrate all packages with the explicit-standalone-flag schematic. (#58160) 2024-10-14 14:58:57 +00:00
zone.js build: lock file maintenance (#58450) 2024-11-07 21:29:52 +00:00
BUILD.bazel docs: update SSR documentation to include API references (#58445) 2024-11-07 21:28:54 +00: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