-
-
Notifications
You must be signed in to change notification settings - Fork 360
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
feat: add --ky option #690
Open
aleclarson
wants to merge
13
commits into
acacode:main
Choose a base branch
from
aleclarson:feat/ky-client
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
aleclarson
force-pushed
the
feat/ky-client
branch
3 times, most recently
from
March 5, 2024 06:18
e42d28c
to
8be147d
Compare
Generate a client that uses this library: https://github.com/sindresorhus/ky
aleclarson
force-pushed
the
feat/ky-client
branch
from
March 5, 2024 06:20
8be147d
to
7c8567e
Compare
Since ky has a special ResponsePromise type, the `request` method cannot use async-await syntax and the returned promise must come from ky (so the expected methods are there). This means the securityWorker cannot be supported by the ky client.
aleclarson
force-pushed
the
feat/ky-client
branch
from
March 5, 2024 06:58
3d7ae28
to
5ed1fe4
Compare
aleclarson
force-pushed
the
feat/ky-client
branch
2 times, most recently
from
March 6, 2024 01:05
bf2adbb
to
04b800b
Compare
aleclarson
force-pushed
the
feat/ky-client
branch
from
March 6, 2024 01:05
04b800b
to
8c770b8
Compare
If anyone is interested in using or testing this, it's published to NPM under /cc @hardouinyann @AshotN (since you both reacted) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Generate a client that uses this library: https://github.com/sindresorhus/ky