bippy 0.6.1-dev.61475ed → 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 (66) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +32 -48
  3. package/dist/core.cjs +1 -1
  4. package/dist/core.d.cts +45 -60
  5. package/dist/core.d.ts +45 -60
  6. package/dist/core.js +1 -1
  7. package/dist/core2.cjs +9 -0
  8. package/dist/core2.d.cts +11 -3
  9. package/dist/core2.d.ts +11 -3
  10. package/dist/core2.js +9 -0
  11. package/dist/errors.d.cts +420 -0
  12. package/dist/errors.d.ts +420 -0
  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 +9 -1
  20. package/dist/install-hook-only.d.ts +9 -1
  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 +14 -5
  26. package/dist/source.d.cts +27 -11
  27. package/dist/source.d.ts +27 -11
  28. package/dist/source.js +14 -5
  29. package/package.json +22 -16
  30. package/src/core.ts +349 -328
  31. package/src/errors.ts +34 -0
  32. package/src/install-hook-only.ts +2 -2
  33. package/src/rdt-hook.ts +160 -161
  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/react-internals/types.ts +197 -0
  38. package/src/source/constants.ts +1 -1
  39. package/src/source/error-stack.ts +11 -0
  40. package/src/source/get-display-name-from-source.ts +32 -25
  41. package/src/source/get-source.ts +5 -5
  42. package/src/source/index.ts +9 -1
  43. package/src/source/inspect-hooks.ts +215 -182
  44. package/src/source/owner-stack.ts +127 -166
  45. package/src/source/parse-debug-stack.ts +4 -4
  46. package/src/source/parse-hook-names.ts +1 -1
  47. package/src/source/parse-stack.ts +1 -3
  48. package/src/source/symbolication.ts +490 -90
  49. package/dist/get-source.cjs +0 -19
  50. package/dist/get-source.js +0 -19
  51. package/dist/react-refresh.cjs +0 -9
  52. package/dist/react-refresh.d.cts +0 -66
  53. package/dist/react-refresh.d.ts +0 -66
  54. package/dist/react-refresh.js +0 -9
  55. package/dist/unsubscribe.d.cts +0 -298
  56. package/dist/unsubscribe.d.ts +0 -298
  57. package/src/react-refresh/constants.ts +0 -9
  58. package/src/react-refresh/detect-hmr-transport.ts +0 -33
  59. package/src/react-refresh/index.ts +0 -173
  60. package/src/react-refresh/metro-hmr-transport.ts +0 -188
  61. package/src/react-refresh/next-webpack-hmr-transport.ts +0 -72
  62. package/src/react-refresh/normalize-hmr-file-path.ts +0 -24
  63. package/src/react-refresh/types.ts +0 -7
  64. package/src/react-refresh/vite-hmr-transport.ts +0 -116
  65. package/src/types.ts +0 -438
  66. package/src/unsubscribe.ts +0 -17
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bippy",
3
- "version": "0.6.1-dev.61475ed",
3
+ "version": "0.6.1-dev.a3b3942",
4
4
  "description": "hack into react internals",
5
5
  "keywords": [
6
6
  "bippy",
@@ -78,16 +78,6 @@
78
78
  "default": "./dist/source.cjs"
79
79
  }
80
80
  },
81
- "./react-refresh": {
82
- "import": {
83
- "types": "./dist/react-refresh.d.ts",
84
- "default": "./dist/react-refresh.js"
85
- },
86
- "require": {
87
- "types": "./dist/react-refresh.d.cts",
88
- "default": "./dist/react-refresh.cjs"
89
- }
90
- },
91
81
  "./dist/*": "./dist/*.js",
92
82
  "./dist/*.js": "./dist/*.js",
93
83
  "./dist/*.cjs": "./dist/*.cjs"
@@ -95,8 +85,16 @@
95
85
  "publishConfig": {
96
86
  "access": "public"
97
87
  },
88
+ "dependencies": {
89
+ "@types/react-reconciler": "^0.33.0"
90
+ },
98
91
  "devDependencies": {
92
+ "@babylonjs/core": "^9.20.0",
93
+ "@babylonjs/gui": "^9.20.0",
99
94
  "@jridgewell/sourcemap-codec": "^1.5.0",
95
+ "@opentui/core": "^0.5.1",
96
+ "@opentui/react": "^0.5.1",
97
+ "@pixi/react": "^8.0.5",
100
98
  "@react-pdf/renderer": "^4.5.1",
101
99
  "@react-three/fiber": "^9.6.1",
102
100
  "@react-three/test-renderer": "^9.1.0",
@@ -109,25 +107,33 @@
109
107
  "happy-dom": "^15.11.7",
110
108
  "ink": "^7.1.1",
111
109
  "ink-testing-library": "^4.0.0",
110
+ "konva": "^10.3.0",
111
+ "pixi.js": "^8.19.0",
112
112
  "publint": "^0.3.0",
113
113
  "react": "19.0.0",
114
+ "react-babylonjs": "^4.0.2",
115
+ "react-devtools-core": "7.0.1",
114
116
  "react-devtools-inline": "^6.0.1",
115
117
  "react-dom": "19.0.0",
118
+ "react-konva": "^19.2.5",
116
119
  "react-nil": "^2.0.0",
117
- "react-refresh": "^0.16.0",
118
120
  "remotion": "^4.0.496",
119
121
  "three": "^0.185.1",
120
122
  "tsx": "^4.21.0",
121
- "vite-plus": "latest"
123
+ "typescript": "^5.9.3",
124
+ "vite-plus": "latest",
125
+ "zod": "^4.4.3"
122
126
  },
123
127
  "peerDependencies": {
124
128
  "react": ">=17.0.1"
125
129
  },
126
130
  "scripts": {
127
- "build": "NODE_ENV=production vp pack && tsx scripts/append-banner.ts",
131
+ "build": "NODE_ENV=production vp pack",
132
+ "check:react-internals": "tsx scripts/generate-react-internals.ts --check",
133
+ "coverage": "vp test --coverage",
128
134
  "dev": "NODE_ENV=development vp pack --watch",
135
+ "generate:react-internals": "tsx scripts/generate-react-internals.ts",
129
136
  "publint": "publint",
130
- "test": "vp test",
131
- "coverage": "vp test --coverage"
137
+ "test": "vp test"
132
138
  }
133
139
  }