mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
9e068ac163
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/40766 This changeset allows users to opt into the new debugger frontend experience by passing `--experimental-debugger` to `react-native start`. **We are defaulting this option to `true`** for now, but will continue to evaluate this feature before 0.73 ships. It restores Flipper (via `flipper://`) as the default handling for `/open-debugger` (matching 0.72 behaviour) when this flag is not enabled. Detailed changes: - Replaces `enableCustomDebuggerFrontend` experiment in `dev-middleware` with `enableNewDebugger`. The latter now hard-swaps between the Flipper and new launch flows. - Removes now-unused switching of `devtoolsFrontendUrl`. - Implements `deprecated_openFlipperMiddleware` (matching previous RN CLI implementation). - Disables "`j` to debug" key handler by default. - Marks "`j` to debug" and `/open-debugger` console logs as experimental. Changelog: [Changed][General] Gate new debugger frontend behind `--experimental-debugger` flag, restore Flipper as base launch flow Reviewed By: motiz88 Differential Revision: D50084590 fbshipit-source-id: 5234634f20110cb7933b1787bd2c86f645411fff
40 lines
995 B
JSON
40 lines
995 B
JSON
{
|
|
"name": "@react-native/dev-middleware",
|
|
"version": "0.73.1",
|
|
"description": "Dev server middleware for React Native",
|
|
"keywords": [
|
|
"react-native",
|
|
"tools"
|
|
],
|
|
"homepage": "https://github.com/facebook/react-native/tree/HEAD/packages/dev-middleware#readme",
|
|
"bugs": "https://github.com/facebook/react-native/issues",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/facebook/react-native.git",
|
|
"directory": "packages/dev-middleware"
|
|
},
|
|
"license": "MIT",
|
|
"exports": {
|
|
".": "./src/index.js",
|
|
"./package.json": "./package.json"
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"dependencies": {
|
|
"@isaacs/ttlcache": "^1.4.1",
|
|
"@react-native/debugger-frontend": "^0.73.0",
|
|
"chrome-launcher": "^0.15.2",
|
|
"chromium-edge-launcher": "^1.0.0",
|
|
"connect": "^3.6.5",
|
|
"debug": "^2.2.0",
|
|
"node-fetch": "^2.2.0",
|
|
"open": "^7.0.3",
|
|
"serve-static": "^1.13.1",
|
|
"temp-dir": "^2.0.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=18"
|
|
}
|
|
}
|