-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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 request
with an alternative library
#12401
Comments
@kittaakos are you interested in contributing a fix? |
It will take some time, but I will take care of it. Thanks I am more than open to any lib replacement recommendations, so if anybody has a preference, please add it with a why you recommend it as a comment. |
@kittaakos We have our own |
OK. Let's use that. I checked the node implementation, and it comes with all required env variable support: |
Closes eclipse-theia#12401 Signed-off-by: Akos Kitta <[email protected]>
Closes eclipse-theia#12401 Signed-off-by: Akos Kitta <[email protected]>
Closes eclipse-theia#12401 Signed-off-by: Akos Kitta <[email protected]>
to remove the deprecated `request` dependency - Updated to `[email protected]` - Updated to `@types/[email protected]` Closes eclipse-theia#12401 Co-authored-by: Mark Sujew <[email protected]> Co-authored-by: Paul Maréchal <[email protected]> Co-authored-by: Akos Kitta <[email protected]> Signed-off-by: Akos Kitta <[email protected]>
Replace
request
with an alternative library.request
is deprecated and causingyarn audit
warnings. A list of alternatives is here: request/request#3143 (comment).Since
jsdom
depends on an oldrequest
version, bumpingjsdom
would be also required:jsdom
should be replaced anyway, so this would be a good opportunity to get rid of warnings:Once
request
is gone and a more recent version ofjsdom
is used, one has to update the test helper here, and handle'undefined'
property:theia/packages/core/src/browser/test/jsdom.ts
Line 51 in b56f399
Feature Description:
AC:
yarn audit
should not generate warnings.The text was updated successfully, but these errors were encountered: