markdown-magic icon indicating copy to clipboard operation
markdown-magic copied to clipboard

Fix bun compatibility

Open dawsbot opened this issue 1 year ago • 1 comments

This package is unusable with bun currently because of this package const request = require('sync-request').

I investigated the idea of moving to fetch directly, but that will destroy support for older node versions. is it possible to use an alternative fetching library? I like node-fetch @davidwells

dawsbot avatar Jun 27 '24 12:06 dawsbot

Any thoughts on replacing this @DavidWells ?

dawsbot avatar Jun 30 '24 22:06 dawsbot

Updated and released as [email protected]

Let me know if it works for you

DavidWells avatar Jul 29 '24 22:07 DavidWells

Thanks @DavidWells ! I already moved off this library to ensure we could keep shipping, but hopefully one day I can try it again in a bun project 🙌

dawsbot avatar Jul 30 '24 16:07 dawsbot