From 3e9c5ab117c68185c24dc7aec444872fbd474861 Mon Sep 17 00:00:00 2001 From: Erick Zhao Date: Thu, 20 Oct 2022 11:46:57 -0700 Subject: [PATCH] bump osx-sign --- SUPPORT.md | 2 +- package.json | 1 - packages/api/core/src/api/import.ts | 2 +- tools/update-dependencies.js | 1 - yarn.lock | 41 ++--------------------------- 5 files changed, 4 insertions(+), 43 deletions(-) diff --git a/SUPPORT.md b/SUPPORT.md index 64ddbc7cd0..826544ea2a 100644 --- a/SUPPORT.md +++ b/SUPPORT.md @@ -13,13 +13,13 @@ value of the environment variable is a comma-separated list of modules which sup feature. Known modules include: - `@electron/get:*` +- `@electron/osx-sign` - `electron-forge:*` (always use this one before filing an issue) - `electron-installer-debian` - `electron-installer-dmg` - `electron-installer-flatpak` - `electron-installer-redhat` - `electron-installer-snap:*` -- `electron-osx-sign` - `electron-packager` - `electron-rebuild` - `electron-windows-installer:main` diff --git a/package.json b/package.json index 0f7ae82e3d..6e0d011365 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,6 @@ "cross-spawn": "^7.0.3", "cross-zip": "^4.0.0", "debug": "^4.3.1", - "electron-osx-sign": "^0.5.0", "electron-packager": "^17.0.0", "electron-rebuild": "^3.2.6", "express": "^4.17.1", diff --git a/packages/api/core/src/api/import.ts b/packages/api/core/src/api/import.ts index 2cc39256ac..da3bd82111 100644 --- a/packages/api/core/src/api/import.ts +++ b/packages/api/core/src/api/import.ts @@ -115,6 +115,7 @@ export default async ({ const keys = Object.keys(packageJSON.dependencies).concat(Object.keys(packageJSON.devDependencies)); const buildToolPackages: Record = { '@electron/get': 'already uses this module as a transitive dependency', + '@electron/osx-sign': 'already uses this module as a transitive dependency', 'electron-builder': 'provides mostly equivalent functionality', 'electron-download': 'already uses this module as a transitive dependency', 'electron-forge': 'replaced with @electron-forge/cli', @@ -122,7 +123,6 @@ export default async ({ 'electron-installer-dmg': 'already uses this module as a transitive dependency', 'electron-installer-flatpak': 'already uses this module as a transitive dependency', 'electron-installer-redhat': 'already uses this module as a transitive dependency', - 'electron-osx-sign': 'already uses this module as a transitive dependency', 'electron-packager': 'already uses this module as a transitive dependency', 'electron-winstaller': 'already uses this module as a transitive dependency', }; diff --git a/tools/update-dependencies.js b/tools/update-dependencies.js index c347e1a21a..2c716bb966 100755 --- a/tools/update-dependencies.js +++ b/tools/update-dependencies.js @@ -9,7 +9,6 @@ const DO_NOT_UPGRADE = [ '@typescript-eslint/eslint-plugin', // special case 'chalk', // Requires ESM 'commander', // TODO: convert to yargs - 'electron-osx-sign', // Requires Electron Packager's dependency to also be upgraded 'eslint-plugin-mocha', // Requires Node 14 'find-up', // Requires ESM 'log-symbols', // Requires ESM diff --git a/yarn.lock b/yarn.lock index 772b10697d..4a08d987c1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2777,19 +2777,6 @@ browserslist@^4.14.5, browserslist@^4.17.5: node-releases "^2.0.1" picocolors "^1.0.0" -buffer-alloc-unsafe@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/buffer-alloc-unsafe/-/buffer-alloc-unsafe-1.1.0.tgz#bd7dc26ae2972d0eda253be061dba992349c19f0" - integrity sha512-TEM2iMIEQdJ2yjPJoSIsldnleVaAk1oW3DBVUykyOLsEsFmEc9kn+SFFPz+gl54KQNxlDnAwCXosOS9Okx2xAg== - -buffer-alloc@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/buffer-alloc/-/buffer-alloc-1.2.0.tgz#890dd90d923a873e08e10e5fd51a57e5b7cce0ec" - integrity sha512-CFsHQgjtW1UChdXgbyJGtnm+O/uLQeZdtbDo8mfUgYXCHSM1wgrVxXm6bSyrUuErEb+4sYVGCzASBRot7zyrow== - dependencies: - buffer-alloc-unsafe "^1.1.0" - buffer-fill "^1.0.0" - buffer-crc32@~0.2.3: version "0.2.13" resolved "https://registry.yarnpkg.com/buffer-crc32/-/buffer-crc32-0.2.13.tgz#0d333e3f00eac50aa1454abd30ef8c2a5d9a7242" @@ -2800,11 +2787,6 @@ buffer-equal@1.0.0: resolved "https://registry.yarnpkg.com/buffer-equal/-/buffer-equal-1.0.0.tgz#59616b498304d556abd466966b22eeda3eca5fbe" integrity sha512-tcBWO2Dl4e7Asr9hTGcpVrCe+F7DubpmqWCTbj4FHLmjqO2hIaC383acQubWtRJhdceqs5uBHs6Es+Sk//RKiQ== -buffer-fill@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/buffer-fill/-/buffer-fill-1.0.0.tgz#f8f78b76789888ef39f205cd637f68e702122b2c" - integrity sha1-+PeLdniYiO858gXNY39o5wISKyw= - buffer-from@^1.0.0: version "1.1.2" resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.2.tgz#2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5" @@ -3459,7 +3441,7 @@ dashdash@^1.12.0: dependencies: assert-plus "^1.0.0" -debug@2.6.9, debug@^2.1.3, debug@^2.2.0, debug@^2.6.8, debug@^2.6.9: +debug@2.6.9, debug@^2.1.3, debug@^2.2.0, debug@^2.6.9: version "2.6.9" resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" integrity sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA== @@ -3851,18 +3833,6 @@ electron-notarize@^1.1.1: debug "^4.1.1" fs-extra "^9.0.1" -electron-osx-sign@^0.5.0: - version "0.5.0" - resolved "https://registry.yarnpkg.com/electron-osx-sign/-/electron-osx-sign-0.5.0.tgz#fc258c5e896859904bbe3d01da06902c04b51c3a" - integrity sha512-icoRLHzFz/qxzDh/N4Pi2z4yVHurlsCAYQvsCSG7fCedJ4UJXBS6PoQyGH71IfcqKupcKeK7HX/NkyfG+v6vlQ== - dependencies: - bluebird "^3.5.0" - compare-version "^0.1.2" - debug "^2.6.8" - isbinaryfile "^3.0.2" - minimist "^1.2.0" - plist "^3.0.1" - electron-packager@^17.0.0: version "17.0.0" resolved "https://registry.yarnpkg.com/electron-packager/-/electron-packager-17.0.0.tgz#09e86734da51049de08b14cee8fc6b2d424efeec" @@ -5966,13 +5936,6 @@ isarray@~1.0.0: resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" integrity sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE= -isbinaryfile@^3.0.2: - version "3.0.3" - resolved "https://registry.yarnpkg.com/isbinaryfile/-/isbinaryfile-3.0.3.tgz#5d6def3edebf6e8ca8cae9c30183a804b5f8be80" - integrity sha512-8cJBL5tTd2OS0dM4jz07wQd5g0dCCqIhUxPIGtZfa5L6hWlvV5MHTITy/DBAsF+Oe2LS1X3krBUhNwaGUWpWxw== - dependencies: - buffer-alloc "^1.2.0" - isbinaryfile@^4.0.8: version "4.0.10" resolved "https://registry.yarnpkg.com/isbinaryfile/-/isbinaryfile-4.0.10.tgz#0c5b5e30c2557a2f06febd37b7322946aaee42b3" @@ -7568,7 +7531,7 @@ pkg-dir@^4.1.0, pkg-dir@^4.2.0: dependencies: find-up "^4.0.0" -plist@^3.0.0, plist@^3.0.1: +plist@^3.0.0: version "3.0.5" resolved "https://registry.yarnpkg.com/plist/-/plist-3.0.5.tgz#2cbeb52d10e3cdccccf0c11a63a85d830970a987" integrity sha512-83vX4eYdQp3vP9SxuYgEM/G/pJQqLUz/V/xzPrzruLs7fz7jxGQ1msZ/mg1nwZxUSuOp4sb+/bEIbRrbzZRxDA==