-
Notifications
You must be signed in to change notification settings - Fork 164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace the request package by something else (DEPRECATED) #535
Comments
Related: GHSA-p8p7-x288-28g6 I think replacement should be |
That's a good callout |
@dhmlau Hey, as this is a |
UPDATED to clarify to suggest @villelahdenvuo, I agree to use When we're making this change, we'd also need to update the minimum Node.js version required in this module and it will be a breaking change. |
@dhmlau We could keep backwards compatibility until Node 12 if we use https://github.com/nodejs/undici Edit: Actually it says "Only supported on Node 16.8+." https://github.com/nodejs/undici#undicifetchinput-init-promise |
@dhmlau For us this is not a direct security threat as we only use SOAP to integrate with an internal system, so we don't expect our other team to hack us. 😄 If I have some free time I can take a look at it. @mahmoud-triki Would you have some time to look at replacing the library with fetch? |
Please note that |
Any updates on this matter? |
@s100 Are you sure NPM releases are the version from maa105 and not the original one from Sam Decrock? https://github.com/SamDecrock/node-http-ntlm Maybe you created the ticket at the wrong repo... |
oh - thanks. Need more coffee probably. I missed the small difference in the package name and only seen it is a fork of the other one with very similar readme file for booth packages... Maybe the original one from Sam Decrock might be a possible replacement as development started again this year and it does not depend on "request" library. But contrary to the library from mma105 it does not support promisses, only callback style. |
Consider using undici instead of fetch. |
This issue is fixed and can now be closed. |
Description/Steps to reproduce
Here you find the deprecation warning, it has been deprecated for more than 3 years.
you can do npm install and you can see the deprecation warning.
Link to reproduction sandbox
https://www.npmjs.com/package/request
Expected result
Not using a deprecated package
This can be replaced by axios.
Additional information
The text was updated successfully, but these errors were encountered: