devtools/packages
Alem Tuzlak ed8b314173
fix(devtools-bundler-core): skip primitive values when walking AST children (#539)
* fix(devtools-bundler-core): skip primitive values when walking AST children

getChildKeys caches the object-valued keys of the first node it sees for a
type. A regex Literal has an object `value`, so `value` was cached for every
Literal. A later string Literal then reached `'type' in value` with a string,
which throws. addSourceToJsx catches the error and returns nothing, so after
one regex literal no file got data-tsd-source attributes.

forEachChild now skips every non-object value.

Fixes #523

* docs(changeset): describe which files lost source injection
History 2026-10-29 16:23:13 +01:00
..
angular-devtools ci: Version Packages (#530) 2026-09-23 13:31:18 +02:00
devtools fix: remove the intent bin that shadows @tanstack/intent (#542) 2026-10-29 16:19:15 +01:00
devtools-a11y fix(solid): cap solid-js peer range at ^1 (#557) 2026-10-29 16:12:35 +01:00
devtools-bundler-core fix(devtools-bundler-core): skip primitive values when walking AST children (#539) 2026-10-29 16:23:13 +01:00
devtools-client ci: Version Packages (#475) 2026-06-24 13:21:43 +02:00
devtools-rspack ci: Version Packages (#512) 2026-08-20 12:38:11 +02:00
devtools-ui fix(solid): cap solid-js peer range at ^1 (#557) 2026-10-29 16:12:35 +01:00
devtools-utils fix: remove the intent bin that shadows @tanstack/intent (#542) 2026-10-29 16:19:15 +01:00
devtools-vite fix: remove the intent bin that shadows @tanstack/intent (#542) 2026-10-29 16:19:15 +01:00
devtools-webmcp fix: remove the intent bin that shadows @tanstack/intent (#542) 2026-10-29 16:19:15 +01:00
event-bus ci: Version Packages (#506) 2026-08-19 18:56:50 +02:00
event-bus-client fix: remove the intent bin that shadows @tanstack/intent (#542) 2026-10-29 16:19:15 +01:00
preact-devtools ci: Version Packages (#552) 2026-10-11 13:01:21 -05:00
react-devtools ci: Version Packages (#530) 2026-09-23 13:31:18 +02:00
solid-devtools fix(solid): cap solid-js peer range at ^1 (#557) 2026-10-29 16:12:35 +01:00
svelte-devtools ci: Version Packages (#530) 2026-09-23 13:31:18 +02:00
vue-devtools ci: Version Packages (#530) 2026-09-23 13:31:18 +02:00