angular/packages/compiler
Kristiyan Kostadinov 98d98f2c94 refactor(compiler): incorrect validation of switch blocks when preserveWhitespaces is enabled (#51570)
When `preserveWhitespaces` is enabled, `switch` blocks can end up with content inside their main block due to the indentation that is usually used for the nested cases. This was tripping up the validation that doesn't allow content inside the main block of `switch`.

These changes update the validation to ignore empty text nodes.

PR Close #51570
2023-09-05 14:18:44 +00:00
..
design feat(core): remove entryComponents (#49484) 2023-03-23 10:38:03 -07:00
src refactor(compiler): incorrect validation of switch blocks when preserveWhitespaces is enabled (#51570) 2023-09-05 14:18:44 +00:00
test refactor(compiler): incorrect validation of switch blocks when preserveWhitespaces is enabled (#51570) 2023-09-05 14:18:44 +00:00
testing feat(bazel): speed up dev-turnaround by bundling types only when packaging (#45405) 2022-04-21 11:09:39 -07:00
BUILD.bazel build(compiler): add a flag to conditionally build with the template pipeline (#48580) 2023-04-11 11:46:52 -07:00
compiler.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
index.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
package.json build: update minimum supported Node version from 16.13.0 -> 16.14.0 (#49771) 2023-04-11 07:56:31 -07:00
public_api.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00