angular/packages/core/primitives
Andrew Seguin e2a9938c51 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)`
2025-12-17 14:38:38 -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 15:22:49 -08:00
di refactor(common): Removes unused imports to clean up dependencies 2025-11-06 08:35:28 -08:00
dom-navigation refactor(core): Add transition.to property to FakeNavigation 2025-12-10 10:18:08 -08:00
event-dispatch ci: reformat files 2025-12-16 14:44:19 -08:00
signals fix(core): explicitly cast signal node value to String 2025-12-17 14:38:38 -08:00