angular/packages
Matthew Berry aad6ced0ef fix(compiler): support one additional level of nesting in :host()
Previously we supported one level of nested parentheses inside of a
`:host()` selector, e.g. `:host(:not(p))`. This caused a breakage in g3
when I migrated a selector from `:host:not(:has(p))` to
`:host(:not(:has(p)))`. This change adds support for just one more level
of nesting.

It'd be nice to move everything to a real CSS parser (or even update it
to count parentheses like I did with :host-context()), but I wasn't able
to get that to work in ~20 minutes and I'm focusing on other things at
the moment.

This change punts the problem until somebody tries to use just one more
level of nesting in a selector.

Fixes #64830

(cherry picked from commit 444143758e)
2025-11-06 18:53:47 +00:00
..
animations build: format md files 2025-11-06 10:07:13 -08:00
benchpress build: format md files 2025-11-06 10:07:13 -08:00
common build: format md files 2025-11-06 10:07:13 -08:00
compiler fix(compiler): support one additional level of nesting in :host() 2025-11-06 18:53:47 +00:00
compiler-cli build: format md files 2025-11-06 10:07:13 -08:00
core build: format md files 2025-11-06 10:07:13 -08:00
docs/di build: format md files 2025-11-06 10:07:13 -08:00
elements build: format md files 2025-11-06 10:07:13 -08:00
examples build: format md files 2025-11-06 10:07:13 -08:00
forms refactor(forms): add compatForm 2025-11-06 18:51:31 +00:00
language-service build: format md files 2025-11-06 10:07:13 -08:00
localize build: format md files 2025-11-06 10:07:13 -08:00
misc/angular-in-memory-web-api build: format md files 2025-11-06 10:07:13 -08:00
platform-browser build: format md files 2025-11-06 10:07:13 -08:00
platform-browser-dynamic build: format md files 2025-11-06 10:07:13 -08:00
platform-server build: format md files 2025-11-06 10:07:13 -08:00
private/testing build: rename defaults2.bzl to defaults.bzl (#63383) 2025-08-25 15:45:01 -07:00
router build: format md files 2025-11-06 10:07:13 -08:00
service-worker build: format md files 2025-11-06 10:07:13 -08:00
ssr/docs build: rename defaults2.bzl to defaults.bzl (#63383) 2025-08-25 15:45:01 -07:00
upgrade build: format md files 2025-11-06 10:07:13 -08:00
zone.js build: format md files 2025-11-06 10:07:13 -08:00
BUILD.bazel build: configure signal forms for release (#63458) 2025-08-29 14:31:35 -07:00
circular-deps-test.conf.js docs(docs-infra): lift circular imports (#63186) 2025-08-19 07:58:45 +00: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 docs: update website URL in license banners (#64183) 2025-10-02 07:56:58 -07:00
package.json build: prepare for compiler-cli to be using ts_project (#61181) 2025-05-09 15:59:46 +00:00
README.md build: format md files 2025-11-06 10:07:13 -08:00
system.d.ts refactor: update packages/core:{core,src} to ts_project (#61275) 2025-05-14 12:01:51 +00:00
tsconfig-build.json build: adopt moduleResolution: "bundler" (#64125) 2025-09-29 14:20:23 -04:00
tsconfig-legacy-saucelabs.json feat(core): support TypeScript 5.5 (#56096) 2024-05-29 15:33:33 +02:00
tsconfig-test.json
tsconfig.json feat(compiler-cli): enable type checking of host bindings by default (#63654) 2025-09-09 14:34:29 -07:00
tsec-exemption.json
types.d.ts build: move private testing helpers outside platform-browser/testing (#61472) 2025-05-20 10:00:43 +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