Skip to content

meta(changelog): Update package versions - #130

Merged
HazAT merged 1 commit into
mainfrom
changeset-release/main
Nov 24, 2023
Merged

HazAT merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or setup this action to publish automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@spotlightjs/astro@0.0.18

Patch Changes

  • Add debug flag to Spotlight
    (9f9370f)

  • Updated dependencies
    [9f9370f,
    d90c89c]:

    • @spotlightjs/core@0.0.15

@spotlightjs/core@0.0.15

Patch Changes

@vercel

vercel Bot commented Nov 24, 2023 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
spotlightjs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 24, 2023 8:54am

@HazAT
HazAT merged commit d8e2cc9 into main Nov 24, 2023
@HazAT
HazAT deleted the changeset-release/main branch November 24, 2023 08:54
BYK pushed a commit that referenced this pull request Sep 15, 2026
…e crash (#1355)

## Summary
- `JsonViewer` (used by trace/event context views, span DB query
descriptions, envelope details, logs) can crash the whole app with React
error #130 ("Element type is invalid... but got: object").
- Root cause: `@microlink/react-json-view@1.23.x`'s CJS/UMD bundle ends
up double-wrapped as `{ default: Component }` under Vite's dependency
interop (both `vite build` and the dev server's esbuild pre-bundling),
so the default import resolves to an object instead of the component.
- The package fixed this themselves in `1.31.9` by adding a proper
`index.mjs` ESM entry point and a conditional `exports` map
(getsentry/spotlight is unaffected by this class of interop bug once
resolving to that entry). This PR just bumps the dependency to pick up
their fix; no application code changes needed.

## Test plan
- [x] Reproduced the crash live against real trace data using the
previous pinned version (1.23.4 range, resolved 1.26.1) in both `vite
--config vite.dev.config.ts` and the production `vite build --config
vite.ui.config.ts` bundle.
- [x] After the bump (resolves to 1.31.34), rebuilt the production
bundle and loaded 10+ real trace/context views (including large nested
payloads) with no error #130 and no console errors from `JsonViewer`.
- [x] `tsc --noEmit` clean for the affected files; existing `AnsiText`
unit tests in the same directory still pass.

This branch was successfully deployed

1 active deployment
Preview — df0fb68b Deployed Nov 24, 2023 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant