angular/packages
Andrew Scott 89fc131ef8 fix(compiler): always match close tag to the nearest open element (#42554)
This commit updates the parser logic to continue to try to match an end
tag to an unclosed open tag on the stack. Previously, it would only
push an error to the list and stop looking at unclosed elements.

For example, the invalid HTML of `<li><div></li>`, has an unclosed
element stack of [`li`, `div`] when it encounters the close `li` tag.
We compare against the previously unclosed tag `div` and see that this is
unexpected. Instead of simply giving up here, we continue to move up the
unclosed tags until we find a match (if there is one).

PR Close #42554
2021-06-14 14:10:47 -07:00
..
animations fix(platform-browser): update started state on reset (#41608) 2021-05-25 20:28:41 +00:00
bazel build(bazel): update supported range of node versions to be less restrictive (#42205) 2021-05-25 17:48:47 +00:00
benchpress test: clean up internal testing utilities (#42177) 2021-05-26 20:07:26 +00:00
common fix(common): initialize currencyCode in currencyPipe (#40505) 2021-06-03 10:52:29 -07:00
compiler fix(compiler): always match close tag to the nearest open element (#42554) 2021-06-14 14:10:47 -07:00
compiler-cli fix(compiler-cli): prevent prior compilations from being retained in watch builds (#42537) 2021-06-09 16:10:05 -07:00
core fix(core): ensure that autoRegisterModuleById registration in ɵɵdefineNgModule is not DCE-ed by closure (#42529) 2021-06-09 12:13:24 -07:00
docs docs: remove/update broken links in resources appearing on aio (#42232) 2021-05-26 14:21:13 -07:00
elements build(elements): update supported range of node versions to be less restrictive (#42205) 2021-05-25 17:48:48 +00:00
examples docs: fix issue 24571 in ngOnChanges (#42517) 2021-06-08 12:44:30 -07:00
forms fix(forms): changes to status not always being emitted to statusChanges observable for async validators. (#42553) 2021-06-14 09:57:58 -07:00
language-service fix(language-service): fix autocomplete info display for some cases (#42472) 2021-06-07 12:25:53 -07:00
localize build(localize): update supported range of node versions to be less restrictive (#42205) 2021-05-25 17:48:48 +00:00
misc/angular-in-memory-web-api build: remove core-js in favor of core-js-bundle (#41739) 2021-04-26 09:29:59 -07:00
platform-browser test: clean up internal testing utilities (#42177) 2021-05-26 20:07:26 +00:00
platform-browser-dynamic test: clean up internal testing utilities (#42177) 2021-05-26 20:07:26 +00:00
platform-server build(platform-server): update supported range of node versions to be less restrictive (#42205) 2021-05-25 17:48:48 +00:00
private/testing docs: convert the last my-app components to app-root (#42256) 2021-05-25 22:13:36 +00:00
router refactor(router): compute correct history restoration when navigation is cancelled (#38884) 2021-06-10 14:09:21 -07:00
service-worker build(service-worker): update supported range of node versions to be less restrictive (#42205) 2021-05-25 17:48:48 +00:00
upgrade build(upgrade): update supported range of node versions to be less restrictive (#42205) 2021-05-25 17:48:48 +00:00
zone.js fix(zone.js): only one listener should also re-throw an error correctly (#41868) 2021-06-10 09:24:04 -07:00
BUILD.bazel build: remove unused no-strict tsconfig file (#42506) 2021-06-07 10:47:48 -07: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
README.md docs: add doc reference to npm package readme (#33911) 2019-11-20 14:46:23 -08:00
system.d.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04: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:11 -07:00
types.d.ts build: replace @types/trusted-types dep with minimal type defs (#39211) 2020-10-15 09:08:00 -07: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