Update docs example versions to 1.3.2 (#24522)

## Summary

Updated all example version placeholders in documentation from 1.3.1 and
1.2.20 to 1.3.2.

## Changes

Updated version examples in:
- Installation examples (Linux/macOS and Windows install commands)
- Package manager output examples (`bun install`, `bun publish`, `bun
pm` commands)
- Test runner output examples
- Spawn/child process output examples
- Fetch User-Agent header examples in debugging docs
- `Bun.version` API example

## Notes

- Historical version references (e.g., "As of Bun v1.x.x..." or "Bun
v1.x.x+ required") were intentionally **preserved** as they document
when features were introduced
- Generic package.json version examples (non-Bun package versions) were
**preserved**
- Only example outputs and code snippets showing current Bun version
were updated

## Files Changed (13 total)

- `docs/installation.mdx`
- `docs/guides/install/from-npm-install-to-bun-install.mdx`
- `docs/guides/install/add-peer.mdx`
- `docs/bundler/html-static.mdx` (6 occurrences)
- `docs/test/dom.mdx`
- `docs/pm/cli/publish.mdx`
- `docs/pm/cli/pm.mdx`
- `docs/guides/test/snapshot.mdx` (2 occurrences)
- `docs/guides/ecosystem/nuxt.mdx`
- `docs/guides/util/version.mdx`
- `docs/runtime/debugger.mdx` (3 occurrences)
- `docs/runtime/networking/fetch.mdx`
- `docs/runtime/child-process.mdx`

**Total:** 23 version references updated

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Bot <claude-bot@bun.sh>
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Michael H <git@riskymh.dev>
This commit is contained in:
robobun
2025-11-08 21:20:04 -08:00
committed by GitHub
parent 614e8292e3
commit b4f85c8866
13 changed files with 23 additions and 23 deletions

View File

@@ -14,7 +14,7 @@ bunx nuxi init my-nuxt-app
✔ Which package manager would you like to use?
bun
◐ Installing dependencies...
bun install v1.3.1 (16b4bf34)
bun install v1.3.2 (16b4bf34)
+ @nuxt/devtools@0.8.2
+ nuxt@3.7.0
785 packages installed [2.67s]

View File

@@ -17,7 +17,7 @@ This will add the package to `peerDependencies` in `package.json`.
```json package.json icon="file-json"
{
"peerDependencies": {
"@types/bun": "^1.3.1" // [!code ++]
"@types/bun": "^1.3.2" // [!code ++]
}
}
```
@@ -29,7 +29,7 @@ Running `bun install` will install peer dependencies by default, unless marked o
```json package.json icon="file-json"
{
"peerDependencies": {
"@types/bun": "^1.3.1"
"@types/bun": "^1.3.2"
},
"peerDependenciesMeta": {
"@types/bun": {

View File

@@ -99,7 +99,7 @@ bun update
bun update @types/bun --latest
# Update a dependency to a specific version
bun update @types/bun@1.3.1
bun update @types/bun@1.3.2
# Update all dependencies to the latest versions
bun update --latest

View File

@@ -64,7 +64,7 @@ Later, when this test file is executed again, Bun will read the snapshot file an
```sh terminal icon="terminal"
bun test
bun test v1.3.1 (9c68abdb)
bun test v1.3.2 (9c68abdb)
```
```txt
@@ -83,7 +83,7 @@ To update snapshots, use the `--update-snapshots` flag.
```sh terminal icon="terminal"
bun test --update-snapshots
bun test v1.3.1 (9c68abdb)
bun test v1.3.2 (9c68abdb)
```
```txt

View File

@@ -7,7 +7,7 @@ mode: center
Get the current version of Bun in a semver format.
```ts index.ts icon="/icons/typescript.svg"
Bun.version; // => "1.3.1"
Bun.version; // => "1.3.2"
```
---