bun-types 1.3.2 → 1.3.3-canary.20251110T140631

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -25,7 +25,7 @@ bun ./index.html
25
25
  ```
26
26
 
27
27
  ```
28
- Bun v1.2.20
28
+ Bun v1.3.2
29
29
  ready in 6.62ms
30
30
  → http://localhost:3000/
31
31
  Press h + Enter to show shortcuts
@@ -51,7 +51,7 @@ bun index.html
51
51
  ```
52
52
 
53
53
  ```
54
- Bun v1.2.20
54
+ Bun v1.3.2
55
55
  ready in 6.62ms
56
56
  → http://localhost:3000/
57
57
  Press h + Enter to show shortcuts
@@ -81,7 +81,7 @@ bun ./index.html ./about.html
81
81
  ```
82
82
 
83
83
  ```txt
84
- Bun v1.2.20
84
+ Bun v1.3.2
85
85
  ready in 6.62ms
86
86
  → http://localhost:3000/
87
87
  Routes:
@@ -104,7 +104,7 @@ bun ./**/*.html
104
104
  ```
105
105
 
106
106
  ```
107
- Bun v1.2.20
107
+ Bun v1.3.2
108
108
  ready in 6.62ms
109
109
  → http://localhost:3000/
110
110
  Routes:
@@ -122,7 +122,7 @@ bun ./index.html ./about/index.html ./about/foo/index.html
122
122
  ```
123
123
 
124
124
  ```
125
- Bun v1.2.20
125
+ Bun v1.3.2
126
126
  ready in 6.62ms
127
127
  → http://localhost:3000/
128
128
  Routes:
@@ -259,7 +259,7 @@ bun ./index.html --console
259
259
  ```
260
260
 
261
261
  ```
262
- Bun v1.2.20
262
+ Bun v1.3.2
263
263
  ready in 6.62ms
264
264
  → http://localhost:3000/
265
265
  Press h + Enter to show shortcuts
@@ -14,7 +14,7 @@ bunx nuxi init my-nuxt-app
14
14
  ✔ Which package manager would you like to use?
15
15
  bun
16
16
  ◐ Installing dependencies...
17
- bun install v1.3.1 (16b4bf34)
17
+ bun install v1.3.2 (16b4bf34)
18
18
  + @nuxt/devtools@0.8.2
19
19
  + nuxt@3.7.0
20
20
  785 packages installed [2.67s]
@@ -17,7 +17,7 @@ This will add the package to `peerDependencies` in `package.json`.
17
17
  ```json package.json icon="file-json"
18
18
  {
19
19
  "peerDependencies": {
20
- "@types/bun": "^1.3.1" // [!code ++]
20
+ "@types/bun": "^1.3.2" // [!code ++]
21
21
  }
22
22
  }
23
23
  ```
@@ -29,7 +29,7 @@ Running `bun install` will install peer dependencies by default, unless marked o
29
29
  ```json package.json icon="file-json"
30
30
  {
31
31
  "peerDependencies": {
32
- "@types/bun": "^1.3.1"
32
+ "@types/bun": "^1.3.2"
33
33
  },
34
34
  "peerDependenciesMeta": {
35
35
  "@types/bun": {
@@ -99,7 +99,7 @@ bun update
99
99
  bun update @types/bun --latest
100
100
 
101
101
  # Update a dependency to a specific version
102
- bun update @types/bun@1.3.1
102
+ bun update @types/bun@1.3.2
103
103
 
104
104
  # Update all dependencies to the latest versions
105
105
  bun update --latest
@@ -64,7 +64,7 @@ Later, when this test file is executed again, Bun will read the snapshot file an
64
64
 
65
65
  ```sh terminal icon="terminal"
66
66
  bun test
67
- bun test v1.3.1 (9c68abdb)
67
+ bun test v1.3.2 (9c68abdb)
68
68
  ```
69
69
 
70
70
  ```txt
@@ -83,7 +83,7 @@ To update snapshots, use the `--update-snapshots` flag.
83
83
 
84
84
  ```sh terminal icon="terminal"
85
85
  bun test --update-snapshots
86
- bun test v1.3.1 (9c68abdb)
86
+ bun test v1.3.2 (9c68abdb)
87
87
  ```
88
88
 
89
89
  ```txt
@@ -7,7 +7,7 @@ mode: center
7
7
  Get the current version of Bun in a semver format.
8
8
 
9
9
  ```ts index.ts icon="/icons/typescript.svg"
10
- Bun.version; // => "1.3.1"
10
+ Bun.version; // => "1.3.2"
11
11
  ```
12
12
 
13
13
  ---
@@ -38,7 +38,7 @@ Bun ships as a single, dependency-free executable. You can install it via script
38
38
  </Warning>
39
39
 
40
40
 
41
- For support and discussion, please join the **#windows** channel on our [Discord](https://discord.gg/bun).
41
+ For support and discussion, please join the **#windows** channel on our [Discord](https://bun.com/discord).
42
42
 
43
43
  </Tab>
44
44
 
@@ -209,7 +209,7 @@ Since Bun is a single binary, you can install older versions by re-running the i
209
209
  To install a specific version, pass the git tag to the install script:
210
210
 
211
211
  ```bash terminal icon="terminal"
212
- curl -fsSL https://bun.com/install | bash -s "bun-v1.3.1"
212
+ curl -fsSL https://bun.com/install | bash -s "bun-v1.3.2"
213
213
  ```
214
214
 
215
215
  </Tab>
@@ -217,7 +217,7 @@ Since Bun is a single binary, you can install older versions by re-running the i
217
217
  On Windows, pass the version number to the PowerShell install script:
218
218
 
219
219
  ```powershell PowerShell icon="windows"
220
- iex "& {$(irm https://bun.com/install.ps1)} -Version 1.3.1"
220
+ iex "& {$(irm https://bun.com/install.ps1)} -Version 1.3.2"
221
221
  ```
222
222
 
223
223
  </Tab>
@@ -244,7 +244,7 @@ bun pm version
244
244
  ```
245
245
 
246
246
  ```txt
247
- bun pm version v1.3.1 (ca7428e9)
247
+ bun pm version v1.3.2 (ca7428e9)
248
248
  Current package version: v1.0.0
249
249
 
250
250
  Increment:
@@ -13,7 +13,7 @@ bun publish
13
13
  ```
14
14
 
15
15
  ```txt
16
- bun publish v1.3.1 (ca7428e9)
16
+ bun publish v1.3.2 (ca7428e9)
17
17
 
18
18
  packed 203B package.json
19
19
  packed 224B README.md
@@ -100,7 +100,7 @@ You can read results from the subprocess via the `stdout` and `stderr` propertie
100
100
  ```ts
101
101
  const proc = Bun.spawn(["bun", "--version"]);
102
102
  const text = await proc.stdout.text();
103
- console.log(text); // => "1.3.1\n"
103
+ console.log(text); // => "1.3.2\n"
104
104
  ```
105
105
 
106
106
  Configure the output stream by passing one of the following values to `stdout/stderr`:
@@ -146,11 +146,11 @@ await fetch("https://example.com", {
146
146
  ```
147
147
 
148
148
  ```txt
149
- [fetch] $ curl --http1.1 "https://example.com/" -X POST -H "content-type: application/json" -H "Connection: keep-alive" -H "User-Agent: Bun/1.3.1" -H "Accept: */*" -H "Host: example.com" -H "Accept-Encoding: gzip, deflate, br" --compressed -H "Content-Length: 13" --data-raw "{\"foo\":\"bar\"}"
149
+ [fetch] $ curl --http1.1 "https://example.com/" -X POST -H "content-type: application/json" -H "Connection: keep-alive" -H "User-Agent: Bun/1.3.2" -H "Accept: */*" -H "Host: example.com" -H "Accept-Encoding: gzip, deflate, br" --compressed -H "Content-Length: 13" --data-raw "{\"foo\":\"bar\"}"
150
150
  [fetch] > HTTP/1.1 POST https://example.com/
151
151
  [fetch] > content-type: application/json
152
152
  [fetch] > Connection: keep-alive
153
- [fetch] > User-Agent: Bun/1.3.1
153
+ [fetch] > User-Agent: Bun/1.3.2
154
154
  [fetch] > Accept: */*
155
155
  [fetch] > Host: example.com
156
156
  [fetch] > Accept-Encoding: gzip, deflate, br
@@ -190,7 +190,7 @@ await fetch("https://example.com", {
190
190
  [fetch] > HTTP/1.1 POST https://example.com/
191
191
  [fetch] > content-type: application/json
192
192
  [fetch] > Connection: keep-alive
193
- [fetch] > User-Agent: Bun/1.3.1
193
+ [fetch] > User-Agent: Bun/1.3.2
194
194
  [fetch] > Accept: */*
195
195
  [fetch] > Host: example.com
196
196
  [fetch] > Accept-Encoding: gzip, deflate, br
@@ -342,7 +342,7 @@ This will print the request and response headers to your terminal:
342
342
  ```sh
343
343
  [fetch] > HTTP/1.1 GET http://example.com/
344
344
  [fetch] > Connection: keep-alive
345
- [fetch] > User-Agent: Bun/1.3.1
345
+ [fetch] > User-Agent: Bun/1.3.2
346
346
  [fetch] > Accept: */*
347
347
  [fetch] > Host: example.com
348
348
  [fetch] > Accept-Encoding: gzip, deflate, br, zstd
package/docs/test/dom.mdx CHANGED
@@ -65,7 +65,7 @@ bun test
65
65
  ```
66
66
 
67
67
  ```
68
- bun test v1.2.20
68
+ bun test v1.3.2
69
69
 
70
70
  dom.test.ts:
71
71
  ✓ dom test [0.82ms]
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.3.2",
2
+ "version": "1.3.3-canary.20251110T140631",
3
3
  "name": "bun-types",
4
4
  "license": "MIT",
5
5
  "types": "./index.d.ts",