bippy 0.6.0 → 0.6.1-dev.03b829a
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.
- package/LICENSE +1 -1
- package/README.md +126 -136
- package/dist/core.cjs +1 -1
- package/dist/core.d.cts +45 -60
- package/dist/core.d.ts +45 -60
- package/dist/core.js +1 -1
- package/dist/core2.cjs +9 -0
- package/dist/core2.d.cts +11 -3
- package/dist/core2.d.ts +11 -3
- package/dist/core2.js +9 -0
- package/dist/errors.d.cts +447 -0
- package/dist/errors.d.ts +447 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +11 -3
- package/dist/index.d.ts +11 -3
- package/dist/index.iife.js +1 -1
- package/dist/index.js +1 -1
- package/dist/install-hook-only.cjs +1 -1
- package/dist/install-hook-only.d.cts +9 -1
- package/dist/install-hook-only.d.ts +9 -1
- package/dist/install-hook-only.iife.js +1 -1
- package/dist/install-hook-only.js +1 -1
- package/dist/rdt-hook.cjs +1 -1
- package/dist/rdt-hook.js +1 -1
- package/dist/source.cjs +14 -4
- package/dist/source.d.cts +27 -9
- package/dist/source.d.ts +27 -9
- package/dist/source.js +14 -4
- package/package.json +32 -22
- package/src/core.ts +368 -314
- package/src/errors.ts +34 -0
- package/src/install-hook-only.ts +2 -2
- package/src/rdt-hook.ts +150 -153
- package/src/react-internals/generated/react-work-tags.ts +318 -0
- package/src/react-internals/index.ts +67 -0
- package/src/react-internals/semver.ts +78 -0
- package/src/react-internals/types.ts +269 -0
- package/src/source/constants.ts +1 -1
- package/src/source/error-stack.ts +11 -0
- package/src/source/get-display-name-from-source.ts +1 -1
- package/src/source/get-source.ts +4 -3
- package/src/source/index.ts +9 -1
- package/src/source/inspect-hooks.ts +221 -169
- package/src/source/owner-stack.ts +88 -114
- package/src/source/parse-debug-stack.ts +4 -4
- package/src/source/parse-hook-names.ts +1 -1
- package/src/source/parse-stack.ts +1 -1
- package/src/source/symbolication.ts +488 -88
- package/dist/get-source.cjs +0 -19
- package/dist/get-source.js +0 -19
- package/dist/react-refresh.cjs +0 -9
- package/dist/react-refresh.d.cts +0 -66
- package/dist/react-refresh.d.ts +0 -66
- package/dist/react-refresh.js +0 -9
- package/dist/unsubscribe.d.cts +0 -298
- package/dist/unsubscribe.d.ts +0 -298
- package/src/react-refresh/constants.ts +0 -9
- package/src/react-refresh/detect-hmr-transport.ts +0 -33
- package/src/react-refresh/index.ts +0 -173
- package/src/react-refresh/metro-hmr-transport.ts +0 -188
- package/src/react-refresh/next-webpack-hmr-transport.ts +0 -72
- package/src/react-refresh/normalize-hmr-file-path.ts +0 -24
- package/src/react-refresh/types.ts +0 -7
- package/src/react-refresh/vite-hmr-transport.ts +0 -116
- package/src/types.ts +0 -438
- package/src/unsubscribe.ts +0 -17
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bippy",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.1-dev.03b829a",
|
|
4
4
|
"description": "hack into react internals",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"bippy",
|
|
@@ -27,7 +27,6 @@
|
|
|
27
27
|
"files": [
|
|
28
28
|
"dist",
|
|
29
29
|
"src",
|
|
30
|
-
"bin",
|
|
31
30
|
"package.json",
|
|
32
31
|
"README.md",
|
|
33
32
|
"LICENSE"
|
|
@@ -79,16 +78,6 @@
|
|
|
79
78
|
"default": "./dist/source.cjs"
|
|
80
79
|
}
|
|
81
80
|
},
|
|
82
|
-
"./react-refresh": {
|
|
83
|
-
"import": {
|
|
84
|
-
"types": "./dist/react-refresh.d.ts",
|
|
85
|
-
"default": "./dist/react-refresh.js"
|
|
86
|
-
},
|
|
87
|
-
"require": {
|
|
88
|
-
"types": "./dist/react-refresh.d.cts",
|
|
89
|
-
"default": "./dist/react-refresh.cjs"
|
|
90
|
-
}
|
|
91
|
-
},
|
|
92
81
|
"./dist/*": "./dist/*.js",
|
|
93
82
|
"./dist/*.js": "./dist/*.js",
|
|
94
83
|
"./dist/*.cjs": "./dist/*.cjs"
|
|
@@ -96,34 +85,55 @@
|
|
|
96
85
|
"publishConfig": {
|
|
97
86
|
"access": "public"
|
|
98
87
|
},
|
|
88
|
+
"dependencies": {
|
|
89
|
+
"@types/react-reconciler": "^0.33.0"
|
|
90
|
+
},
|
|
99
91
|
"devDependencies": {
|
|
92
|
+
"@babylonjs/core": "^9.20.0",
|
|
93
|
+
"@babylonjs/gui": "^9.20.0",
|
|
100
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",
|
|
98
|
+
"@react-pdf/renderer": "^4.5.1",
|
|
99
|
+
"@react-three/fiber": "^9.6.1",
|
|
100
|
+
"@react-three/test-renderer": "^9.1.0",
|
|
101
101
|
"@testing-library/dom": "^10.4.0",
|
|
102
102
|
"@testing-library/react": "^16.1.0",
|
|
103
103
|
"@types/node": "^20",
|
|
104
|
-
"@types/react": "^19.
|
|
105
|
-
"@types/react-dom": "^19.
|
|
104
|
+
"@types/react": "^19.2.17",
|
|
105
|
+
"@types/react-dom": "^19.2.3",
|
|
106
106
|
"@vitest/coverage-istanbul": "^4.1.10",
|
|
107
|
-
"esbuild": "^0.27.0",
|
|
108
107
|
"happy-dom": "^15.11.7",
|
|
108
|
+
"ink": "^7.1.1",
|
|
109
|
+
"ink-testing-library": "^4.0.0",
|
|
110
|
+
"konva": "^10.3.0",
|
|
111
|
+
"pixi.js": "^8.19.0",
|
|
109
112
|
"publint": "^0.3.0",
|
|
110
113
|
"react": "19.0.0",
|
|
114
|
+
"react-babylonjs": "^4.0.2",
|
|
115
|
+
"react-devtools-core": "7.0.1",
|
|
111
116
|
"react-devtools-inline": "^6.0.1",
|
|
112
117
|
"react-dom": "19.0.0",
|
|
113
|
-
"react-
|
|
114
|
-
"
|
|
118
|
+
"react-konva": "^19.2.5",
|
|
119
|
+
"react-nil": "^2.0.0",
|
|
120
|
+
"remotion": "^4.0.496",
|
|
121
|
+
"three": "^0.185.1",
|
|
115
122
|
"tsx": "^4.21.0",
|
|
116
|
-
"
|
|
123
|
+
"typescript": "^5.9.3",
|
|
124
|
+
"vite-plus": "latest",
|
|
125
|
+
"zod": "^4.4.3"
|
|
117
126
|
},
|
|
118
127
|
"peerDependencies": {
|
|
119
128
|
"react": ">=17.0.1"
|
|
120
129
|
},
|
|
121
130
|
"scripts": {
|
|
122
|
-
"build": "NODE_ENV=production vp pack
|
|
131
|
+
"build": "NODE_ENV=production vp pack",
|
|
132
|
+
"check:react-internals": "tsx scripts/generate-react-internals.ts --check",
|
|
133
|
+
"coverage": "vp test --coverage",
|
|
123
134
|
"dev": "NODE_ENV=development vp pack --watch",
|
|
135
|
+
"generate:react-internals": "tsx scripts/generate-react-internals.ts",
|
|
124
136
|
"publint": "publint",
|
|
125
|
-
"test": "vp test"
|
|
126
|
-
"coverage": "vp test --coverage",
|
|
127
|
-
"build:coverage": "BIPPY_SOURCEMAP=true vp pack"
|
|
137
|
+
"test": "vp test"
|
|
128
138
|
}
|
|
129
139
|
}
|