angular/packages/core/primitives
Andrew Seguin 0edbee4550 fix(core): explicitly cast signal node value to String
If the computed's `toString` is called and `node.value` is a Symbol, the browser will throw an exception `ERROR TypeError: Cannot convert a Symbol value to a string`

Symbols cannot be implicitly changed to strings. This change changes the conversion to be explicit by wrapping `node.value` with `String()`

This can be reproduced if you create a computed with `createComputed(computation, equal)` and call `toString()` while `node.value` is something like `Symbol(UNSET)`

(cherry picked from commit e2a9938c51)
2025-12-17 14:38:41 -08:00
..
defer feat(core): support IntersectionObserver options in viewport triggers (#64130) 2025-10-09 05:32:21 -07:00
devtools refactor(core): export profile event as enum and move profile_types.ts and framework to shared devtools folder 2025-11-19 23:22:53 +00:00
di Revert "refactor(common): Removes unused imports to clean up dependencies" 2025-11-06 09:05:05 -08:00
dom-navigation refactor(core): Add transition.to property to FakeNavigation 2025-12-10 10:18:13 -08:00
event-dispatch ci: reformat files 2025-12-16 14:44:25 -08:00
signals fix(core): explicitly cast signal node value to String 2025-12-17 14:38:41 -08:00