angular/packages/compiler/test
P4 6755f5354c fix(compiler): return full spans for Comment nodes (#50855)
Change sourceSpan for Comment nodes to cover the whole comment
instead of just the opening token.

The primary motivation for this is the interaction between ESLint and
`@angular-eslint`. ESLint can detect unused `eslint-disable` directives
in comments and automatically remove them when running with `--fix`.
This is based on ranges computed from AST spans, and as a result
does not work inside Angular templates - right now all comments
claim to be 4 characters long so only the opening `<!--` is removed.

PR Close #50855
2023-07-28 14:39:18 -07:00
..
expression_parser refactor: improve type safety of interpolation AST (#50903) 2023-07-10 07:08:28 -07:00
i18n fix(compiler): return full spans for Comment nodes (#50855) 2023-07-28 14:39:18 -07:00
ml_parser fix(compiler): return full spans for Comment nodes (#50855) 2023-07-28 14:39:18 -07:00
output test: update source-map tests to account for source-map breaking change (#46888) 2022-07-19 09:40:54 -07:00
render3 fix(compiler): return full spans for Comment nodes (#50855) 2023-07-28 14:39:18 -07:00
schema refactor(platform-browser): Remove BrowserDetection (#50411) 2023-05-30 13:06:28 -07:00
selector feat(compiler): allow self-closing tags on custom elements (#48535) 2023-01-04 12:07:37 -08:00
shadow_css feat(compiler): scope selectors in @scope queries (#50747) 2023-07-11 08:29:53 -07:00
BUILD.bazel build: refactor packages/compiler/test to work with ESM (#48521) 2022-12-19 19:50:42 +00:00
compiler_facade_interface_spec.ts feat(compiler): add support for compile-time required inputs (#49468) 2023-03-20 13:10:30 +01:00
integration_spec.ts refactor(platform-browser): Remove BrowserDetection (#50411) 2023-05-30 13:06:28 -07:00
security_spec.ts fix(core): hardening attribute and property binding rules for <iframe> elements (#47964) 2022-11-09 00:47:56 -08:00
style_url_resolver_spec.ts refactor(compiler): make template preparser null-safe (#44411) 2022-01-04 15:54:10 -08:00
util_spec.ts perf(compiler): use raw bytes to represent utf-8 encoded strings (#39694) 2020-11-17 10:09:28 -08:00