diff --git a/frontend/e2e-tests/components.spec.ts b/frontend/e2e-tests/components.spec.ts index 3ea1716c518..9f22efc5697 100644 --- a/frontend/e2e-tests/components.spec.ts +++ b/frontend/e2e-tests/components.spec.ts @@ -278,7 +278,7 @@ test("table", async ({ page }) => { helper.cell(3).locator(".marimo-json-output").first(), ).toHaveText( ` -[1 Items +[1 Item 0:{2 Items "first_name":"Dwight" "last_name":"Schrute" diff --git a/frontend/package.json b/frontend/package.json index 5d3b8d9ed20..8ea0611b92a 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -72,7 +72,7 @@ "@replit/codemirror-vim": "^6.2.1", "@tailwindcss/typography": "^0.5.14", "@tanstack/react-table": "^8.20.1", - "@textea/json-viewer": "^3.4.1", + "@textea/json-viewer": "^4.0.1", "@types/humanize-duration": "^3.27.4", "@types/js-cookie": "^3.0.6", "@types/jsdom": "^21.1.7", diff --git a/frontend/pnpm-lock.yaml b/frontend/pnpm-lock.yaml index b7514161ae0..8fac23f3c49 100644 --- a/frontend/pnpm-lock.yaml +++ b/frontend/pnpm-lock.yaml @@ -193,8 +193,8 @@ importers: specifier: ^8.20.1 version: 8.20.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@textea/json-viewer': - specifier: ^3.4.1 - version: 3.4.1(@emotion/react@11.13.0(@types/react@18.3.12)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.0(@types/react@18.3.12)(react@18.3.1))(@types/react@18.3.12)(react@18.3.1))(@mui/material@5.16.7(@emotion/react@11.13.0(@types/react@18.3.12)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.0(@types/react@18.3.12)(react@18.3.1))(@types/react@18.3.12)(react@18.3.1))(@types/react@18.3.12)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@types/react@18.3.12)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + specifier: ^4.0.1 + version: 4.0.1(@emotion/react@11.13.0(@types/react@18.3.12)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.0(@types/react@18.3.12)(react@18.3.1))(@types/react@18.3.12)(react@18.3.1))(@mui/material@5.16.7(@emotion/react@11.13.0(@types/react@18.3.12)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.0(@types/react@18.3.12)(react@18.3.1))(@types/react@18.3.12)(react@18.3.1))(@types/react@18.3.12)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@types/react@18.3.12)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@types/humanize-duration': specifier: ^3.27.4 version: 3.27.4 @@ -3246,12 +3246,12 @@ packages: peerDependencies: '@testing-library/dom': '>=7.21.4' - '@textea/json-viewer@3.4.1': - resolution: {integrity: sha512-8cLptaqOZVw025/iF5Cb+4nX2jjLRlGfKxGd8D6Gm9pOzB/ZDgih+xl9zoWcVXwVlRj85uLae5oorKV8Yc+vog==} + '@textea/json-viewer@4.0.1': + resolution: {integrity: sha512-7FH4ti3kVNyKhe/gl85w+8KllXJY9XQalY2KZnBn9ST1CjhqZQCWJLkYf24aX2FOv2D/8cvAllYkFX46A7C9KQ==} peerDependencies: '@emotion/react': ^11 '@emotion/styled': ^11 - '@mui/material': ^5 + '@mui/material': ^6 react: ^17 || ^18 react-dom: ^17 || ^18 @@ -8368,11 +8368,6 @@ packages: '@types/react': optional: true - use-sync-external-store@1.2.0: - resolution: {integrity: sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA==} - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - use-sync-external-store@1.4.0: resolution: {integrity: sha512-9WXSPC5fMv61vaupRkCKCxsPxBocVnwakBEkMIHHpkTTg6icbJtg6jzgtLDm4bl3cSHAca52rYWih0k4K3PfHw==} peerDependencies: @@ -8914,8 +8909,8 @@ packages: zod@3.23.8: resolution: {integrity: sha512-XBx9AXhXktjUqnepgTiE5flcKIYWi/rme0Eaj+5Y0lftuGBq+jyRu/md4WnuxqgP1ubdpNCsYEYPxrzVHD8d6g==} - zustand@4.5.2: - resolution: {integrity: sha512-2cN1tPkDVkwCy5ickKrI7vijSjPksFRfqS6237NzT0vqSsztTNnQdHw9mmN7uBdk3gceVXU0a+21jFzFzAc9+g==} + zustand@4.5.6: + resolution: {integrity: sha512-ibr/n1hBzLLj5Y+yUcU7dYw8p6WnIVzdJbnX+1YpaScvZVF2ziugqHs+LAmHw4lWO9c/zRj+K1ncgWDQuthEdQ==} engines: {node: '>=12.7.0'} peerDependencies: '@types/react': '>=16.8' @@ -11862,7 +11857,7 @@ snapshots: classcat: 5.0.4 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - zustand: 4.5.2(@types/react@18.3.12)(react@18.3.1) + zustand: 4.5.6(@types/react@18.3.12)(react@18.3.1) transitivePeerDependencies: - '@types/react' - immer @@ -11873,7 +11868,7 @@ snapshots: classcat: 5.0.4 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - zustand: 4.5.2(@types/react@18.3.12)(react@18.3.1) + zustand: 4.5.6(@types/react@18.3.12)(react@18.3.1) transitivePeerDependencies: - '@types/react' - immer @@ -11890,7 +11885,7 @@ snapshots: d3-zoom: 3.0.0 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - zustand: 4.5.2(@types/react@18.3.12)(react@18.3.1) + zustand: 4.5.6(@types/react@18.3.12)(react@18.3.1) transitivePeerDependencies: - '@types/react' - immer @@ -11905,7 +11900,7 @@ snapshots: d3-zoom: 3.0.0 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - zustand: 4.5.2(@types/react@18.3.12)(react@18.3.1) + zustand: 4.5.6(@types/react@18.3.12)(react@18.3.1) transitivePeerDependencies: - '@types/react' - immer @@ -11918,7 +11913,7 @@ snapshots: d3-selection: 3.0.0 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - zustand: 4.5.2(@types/react@18.3.12)(react@18.3.1) + zustand: 4.5.6(@types/react@18.3.12)(react@18.3.1) transitivePeerDependencies: - '@types/react' - immer @@ -11929,7 +11924,7 @@ snapshots: classcat: 5.0.4 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - zustand: 4.5.2(@types/react@18.3.12)(react@18.3.1) + zustand: 4.5.6(@types/react@18.3.12)(react@18.3.1) transitivePeerDependencies: - '@types/react' - immer @@ -12378,7 +12373,7 @@ snapshots: dependencies: '@testing-library/dom': 10.4.0 - '@textea/json-viewer@3.4.1(@emotion/react@11.13.0(@types/react@18.3.12)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.0(@types/react@18.3.12)(react@18.3.1))(@types/react@18.3.12)(react@18.3.1))(@mui/material@5.16.7(@emotion/react@11.13.0(@types/react@18.3.12)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.0(@types/react@18.3.12)(react@18.3.1))(@types/react@18.3.12)(react@18.3.1))(@types/react@18.3.12)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@types/react@18.3.12)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@textea/json-viewer@4.0.1(@emotion/react@11.13.0(@types/react@18.3.12)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.0(@types/react@18.3.12)(react@18.3.1))(@types/react@18.3.12)(react@18.3.1))(@mui/material@5.16.7(@emotion/react@11.13.0(@types/react@18.3.12)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.0(@types/react@18.3.12)(react@18.3.1))(@types/react@18.3.12)(react@18.3.1))(@types/react@18.3.12)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@types/react@18.3.12)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@emotion/react': 11.13.0(@types/react@18.3.12)(react@18.3.1) '@emotion/styled': 11.13.0(@emotion/react@11.13.0(@types/react@18.3.12)(react@18.3.1))(@types/react@18.3.12)(react@18.3.1) @@ -12387,7 +12382,7 @@ snapshots: copy-to-clipboard: 3.3.3 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - zustand: 4.5.2(@types/react@18.3.12)(react@18.3.1) + zustand: 4.5.6(@types/react@18.3.12)(react@18.3.1) transitivePeerDependencies: - '@types/react' - immer @@ -18585,10 +18580,6 @@ snapshots: optionalDependencies: '@types/react': 18.3.12 - use-sync-external-store@1.2.0(react@18.3.1): - dependencies: - react: 18.3.1 - use-sync-external-store@1.4.0(react@18.3.1): dependencies: react: 18.3.1 @@ -19355,9 +19346,9 @@ snapshots: zod@3.23.8: {} - zustand@4.5.2(@types/react@18.3.12)(react@18.3.1): + zustand@4.5.6(@types/react@18.3.12)(react@18.3.1): dependencies: - use-sync-external-store: 1.2.0(react@18.3.1) + use-sync-external-store: 1.4.0(react@18.3.1) optionalDependencies: '@types/react': 18.3.12 react: 18.3.1