angular-cn/packages
Kristiyan Kostadinov afd68e5674 feat(compiler): emit diagnostic for shadow dom components with an invalid selector (#42245)
This is based on a discussion we had a few weeks ago. Currently if a component uses `ViewEncapsulation.ShadowDom` and its selector doesn't meet the requirements for a custom element tag name, a vague error will be thrown at runtime saying something like "Element does not support attachShadowRoot".

These changes add a new diagnostic to the compiler that validates the component selector and gives a better error message during compilation.

PR Close #42245
2021-06-07 10:44:57 -07:00
..
animations feat(core): support TypeScript 4.3 (#42022) 2021-06-04 11:17:09 -07:00
bazel feat(core): support TypeScript 4.3 (#42022) 2021-06-04 11:17:09 -07:00
benchpress test: clean up internal testing utilities (#42177) 2021-05-26 20:07:25 +00:00
common ci: add lint error for files with missing trailing new-line (#42478) 2021-06-04 13:31:03 -07:00
compiler feat(core): support TypeScript 4.3 (#42022) 2021-06-04 11:17:09 -07:00
compiler-cli feat(compiler): emit diagnostic for shadow dom components with an invalid selector (#42245) 2021-06-07 10:44:57 -07:00
core docs(core): clarify deprecation of `entryComponents` (#42248) 2021-06-07 10:02:01 -07:00
docs docs: remove/update broken links in resources appearing on aio (#42232) 2021-05-26 14:21:12 -07:00
elements feat(core): support TypeScript 4.3 (#42022) 2021-06-04 11:17:09 -07:00
examples build: fix linting against jasmine focus functions (#42415) 2021-06-01 10:16:55 -07:00
forms ci: add lint error for files with missing trailing new-line (#42478) 2021-06-04 13:31:03 -07:00
language-service ci: add lint error for files with missing trailing new-line (#42478) 2021-06-04 13:31:03 -07:00
localize ci: add lint error for files with missing trailing new-line (#42478) 2021-06-04 13:31:03 -07:00
misc/angular-in-memory-web-api feat(core): support TypeScript 4.3 (#42022) 2021-06-04 11:17:09 -07:00
platform-browser feat(core): support TypeScript 4.3 (#42022) 2021-06-04 11:17:09 -07:00
platform-browser-dynamic feat(core): support TypeScript 4.3 (#42022) 2021-06-04 11:17:09 -07:00
platform-server feat(core): support TypeScript 4.3 (#42022) 2021-06-04 11:17:09 -07:00
private/testing docs: convert the last `my-app` components to `app-root` (#42256) 2021-05-25 22:13:36 +00:00
router ci: add lint error for files with missing trailing new-line (#42478) 2021-06-04 13:31:03 -07:00
service-worker feat(core): support TypeScript 4.3 (#42022) 2021-06-04 11:17:09 -07:00
upgrade feat(core): support TypeScript 4.3 (#42022) 2021-06-04 11:17:09 -07:00
zone.js feat(core): support TypeScript 4.3 (#42022) 2021-06-04 11:17:09 -07:00
BUILD.bazel build: replace @types/trusted-types dep with minimal type defs (#39211) 2020-10-15 09:08:00 -07:00
README.md docs: add doc reference to npm package readme (#33911) 2019-11-20 14:46:23 -08:00
circular-deps-test.conf.js fix(platform-webworker): remove platform-webworker and platform-webworker-dynamic (#38846) 2020-09-30 09:13:59 -04:00
empty.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
goog.d.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
license-banner.txt docs: update year (#40925) 2021-02-22 12:37:40 -08:00
system.d.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
tsconfig-build-no-strict.json refactor(core): ensure compatibility with typescript strict flag (#30993) 2019-07-18 14:21:25 -07:00
tsconfig-build.json refactor(core): ensure compatibility with typescript strict flag (#30993) 2019-07-18 14:21:25 -07:00
tsconfig-test.json refactor: fix typescript strict flag failures in all tests (#30993) 2019-07-18 14:21:26 -07:00
tsconfig.json build: exclude compiler compliance tests from Saucelabs tests (#41866) 2021-04-30 14:15:10 -07:00
types.d.ts build: replace @types/trusted-types dep with minimal type defs (#39211) 2020-10-15 09:08:00 -07:00

README.md

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