Skip to content

Commit

Permalink
chore(package depenendecies): use older version of node-fetch which d…
Browse files Browse the repository at this point in the history
…oesn't force use of esm modules

affects: @joystream/hydra-e2e-tests

e2e tests were failing to execute due to a dependency on node-fetch v3 which doesn't support
commonjs
  • Loading branch information
mnaamani committed Mar 6, 2024
1 parent cbce70f commit 28a0e04
Show file tree
Hide file tree
Showing 3 changed files with 131 additions and 438 deletions.
11 changes: 10 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,16 @@
},
"resolutions": {
"@polkadot/types": "10.1.4",
"node-gyp": "^9.4.0"
"@polkadot/api": "10.1.4",
"@polkadot/util": "^11.1.3",
"@polkadot/util-crypto": "^11.1.3",
"@polkadot/keyring": "^11.1.3",
"@types/bn.js": "^5.1.0",
"bn.js": "^5.2.1",
"mocha": "^10",
"chai": "^4",
"node-fetch": "^2",
"ts-node": "^10"
},
"lint-staged": {
"*.ts": "yarn lint --fix"
Expand Down
2 changes: 1 addition & 1 deletion packages/hydra-e2e-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"fetch": "^1.1.0",
"graphql-request": "^3.3.0",
"graphql-subscriptions-client": "^0.16.0",
"node-fetch": "^3.3.2",
"node-fetch": "^2",
"p-wait-for": "^3.2.0",
"typedi": "^0.8.0"
},
Expand Down
Loading

0 comments on commit 28a0e04

Please sign in to comment.