Skip to content

fix(node): replace deprecated request dependency with native https - #485

Open
AbhiPra24 wants to merge 1 commit into
razorpay:masterfrom
AbhiPra24:fix/replace-deprecated-request-dependency
Open

AbhiPra24 wants to merge 1 commit into
razorpay:masterfrom
AbhiPra24:fix/replace-deprecated-request-dependency

Conversation

@AbhiPra24

Copy link
Copy Markdown

Description

Replaces the legacy and deprecated request dependency (which reached end-of-life in 2020) in the Node module with Node's native https client. This eliminates security deprecations and reduces external runtime dependencies to zero.

Fixes #472

Verification

Ran test suite cleanly:

npm test

All tests in validator_test.js, client_test.js, and bank_test.js pass.

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