Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deps: replace @tableflip/react-inspector with react-inspector #407

Merged
merged 4 commits into from
Nov 29, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 4 additions & 60 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@
"@libp2p/delegated-peer-routing": "^4.0.6",
"@libp2p/ipni-content-routing": "^1.0.1",
"@loadable/component": "^5.14.1",
"@tableflip/react-inspector": "^2.3.0",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hasn't been updated in >5years.

"cytoscape": "^3.18.1",
"cytoscape-dagre": "^2.3.2",
"filesize": "^6.1.0",
Expand All @@ -141,6 +140,7 @@
"libp2p": "^0.45.1",
"milliseconds": "^1.0.3",
"multiformats": "^11.0.2",
"react-inspector": "^6.0.2",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated 6 months ago. supports react 18

"react-joyride": "^2.3.0",
"stream-to-it": "^0.2.4",
"web-encoding": "^1.1.5"
Expand Down
2 changes: 1 addition & 1 deletion src/components/object-info/ObjectInfo.jsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { ObjectInspector, chromeLight } from '@tableflip/react-inspector'
import filesize from 'filesize'
import { CID } from 'multiformats'
import React from 'react'
import { withTranslation } from 'react-i18next'
import { ObjectInspector, chromeLight } from 'react-inspector'

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems to be a straight replacement with no issues testing locally.

import LinksTable from './LinksTable'
import getCodecNameFromCode from '../../lib/get-codec-name-from-code'
Expand Down
Loading