From cb0517d6d7a97f89393ef1a873c32c55dc662f38 Mon Sep 17 00:00:00 2001 From: Scott Nonnenberg Date: Mon, 30 Oct 2023 14:57:49 -0700 Subject: [PATCH] Update electron-notarize to 2.1.0 --- build/entitlements.mac.inherit.plist | 2 +- build/entitlements.mas.inherit.plist | 2 +- package.json | 2 +- ts/scripts/notarize-universal-dmg.ts | 2 +- ts/scripts/notarize.ts | 2 +- yarn.lock | 17 +++++++++-------- 6 files changed, 14 insertions(+), 13 deletions(-) diff --git a/build/entitlements.mac.inherit.plist b/build/entitlements.mac.inherit.plist index 89669a38c4ef..714fc608540e 100644 --- a/build/entitlements.mac.inherit.plist +++ b/build/entitlements.mac.inherit.plist @@ -5,7 +5,7 @@ - + com.apple.security.cs.allow-jit diff --git a/build/entitlements.mas.inherit.plist b/build/entitlements.mas.inherit.plist index 89669a38c4ef..714fc608540e 100644 --- a/build/entitlements.mas.inherit.plist +++ b/build/entitlements.mas.inherit.plist @@ -5,7 +5,7 @@ - + com.apple.security.cs.allow-jit diff --git a/package.json b/package.json index 909d678f0931..aaea433ff591 100644 --- a/package.json +++ b/package.json @@ -196,6 +196,7 @@ "@babel/preset-react": "7.22.15", "@babel/preset-typescript": "7.23.0", "@electron/fuses": "1.5.0", + "@electron/notarize": "2.1.0", "@formatjs/intl": "2.6.7", "@mixer/parallel-prettier": "2.0.3", "@signalapp/mock-server": "4.3.0", @@ -275,7 +276,6 @@ "electron": "25.9.3", "electron-builder": "24.6.3", "electron-mocha": "11.0.2", - "electron-notarize": "1.2.1", "endanger": "7.0.4", "esbuild": "0.17.11", "eslint": "8.30.0", diff --git a/ts/scripts/notarize-universal-dmg.ts b/ts/scripts/notarize-universal-dmg.ts index 55b341b24b43..827ecfa04cd8 100644 --- a/ts/scripts/notarize-universal-dmg.ts +++ b/ts/scripts/notarize-universal-dmg.ts @@ -3,7 +3,7 @@ import type { BuildResult } from 'electron-builder'; -import { notarize } from 'electron-notarize'; +import { notarize } from '@electron/notarize'; import * as packageJson from '../../package.json'; diff --git a/ts/scripts/notarize.ts b/ts/scripts/notarize.ts index 8b5cbcddd83b..56740ad2dee3 100644 --- a/ts/scripts/notarize.ts +++ b/ts/scripts/notarize.ts @@ -4,7 +4,7 @@ import path from 'path'; import type { AfterPackContext } from 'electron-builder'; -import { notarize } from 'electron-notarize'; +import { notarize } from '@electron/notarize'; import * as packageJson from '../../package.json'; diff --git a/yarn.lock b/yarn.lock index 1ce9fbd1a866..0ef14bdcb8d5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1279,6 +1279,15 @@ optionalDependencies: global-agent "^3.0.0" +"@electron/notarize@2.1.0": + version "2.1.0" + resolved "https://registry.yarnpkg.com/@electron/notarize/-/notarize-2.1.0.tgz#76aaec10c8687225e8d0a427cc9df67611c46ff3" + integrity sha512-Q02xem1D0sg4v437xHgmBLxI2iz/fc0D4K7fiVWHa/AnW8o7D751xyKNXgziA6HrTOme9ul1JfWN5ark8WH1xA== + dependencies: + debug "^4.1.1" + fs-extra "^9.0.1" + promise-retry "^2.0.1" + "@electron/notarize@^1.2.3": version "1.2.4" resolved "https://registry.yarnpkg.com/@electron/notarize/-/notarize-1.2.4.tgz#a7d38773f4cad40df111a5edc64037e5d768ea1e" @@ -8998,14 +9007,6 @@ electron-mocha@11.0.2: which "^2.0.2" yargs "^16.2.0" -electron-notarize@1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/electron-notarize/-/electron-notarize-1.2.1.tgz#347c18eca8e29dddadadee511b870c13d4008baf" - integrity sha512-u/ECWhIrhkSQpZM4cJzVZ5TsmkaqrRo5LDC/KMbGF0sPkm53Ng59+M0zp8QVaql0obfJy9vlVT+4iOkAi2UDlA== - dependencies: - debug "^4.1.1" - fs-extra "^9.0.1" - electron-publish@24.5.0: version "24.5.0" resolved "https://registry.yarnpkg.com/electron-publish/-/electron-publish-24.5.0.tgz#492a4d7caa232e88ee3c18f5c3b4dc637e5e1b3a"