0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-24 18:07:17 +01:00

chore: replace react-json-view (#17713)

This commit is contained in:
David Newell 2023-10-03 10:44:31 +01:00 committed by GitHub
parent 60fd4e45b9
commit b9e358cac7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 23 additions and 23 deletions

View File

@ -11,7 +11,7 @@ import { isEventsQuery, isHogQLQuery, isPersonsNode, isTimeToSeeDataSessionsQuer
import { combineUrl, router } from 'kea-router'
import { CopyToClipboardInline } from 'lib/components/CopyToClipboard'
import { DeletePersonButton } from '~/queries/nodes/PersonsNode/DeletePersonButton'
import ReactJson from 'react-json-view'
import ReactJson from '@microlink/react-json-view'
import { errorColumn, loadingColumn } from '~/queries/nodes/DataTable/dataTableLogic'
import { Spinner } from 'lib/lemon-ui/Spinner/Spinner'
import { LemonTag } from 'lib/lemon-ui/LemonTag/LemonTag'

View File

@ -9,7 +9,7 @@ import { dayjs } from 'lib/dayjs'
import { LemonButton } from 'lib/lemon-ui/LemonButton'
import { pluralize } from 'lib/utils'
import { LemonTableProps } from 'lib/lemon-ui/LemonTable'
import ReactJson from 'react-json-view'
import ReactJson from '@microlink/react-json-view'
import { ErrorDisplay } from 'lib/components/Errors/ErrorDisplay'
import { LemonTabs } from 'lib/lemon-ui/LemonTabs'

View File

@ -141,7 +141,7 @@
"react-draggable": "^4.2.0",
"react-grid-layout": "^1.3.0",
"react-intersection-observer": "^9.4.3",
"react-json-view": "^1.21.3",
"@microlink/react-json-view": "^1.21.3",
"react-markdown": "^5.0.3",
"react-modal": "^3.15.1",
"react-resizable": "^3.0.5",

View File

@ -29,6 +29,9 @@ dependencies:
'@medv/finder':
specifier: ^2.1.0
version: 2.1.0
'@microlink/react-json-view':
specifier: ^1.21.3
version: 1.22.2(@types/react@16.14.34)(react-dom@16.14.0)(react@16.14.0)
'@monaco-editor/react':
specifier: 4.4.6
version: 4.4.6(monaco-editor@0.39.0)(react-dom@16.14.0)(react@16.14.0)
@ -242,9 +245,6 @@ dependencies:
react-intersection-observer:
specifier: ^9.4.3
version: 9.4.3(react@16.14.0)
react-json-view:
specifier: ^1.21.3
version: 1.21.3(@types/react@16.14.34)(react-dom@16.14.0)(react@16.14.0)
react-markdown:
specifier: ^5.0.3
version: 5.0.3(@types/react@16.14.34)(react@16.14.0)
@ -3164,6 +3164,23 @@ packages:
resolution: {integrity: sha512-Egrg5XO4kLol24b1Kv50HDfi5hW0yQ6aWSsO0Hea1eJ4rogKElIN0M86FdVnGF4XIGYyA7QWx0MgbOzVPA0qkA==}
dev: false
/@microlink/react-json-view@1.22.2(@types/react@16.14.34)(react-dom@16.14.0)(react@16.14.0):
resolution: {integrity: sha512-liJzdlbspT5GbEuPffw4jzZfXOypKLK1Er9br03T31bAaIi/WptZqpcJaXPi7OmwC7v/YYczCkmAS7WaEfItPQ==}
peerDependencies:
react: '>= 15'
react-dom: '>= 15'
dependencies:
flux: 4.0.3(react@16.14.0)
react: 16.14.0
react-base16-styling: 0.6.0
react-dom: 16.14.0(react@16.14.0)
react-lifecycles-compat: 3.0.4
react-textarea-autosize: 8.3.4(@types/react@16.14.34)(react@16.14.0)
transitivePeerDependencies:
- '@types/react'
- encoding
dev: false
/@monaco-editor/loader@1.3.3(monaco-editor@0.39.0):
resolution: {integrity: sha512-6KKF4CTzcJiS8BJwtxtfyYt9shBiEv32ateQ9T4UVogwn4HM/uPo9iJd2Dmbkpz8CM6Y0PDUpjnZzCwC+eYo2Q==}
peerDependencies:
@ -16080,23 +16097,6 @@ packages:
resolution: {integrity: sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==}
dev: true
/react-json-view@1.21.3(@types/react@16.14.34)(react-dom@16.14.0)(react@16.14.0):
resolution: {integrity: sha512-13p8IREj9/x/Ye4WI/JpjhoIwuzEgUAtgJZNBJckfzJt1qyh24BdTm6UQNGnyTq9dapQdrqvquZTo3dz1X6Cjw==}
peerDependencies:
react: ^17.0.0 || ^16.3.0 || ^15.5.4
react-dom: ^17.0.0 || ^16.3.0 || ^15.5.4
dependencies:
flux: 4.0.3(react@16.14.0)
react: 16.14.0
react-base16-styling: 0.6.0
react-dom: 16.14.0(react@16.14.0)
react-lifecycles-compat: 3.0.4
react-textarea-autosize: 8.3.4(@types/react@16.14.34)(react@16.14.0)
transitivePeerDependencies:
- '@types/react'
- encoding
dev: false
/react-lifecycles-compat@3.0.4:
resolution: {integrity: sha512-fBASbA6LnOU9dOU2eW7aQ8xmYBSXUIWr+UmF9b1efZBazGNO+rcXT/icdKnYm2pTwcRylVUYwW7H1PHfLekVzA==}
dev: false