@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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @react-devtools-plus/scan@0.5.3 build /Users/wangzhichao/办公/code/github/react-devtools/packages/react-devtools-scan
2
+ > @react-devtools-plus/scan@0.6.1 build /Users/wangzhichao/办公/code/github/react-devtools/packages/react-devtools-scan
3
3
  > tsup
4
4
 
5
5
  CLI Building entry: {"index":"src/index.ts"}
@@ -10,13 +10,13 @@ CLI Target: es2017
10
10
  CLI Cleaning output folder
11
11
  ESM Build start
12
12
  CJS Build start
13
- CJS dist/index.cjs 703.26 KB
14
- CJS dist/index.cjs.map 1.25 MB
15
- CJS ⚡️ Build success in 114ms
16
- ESM dist/index.js 701.46 KB
13
+ ESM dist/index.js 701.47 KB
17
14
  ESM dist/index.js.map 1.25 MB
18
- ESM ⚡️ Build success in 115ms
15
+ ESM ⚡️ Build success in 129ms
16
+ CJS dist/index.cjs 703.27 KB
17
+ CJS dist/index.cjs.map 1.25 MB
18
+ CJS ⚡️ Build success in 129ms
19
19
  DTS Build start
20
- DTS ⚡️ Build success in 1218ms
20
+ DTS ⚡️ Build success in 1672ms
21
21
  DTS dist/index.d.ts 7.19 KB
22
22
  DTS dist/index.d.cts 7.19 KB
@@ -1,6 +1,5 @@
1
1
 
2
2
  
3
- > @react-devtools-plus/scan@0.0.1 prepare:type /Users/wangzhichao/办公/code/github/react-devtools/packages/react-devtools-scan
3
+ > @react-devtools-plus/scan@0.5.3 prepare:type /Users/wangzhichao/办公/code/github/react-devtools/packages/react-devtools-scan
4
4
  > tsc --declaration --emitDeclarationOnly --outDir dist
5
5
 
6
-  ELIFECYCLE  Command failed with exit code 129.
package/dist/index.cjs CHANGED
@@ -1850,7 +1850,7 @@ function u4(e4, t4, n3, o4, i4, u5) {
1850
1850
  return l.vnode && l.vnode(l4), l4;
1851
1851
  }
1852
1852
 
1853
- // ../../node_modules/.pnpm/react-scan@0.4.3_@types+react@18.3.27_next@15.5.6_react-dom@18.3.1_react@18.3.1__react@18.3.1_jpe23s5ffkkhxs3nbsuwqcmn4i/node_modules/react-scan/dist/index.mjs
1853
+ // ../../node_modules/.pnpm/react-scan@0.4.3_@types+react@18.3.27_next@15.5.6_react-dom@18.3.1_react@18.3.1__react@_93f49f8d5618ee7ab269f61cdffe4c1e/node_modules/react-scan/dist/index.mjs
1854
1854
  var React = __toESM(require("react"), 1);
1855
1855
  if (!Array.prototype.toSorted) {
1856
1856
  Object.defineProperty(Array.prototype, "toSorted", {
@@ -17069,7 +17069,7 @@ function getFocusedFiberInfo() {
17069
17069
  if (((_b = (_a = Store3 == null ? void 0 : Store3.inspectState) == null ? void 0 : _a.value) == null ? void 0 : _b.kind) === "focused") {
17070
17070
  const fiber = Store3.inspectState.value.fiber;
17071
17071
  if (fiber) {
17072
- const fiberId2 = getFiberId(fiber);
17072
+ const fiberId2 = String(getFiberId(fiber));
17073
17073
  return { fiber, fiberId: fiberId2 };
17074
17074
  }
17075
17075
  }