mirror of
https://github.com/oven-sh/bun
synced 2026-02-02 15:08:46 +00:00
## Summary This PR adds documentation for features introduced in Bun v1.2.19 that were missing from the docs. ## Features Documented ### `.npmrc` Options - `link-workspace-packages`: Controls how workspace packages are installed when available locally - `save-exact`: Always saves exact versions without the `^` prefix ### Node.js API Enhancements - `vm.constants.DONT_CONTEXTIFY`: Support for making `globalThis` behave like typical `globalThis` - `os.networkInterfaces()`: Now returns `scopeid` property for IPv6 interfaces (not `scope_id`) - `process.features.typescript`: Returns `"transform"` - `process.features.require_module`: Returns `true` - `process.features.openssl_is_boringssl`: Returns `true` ### `fs.glob` Enhancements - Support for array of patterns as first argument - New `exclude`/`ignore` option to filter results ### `node:module` API - `SourceMap` class for parsing and inspecting sourcemaps - `findSourceMap()` function to locate sourcemaps ## Changes Made - `/docs/install/npmrc.md`: Added `link-workspace-packages` and `save-exact` options - `/docs/runtime/nodejs-apis.md`: Added Node.js compatibility features - `/docs/api/glob.md`: Added Node.js fs.glob compatibility section Documentation was kept concise with high information density as requested. 🤖 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: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>