BREAKING CHANGE : upgrade nodejs support till 24 and fix security vulns
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 testlocally 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
@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 .
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?
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.
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.