Closed TrySound closed 4 years ago
The new version of datauri has quite a load of dependencies for features which are not in this package.
https://packagephobia.com/result?p=datauri
In this diff I replaced it with more popular mime package (than datauri's mimer) and builtin fs read with base64 encoding.
mime
https://packagephobia.com/result?p=mime
Friendly ping @jrit
one comment, plus merge conflict needs to be resolved
@jrit Done
The new version of datauri has quite a load of dependencies for features which are not in this package.
https://packagephobia.com/result?p=datauri
In this diff I replaced it with more popular
mime
package (than datauri's mimer) and builtin fs read with base64 encoding.https://packagephobia.com/result?p=mime