@react-devtools-plus/scan 0.5.3 → 0.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@react-devtools-plus/scan",
3
3
  "type": "module",
4
- "version": "0.5.3",
4
+ "version": "0.6.1",
5
5
  "description": "React Scan integration for React DevTools",
6
6
  "keywords": [
7
7
  "react",
@@ -25,7 +25,7 @@
25
25
  "peerDependencies": {
26
26
  "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
27
27
  "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
28
- "@react-devtools-plus/core": "0.5.3"
28
+ "@react-devtools-plus/core": "0.6.1"
29
29
  },
30
30
  "peerDependenciesMeta": {
31
31
  "@react-devtools-plus/core": {
package/src/adapter.ts CHANGED
@@ -197,7 +197,7 @@ function getFocusedFiberInfo(): { fiber: any, fiberId: string } | null {
197
197
  const fiber = Store.inspectState.value.fiber
198
198
  if (fiber) {
199
199
  // Use bippy's getFiberId to get the correct fiber ID that matches react-scan's internal usage
200
- const fiberId = getFiberId(fiber)
200
+ const fiberId = String(getFiberId(fiber))
201
201
  return { fiber, fiberId }
202
202
  }
203
203
  }
package/tsconfig.json CHANGED
@@ -1,8 +1,10 @@
1
1
  {
2
2
  "extends": "../../tsconfig.json",
3
3
  "compilerOptions": {
4
+ "lib": ["ES2020", "DOM", "DOM.Iterable"],
4
5
  "rootDir": "src",
5
- "outDir": "dist"
6
+ "outDir": "dist",
7
+ "skipLibCheck": true
6
8
  },
7
9
  "include": ["src/**/*"],
8
10
  "exclude": ["dist", "node_modules"]