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

Replace request-promise-native (and by extension, request) with @root/request. #9

Merged
merged 1 commit into from
Jan 14, 2022
Merged

Replace request-promise-native (and by extension, request) with @root/request. #9

merged 1 commit into from
Jan 14, 2022

Conversation

roncli
Copy link
Contributor

@roncli roncli commented Sep 19, 2021

The package request, used by request-promise-native, has been deprecated for quite some time now, so it is a good idea to replace it.

Notes:

This PR replaces request-promise-native with @root/request, one of many replacements for the deprecated request library. I used this one simply because it's the one I'm most familiar with and supports promises, but there are a litany of replacements for the request library, so if you want to choose another, feel free to discard this PR and use one you're more comfortable with! 🙂

Also, I do not have anything to create a shrinkwrap.yaml file, so I hand-edited it. If you accept this PR, I recommend regenerating that YAML file on your end to make sure it's fine.

@roncli roncli changed the title Replace request-promise-native (any by extension, request) with @root/request. Replace request-promise-native (and by extension, request) with @root/request. Oct 13, 2021
@kaimoe kaimoe merged commit 38fa2e9 into xivapi:master Jan 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants