Skip to content

doc: remove outdated WASI version fallback - #65303

Open
hyemimi wants to merge 1 commit into
nodejs:mainfrom
hyemimi:fix-wasi-version-doc
Open

doc: remove outdated WASI version fallback#65303
hyemimi wants to merge 1 commit into
nodejs:mainfrom
hyemimi:fix-wasi-version-doc

Conversation

@hyemimi

@hyemimi hyemimi commented Aug 15, 2026

Copy link
Copy Markdown
Contributor

The WASI constructor options documentation in doc/api/wasi.md, under new WASI([options]), states that the version option is mandatory:

version {string} The version of WASI requested. Currently the only
supported versions are unstable and preview1. This option is mandatory.

However, the wasi.getImportObject() section in the same file still mentioned the case where no version is specified.
This removes that outdated phrase so the section is consistent with the constructor options documentation.

Refs: #47391

Signed-off-by: hyemimi <hyemi7375@gmail.com>
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/wasi

@nodejs-github-bot nodejs-github-bot added doc Issues and PRs related to the documentations. wasi Issues and PRs related to the WebAssembly System Interface. labels Aug 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc Issues and PRs related to the documentations. wasi Issues and PRs related to the WebAssembly System Interface.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants