Skip to content

fix(node): remove deprecated request dependency (#472) - #480

Open
arvindcr4 wants to merge 1 commit into
razorpay:masterfrom
arvindcr4:fix/remove-deprecated-request
Open

arvindcr4 wants to merge 1 commit into
razorpay:masterfrom
arvindcr4:fix/remove-deprecated-request

Conversation

@arvindcr4

Copy link
Copy Markdown

Description

Removes the deprecated request dependency in favor of Node's native https module.

  • Eliminates request dependency from package.json.
  • Replaces request.get with https.get in src/node/index.js.
  • Cleans up unused fs import.
  • Adds verification to tests/node/client_test.js checking that request is not loaded in require.cache.

Fixes #472.

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.

npm package depends on deprecated request (EOL 2020) at module top-level

1 participant