Support for Bun javascript runtime
- Dominant language
- JavaScript
- Stars
- 21.2k
- Forks
- 1.5k
- Avg merge
- 4h 57m
- Merged PRs (30d)
- 14
Description
#### 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 ?
Contributor guide
Research direction
Start by reproducing the validation failure with Bun 0.5.6 and inspect the repository's runtime compatibility assumptions. Identify the unsupported methods and define tests that demonstrate successful validation under Bun; done means Joi validation works consistently in the reported environment.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- bun, javascript
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100