bippy 0.6.1-dev.3a24abf → 0.6.1-dev.a3b3942

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.
Files changed (50) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +7 -1
  3. package/dist/core.cjs +1 -1
  4. package/dist/core.d.cts +39 -42
  5. package/dist/core.d.ts +39 -42
  6. package/dist/core.js +1 -1
  7. package/dist/core2.cjs +1 -1
  8. package/dist/core2.d.cts +11 -3
  9. package/dist/core2.d.ts +11 -3
  10. package/dist/core2.js +1 -1
  11. package/dist/{types.d.cts → errors.d.cts} +187 -58
  12. package/dist/{types.d.ts → errors.d.ts} +187 -58
  13. package/dist/index.cjs +1 -1
  14. package/dist/index.d.cts +11 -3
  15. package/dist/index.d.ts +11 -3
  16. package/dist/index.iife.js +1 -1
  17. package/dist/index.js +1 -1
  18. package/dist/install-hook-only.cjs +1 -1
  19. package/dist/install-hook-only.d.cts +8 -0
  20. package/dist/install-hook-only.d.ts +8 -0
  21. package/dist/install-hook-only.iife.js +1 -1
  22. package/dist/install-hook-only.js +1 -1
  23. package/dist/rdt-hook.cjs +1 -1
  24. package/dist/rdt-hook.js +1 -1
  25. package/dist/source.cjs +13 -14
  26. package/dist/source.d.cts +27 -11
  27. package/dist/source.d.ts +27 -11
  28. package/dist/source.js +13 -14
  29. package/package.json +10 -6
  30. package/src/core.ts +244 -274
  31. package/src/errors.ts +34 -0
  32. package/src/install-hook-only.ts +2 -2
  33. package/src/rdt-hook.ts +152 -110
  34. package/src/react-internals/generated/react-work-tags.ts +318 -0
  35. package/src/react-internals/index.ts +67 -0
  36. package/src/react-internals/semver.ts +80 -0
  37. package/src/{types.ts → react-internals/types.ts} +13 -75
  38. package/src/source/error-stack.ts +11 -0
  39. package/src/source/get-display-name-from-source.ts +32 -25
  40. package/src/source/get-source.ts +3 -4
  41. package/src/source/index.ts +9 -1
  42. package/src/source/inspect-hooks.ts +215 -182
  43. package/src/source/owner-stack.ts +70 -96
  44. package/src/source/parse-debug-stack.ts +4 -4
  45. package/src/source/parse-hook-names.ts +1 -1
  46. package/src/source/parse-stack.ts +0 -2
  47. package/src/source/symbolication.ts +483 -104
  48. package/src/generated/react-work-tags.ts +0 -169
  49. package/src/react-internals.ts +0 -67
  50. package/src/unsubscribe.ts +0 -17
@@ -6,12 +6,20 @@ export {
6
6
  symbolicateStack,
7
7
  type DecodedSourceMapSection,
8
8
  type IndexSourceMap,
9
- type RawSourceMap,
9
+ type SourceFetch,
10
10
  type SourceMap,
11
+ type SourceMapRequestOptions,
11
12
  type StandardSourceMap,
12
13
  } from "./symbolication.js";
13
14
  export type { FiberSource } from "./types.js";
14
15
  export { parseStack, type ParseOptions, type StackFrame } from "./parse-stack.js";
15
16
  export { getDisplayNameFromSource } from "./get-display-name-from-source.js";
17
+ export {
18
+ BippyError,
19
+ BippyHookInspectionError,
20
+ BippyHookRenderError,
21
+ BippySourceMapError,
22
+ BippyUnsupportedHookError,
23
+ } from "../errors.js";
16
24
  export { getFiberHooks, type HookSource, type HooksNode, type HooksTree } from "./inspect-hooks.js";
17
25
  export { parseHookNames, type HookNames } from "./parse-hook-names.js";