bippy 0.3.26 → 0.3.28

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.
@@ -32,8 +32,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
32
32
  }) : target, mod));
33
33
 
34
34
  //#endregion
35
- const require_rdt_hook = require('./rdt-hook-CR3KoPkF.cjs');
36
- const require_src = require('./src-BIDabo17.cjs');
35
+ const require_src = require('./src-nBpvAkYD.cjs');
37
36
 
38
37
  //#region ../../node_modules/.pnpm/error-stack-parser-es@1.0.5/node_modules/error-stack-parser-es/dist/lite.mjs
39
38
  const CHROME_IE_STACK_REGEXP = /^\s*at .*(\S+:\d+|\(native\))/m;
@@ -2235,19 +2234,6 @@ let reentry = false;
2235
2234
  const describeBuiltInComponentFrame = (name) => {
2236
2235
  return `\n in ${name}`;
2237
2236
  };
2238
- const disableLogs = () => {
2239
- const prev = {
2240
- error: console.error,
2241
- warn: console.warn
2242
- };
2243
- console.error = () => {};
2244
- console.warn = () => {};
2245
- return prev;
2246
- };
2247
- const reenableLogs = (prev) => {
2248
- console.error = prev.error;
2249
- console.warn = prev.warn;
2250
- };
2251
2237
  const INLINE_SOURCEMAP_REGEX = /^data:application\/json[^,]+base64,/;
2252
2238
  const SOURCEMAP_REGEX = /(?:\/\/[@#][ \t]+sourceMappingURL=([^\s'"]+?)[ \t]*$)|(?:\/\*[@#][ \t]+sourceMappingURL=([^*]+?)[ \t]*(?:\*\/)[ \t]*$)/;
2253
2239
  const getSourceMap = async (url, content) => {
@@ -2267,37 +2253,43 @@ const getSourceMap = async (url, content) => {
2267
2253
  const rawSourceMap = await response.json();
2268
2254
  return new import_source_map.SourceMapConsumer(rawSourceMap);
2269
2255
  };
2270
- const getRemovedFileProtocolPath = (path) => {
2271
- const protocol = "file://";
2272
- if (path.startsWith(protocol)) return path.substring(protocol.length);
2273
- return path;
2274
- };
2275
- const parseStackFrame = async (frame) => {
2276
- const source = parseStack(frame);
2277
- if (!source.length) return null;
2278
- const { file: fileName, line: lineNumber, col: columnNumber = 0 } = source[0];
2279
- if (!fileName || !lineNumber) return null;
2280
- const response = await fetch(fileName);
2281
- if (response.ok) {
2282
- const content = await response.text();
2283
- const sourcemap = await getSourceMap(fileName, content);
2284
- if (sourcemap) {
2285
- const result = sourcemap.originalPositionFor({
2286
- line: lineNumber,
2287
- column: columnNumber
2288
- });
2256
+ const parseStackFrame = async (frame, maxDepth) => {
2257
+ const sources = parseStack(frame);
2258
+ if (!sources.length) return [];
2259
+ const pendingSources = maxDepth ? sources.slice(0, maxDepth) : sources;
2260
+ const results = await Promise.all(pendingSources.map(async ({ file: fileName, line: lineNumber, col: columnNumber = 0 }) => {
2261
+ if (!fileName || !lineNumber) return null;
2262
+ try {
2263
+ const response = await fetch(fileName);
2264
+ if (response.ok) {
2265
+ const content = await response.text();
2266
+ const sourcemap = await getSourceMap(fileName, content);
2267
+ if (sourcemap) {
2268
+ const result = sourcemap.originalPositionFor({
2269
+ line: lineNumber,
2270
+ column: columnNumber
2271
+ });
2272
+ return {
2273
+ fileName: (sourcemap.file || result.source).replace(/^file:\/\//, ""),
2274
+ lineNumber: result.line,
2275
+ columnNumber: result.column
2276
+ };
2277
+ }
2278
+ }
2289
2279
  return {
2290
- fileName: getRemovedFileProtocolPath(sourcemap.file || result.source),
2291
- lineNumber: result.line,
2292
- columnNumber: result.column
2280
+ fileName: fileName.replace(/^file:\/\//, ""),
2281
+ lineNumber,
2282
+ columnNumber
2283
+ };
2284
+ } catch {
2285
+ return {
2286
+ fileName: fileName.replace(/^file:\/\//, ""),
2287
+ lineNumber,
2288
+ columnNumber
2293
2289
  };
2294
2290
  }
2295
- }
2296
- return {
2297
- fileName: getRemovedFileProtocolPath(fileName),
2298
- lineNumber,
2299
- columnNumber
2300
- };
2291
+ }));
2292
+ return results.filter((result) => result !== null);
2301
2293
  };
2302
2294
  const describeNativeComponentFrame = (fn, construct) => {
2303
2295
  if (!fn || reentry) return "";
@@ -2306,7 +2298,10 @@ const describeNativeComponentFrame = (fn, construct) => {
2306
2298
  reentry = true;
2307
2299
  const previousDispatcher = getCurrentDispatcher();
2308
2300
  setCurrentDispatcher(null);
2309
- const prevLogs = disableLogs();
2301
+ const prevError = console.error;
2302
+ const prevWarn = console.warn;
2303
+ console.error = () => {};
2304
+ console.warn = () => {};
2310
2305
  try {
2311
2306
  /**
2312
2307
  * Finding a common stack frame between sample and control errors can be
@@ -2365,26 +2360,26 @@ const describeNativeComponentFrame = (fn, construct) => {
2365
2360
  if (sampleStack && controlStack) {
2366
2361
  const sampleLines = sampleStack.split("\n");
2367
2362
  const controlLines = controlStack.split("\n");
2368
- let s = 0;
2369
- let c = 0;
2370
- while (s < sampleLines.length && !sampleLines[s].includes("DetermineComponentFrameRoot")) s++;
2371
- while (c < controlLines.length && !controlLines[c].includes("DetermineComponentFrameRoot")) c++;
2372
- if (s === sampleLines.length || c === controlLines.length) {
2373
- s = sampleLines.length - 1;
2374
- c = controlLines.length - 1;
2375
- while (s >= 1 && c >= 0 && sampleLines[s] !== controlLines[c]) c--;
2363
+ let sampleIndex = 0;
2364
+ let controlIndex = 0;
2365
+ while (sampleIndex < sampleLines.length && !sampleLines[sampleIndex].includes("DetermineComponentFrameRoot")) sampleIndex++;
2366
+ while (controlIndex < controlLines.length && !controlLines[controlIndex].includes("DetermineComponentFrameRoot")) controlIndex++;
2367
+ if (sampleIndex === sampleLines.length || controlIndex === controlLines.length) {
2368
+ sampleIndex = sampleLines.length - 1;
2369
+ controlIndex = controlLines.length - 1;
2370
+ while (sampleIndex >= 1 && controlIndex >= 0 && sampleLines[sampleIndex] !== controlLines[controlIndex]) controlIndex--;
2376
2371
  }
2377
- for (; s >= 1 && c >= 0; s--, c--) if (sampleLines[s] !== controlLines[c]) {
2378
- if (s !== 1 || c !== 1) do {
2379
- s--;
2380
- c--;
2381
- if (c < 0 || sampleLines[s] !== controlLines[c]) {
2382
- let frame = `\n${sampleLines[s].replace(" at new ", " at ")}`;
2372
+ for (; sampleIndex >= 1 && controlIndex >= 0; sampleIndex--, controlIndex--) if (sampleLines[sampleIndex] !== controlLines[controlIndex]) {
2373
+ if (sampleIndex !== 1 || controlIndex !== 1) do {
2374
+ sampleIndex--;
2375
+ controlIndex--;
2376
+ if (controlIndex < 0 || sampleLines[sampleIndex] !== controlLines[controlIndex]) {
2377
+ let frame = `\n${sampleLines[sampleIndex].replace(" at new ", " at ")}`;
2383
2378
  const displayName = require_src.getDisplayName(fn);
2384
2379
  if (displayName && frame.includes("<anonymous>")) frame = frame.replace("<anonymous>", displayName);
2385
2380
  return frame;
2386
2381
  }
2387
- } while (s >= 1 && c >= 0);
2382
+ } while (sampleIndex >= 1 && controlIndex >= 0);
2388
2383
  break;
2389
2384
  }
2390
2385
  }
@@ -2392,22 +2387,23 @@ const describeNativeComponentFrame = (fn, construct) => {
2392
2387
  reentry = false;
2393
2388
  Error.prepareStackTrace = previousPrepareStackTrace;
2394
2389
  setCurrentDispatcher(previousDispatcher);
2395
- reenableLogs(prevLogs);
2390
+ console.error = prevError;
2391
+ console.warn = prevWarn;
2396
2392
  }
2397
2393
  const name = fn ? require_src.getDisplayName(fn) : "";
2398
2394
  const syntheticFrame = name ? describeBuiltInComponentFrame(name) : "";
2399
2395
  return syntheticFrame;
2400
2396
  };
2401
2397
  const getCurrentDispatcher = () => {
2402
- const rdtHook = require_rdt_hook.getRDTHook();
2403
- for (const renderer of [...Array.from(require_rdt_hook._renderers), ...Array.from(rdtHook.renderers.values())]) {
2398
+ const rdtHook = require_src.getRDTHook();
2399
+ for (const renderer of [...Array.from(require_src._renderers), ...Array.from(rdtHook.renderers.values())]) {
2404
2400
  const currentDispatcherRef = renderer.currentDispatcherRef;
2405
2401
  if (currentDispatcherRef && typeof currentDispatcherRef === "object") return "H" in currentDispatcherRef ? currentDispatcherRef.H : currentDispatcherRef.current;
2406
2402
  }
2407
2403
  return null;
2408
2404
  };
2409
2405
  const setCurrentDispatcher = (value) => {
2410
- for (const renderer of require_rdt_hook._renderers) {
2406
+ for (const renderer of require_src._renderers) {
2411
2407
  const currentDispatcherRef = renderer.currentDispatcherRef;
2412
2408
  if (currentDispatcherRef && typeof currentDispatcherRef === "object") if ("H" in currentDispatcherRef) currentDispatcherRef.H = value;
2413
2409
  else currentDispatcherRef.current = value;
@@ -2422,8 +2418,7 @@ const formatOwnerStack = (error) => {
2422
2418
  if (stack.startsWith("Error: react-stack-top-frame\n")) stack = stack.slice(29);
2423
2419
  let idx = stack.indexOf("\n");
2424
2420
  if (idx !== -1) stack = stack.slice(idx + 1);
2425
- idx = stack.indexOf("react_stack_bottom_frame");
2426
- if (idx === -1) idx = stack.indexOf("react-stack-bottom-frame");
2421
+ idx = Math.max(stack.indexOf("react_stack_bottom_frame"), stack.indexOf("react-stack-bottom-frame"));
2427
2422
  if (idx !== -1) idx = stack.lastIndexOf("\n", idx);
2428
2423
  if (idx !== -1) stack = stack.slice(0, idx);
2429
2424
  else return "";
@@ -2456,7 +2451,10 @@ const getFiberSource = async (fiber) => {
2456
2451
  }
2457
2452
  try {
2458
2453
  const stackFrame = getFiberStackFrame(fiber);
2459
- if (stackFrame) return await parseStackFrame(stackFrame);
2454
+ if (stackFrame) {
2455
+ const sources = await parseStackFrame(stackFrame, 1);
2456
+ return sources[0] || null;
2457
+ }
2460
2458
  } catch {}
2461
2459
  return null;
2462
2460
  };
@@ -2472,22 +2470,14 @@ const describeFiber = (fiber, childFiber) => {
2472
2470
  return describeBuiltInComponentFrame("Suspense");
2473
2471
  case require_src.SuspenseListComponentTag: return describeBuiltInComponentFrame("SuspenseList");
2474
2472
  case require_src.FunctionComponentTag:
2475
- case require_src.SimpleMemoComponentTag: return describeFunctionComponentFrame(fiber.type);
2476
- case require_src.ForwardRefTag: return describeFunctionComponentFrame(fiber.type.render);
2477
- case require_src.ClassComponentTag: return describeClassComponentFrame(fiber.type);
2473
+ case require_src.SimpleMemoComponentTag: return describeNativeComponentFrame(fiber.type, false);
2474
+ case require_src.ForwardRefTag: return describeNativeComponentFrame(fiber.type.render, false);
2475
+ case require_src.ClassComponentTag: return describeNativeComponentFrame(fiber.type, true);
2478
2476
  case require_src.ActivityComponentTag: return describeBuiltInComponentFrame("Activity");
2479
2477
  case require_src.ViewTransitionComponentTag: return describeBuiltInComponentFrame("ViewTransition");
2480
2478
  default: return "";
2481
2479
  }
2482
2480
  };
2483
- const describeFunctionComponentFrame = (fn) => {
2484
- if (!fn || reentry) return "";
2485
- return describeNativeComponentFrame(fn, false);
2486
- };
2487
- const describeClassComponentFrame = (fn) => {
2488
- if (!fn || reentry) return "";
2489
- return describeNativeComponentFrame(fn, true);
2490
- };
2491
2481
  const describeDebugInfoFrame = (name, env, _debugLocation) => {
2492
2482
  let result = `\n in ${name}`;
2493
2483
  if (env) result += ` (at ${env})`;
@@ -2537,8 +2527,8 @@ const getOwnerStack = async (stackTrace) => {
2537
2527
  let source;
2538
2528
  if (locationStr && locationStr !== "Server") try {
2539
2529
  const mockFrame = ` at ${name} (${locationStr})`;
2540
- const parsedSource = await parseStackFrame(mockFrame);
2541
- if (parsedSource) source = parsedSource;
2530
+ const parsedSources = await parseStackFrame(mockFrame, 1);
2531
+ if (parsedSources.length > 0) source = parsedSources[0];
2542
2532
  } catch {}
2543
2533
  matches.push({
2544
2534
  name,
@@ -2562,12 +2552,6 @@ Object.defineProperty(exports, 'describeBuiltInComponentFrame', {
2562
2552
  return describeBuiltInComponentFrame;
2563
2553
  }
2564
2554
  });
2565
- Object.defineProperty(exports, 'describeClassComponentFrame', {
2566
- enumerable: true,
2567
- get: function () {
2568
- return describeClassComponentFrame;
2569
- }
2570
- });
2571
2555
  Object.defineProperty(exports, 'describeDebugInfoFrame', {
2572
2556
  enumerable: true,
2573
2557
  get: function () {
@@ -2580,24 +2564,12 @@ Object.defineProperty(exports, 'describeFiber', {
2580
2564
  return describeFiber;
2581
2565
  }
2582
2566
  });
2583
- Object.defineProperty(exports, 'describeFunctionComponentFrame', {
2584
- enumerable: true,
2585
- get: function () {
2586
- return describeFunctionComponentFrame;
2587
- }
2588
- });
2589
2567
  Object.defineProperty(exports, 'describeNativeComponentFrame', {
2590
2568
  enumerable: true,
2591
2569
  get: function () {
2592
2570
  return describeNativeComponentFrame;
2593
2571
  }
2594
2572
  });
2595
- Object.defineProperty(exports, 'disableLogs', {
2596
- enumerable: true,
2597
- get: function () {
2598
- return disableLogs;
2599
- }
2600
- });
2601
2573
  Object.defineProperty(exports, 'formatOwnerStack', {
2602
2574
  enumerable: true,
2603
2575
  get: function () {
@@ -2634,12 +2606,6 @@ Object.defineProperty(exports, 'getOwnerStack', {
2634
2606
  return getOwnerStack;
2635
2607
  }
2636
2608
  });
2637
- Object.defineProperty(exports, 'getRemovedFileProtocolPath', {
2638
- enumerable: true,
2639
- get: function () {
2640
- return getRemovedFileProtocolPath;
2641
- }
2642
- });
2643
2609
  Object.defineProperty(exports, 'getSourceMap', {
2644
2610
  enumerable: true,
2645
2611
  get: function () {
@@ -2658,12 +2624,6 @@ Object.defineProperty(exports, 'parseStackFrame', {
2658
2624
  return parseStackFrame;
2659
2625
  }
2660
2626
  });
2661
- Object.defineProperty(exports, 'reenableLogs', {
2662
- enumerable: true,
2663
- get: function () {
2664
- return reenableLogs;
2665
- }
2666
- });
2667
2627
  Object.defineProperty(exports, 'setCurrentDispatcher', {
2668
2628
  enumerable: true,
2669
2629
  get: function () {
package/dist/source.cjs CHANGED
@@ -6,26 +6,20 @@
6
6
  * This source code is licensed under the MIT license found in the
7
7
  * LICENSE file in the root directory of this source tree.
8
8
  */
9
- const require_source = require('./source-CTbJ4jWB.cjs');
10
- require('./rdt-hook-CR3KoPkF.cjs');
11
- require('./src-BIDabo17.cjs');
9
+ const require_source = require('./source-CD5HO-_u.cjs');
10
+ require('./src-nBpvAkYD.cjs');
12
11
 
13
12
  exports.describeBuiltInComponentFrame = require_source.describeBuiltInComponentFrame;
14
- exports.describeClassComponentFrame = require_source.describeClassComponentFrame;
15
13
  exports.describeDebugInfoFrame = require_source.describeDebugInfoFrame;
16
14
  exports.describeFiber = require_source.describeFiber;
17
- exports.describeFunctionComponentFrame = require_source.describeFunctionComponentFrame;
18
15
  exports.describeNativeComponentFrame = require_source.describeNativeComponentFrame;
19
- exports.disableLogs = require_source.disableLogs;
20
16
  exports.formatOwnerStack = require_source.formatOwnerStack;
21
17
  exports.getCurrentDispatcher = require_source.getCurrentDispatcher;
22
18
  exports.getFiberSource = require_source.getFiberSource;
23
19
  exports.getFiberStackFrame = require_source.getFiberStackFrame;
24
20
  exports.getFiberStackTrace = require_source.getFiberStackTrace;
25
21
  exports.getOwnerStack = require_source.getOwnerStack;
26
- exports.getRemovedFileProtocolPath = require_source.getRemovedFileProtocolPath;
27
22
  exports.getSourceMap = require_source.getSourceMap;
28
23
  exports.isCapitalized = require_source.isCapitalized;
29
24
  exports.parseStackFrame = require_source.parseStackFrame;
30
- exports.reenableLogs = require_source.reenableLogs;
31
25
  exports.setCurrentDispatcher = require_source.setCurrentDispatcher;
package/dist/source.d.cts CHANGED
@@ -9,23 +9,8 @@ interface FiberSource {
9
9
  columnNumber: number;
10
10
  }
11
11
  declare const describeBuiltInComponentFrame: (name: string) => string;
12
- declare const disableLogs: () => {
13
- error: {
14
- (...data: any[]): void;
15
- (message?: any, ...optionalParams: any[]): void;
16
- };
17
- warn: {
18
- (...data: any[]): void;
19
- (message?: any, ...optionalParams: any[]): void;
20
- };
21
- };
22
- declare const reenableLogs: (prev: {
23
- error: typeof console.error;
24
- warn: typeof console.warn;
25
- }) => void;
26
12
  declare const getSourceMap: (url: string, content: string) => Promise<SourceMapConsumer | null>;
27
- declare const getRemovedFileProtocolPath: (path: string) => string;
28
- declare const parseStackFrame: (frame: string) => Promise<FiberSource | null>;
13
+ declare const parseStackFrame: (frame: string, maxDepth?: number) => Promise<FiberSource[]>;
29
14
  declare const describeNativeComponentFrame: (fn: React$1.ComponentType<unknown>, construct: boolean) => string;
30
15
  declare const getCurrentDispatcher: () => React$1.RefObject<unknown> | null;
31
16
  declare const setCurrentDispatcher: (value: React$1.RefObject<unknown> | null) => void;
@@ -33,8 +18,6 @@ declare const formatOwnerStack: (error: Error) => string;
33
18
  declare const getFiberStackFrame: (fiber: Fiber) => string | null;
34
19
  declare const getFiberSource: (fiber: Fiber) => Promise<FiberSource | null>;
35
20
  declare const describeFiber: (fiber: Fiber, childFiber: null | Fiber) => string;
36
- declare const describeFunctionComponentFrame: (fn: React$1.ComponentType<unknown>) => string;
37
- declare const describeClassComponentFrame: (fn: React$1.ComponentType<unknown>) => string;
38
21
  declare const describeDebugInfoFrame: (name: string, env?: string, _debugLocation?: unknown) => string;
39
22
  declare const getFiberStackTrace: (workInProgress: Fiber) => string;
40
23
  declare const isCapitalized: (str: string) => boolean;
@@ -45,4 +28,4 @@ interface OwnerStackItem {
45
28
  declare const getOwnerStack: (stackTrace: string) => Promise<OwnerStackItem[]>;
46
29
 
47
30
  //#endregion
48
- export { FiberSource, OwnerStackItem, describeBuiltInComponentFrame, describeClassComponentFrame, describeDebugInfoFrame, describeFiber, describeFunctionComponentFrame, describeNativeComponentFrame, disableLogs, formatOwnerStack, getCurrentDispatcher, getFiberSource, getFiberStackFrame, getFiberStackTrace, getOwnerStack, getRemovedFileProtocolPath, getSourceMap, isCapitalized, parseStackFrame, reenableLogs, setCurrentDispatcher };
31
+ export { FiberSource, OwnerStackItem, describeBuiltInComponentFrame, describeDebugInfoFrame, describeFiber, describeNativeComponentFrame, formatOwnerStack, getCurrentDispatcher, getFiberSource, getFiberStackFrame, getFiberStackTrace, getOwnerStack, getSourceMap, isCapitalized, parseStackFrame, setCurrentDispatcher };
package/dist/source.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { Fiber } from "./types-CeFOA1ZM.js";
1
+ import { Fiber } from "./types-Bud6qf-i.js";
2
2
  import * as React$1 from "react";
3
3
  import { SourceMapConsumer } from "source-map-js";
4
4
 
@@ -9,23 +9,8 @@ interface FiberSource {
9
9
  columnNumber: number;
10
10
  }
11
11
  declare const describeBuiltInComponentFrame: (name: string) => string;
12
- declare const disableLogs: () => {
13
- error: {
14
- (...data: any[]): void;
15
- (message?: any, ...optionalParams: any[]): void;
16
- };
17
- warn: {
18
- (...data: any[]): void;
19
- (message?: any, ...optionalParams: any[]): void;
20
- };
21
- };
22
- declare const reenableLogs: (prev: {
23
- error: typeof console.error;
24
- warn: typeof console.warn;
25
- }) => void;
26
12
  declare const getSourceMap: (url: string, content: string) => Promise<SourceMapConsumer | null>;
27
- declare const getRemovedFileProtocolPath: (path: string) => string;
28
- declare const parseStackFrame: (frame: string) => Promise<FiberSource | null>;
13
+ declare const parseStackFrame: (frame: string, maxDepth?: number) => Promise<FiberSource[]>;
29
14
  declare const describeNativeComponentFrame: (fn: React$1.ComponentType<unknown>, construct: boolean) => string;
30
15
  declare const getCurrentDispatcher: () => React$1.RefObject<unknown> | null;
31
16
  declare const setCurrentDispatcher: (value: React$1.RefObject<unknown> | null) => void;
@@ -33,8 +18,6 @@ declare const formatOwnerStack: (error: Error) => string;
33
18
  declare const getFiberStackFrame: (fiber: Fiber) => string | null;
34
19
  declare const getFiberSource: (fiber: Fiber) => Promise<FiberSource | null>;
35
20
  declare const describeFiber: (fiber: Fiber, childFiber: null | Fiber) => string;
36
- declare const describeFunctionComponentFrame: (fn: React$1.ComponentType<unknown>) => string;
37
- declare const describeClassComponentFrame: (fn: React$1.ComponentType<unknown>) => string;
38
21
  declare const describeDebugInfoFrame: (name: string, env?: string, _debugLocation?: unknown) => string;
39
22
  declare const getFiberStackTrace: (workInProgress: Fiber) => string;
40
23
  declare const isCapitalized: (str: string) => boolean;
@@ -45,4 +28,4 @@ interface OwnerStackItem {
45
28
  declare const getOwnerStack: (stackTrace: string) => Promise<OwnerStackItem[]>;
46
29
 
47
30
  //#endregion
48
- export { FiberSource, OwnerStackItem, describeBuiltInComponentFrame, describeClassComponentFrame, describeDebugInfoFrame, describeFiber, describeFunctionComponentFrame, describeNativeComponentFrame, disableLogs, formatOwnerStack, getCurrentDispatcher, getFiberSource, getFiberStackFrame, getFiberStackTrace, getOwnerStack, getRemovedFileProtocolPath, getSourceMap, isCapitalized, parseStackFrame, reenableLogs, setCurrentDispatcher };
31
+ export { FiberSource, OwnerStackItem, describeBuiltInComponentFrame, describeDebugInfoFrame, describeFiber, describeNativeComponentFrame, formatOwnerStack, getCurrentDispatcher, getFiberSource, getFiberStackFrame, getFiberStackTrace, getOwnerStack, getSourceMap, isCapitalized, parseStackFrame, setCurrentDispatcher };
package/dist/source.js CHANGED
@@ -6,8 +6,7 @@
6
6
  * This source code is licensed under the MIT license found in the
7
7
  * LICENSE file in the root directory of this source tree.
8
8
  */
9
- import { describeBuiltInComponentFrame, describeClassComponentFrame, describeDebugInfoFrame, describeFiber, describeFunctionComponentFrame, describeNativeComponentFrame, disableLogs, formatOwnerStack, getCurrentDispatcher, getFiberSource, getFiberStackFrame, getFiberStackTrace, getOwnerStack, getRemovedFileProtocolPath, getSourceMap, isCapitalized, parseStackFrame, reenableLogs, setCurrentDispatcher } from "./source-DApL4zD4.js";
10
- import "./rdt-hook-BraYbuNA.js";
11
- import "./src--kkhuH0q.js";
9
+ import { describeBuiltInComponentFrame, describeDebugInfoFrame, describeFiber, describeNativeComponentFrame, formatOwnerStack, getCurrentDispatcher, getFiberSource, getFiberStackFrame, getFiberStackTrace, getOwnerStack, getSourceMap, isCapitalized, parseStackFrame, setCurrentDispatcher } from "./source-BfkxIx1q.js";
10
+ import "./src-CqIv1vpl.js";
12
11
 
13
- export { describeBuiltInComponentFrame, describeClassComponentFrame, describeDebugInfoFrame, describeFiber, describeFunctionComponentFrame, describeNativeComponentFrame, disableLogs, formatOwnerStack, getCurrentDispatcher, getFiberSource, getFiberStackFrame, getFiberStackTrace, getOwnerStack, getRemovedFileProtocolPath, getSourceMap, isCapitalized, parseStackFrame, reenableLogs, setCurrentDispatcher };
12
+ export { describeBuiltInComponentFrame, describeDebugInfoFrame, describeFiber, describeNativeComponentFrame, formatOwnerStack, getCurrentDispatcher, getFiberSource, getFiberStackFrame, getFiberStackTrace, getOwnerStack, getSourceMap, isCapitalized, parseStackFrame, setCurrentDispatcher };