bippy 0.6.1-dev.61475ed → 0.6.1-dev.d7876ea

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 (62) hide show
  1. package/README.md +32 -48
  2. package/dist/core.cjs +1 -1
  3. package/dist/core.d.cts +42 -56
  4. package/dist/core.d.ts +42 -56
  5. package/dist/core.js +1 -1
  6. package/dist/core2.cjs +9 -0
  7. package/dist/core2.d.cts +3 -3
  8. package/dist/core2.d.ts +3 -3
  9. package/dist/core2.js +9 -0
  10. package/dist/errors.d.cts +436 -0
  11. package/dist/errors.d.ts +436 -0
  12. package/dist/index.cjs +1 -1
  13. package/dist/index.d.cts +3 -3
  14. package/dist/index.d.ts +3 -3
  15. package/dist/index.iife.js +1 -1
  16. package/dist/index.js +1 -1
  17. package/dist/install-hook-only.cjs +1 -1
  18. package/dist/install-hook-only.d.cts +1 -1
  19. package/dist/install-hook-only.d.ts +1 -1
  20. package/dist/install-hook-only.iife.js +1 -1
  21. package/dist/install-hook-only.js +1 -1
  22. package/dist/rdt-hook.cjs +1 -1
  23. package/dist/rdt-hook.js +1 -1
  24. package/dist/source.cjs +14 -4
  25. package/dist/source.d.cts +18 -9
  26. package/dist/source.d.ts +18 -9
  27. package/dist/source.js +14 -4
  28. package/package.json +21 -15
  29. package/src/core.ts +343 -253
  30. package/src/errors.ts +99 -0
  31. package/src/generated/react-work-tags.d.ts +261 -0
  32. package/src/generated/react-work-tags.js +240 -0
  33. package/src/rdt-hook.ts +154 -149
  34. package/src/react-internals.ts +65 -0
  35. package/src/semver.ts +78 -0
  36. package/src/source/constants.ts +1 -1
  37. package/src/source/error-stack.ts +11 -0
  38. package/src/source/get-source.ts +2 -1
  39. package/src/source/index.ts +9 -1
  40. package/src/source/inspect-hooks.ts +199 -164
  41. package/src/source/owner-stack.ts +84 -114
  42. package/src/source/parse-debug-stack.ts +4 -4
  43. package/src/source/parse-stack.ts +1 -1
  44. package/src/source/symbolication.ts +365 -89
  45. package/src/types.ts +165 -334
  46. package/src/unsubscribe.ts +2 -2
  47. package/dist/get-source.cjs +0 -19
  48. package/dist/get-source.js +0 -19
  49. package/dist/react-refresh.cjs +0 -9
  50. package/dist/react-refresh.d.cts +0 -66
  51. package/dist/react-refresh.d.ts +0 -66
  52. package/dist/react-refresh.js +0 -9
  53. package/dist/unsubscribe.d.cts +0 -298
  54. package/dist/unsubscribe.d.ts +0 -298
  55. package/src/react-refresh/constants.ts +0 -9
  56. package/src/react-refresh/detect-hmr-transport.ts +0 -33
  57. package/src/react-refresh/index.ts +0 -173
  58. package/src/react-refresh/metro-hmr-transport.ts +0 -188
  59. package/src/react-refresh/next-webpack-hmr-transport.ts +0 -72
  60. package/src/react-refresh/normalize-hmr-file-path.ts +0 -24
  61. package/src/react-refresh/types.ts +0 -7
  62. package/src/react-refresh/vite-hmr-transport.ts +0 -116
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.d7876ea",
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
131
  "build": "NODE_ENV=production vp pack && tsx scripts/append-banner.ts",
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
  }