-
### What version of Bun is running?
1.0.0+822a00c4d508b54f650933a73ca5f4a3af9a7983
### What platform is your computer?
Darwin 22.6.0 arm64 arm
### What steps can reproduce the bug?
create file `m…
-
What I expected the validation error from api, but got {}, this the example from postman
-
### Which application or package is this feature request for?
discord.js
### Feature
NodeJS will be enabling the `WebSocket` class by default in NodeJS 22: https://github.com/nodejs/node/pull/51594…
JMTK updated
2 months ago
-
### What is the problem this feature would solve?
Creating a `ReadableStream` from an array (or any other iterable) requires a lot of boilerplate, as can be seen in [these tests](https://github.com…
-
### Discussed in https://github.com/oven-sh/bun/discussions/11019
Originally posted by **seepine** May 12, 2024
Try `index.ts`
```ts
import fastify from "fastify";
const server = fastify(…
-
### What is the problem this feature would solve?
When implementing things like bundler plugins it's common to receive input such as:
```json
{
"path": "the-mod",
"resolveDir": "/some/absol…
-
### What version of Bun is running?
1.0.11+f7f6233ea
### What platform is your computer?
Linux 4.4.0-19041-Microsoft x86_64 x86_64
### What steps can reproduce the bug?
My project is st…
-
Bun 的源码结构非常丰富,包含了许多不同的模块和功能。以下是对每个目录和文件的简要描述,以帮助理解 Bun 的整体架构和各部分的作用:
### 目录结构
#### `allocators`
存放与内存分配器相关的代码。
#### `analytics`
用于分析和收集数据的模块。
#### `api`
Bun 提供的公共 API 实现。
#### `ast`
…
jsiwa updated
3 months ago
-
### How can we reproduce the crash?
1. bun init - use all defaults
2. Create index.ts from below code
3. Run a ggxchain node:
```bash
docker run -it --rm -p 9944:9944 --entrypoint /usr/src/ap…
-
@robobun
```ts
const a = 12
const b = 14
console.log(a*b)
```