From 559decea2c8ef1c9637ed24d269278e8e8ac0002 Mon Sep 17 00:00:00 2001 From: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com> Date: Mon, 13 May 2024 13:52:20 -0700 Subject: [PATCH] Update @electron/symbolicate-mac to 2.1.0 --- package.json | 2 +- patches/@electron+symbolicate-mac+2.0.2.patch | 14 -------------- yarn.lock | 8 ++++---- 3 files changed, 5 insertions(+), 19 deletions(-) delete mode 100644 patches/@electron+symbolicate-mac+2.0.2.patch diff --git a/package.json b/package.json index f7d1a1ac2ba3..8ff414d7501b 100644 --- a/package.json +++ b/package.json @@ -207,7 +207,7 @@ "@babel/preset-typescript": "7.23.0", "@electron/fuses": "1.5.0", "@electron/notarize": "2.1.0", - "@electron/symbolicate-mac": "2.0.2", + "@electron/symbolicate-mac": "2.1.0", "@formatjs/intl": "2.6.7", "@indutny/rezip-electron": "1.3.1", "@mixer/parallel-prettier": "2.0.3", diff --git a/patches/@electron+symbolicate-mac+2.0.2.patch b/patches/@electron+symbolicate-mac+2.0.2.patch deleted file mode 100644 index 247f900cde15..000000000000 --- a/patches/@electron+symbolicate-mac+2.0.2.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff --git a/node_modules/@electron/symbolicate-mac/index.js b/node_modules/@electron/symbolicate-mac/index.js -index 36287bb..239564a 100755 ---- a/node_modules/@electron/symbolicate-mac/index.js -+++ b/node_modules/@electron/symbolicate-mac/index.js -@@ -60,7 +60,8 @@ const symbolicate = async (options) => { - async function symbolicateOne({image, offset}) { - const { debugId, path: modulePath } = image - if (!symbolCache.has(debugId)) { -- const parsed = await getSymbolFile(debugId.replace(/-/g, '') + '0', path.basename(modulePath)) -+ const suffix = path.extname(modulePath) === '.pdb' ? '1' : '0'; -+ const parsed = await getSymbolFile(debugId.replace(/-/g, '') + suffix, path.basename(modulePath)) - symbolCache.set(debugId, parsed) - } - const parsed = symbolCache.get(debugId) diff --git a/yarn.lock b/yarn.lock index 74f22be9c6c2..9fe5551882b4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1359,10 +1359,10 @@ minimist "^1.2.6" plist "^3.0.5" -"@electron/symbolicate-mac@2.0.2": - version "2.0.2" - resolved "https://registry.yarnpkg.com/@electron/symbolicate-mac/-/symbolicate-mac-2.0.2.tgz#e3df3a62d3d48444c97f251fdd5cede1bfeef546" - integrity sha512-ysQQk1XrTILQXCoi7l4pa3J8qA5RMfcRNjow1tFdZGEwmV6FK6X3hpGbo94Gsv4z+6m+gTspdrVANFbpT2Tx2w== +"@electron/symbolicate-mac@2.1.0": + version "2.1.0" + resolved "https://registry.yarnpkg.com/@electron/symbolicate-mac/-/symbolicate-mac-2.1.0.tgz#94e559b7ade72c2b06885c03bb8e10cb8a1b2529" + integrity sha512-IOn78ATkPgtMSyK6tUToA4npOCMOnOLT4umhlEDPLpLMqNMeTR+2HlL/rHmTK4IlP5Pzd/GqqF2cQ4NtNRRV6Q== dependencies: got "^11.8.2" mkdirp "^1.0.4"