Skip to content

Replace Blob polyfills with native API #195

@MichaelDeBoey

Description

@MichaelDeBoey

All these polyfills could be replaced with the native Blob if supporting Node v18 or higher:

blob

npx github:Fuzzyma/e18e-tools blob -n 100 -q -o md  -U https://npm.devminer.xyz/registry
# Downloads Traffic Version Package PR
1 475.73k 1.53 GB 0.0.4 blob-stream
2 22.04k 70.84 MB ^0.1.0 @mescius/activereportsjs
3 10.35k 33.27 MB ^0.1.0 @grapecity/activereports
4 3.39k 10.89 MB 0.1.0 hasyx

fetch-blob

npx github:Fuzzyma/e18e-tools fetch-blob -n 100 -q -o md  -U https://npm.devminer.xyz/registry
# Downloads Traffic Version Package PR
1 333.10M 2748.75 GB ^3.1.4 node-fetch #145
2 42.18M 348.09 GB ^3.1.2 formdata-polyfill
3 820.36k 6.77 GB ^2.1.1 @pnpm/node-fetch
4 67.90k 560.28 MB ^3.1.4 @anvilco/node-fetch
5 63.94k 527.62 MB ^1.0.5 google-docs-mustaches
6 60.72k 501.04 MB ^4.0.0 live-plugin-manager
7 55.59k 458.71 MB ^3.2.0 cross-blob
8 45.65k 376.74 MB ^3.0.0 file-system-access
9 15.04k 124.09 MB ^3.1.3 stream-consumers
10 6.00k 49.55 MB ^2.1.1 @foxglove/node-fetch
11 4.21k 34.71 MB ^3.1.5 @ln-maf/api
12 2.26k 18.68 MB ^2.1.1 trimble-connect-sdk
13 1.23k 10.16 MB ^3.2.0 @gotake/gotake-sdk
14 1.08k 8.92 MB ^3.1.5 @nativescript/preview-cli

@remix-run/web-blob

npx github:Fuzzyma/e18e-tools @remix-run/web-blob -n 100 -q -o md  -U https://npm.devminer.xyz/registry
# Downloads Traffic Version Package PR
1 2.53M 24.86 GB ^3.1.0 @remix-run/web-fetch #145
2 2.41M 23.61 GB ^3.1.0 @remix-run/web-file #196

@web-std/blob

npx github:Fuzzyma/e18e-tools @web-std/blob -n 100 -q -o md  -U https://npm.devminer.xyz/registry
# Downloads Traffic Version Package PR
1 501.27k 4.90 GB ^3.0.3 @web-std/file #196
2 197.49k 1.93 GB ^3.0.3 @web-std/fetch #145
3 118.11k 1.15 GB ^3.0.5 @inrupt/jest-jsdom-polyfills
4 56.30k 550.09 MB ^3.0.1 nft.storage
5 45.54k 444.95 MB ^3.0.4 web3.storage
6 2.46k 24.05 MB ^3.0.1 @filebase/client

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions