-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Deprecate request promise #8233
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
Deprecate request promise #8233
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 8 Ignored Deployments
|
@jlloyd-widen Thanks for contributing to this one! I'd suggest we go with |
5deb677
to
9468f90
Compare
@paveltiunov Thanks for the guidance. I have updated the PR to use |
f47125e
to
d0c6481
Compare
…precate-request-promise
deploymentId: '' as any, | ||
url: '' as any, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not as strings?
Hi @jlloyd-widen Thnx for the contribution! I left a minor notes. |
Check List
Issue Reference this PR resolves
Resolves #8204
Description of Changes Made (if issue reference is not provided)
The
request
andrequest-promise
packages were removed in favor ofrock-req
(https://github.com/carboneio/rock-req). This aims to resolve dependence on deprecated packages and the vulnerabilities associated with them. However, this has not attempted to remove the offending packages from devDependencies (i.e., in the schema compiler).Note: I'm not convinced the unit testing strategy is sufficient to prove that these changes haven't broken anything because unit tests typically mock the
rock-req
package. Will attempt to test locally with an active cube.js instance.