Skip to content

Commit cf48bcd

Browse files
committed
Fix install on Node 24.16.0 and Node 26
nodejs/node#63487 max-mapper/extract-zip#154
1 parent d96870e commit cf48bcd

3 files changed

Lines changed: 198 additions & 415 deletions

File tree

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@
112112
},
113113
"devDependencies": {
114114
"@github/markdownlint-github": "^0.1.0",
115-
"@playwright/test": "^1.58.2",
115+
"@playwright/test": "^1.60.0",
116116
"@types/byline": "^4.2.31",
117117
"@types/classnames": "^2.2.2",
118118
"@types/codemirror": "^5.60.15",
@@ -158,16 +158,16 @@
158158
"@types/webpack-bundle-analyzer": "^4.7.0",
159159
"@types/webpack-hot-middleware": "^2.25.9",
160160
"diff": "^8.0.3",
161+
"@electron/packager": "20.0.1",
161162
"electron": "42.4.0",
162163
"electron-builder": "^25.1.8",
163-
"electron-packager": "^17.1.1",
164164
"electron-winstaller": "^5.0.0",
165165
"eslint-plugin-github": "^5.1.5",
166166
"markdownlint-cli": "^0.32.2",
167167
"node-test-github-reporter": "^1.2.0",
168168
"patch-package": "^8.0.0",
169169
"postinstall-postinstall": "^2.1.0",
170-
"playwright": "^1.58.2",
170+
"playwright": "^1.60.0",
171171
"reserved-words": "^0.1.2",
172172
"tsconfig-paths": "^3.9.0",
173173
"tsx": "^4.19.3",

script/build.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
/// <reference path="./globals.d.ts" />
33

44
import * as cp from 'child_process'
5-
import packager, { OsxNotarizeOptions } from 'electron-packager'
5+
import { packager } from '@electron/packager'
6+
import { NotaryToolCredentials } from '@electron/notarize'
7+
68
import frontMatter from 'front-matter'
79
import * as path from 'path'
810
import { getPrintenvzPath } from 'printenvz'
@@ -629,14 +631,14 @@ ${licenseText}`
629631
rmSync(chooseALicense, { recursive: true, force: true })
630632
}
631633

632-
function getNotarizationOptions(): OsxNotarizeOptions | undefined {
634+
function getNotarizationOptions(): NotaryToolCredentials | undefined {
633635
const {
634636
APPLE_ID: appleId,
635637
APPLE_ID_PASSWORD: appleIdPassword,
636638
APPLE_TEAM_ID: teamId,
637639
} = process.env
638640

639641
return appleId && appleIdPassword && teamId
640-
? { tool: 'notarytool', appleId, appleIdPassword, teamId }
642+
? { appleId, appleIdPassword, teamId }
641643
: undefined
642644
}

0 commit comments

Comments
 (0)