Skip to content

Commit a6aa7e2

Browse files
committed
node-abi
1 parent 0fbc8b9 commit a6aa7e2

File tree

3 files changed

+37
-35
lines changed

3 files changed

+37
-35
lines changed

package-lock.json

Lines changed: 34 additions & 31 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/hadron-build/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"lodash": "^4.17.21",
4747
"moment": "^2.29.4",
4848
"mongodb-js-cli": "^0.0.3",
49-
"node-abi": "^3.74.0",
49+
"node-abi": "^4.9.0",
5050
"normalize-package-data": "^2.3.5",
5151
"parse-github-repo-url": "^1.3.0",
5252
"semver": "^7.6.2",

scripts/update-electron.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,7 @@ async function main() {
100100
electronVersionRange
101101
);
102102

103-
// TODO(COMPASS-9098): Latest version of node-abi depends on Node.js 22. We are on 20 and will stay on this version until our version of Electron is updated along with the monorepo expected engines version. Uncomment this when we can update
104-
// const latestNodeAbiVersion = await getLatestVersion('node-abi');
103+
const latestNodeAbiVersion = await getLatestVersion('node-abi');
105104
const latestElectronRemoteVersion = await getLatestVersion(
106105
'@electron/remote'
107106
);
@@ -115,7 +114,7 @@ async function main() {
115114
);
116115

117116
const newVersions = {
118-
// 'node-abi': `^${latestNodeAbiVersion}`,
117+
'node-abi': `^${latestNodeAbiVersion}`,
119118
'@electron/remote': `^${latestElectronRemoteVersion}`,
120119
'@electron/rebuild': `^${latestElectronRebuildVersion}`,
121120
electron: `^${latestElectronVersion}`,

0 commit comments

Comments
 (0)