Skip to content

Commit

Permalink
CI: Update node to the LTS version
Browse files Browse the repository at this point in the history
  • Loading branch information
lewisd5 committed Feb 6, 2025
1 parent db88f6a commit a94be8e
Show file tree
Hide file tree
Showing 79 changed files with 748 additions and 1,001 deletions.
2 changes: 1 addition & 1 deletion .prototools
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
node = "20.11.0"
node = "22.13.1"
npm = "10.3.0"
pnpm = "9.12.3"
2 changes: 1 addition & 1 deletion apps/cli/bin/index.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/usr/bin/env node
#!/usr/bin/env node --disable-warning=DEP0040
require("../lib/cli");
4 changes: 2 additions & 2 deletions apps/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
"@ledgerhq/device-core": "workspace:^",
"@ledgerhq/devices": "workspace:*",
"@ledgerhq/errors": "workspace:^",
"@ledgerhq/ledger-key-ring-protocol": "workspace:^",
"@ledgerhq/hw-app-btc": "workspace:^",
"@ledgerhq/hw-ledger-key-ring-protocol": "workspace:^",
"@ledgerhq/hw-transport": "workspace:^",
Expand All @@ -42,6 +41,7 @@
"@ledgerhq/hw-transport-node-hid": "workspace:^",
"@ledgerhq/hw-transport-node-speculos": "workspace:^",
"@ledgerhq/hw-transport-node-speculos-http": "workspace:^",
"@ledgerhq/ledger-key-ring-protocol": "workspace:^",
"@ledgerhq/live-common": "workspace:^",
"@ledgerhq/live-config": "workspace:^",
"@ledgerhq/live-countervalues": "workspace:^",
Expand Down Expand Up @@ -78,7 +78,7 @@
"@types/express": "4.17.21",
"@types/invariant": "2.2.37",
"@types/lodash": "4.17.7",
"@types/node": "20.12.12",
"@types/node": "22.10.10",
"@types/pako": "2.0.3",
"@types/qrcode-terminal": "0.12.2",
"@types/ws": "8.5.10",
Expand Down
2 changes: 1 addition & 1 deletion apps/cli/scripts/test.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env zx

const p = await $`./bin/index.js version`;
const p = await $`node --disable-warning=DEP0040 ./bin/index.js version`;

const acceptedWarnings = [
"bigint: Failed to load bindings, pure JS will be used (try npm run rebuild?)", // https://ledgerhq.atlassian.net/browse/LIVE-5477
Expand Down
2 changes: 1 addition & 1 deletion apps/ledger-live-desktop/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,4 +202,4 @@ For a smooth and quick integration:
- See the developers’ documentation on the [Developer Portal](https://developers.ledger.com/docs/coin/general-process/) and
- Go on [Discord](https://developers.ledger.com/discord-pro/) to chat with developer support and the developer community.

---
---
4 changes: 2 additions & 2 deletions apps/ledger-live-desktop/src/sentry/anonymizer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ let configDir = (() => {
// eslint-disable-next-line @typescript-eslint/no-var-requires
require("electron")
.ipcRenderer.invoke("getPathUserData")
.then(path => {
.then((path: string) => {
configDir = path;
});
return "";
Expand All @@ -29,7 +29,7 @@ let homeDir = (() => {
// eslint-disable-next-line @typescript-eslint/no-var-requires
require("electron")
.ipcRenderer.invoke("getPathHome")
.then(path => {
.then((path: string) => {
homeDir = path;
});
return "";
Expand Down
2 changes: 1 addition & 1 deletion apps/ledger-live-mobile/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -211,4 +211,4 @@ For a smooth and quick integration:
- See the developers’ documentation on the [Developer Portal](https://developers.ledger.com/docs/coin/general-process/) and
- Go on [Discord](https://developers.ledger.com/discord-pro/) to chat with developer support and the developer community.

---
---
Original file line number Diff line number Diff line change
Expand Up @@ -817,8 +817,14 @@
);
MTL_ENABLE_DEBUG_INFO = NO;
ONLY_ACTIVE_ARCH = YES;
OTHER_CFLAGS = "$(inherited) ";
OTHER_CPLUSPLUSFLAGS = "$(inherited) ";
OTHER_CFLAGS = (
"$(inherited)",
" ",
);
OTHER_CPLUSPLUSFLAGS = (
"$(inherited)",
" ",
);
OTHER_LDFLAGS = "$(inherited)";
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
SDKROOT = iphoneos;
Expand Down Expand Up @@ -943,8 +949,14 @@
);
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
OTHER_CFLAGS = "$(inherited) ";
OTHER_CPLUSPLUSFLAGS = "$(inherited) ";
OTHER_CFLAGS = (
"$(inherited)",
" ",
);
OTHER_CPLUSPLUSFLAGS = (
"$(inherited)",
" ",
);
OTHER_LDFLAGS = "$(inherited)";
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
SDKROOT = iphoneos;
Expand Down Expand Up @@ -1014,8 +1026,14 @@
"\"$(inherited)\"",
);
MTL_ENABLE_DEBUG_INFO = NO;
OTHER_CFLAGS = "$(inherited) ";
OTHER_CPLUSPLUSFLAGS = "$(inherited) ";
OTHER_CFLAGS = (
"$(inherited)",
" ",
);
OTHER_CPLUSPLUSFLAGS = (
"$(inherited)",
" ",
);
OTHER_LDFLAGS = "$(inherited)";
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
SDKROOT = iphoneos;
Expand Down Expand Up @@ -1086,8 +1104,14 @@
"\"$(inherited)\"",
);
MTL_ENABLE_DEBUG_INFO = NO;
OTHER_CFLAGS = "$(inherited) ";
OTHER_CPLUSPLUSFLAGS = "$(inherited) ";
OTHER_CFLAGS = (
"$(inherited)",
" ",
);
OTHER_CPLUSPLUSFLAGS = (
"$(inherited)",
" ",
);
OTHER_LDFLAGS = "$(inherited)";
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
SDKROOT = iphoneos;
Expand Down Expand Up @@ -1207,8 +1231,14 @@
"\"$(inherited)\"",
);
MTL_ENABLE_DEBUG_INFO = NO;
OTHER_CFLAGS = "$(inherited) ";
OTHER_CPLUSPLUSFLAGS = "$(inherited) ";
OTHER_CFLAGS = (
"$(inherited)",
" ",
);
OTHER_CPLUSPLUSFLAGS = (
"$(inherited)",
" ",
);
OTHER_LDFLAGS = "$(inherited)";
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
SDKROOT = iphoneos;
Expand Down
6 changes: 3 additions & 3 deletions apps/web-tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,18 @@
"@ledgerhq/domain-service": "workspace:^",
"@ledgerhq/errors": "workspace:^",
"@ledgerhq/hw-app-eth": "workspace:^",
"@ledgerhq/hw-ledger-key-ring-protocol": "workspace:^",
"@ledgerhq/hw-transport": "workspace:^",
"@ledgerhq/hw-transport-http": "workspace:^",
"@ledgerhq/hw-transport-web-ble": "workspace:^",
"@ledgerhq/hw-transport-webhid": "workspace:^",
"@ledgerhq/hw-transport-webusb": "workspace:^",
"@ledgerhq/hw-ledger-key-ring-protocol": "workspace:^",
"@ledgerhq/ledger-key-ring-protocol": "workspace:^",
"@ledgerhq/live-common": "workspace:^",
"@ledgerhq/live-config": "workspace:^",
"@ledgerhq/live-env": "workspace:^",
"@ledgerhq/live-wallet": "workspace:^",
"@ledgerhq/logs": "workspace:^",
"@ledgerhq/ledger-key-ring-protocol": "workspace:^",
"@ledgerhq/types-cryptoassets": "workspace:^",
"@ledgerhq/types-live": "workspace:^",
"@uiw/react-codemirror": "^4.22.2",
Expand Down Expand Up @@ -63,7 +63,7 @@
"devDependencies": {
"@types/invariant": "^2.2.35",
"@types/lodash": "^4.14.198",
"@types/node": "20.8.10",
"@types/node": "22.10.10",
"@types/qrcode": "1",
"@types/react": "^18.3.5",
"@types/react-dom": "^18.3.0",
Expand Down
2 changes: 1 addition & 1 deletion libs/coin-modules/coin-stellar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@
"@faker-js/faker": "^8.4.1",
"@types/invariant": "^2.2.2",
"@types/jest": "^29.5.10",
"@types/node": "^20.8.10",
"@types/node": "^22.10.10",
"jest": "^29.7.0",
"ts-jest": "^29.1.1"
}
Expand Down
2 changes: 1 addition & 1 deletion libs/coin-tester/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"@ledgerhq/types-cryptoassets": "workspace:^",
"@ledgerhq/types-live": "workspace:^",
"@types/jest": "^28.1.8",
"@types/node": "^18.15.7",
"@types/node": "^22.10.10",
"jest": "^28.1.3",
"ts-jest": "^28.0.8",
"typescript": "^5.1.3"
Expand Down
2 changes: 1 addition & 1 deletion libs/device-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"devDependencies": {
"@testing-library/react": "14",
"@types/jest": "^29.5.10",
"@types/node": "^20.8.10",
"@types/node": "^22.10.10",
"@types/semver": "7.5.7",
"@types/sha.js": "^2.4.4",
"jest": "^29.7.0",
Expand Down
2 changes: 1 addition & 1 deletion libs/device-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"devDependencies": {
"@testing-library/react": "14",
"@types/jest": "^29.5.10",
"@types/node": "^20.8.10",
"@types/node": "^22.10.10",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"react": "^18.2.0",
Expand Down
2 changes: 1 addition & 1 deletion libs/domain-service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
"@testing-library/jest-dom": "^6.1.5",
"@testing-library/react": "^14.1.2",
"@types/jest": "^29.5.10",
"@types/node": "^20.8.10",
"@types/node": "^22.10.10",
"@types/testing-library__jest-dom": "^5.14.5",
"cross-env": "^7.0.3",
"eslint-plugin-jest": "^27.4.2",
Expand Down
2 changes: 1 addition & 1 deletion libs/evm-tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"@types/axios": "^0.14.0",
"@types/crypto-js": "^4.1.1",
"@types/jest": "^29.5.10",
"@types/node": "^20.8.10",
"@types/node": "^22.10.10",
"jest": "^29.7.0",
"ts-jest": "^29.1.1"
},
Expand Down
2 changes: 1 addition & 1 deletion libs/exchange-module/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@
"@ledgerhq/wallet-api-core": "^1.14.0"
},
"devDependencies": {
"@types/node": "^20.2.5"
"@types/node": "^22.10.10"
}
}
2 changes: 1 addition & 1 deletion libs/ledger-live-common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@
"@types/invariant": "^2.2.36",
"@types/jest": "^29.5.10",
"@types/lodash": "^4.14.179",
"@types/node": "^20.8.10",
"@types/node": "^22.10.10",
"@types/react": "^18.2.21",
"@types/uuid": "^8.3.4",
"benchmark": "^2.1.4",
Expand Down
2 changes: 1 addition & 1 deletion libs/ledger-services/cal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
},
"devDependencies": {
"@types/jest": "^29.5.10",
"@types/node": "^20.11.0",
"@types/node": "^22.10.10",
"dotenv": "^16.4.5",
"expect": "^27.5.1",
"jest": "^29.7.0",
Expand Down
2 changes: 1 addition & 1 deletion libs/ledger-services/trust/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
},
"devDependencies": {
"@types/jest": "^29.5.10",
"@types/node": "^20.11.0",
"@types/node": "^22.10.10",
"dotenv": "^16.4.5",
"expect": "^27.5.1",
"jest": "^29.7.0",
Expand Down
2 changes: 1 addition & 1 deletion libs/ledgerjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"devDependencies": {
"@types/jest": "^29.5.10",
"@types/node": "^20.8.10",
"@types/node": "^22.10.10",
"eslint-plugin-react": "^7.33.2",
"jest": "^29.7.0",
"ts-jest": "^29.1.1"
Expand Down
2 changes: 1 addition & 1 deletion libs/ledgerjs/packages/context-module/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"devDependencies": {
"@tsconfig/recommended": "^1.0.6",
"@types/jest": "^29.5.10",
"@types/node": "^20.8.10",
"@types/node": "^22.10.10",
"jest": "^29.7.0",
"rimraf": "^4.4.1",
"ts-jest": "^29.1.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"devDependencies": {
"@ledgerhq/types-cryptoassets": "workspace:^",
"@types/jest": "^29.5.10",
"@types/node": "^20.8.10",
"@types/node": "^22.10.10",
"documentation": "14.0.2",
"jest": "^29.7.0",
"rimraf": "^4.4.1",
Expand Down
2 changes: 1 addition & 1 deletion libs/ledgerjs/packages/cryptoassets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"@ledgerhq/types-cryptoassets": "workspace:^",
"@types/bs58check": "^2.1.0",
"@types/jest": "^29.5.10",
"@types/node": "^20.8.10",
"@types/node": "^22.10.10",
"documentation": "14.0.2",
"jest": "^29.7.0",
"rimraf": "^4.4.1",
Expand Down
2 changes: 1 addition & 1 deletion libs/ledgerjs/packages/devices/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
},
"devDependencies": {
"@types/jest": "^29.5.10",
"@types/node": "^20.8.10",
"@types/node": "^22.10.10",
"@types/semver": "^7.3.9",
"documentation": "14.0.2",
"jest": "^29.7.0",
Expand Down
2 changes: 1 addition & 1 deletion libs/ledgerjs/packages/errors/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"gitHead": "dd0dea64b58e5a9125c8a422dcffd29e5ef6abec",
"devDependencies": {
"@types/jest": "^29.5.10",
"@types/node": "^20.8.10",
"@types/node": "^22.10.10",
"documentation": "14.0.2",
"jest": "^29.7.0",
"rimraf": "^4.4.1",
Expand Down
2 changes: 1 addition & 1 deletion libs/ledgerjs/packages/hw-app-algorand/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"devDependencies": {
"@ledgerhq/hw-transport-mocker": "workspace:^",
"@types/jest": "^29.5.10",
"@types/node": "^20.8.10",
"@types/node": "^22.10.10",
"documentation": "14.0.2",
"jest": "^29.7.0",
"rimraf": "^4.4.1",
Expand Down
2 changes: 1 addition & 1 deletion libs/ledgerjs/packages/hw-app-aptos/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"devDependencies": {
"@ledgerhq/hw-transport-mocker": "workspace:^",
"@types/jest": "^29.5.10",
"@types/node": "^20.8.10",
"@types/node": "^22.10.10",
"documentation": "14.0.2",
"jest": "^29.7.0",
"rimraf": "^4.4.1",
Expand Down
2 changes: 1 addition & 1 deletion libs/ledgerjs/packages/hw-app-btc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
"@ledgerhq/hw-transport-mocker": "workspace:^",
"@ledgerhq/hw-transport-node-speculos": "workspace:^",
"@types/jest": "^29.5.10",
"@types/node": "^20.8.10",
"@types/node": "^22.10.10",
"axios": "1.7.7",
"documentation": "14.0.2",
"jest": "^29.7.0",
Expand Down
2 changes: 1 addition & 1 deletion libs/ledgerjs/packages/hw-app-cosmos/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"devDependencies": {
"@ledgerhq/hw-transport-mocker": "workspace:^",
"@types/jest": "^29.5.10",
"@types/node": "^20.8.10",
"@types/node": "^22.10.10",
"documentation": "14.0.2",
"jest": "^29.7.0",
"rimraf": "^4.4.1",
Expand Down
4 changes: 2 additions & 2 deletions libs/ledgerjs/packages/hw-app-elrond/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@
"license": "Apache-2.0",
"dependencies": {
"@ledgerhq/hw-transport": "workspace:^",
"bip32-path": "^0.4.2",
"@multiversx/sdk-core": "^13.3.0",
"bignumber.js": "^9.0.1",
"bip32-path": "^0.4.2",
"protobufjs": "^7.2.6"
},
"devDependencies": {
"@ledgerhq/hw-transport-mocker": "workspace:^",
"@types/jest": "^29.5.10",
"@types/node": "^20.8.10",
"@types/node": "^22.10.10",
"documentation": "14.0.2",
"jest": "^29.7.0",
"rimraf": "^4.4.1",
Expand Down
2 changes: 1 addition & 1 deletion libs/ledgerjs/packages/hw-app-eth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"@ethersproject/constants": "^5.7.0",
"@ethersproject/units": "^5.7.0",
"@types/jest": "^29.5.10",
"@types/node": "^20.8.10",
"@types/node": "^22.10.10",
"documentation": "14.0.2",
"jest": "^29.7.0",
"nock": "^13.0.5",
Expand Down
Loading

0 comments on commit a94be8e

Please sign in to comment.