joi
joi copied to clipboard
Support for Bun javascript runtime
Support plan
- is this issue currently blocking your project? (yes/no): yes
- is this issue affecting a production system? (yes/no): no
Context
- node version: I use Bun 0.5.6
- module version:
- environment (e.g. node, browser, native): bun
- used with (e.g. hapi application, another framework, standalone, ...): standalone
- any other relevant information:
What problem are you trying to solve?
As early as I can remember, I've always used Joi as my go-to library from input/args validations. I would be happy if Joi could work with Bun.
Right now any form of validation fails in Bun 0.5.6, and the error message is inconsistant.
Do you have a new or modified API suggestion to solve the problem?
Fallback to a polyfill for the methods not available in Bun ?
Do you know what polyfills are missing?