mirror of
https://github.com/react/react-native.git
synced 2026-09-28 21:33:11 +08:00
Summary: Pull Request resolved: https://github.com/react/react-native/pull/57422 Upgrade from Electron 39.0.0 → 43.0.0. Changelog: [Internal] **Breaking changes from Electron 39.0.0 → 43.0.0:** **Electron 40.0.0** - Deprecated `clipboard` API access from renderer processes (use `contextBridge` from a preload script) - macOS dSYM debug symbols now compressed with `tar.xz` (`dsym.zip` → `dsym.tar.xz`) **Electron 41.0.0** - PDFs no longer create a separate `WebContents` (now render in same WebContents via OOPIFs — use frame tree to detect) - Cookie `'changed'` event has new causes: `inserted`, `inserted-no-change-overwrite`, `inserted-no-value-change-overwrite` - Deprecated `showHiddenFiles` in dialogs on Linux (GTK removed the API) **Electron 42.0.0** - macOS notifications migrated from `NSUserNotification` to `UNNotification` API (requires code-signed app, else emits `failed` event) - Offscreen rendering defaults to `1.0` device scale factor (use `webPreferences.offscreen.deviceScaleFactor` to override) - `electron` npm package no longer downloads via `postinstall` (binary fetched on first `bin` run; `ELECTRON_SKIP_BINARY_DOWNLOAD` removed, use `ELECTRON_INSTALL_PLATFORM` / `ELECTRON_INSTALL_ARCH`) - Removed `quotas` object from `Session.clearStorageData(options)` **Electron 43.0.0-alpha.3** - File downloads will open by default in the user's Downloads folder (or Home directory if Downloads doesn't exist) Command run: ``` js1 upgrade electron --version 43.0.0-alpha.3 ``` Reviewed By: robhogan Differential Revision: D105587351 fbshipit-source-id: 80de51d5100dbbcd093a0aadcdd9d31591b4bb9f
59 lines
1.4 KiB
JSON
59 lines
1.4 KiB
JSON
{
|
|
"name": "@react-native/debugger-shell",
|
|
"productName": "React Native DevTools",
|
|
"version": "0.87.0-main",
|
|
"description": "Experimental debugger shell for React Native for use with @react-native/debugger-frontend",
|
|
"keywords": [
|
|
"react-native",
|
|
"tools"
|
|
],
|
|
"homepage": "https://github.com/react/react-native/tree/HEAD/packages/debugger-shell#readme",
|
|
"bugs": "https://github.com/react/react-native/issues",
|
|
"main": "./src/index.js",
|
|
"exports": {
|
|
".": {
|
|
"node": "./src/node/index.js",
|
|
"electron": "./src/electron/index.js"
|
|
},
|
|
"./package.json": "./package.json"
|
|
},
|
|
"publishConfig": {
|
|
"main": "./dist/index.js",
|
|
"exports": {
|
|
".": {
|
|
"node": "./dist/node/index.js",
|
|
"electron": "./dist/electron/index.js"
|
|
},
|
|
"./package.json": "./package.json"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"dev": "electron src/electron",
|
|
"prepack": "node ../../scripts/build/prepack.js"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/react/react-native.git",
|
|
"directory": "packages/debugger-shell"
|
|
},
|
|
"license": "MIT",
|
|
"engines": {
|
|
"node": "^22.13.0 || ^24.3.0 || >= 26.0.0"
|
|
},
|
|
"dependencies": {
|
|
"cross-spawn": "^7.0.6",
|
|
"debug": "^4.4.0",
|
|
"fb-dotslash": "0.5.8"
|
|
},
|
|
"devDependencies": {
|
|
"electron": "43.0.0",
|
|
"semver": "^7.1.3"
|
|
},
|
|
"files": [
|
|
"!**/__tests__/**",
|
|
"bin",
|
|
"dist",
|
|
"!src/electron"
|
|
]
|
|
}
|