Skip to content

Bump nock to resolve Node.js v22 deprecation#6254

Open
harishkotra wants to merge 1 commit into
polkadot-js:masterfrom
harishkotra:hk-fix-nock-node22
Open

Bump nock to resolve Node.js v22 deprecation#6254
harishkotra wants to merge 1 commit into
polkadot-js:masterfrom
harishkotra:hk-fix-nock-node22

Conversation

@harishkotra

Copy link
Copy Markdown

Summary

  • bump nock in @polkadot/rpc-provider to a version that no longer triggers the Node.js v22 url.parse() deprecation warning
  • refresh the lockfile to pick up the updated dependency tree
  • re-enable the native-fetch HTTP provider test now that the mocked request path passes again

Testing

  • yarn test:one packages/rpc-provider/src/http/index.spec.ts
  • yarn test:one packages/rpc-provider/src/http/send.spec.ts

Fixes #6252

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Node.js v22 Deprecation: url.parse() via nock dependency

1 participant