Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update nodejs to v20 #1544

Merged
merged 87 commits into from
Dec 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
87 commits
Select commit Hold shift + click to select a range
7df5b6f
checkpoint
nedsalk Oct 20, 2023
faf16fb
Merge remote-tracking branch 'origin/master' into ns/feat/subscriptions
nedsalk Oct 22, 2023
a1a4567
mostly implemented subscriptions
nedsalk Oct 23, 2023
a6f3a74
Merge remote-tracking branch 'origin/master' into ns/feat/subscriptions
nedsalk Oct 23, 2023
450cfef
checkpoint
nedsalk Oct 24, 2023
c34c3b7
feat: subscriptions work
nedsalk Oct 25, 2023
8f66eff
test: moved tests
nedsalk Oct 25, 2023
abb2085
refactor: to use async/await a bit more
nedsalk Oct 25, 2023
b9517c6
refactor: some more
nedsalk Oct 25, 2023
a9ddb66
Merge remote-tracking branch 'origin/master' into ns/feat/subscriptions
nedsalk Oct 25, 2023
3626eeb
chore: updated nodejs version
nedsalk Oct 25, 2023
305baee
feat: ability to set timeout
nedsalk Oct 25, 2023
30357b6
fix explanation
nedsalk Oct 25, 2023
dda0fae
refactor: variable use
nedsalk Oct 25, 2023
5239058
test: better naming
nedsalk Oct 25, 2023
06d58cd
test: enable test
nedsalk Oct 25, 2023
4420a43
removed unnecessary keepalive (set by server)
nedsalk Oct 25, 2023
77cfe16
chore: changeset
nedsalk Oct 25, 2023
4989346
revert settings.json
nedsalk Oct 25, 2023
75eedea
refactor: use pipeThrough with custom TransformStream
nedsalk Oct 25, 2023
1cf4339
refactor: types
nedsalk Oct 25, 2023
268088a
refactor: naming
nedsalk Oct 25, 2023
620de31
refactor: ternary operator ftw
nedsalk Oct 25, 2023
8d46b15
refactor: omit fetch from options passed to custom fetch
nedsalk Oct 25, 2023
6368f21
test: explanations
nedsalk Oct 25, 2023
40e0dba
refactor: var name
nedsalk Oct 25, 2023
291c52a
Merge branch 'master' into ns/feat/subscriptions
nedsalk Oct 26, 2023
a8a3d96
Merge branch 'master' into ns/feat/subscriptions
nedsalk Oct 27, 2023
5b1a4ea
Merge branch 'master' into ns/feat/subscriptions
nedsalk Oct 30, 2023
a358e3e
Merge remote-tracking branch 'origin/master' into ns/feat/subscriptions
nedsalk Nov 3, 2023
9c086f6
chore: update all packages to use node v18.18.2
nedsalk Nov 3, 2023
ec38716
set node-version to correct in test-setup action
nedsalk Nov 3, 2023
99e0982
lint: removed unused variables
nedsalk Nov 3, 2023
75f07b8
Merge branch 'master' into ns/feat/subscriptions
nedsalk Nov 4, 2023
9db66f6
Merge remote-tracking branch 'origin/master' into ns/feat/subscriptions
nedsalk Nov 7, 2023
087d6a4
Merge branch 'master' into ns/feat/subscriptions
nedsalk Nov 7, 2023
8a5ced3
Merge branch 'master' into ns/feat/subscriptions
nedsalk Nov 7, 2023
cd092d9
Merge branch 'master' into ns/feat/subscriptions
nedsalk Nov 8, 2023
5abb882
Merge remote-tracking branch 'origin/master' into ns/feat/subscriptions
nedsalk Nov 8, 2023
66ed475
chore: update all packages to 18.18.2 again
nedsalk Nov 8, 2023
1ff19c0
Merge remote-tracking branch 'origin/master' into ns/feat/subscriptions
nedsalk Nov 10, 2023
9c88403
Merge remote-tracking branch 'origin/master' into ns/feat/subscriptions
nedsalk Nov 11, 2023
dfe679a
refactor: change loop style
nedsalk Nov 13, 2023
bb7ea51
Merge remote-tracking branch 'origin/master' into ns/feat/subscriptions
nedsalk Nov 13, 2023
0dc0c9e
Merge branch 'master' into ns/feat/subscriptions
nedsalk Nov 13, 2023
f9e41fb
Merge branch 'master' into ns/feat/subscriptions
nedsalk Nov 14, 2023
56fea7e
Merge branch 'master' into ns/feat/subscriptions
nedsalk Nov 15, 2023
ab7772e
fix: linting and formatting
nedsalk Nov 20, 2023
890db10
Merge remote-tracking branch 'origin/master' into ns/feat/subscriptions
nedsalk Nov 20, 2023
b67fef0
Merge remote-tracking branch 'origin/master' into ns/feat/subscriptions
nedsalk Dec 2, 2023
7a2bece
Merge remote-tracking branch 'origin/rc/salamander' into ns/feat/subs…
nedsalk Dec 13, 2023
7184f6d
Merge branch 'rc/salamander' into ns/feat/subscriptions
nedsalk Dec 13, 2023
70174b5
Merge branch 'rc/salamander' into ns/feat/subscriptions
nedsalk Dec 14, 2023
16d29ba
Merge branch 'rc/salamander' into ns/feat/subscriptions
nedsalk Dec 14, 2023
2ef9905
Merge branch 'rc/salamander' into ns/feat/subscriptions
nedsalk Dec 15, 2023
52ed445
Merge branch 'rc/salamander' into ns/feat/subscriptions
nedsalk Dec 15, 2023
9f180fb
refactor: createOperations
nedsalk Dec 15, 2023
8a73bc8
fix: shorten poa-interval-period
nedsalk Dec 15, 2023
61d8d9c
Merge branch 'rc/salamander' into ns/feat/subscriptions
nedsalk Dec 15, 2023
6022a55
fix: linting
nedsalk Dec 15, 2023
97ed06a
Merge branch 'ns/feat/subscriptions' of github.com:FuelLabs/fuels-ts …
nedsalk Dec 15, 2023
3e6cfca
fix: shouldn't be async
nedsalk Dec 16, 2023
6e451e4
fix: prefix unused variable with underscore
nedsalk Dec 16, 2023
06a1200
removed no-unused-vars exception for variables
nedsalk Dec 16, 2023
aa3e80f
refactor: reduce nesting for subscription types
nedsalk Dec 16, 2023
94afc36
refactor: remove ts-ignores
nedsalk Dec 16, 2023
376995d
fix: mocks not compiling
nedsalk Dec 16, 2023
6d4d228
Revert "refactor: reduce nesting for subscription types"
nedsalk Dec 17, 2023
f2dfdde
refactor: into `subscription` variable
nedsalk Dec 17, 2023
3bc4325
lower --poa to 3s
nedsalk Dec 17, 2023
b780989
test: better assertion
nedsalk Dec 17, 2023
8e26878
test: better assertion
nedsalk Dec 17, 2023
37e816a
Merge branch 'ns/feat/subscriptions' of github.com:FuelLabs/fuels-ts …
nedsalk Dec 18, 2023
e527956
Merge branch 'rc/salamander' into ns/feat/subscriptions
nedsalk Dec 18, 2023
ac607d6
chore: update nodejs version to v20
nedsalk Dec 19, 2023
68becbd
chore: changeset
nedsalk Dec 19, 2023
1efa58a
chore: update actions to use node v20
nedsalk Dec 19, 2023
89876a5
Merge remote-tracking branch 'origin/rc/salamander' into ns/chore/nod…
nedsalk Dec 20, 2023
822439c
chore: support both v18 and v20 node
nedsalk Dec 20, 2023
c3565aa
Merge remote-tracking branch 'origin/rc/salamander' into ns/chore/nod…
nedsalk Dec 20, 2023
fce8279
Merge remote-tracking branch 'origin/rc/salamander' into ns/chore/nod…
nedsalk Dec 22, 2023
36e6a55
chore: add node v20 to matrix
nedsalk Dec 22, 2023
ce14d8d
fix: node 18.18.2 support
nedsalk Dec 22, 2023
9d2fa10
fix: engine support for create-fuels
nedsalk Dec 22, 2023
3f4f08b
fix: spacing
nedsalk Dec 22, 2023
cace350
Merge branch 'rc/salamander' into ns/chore/nodejs-20-support
nedsalk Dec 22, 2023
40316ab
fix: set to ^20 instead >=20 because we guarantee v20 support, not v21
nedsalk Dec 22, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .changeset/real-owls-leave.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
2 changes: 1 addition & 1 deletion .github/actions/ci-setup/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: "CI Setup"
inputs:
node-version:
description: "Node version"
default: 18.18.2
default: 20.10.0
pnpm-version:
description: "PNPM version"
default: 8.9.0
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/test-setup/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: "Test Setup"
inputs:
node-version:
description: "Node version"
default: 18.18.2
default: 20.10.0
pnpm-version:
description: "PNPM version"
default: 8.9.0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
fail-fast: false
matrix:
env: [node]
version: [18.18.2]
version: [18.18.2, 20]
timeout-minutes: 25
steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18.18.2
20.10.0
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"author": "Fuel Labs <contact@fuel.sh> (https://fuel.network/)",
"private": true,
"engines": {
"node": "^18.18.2",
"node": "^18.18.2 || ^20.0.0",
"pnpm": "^8.9.0"
},
"packageManager": "pnpm@8.9.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/abi-coder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"engines": {
"node": "^18.18.2"
"node": "^18.18.2 || ^20.0.0"
},
"exports": {
".": {
Expand Down
2 changes: 1 addition & 1 deletion packages/abi-typegen/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"engines": {
"node": "^18.18.2"
"node": "^18.18.2 || ^20.0.0"
},
"exports": {
".": {
Expand Down
2 changes: 1 addition & 1 deletion packages/address/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"engines": {
"node": "^18.18.2"
"node": "^18.18.2 || ^20.0.0"
},
"exports": {
".": {
Expand Down
2 changes: 1 addition & 1 deletion packages/contract/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"engines": {
"node": "^18.18.2"
"node": "^18.18.2 || ^20.0.0"
},
"exports": {
".": {
Expand Down
2 changes: 1 addition & 1 deletion packages/create-fuels/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"templates"
],
"engines": {
"node": "^18.18.2"
"node": "^18.18.2 || ^20.0.0"
},
"license": "Apache-2.0",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/crypto/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"engines": {
"node": "^18.18.2"
"node": "^18.18.2 || ^20.0.0"
},
"browser": {
"./dist/index.mjs": "./dist/index.browser.mjs"
Expand Down
2 changes: 1 addition & 1 deletion packages/errors/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"engines": {
"node": "^18.18.2"
"node": "^18.18.2 || ^20.0.0"
},
"exports": {
".": {
Expand Down
2 changes: 1 addition & 1 deletion packages/fuels/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"engines": {
"node": "^18.18.2"
"node": "^18.18.2 || ^20.0.0"
},
"exports": {
".": {
Expand Down
2 changes: 1 addition & 1 deletion packages/hasher/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"engines": {
"node": "^18.18.2"
"node": "^18.18.2 || ^20.0.0"
},
"exports": {
".": {
Expand Down
2 changes: 1 addition & 1 deletion packages/hdwallet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"engines": {
"node": "^18.18.2"
"node": "^18.18.2 || ^20.0.0"
},
"exports": {
".": {
Expand Down
2 changes: 1 addition & 1 deletion packages/interfaces/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"engines": {
"node": "^18.18.2"
"node": "^18.18.2 || ^20.0.0"
},
"exports": {
".": {
Expand Down
2 changes: 1 addition & 1 deletion packages/math/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"engines": {
"node": "^18.18.2"
"node": "^18.18.2 || ^20.0.0"
},
"exports": {
".": {
Expand Down
2 changes: 1 addition & 1 deletion packages/merkle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"engines": {
"node": "^18.18.2"
"node": "^18.18.2 || ^20.0.0"
},
"exports": {
".": {
Expand Down
2 changes: 1 addition & 1 deletion packages/mnemonic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"engines": {
"node": "^18.18.2"
"node": "^18.18.2 || ^20.0.0"
},
"exports": {
".": {
Expand Down
2 changes: 1 addition & 1 deletion packages/predicate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"engines": {
"node": "^18.18.2"
"node": "^18.18.2 || ^20.0.0"
},
"exports": {
".": {
Expand Down
2 changes: 1 addition & 1 deletion packages/program/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"engines": {
"node": "^18.18.2"
"node": "^18.18.2 || ^20.0.0"
},
"exports": {
".": {
Expand Down
2 changes: 1 addition & 1 deletion packages/providers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"engines": {
"node": "^18.18.2"
"node": "^18.18.2 || ^20.0.0"
},
"exports": {
".": {
Expand Down
2 changes: 1 addition & 1 deletion packages/script/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"engines": {
"node": "^18.18.2"
"node": "^18.18.2 || ^20.0.0"
},
"exports": {
".": {
Expand Down
2 changes: 1 addition & 1 deletion packages/signer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"engines": {
"node": "^18.18.2"
"node": "^18.18.2 || ^20.0.0"
},
"exports": {
".": {
Expand Down
2 changes: 1 addition & 1 deletion packages/transactions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"engines": {
"node": "^18.18.2"
"node": "^18.18.2 || ^20.0.0"
},
"exports": {
".": {
Expand Down
2 changes: 1 addition & 1 deletion packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"engines": {
"node": "^18.18.2"
"node": "^18.18.2 || ^20.0.0"
},
"exports": {
".": {
Expand Down
2 changes: 1 addition & 1 deletion packages/versions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"engines": {
"node": "^18.18.2"
"node": "^18.18.2 || ^20.0.0"
},
"exports": {
".": {
Expand Down
2 changes: 1 addition & 1 deletion packages/wallet-manager/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"engines": {
"node": "^18.18.2"
"node": "^18.18.2 || ^20.0.0"
},
"exports": {
".": {
Expand Down
2 changes: 1 addition & 1 deletion packages/wallet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"engines": {
"node": "^18.18.2"
"node": "^18.18.2 || ^20.0.0"
},
"exports": {
".": {
Expand Down
2 changes: 1 addition & 1 deletion packages/wordlists/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"engines": {
"node": "^18.18.2"
"node": "^18.18.2 || ^20.0.0"
},
"exports": {
".": {
Expand Down
Loading