angular/packages/core/src
Andrew Kushnir eaff724b77 fix(core): prevent infinite loops in clobbered elements check (#54425)
This commit updates HTML sanitization logic to avoid infinite loops in case clobbered elements contain fields like `nextSibling` or `parentNode`. Those fields are used for DOM traversal and this update makes sure that those calls return valid results.

Also this commit fixes an issue when clobbering `nodeName` causes JS exceptions.

PR Close #54425
2024-03-11 12:46:16 -07:00
..
application Revert "fix(core): ApplicationRef.tick should respect OnPush for host bindings (#53718)" (#54774) 2024-03-08 05:57:15 -08:00
authoring fix(core): return a readonly signal on asReadonly. (#54706) 2024-03-06 14:41:12 +01:00
change_detection refactor(core): render hooks should always run on node attach or detach (#54083) 2024-03-07 12:59:10 -08:00
compiler refactor(compiler): support JIT for signal-based queries (#54019) 2024-01-24 16:13:31 +01:00
debug refactor(core): cleanup DebugElement (#50896) 2023-10-13 12:24:15 +02:00
defer fix(core): collect providers from NgModules while rendering @defer block (#52881) 2024-02-23 12:30:05 -08:00
di docs: fix label on API link. (#54621) 2024-03-05 18:35:04 +01:00
hydration refactor(core): add i18nNodes in preparation for i18n hydration (#54750) 2024-03-11 11:12:43 -07:00
i18n refactor(core): don't hydrate detached nodes (#54723) 2024-03-07 11:01:29 -08:00
interface build: configure cross-pkg resolution for api extraction (#52499) 2024-01-05 11:27:34 -08:00
linker refactor(core): remove InjectionToken descriptions in optimized builds. (#53747) 2024-01-26 19:12:41 +00:00
metadata docs: view child static query differences formatting (#54370) 2024-02-21 15:18:43 -08:00
platform refactor(core): pull compileNgModuleFactory out of application_ref (#54103) 2024-02-06 15:04:36 +00:00
reflection build: configure cross-pkg resolution for api extraction (#52499) 2024-01-05 11:27:34 -08:00
render refactor(animations): make AnimationBuilder tree-shakable (#52097) 2023-10-12 18:13:22 +02:00
render3 refactor(core): avoid additional closure for queued microtask callback (#54801) 2024-03-11 08:59:55 -07:00
sanitization fix(core): prevent infinite loops in clobbered elements check (#54425) 2024-03-11 12:46:16 -07:00
testability refactor(core): Remove internal-only testability features (#53767) 2024-01-09 14:46:46 -08:00
util fix(core): untrack various core operations (#54614) 2024-02-29 11:38:54 +01:00
view refactor: remove unnecessary file (#49042) 2023-02-17 11:08:33 -08:00
zone refactor(core): Use single source of truth for ApplicationRef.isStable (#53576) 2023-12-19 12:42:45 -08:00
authoring.ts feat(core): expose new output() API (#54650) 2024-03-06 12:34:38 +01:00
cached_injector_service.ts fix(core): collect providers from NgModules while rendering @defer block (#52881) 2024-02-23 12:30:05 -08:00
change_detection.ts perf(core): remove support for the deprecated WrappedValue (#43507) 2021-10-01 12:25:19 -04:00
console.ts refactor(core): make platform core providers tree-shakable (#45506) 2022-04-12 22:28:23 +00:00
core.externs.js build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
core.ts feat(core): add support for model inputs (#54252) 2024-02-07 16:36:09 +00:00
core_private_export.ts refactor(core): Remove isInternal flag (#54740) 2024-03-07 09:07:01 -08:00
core_reactivity_export.ts feat(core): add Angular Signals to the public API (#49150) 2023-02-22 11:27:21 -08:00
core_reactivity_export_internal.ts refactor(compiler-cli): fix regression in two-way bindings to inputs with different getter/setter types (#54252) 2024-02-07 16:36:13 +00:00
core_render3_private_export.ts refactor(core): break circular dependencies in preparation for queries as signals (#54103) 2024-02-06 15:04:36 +00:00
di.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
error_details_base_url.ts docs: extract XSS security doc URL into a constant (#48082) 2022-11-17 13:21:16 -08:00
error_handler.ts refactor(core): Move code out of application_ref (#53371) 2023-12-08 14:29:46 -08:00
errors.ts refactor(core): create OutputRef runtime construct (#54650) 2024-03-06 12:34:38 +01:00
event_emitter.ts refactor(core): EventEmitter implements OutputRef. (#54650) 2024-03-06 12:34:39 +01:00
image_performance_warning.ts refactor(core): Separate application and platform files even more (#53371) 2023-12-08 14:29:46 -08:00
linker.ts feat(core): introduce concept of DestroyRef (#49158) 2023-02-28 11:52:09 -08:00
metadata.ts refactor: fix a number of typos throughout the codebase (#52249) 2023-10-25 16:51:24 -07:00
pending_tasks.ts refactor(core): Use single source of truth for ApplicationRef.isStable (#53576) 2023-12-19 12:42:45 -08:00
r3_symbols.ts refactor(compiler): apply component metadata asynchronously when defer blocks are present (#51182) 2023-08-15 11:32:09 -07:00
render.ts refactor(core): clean up circular dependencies (#39722) 2020-11-18 09:15:29 -08:00
transfer_state.ts refactor(core): Separate application and platform files even more (#53371) 2023-12-08 14:29:46 -08:00
version.ts fix(core): avoid repeated work when parsing version (#53598) 2023-12-18 16:26:36 +00:00
zone.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00