Skip to content
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

request-promise is deprecated #937

Open
sakulstra opened this issue Apr 14, 2020 · 5 comments · Fixed by #981
Open

request-promise is deprecated #937

sakulstra opened this issue Apr 14, 2020 · 5 comments · Fixed by #981

Comments

@sakulstra
Copy link
Contributor

Bug report

https://github.com/request/request-promise#deprecated

Describe the bug

I just noticed that the oauth package relies on request (or request promise) which is no longer maintained.

"@accounts/oauth@^0.24.0":
  version "0.24.0"
  resolved "https://registry.yarnpkg.com/@accounts/oauth/-/oauth-0.24.0.tgz#e9968428688f5820d8e0242bd47d97a4e5a23877"
  integrity sha512-rcF8wzR6sMHA1HKf2NX7VrCLJbgJf/+AP98AupcyawwXO48OOU39gYDeH/MFjpVaqMx1qri78k9oCKB8ppfpWg==
  dependencies:
    "@accounts/types" "^0.24.0"
-> request-promise "^4.2.5"
     tslib "1.10.0"

To Reproduce

Install @accounts/oauth

Expected behavior

No deprecated packages being imported

System information

  • Version of accounts-js: [e.g. 0.0.24]

Additional context

I think this is not a super urgent issue, but one i'd like to fix at some point 😅

@agustif
Copy link
Contributor

agustif commented May 17, 2020

For one, It seems this dependency is only used by oauth-instagram, not by oauth package itself.

I think it should be safe to remove it from main oauth, and trying to replace it in instagram.

Will submit a PR later!

@pradel
Copy link
Member

pradel commented May 20, 2020

Closed automatically by github when the pr was merged, but it's actually not fixed

@pradel pradel reopened this May 20, 2020
@agustif
Copy link
Contributor

agustif commented May 20, 2020

It needs to be replaced/removed first from oauth-instagram authenticacte(), right?

@pradel
Copy link
Member

pradel commented May 29, 2020

@agustif yup 👍

@darkbasic
Copy link
Member

This is planned for 1.0 but won't be there in the first release candidate: oauth will get some love in later rcs.

@darkbasic darkbasic added the 1.0 label Nov 22, 2023
@darkbasic darkbasic added this to the 1.0 milestone Nov 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants