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

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 (64) 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 -59
  5. package/dist/core.d.ts +45 -59
  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 +465 -0
  12. package/dist/errors.d.ts +465 -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/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 +27 -9
  26. package/dist/source.d.ts +27 -9
  27. package/dist/source.js +14 -4
  28. package/package.json +22 -16
  29. package/src/core.ts +412 -316
  30. package/src/errors.ts +99 -0
  31. package/src/rdt-hook.ts +163 -151
  32. package/src/react-internals/generated/react-work-tags.ts +314 -0
  33. package/src/react-internals/index.ts +67 -0
  34. package/src/react-internals/semver.ts +78 -0
  35. package/src/react-internals/types.ts +269 -0
  36. package/src/source/constants.ts +1 -1
  37. package/src/source/error-stack.ts +11 -0
  38. package/src/source/get-display-name-from-source.ts +1 -1
  39. package/src/source/get-source.ts +4 -3
  40. package/src/source/index.ts +9 -1
  41. package/src/source/inspect-hooks.ts +199 -165
  42. package/src/source/owner-stack.ts +87 -113
  43. package/src/source/parse-debug-stack.ts +4 -4
  44. package/src/source/parse-hook-names.ts +1 -1
  45. package/src/source/parse-stack.ts +1 -1
  46. package/src/source/symbolication.ts +476 -88
  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
  63. package/src/types.ts +0 -438
  64. 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.b88fcb4",
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
  }