mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
d10a8098b2
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/39107 Augments D48466760 to report debugger commands (request/response pairs) through `EventReporter`. With the appropriate backend integration, this can help validate the correctness/completeness of the CDP implementation (in the client, proxy and server) and measure the latency of debugger commands - more accurately, the time between the proxy receiving a command from the client and receiving the corresponding response from the server. Most of the new logic here is in the `DeviceEventReporter` class, which is responsible for associating responses with requests. Requests are kept in a buffer with a 10s TTL which serves as a timeout in case of an unresponsive server. Changelog: [Internal] Reviewed By: huntie Differential Revision: D48480372 fbshipit-source-id: 55360a14bbea05ef8ad1622e0d54f18b47483809
36 lines
852 B
JSON
36 lines
852 B
JSON
{
|
|
"name": "@react-native/dev-middleware",
|
|
"version": "0.73.0",
|
|
"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",
|
|
"chrome-launcher": "^0.15.2",
|
|
"connect": "^3.6.5",
|
|
"debug": "^2.2.0",
|
|
"node-fetch": "^2.2.0",
|
|
"temp-dir": "^2.0.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=18"
|
|
}
|
|
}
|