Skip to content

docs: add Navigator to Bun globals - #41347

Closed
deepshekhardas wants to merge 1 commit into
oven-sh:mainfrom
deepshekhardas:docs/35936-navigator-global
Closed

deepshekhardas wants to merge 1 commit into
oven-sh:mainfrom
deepshekhardas:docs/35936-navigator-global

Conversation

@deepshekhardas

Copy link
Copy Markdown

Fixes #35936.

@claude claude Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Claude Code Review

This pull request is from a fork — automated review is disabled. A repository maintainer can comment @claude review to run a one-time review.

@coderabbitai

coderabbitai Bot commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Team

Run ID: 4d0c3127-83a9-485e-a1d3-acee488237fb

📥 Commits

Reviewing files that changed from the base of the PR and between 4661e49 and 5f780e4.

📒 Files selected for processing (1)
  • docs/runtime/globals.mdx

Included review availability: Your plan provides up to 10 included reviews per hour; 7 remain after this review.


Walkthrough

The globals reference now documents the Web-sourced Navigator global.

Changes

Navigator documentation

Layer / File(s) Summary
Add Navigator to globals reference
docs/runtime/globals.mdx
The globals table includes the Web-sourced Navigator global without notes.

Suggested reviewers: robobun

Merge Risk: ⚪ Minimal · up to 5f780

The globals reference now documents Bun’s Navigator global. This documentation-only update is ready to merge with no identified user or production risk.

🚥 Pre-merge checks | ✅ 3 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description only references issue #35936. It omits the required sections for describing the change and verification steps. Add the required “What does this PR do?” and “How did you verify your code works?” sections, with a summary of the documentation change and verification details.
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely describes the documented change: adding Navigator to Bun globals.
Linked Issues check ✅ Passed The pull request adds Navigator to the Bun globals documentation, which directly satisfies the coding-related objective in issue #35936.
Out of Scope Changes check ✅ Passed The only change adds Navigator to the Bun globals documentation. This change is within the scope of issue #35936.
  • Fix all pre-merge checks with AI

Comment @coderabbitai help to get the list of available commands.

@robobun

robobun commented Sep 4, 2026

Copy link
Copy Markdown
Collaborator

Thank you for this PR, @deepshekhardas.

#35937 adds the same row to docs/runtime/globals.mdx for #35936. That PR came first (July 26), so I am closing this one as a duplicate.

The global that Bun provides is navigator, the object. Navigator, the interface, is not a global in Bun 1.4.1:

$ bun -e 'console.log(typeof Navigator, typeof navigator)'
undefined object

The row in #35937 names navigator. Its note lists the properties that Bun implements: userAgent, platform, and hardwareConcurrency. So that row matches the runtime.

Thank you again. Your other contributions are welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Navigator missing from Bun Globals

2 participants