postman-request icon indicating copy to clipboard operation
postman-request copied to clipboard

BREAKING CHANGE : upgrade nodejs support till 24 and fix security vulns

Open samarpanB opened this issue 11 months ago • 4 comments

BREAKING CHANGE

This PR fixes a lot of security vulnerabilities which are showing up through npm audit. It also adds support for latest active and LTS nodejs versions. It removes non-maintained linter and coverage tools and replaces them with drop-in replacements. No logical or code change has been done except for lint issue fixes.

PR Checklist:

  • [x] I have run npm test locally and all tests are passing.
  • [x] I have added/updated tests for any new behavior.
  • [ ] If this is a significant change, an issue has already been created where the problem / solution was discussed: [N/A, or add link to issue here]

PR Description

samarpanB avatar Jan 04 '26 17:01 samarpanB

@appurva21 can you please review this ? All the test cases are passing in this now. You can check that here - https://github.com/samarpanB/postman-request/pull/1 .

samarpanB avatar Jan 06 '26 03:01 samarpanB

Hello @samarpanB ,

There are many changes in this PR.

Are all the changes related to this CVE? Some changes seem to be related to the linter. To facilitate validation, shouldn't you propose another PR with these changes?

jean-dusenne avatar Jan 13 '26 10:01 jean-dusenne

Hello @samarpanB ,

There are many changes in this PR.

Are all the changes related to this CVE? Some changes seem to be related to the linter. To facilitate validation, shouldn't you propose another PR with these changes?

The problem is, in order to fix this CVE I need to update the nodejs version and hence its related dependencies also needed an upgrade. Without this, the CVE fix wasn't feasible. To ensure nothing is broken, I have ensured test cases are working.

samarpanB avatar Jan 14 '26 19:01 samarpanB

Hello @samarpanB ,

There are many changes in this PR.

Are all the changes related to this CVE? Some changes seem to be related to the linter. To facilitate validation, shouldn't you propose another PR with these changes?

Here is a PR for that https://github.com/postmanlabs/postman-request/pull/111. But I am not sure if test cases are passing on this one. That was my issue and concern. Hence this PR got big.

samarpanB avatar Jan 14 '26 20:01 samarpanB