plugins icon indicating copy to clipboard operation
plugins copied to clipboard

refactor: node-fetch to undici

Open KhafraDev opened this issue 3 years ago • 16 comments

Follow up to https://github.com/sapphiredev/plugins/pull/143 (and https://github.com/discordjs/discord.js/pull/6586)

KhafraDev avatar Sep 29 '21 01:09 KhafraDev

It's that easy? wow...

favna avatar Sep 29 '21 01:09 favna

@sapphiredev pack

favna avatar Sep 29 '21 01:09 favna

Heya @Favna, I've started to run the deployment workflow on this PR. You can monitor the build here!

sapphiredev[bot] avatar Sep 29 '21 01:09 sapphiredev[bot]

The deployment workflow has finished successfully. You can install it for testing like so:

npm install @sapphire/plugin-editable-commands@pr-145
npm install @sapphire/plugin-api@pr-145
npm install @sapphire/plugin-i18next@pr-145
npm install @sapphire/plugin-logger@pr-145
npm install @sapphire/plugin-subcommands@pr-145

sapphiredev[bot] avatar Sep 29 '21 01:09 sapphiredev[bot]

It's that easy? wow...

It should be, hopefully :)

KhafraDev avatar Sep 29 '21 02:09 KhafraDev

I'll do a test using that PR deploy above tomorrow or later this week but whatever the case we'll be sure to land this before the soon scheduled release of Sapphire v-Next

favna avatar Sep 29 '21 02:09 favna

Sounds good, although both Web streams and Blob are both considered experimental currently which is causing the holdup to the discordjs pr.

KhafraDev avatar Sep 29 '21 02:09 KhafraDev

There are merge conflicts, please rebase.

kyranet avatar Oct 03 '21 20:10 kyranet

any idea how to fix the merge conflicts? they're not showing on my side, only here

KhafraDev avatar Oct 04 '21 14:10 KhafraDev

We've decided internally to merge this when DiscordJS merges discordjs/discord.js#6586

favna avatar Oct 08 '21 17:10 favna

That pr in djs is closed, now what

UndiedGamer avatar Jan 10 '22 07:01 UndiedGamer

You wait for the one in /rest

kyranet avatar Jan 10 '22 11:01 kyranet

(for reference, the relevant pr is discordjs/discord.js#7747)

Rexogamer avatar Apr 05 '22 17:04 Rexogamer

There are merge conflicts that need resolving, but otherwise LGTM.

kyranet avatar Jul 24 '22 19:07 kyranet

Okay should be relatively good, still not familiar with yarn so I don't really know where the types change occurred (and I'm a little lazy)

Also I committed these changes directly to my fork's main branch nearly a year ago, which didn't make anything easier 😐

KhafraDev avatar Jul 25 '22 04:07 KhafraDev

FYI @KhafraDev this is scheduled for v4 so it won't be merged until we're closer to bringing that version out which will be a while. It's good to have ready nonetheless.

favna avatar Jul 25 '22 05:07 favna