davidmyersdev / vite-plugin-node-polyfills

A Vite plugin to polyfill Node's Core Modules for browser environments.
MIT License
301 stars 22 forks source link

Missing kMaxLength and SlowBuffer exposure #75

Closed rubeniskov closed 7 months ago

rubeniskov commented 8 months ago

Some packages imports kMaxLength and SlowBuffer so we need access to them, currently the polyfill only exposes Buffer.

The library we are using is avsc

https://github.com/mtth/avsc/blob/9330777a557827a0890ba65527edc6167b26e73a/lib/types.js#L20

Screenshot 2024-01-24 at 14 43 05
davidmyersdev commented 7 months ago

This has been released in v0.21.0.