Skip to content

docs(wasm): correct and update docs#9260

Merged
overlookmotel merged 1 commit intomainfrom
02-20-docs_wasm_correct_and_update_docs
Feb 20, 2025
Merged

docs(wasm): correct and update docs#9260
overlookmotel merged 1 commit intomainfrom
02-20-docs_wasm_correct_and_update_docs

Conversation

@overlookmotel
Copy link
Member

@overlookmotel overlookmotel commented Feb 20, 2025

Update the docs for @oxc-parser/wasm NPM package.

  • Fix the examples. initWasm no longer exists in Node.js bindings, and has been replaced by initSync in browser bindings.
  • Add notes that AST is ESTree-compatible.
  • Clarify the text about oxc-parser package.

I am not 100% sure that the web example is now correct, as I've not tested it, but from looking at the code for the bindings, it looks like it should be.

Copy link
Member Author

overlookmotel commented Feb 20, 2025


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • 0-merge - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@github-actions github-actions bot added the C-docs Category - Documentation. Related to user-facing or internal documentation label Feb 20, 2025
@overlookmotel overlookmotel marked this pull request as ready for review February 20, 2025 14:32
@overlookmotel overlookmotel force-pushed the 02-20-docs_wasm_correct_and_update_docs branch from 27eba2b to 133a1d9 Compare February 20, 2025 14:32
@Boshen Boshen added the 0-merge Merge with Graphite Merge Queue label Feb 20, 2025
Copy link
Member

Boshen commented Feb 20, 2025

Merge activity

  • Feb 20, 9:37 AM EST: The merge label '0-merge' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.
  • Feb 20, 9:38 AM EST: Graphite rebased this pull request after merging its parent, because this pull request is set to merge when ready.

@overlookmotel overlookmotel force-pushed the 02-20-docs_wasm_correct_and_update_docs branch from 133a1d9 to 8653994 Compare February 20, 2025 14:37
@overlookmotel overlookmotel force-pushed the 02-20-fix_wasm_transfer_ast_to_js_as_json_string branch from f41affb to a670475 Compare February 20, 2025 14:37
@Boshen Boshen changed the base branch from 02-20-fix_wasm_transfer_ast_to_js_as_json_string to graphite-base/9260 February 20, 2025 14:37
@Boshen Boshen force-pushed the graphite-base/9260 branch from f41affb to 464762e Compare February 20, 2025 14:37
@Boshen Boshen changed the base branch from graphite-base/9260 to main February 20, 2025 14:38
@Boshen Boshen force-pushed the 02-20-docs_wasm_correct_and_update_docs branch from 8653994 to 61910d1 Compare February 20, 2025 14:42
@overlookmotel overlookmotel merged commit d04c4b0 into main Feb 20, 2025
4 checks passed
@overlookmotel overlookmotel deleted the 02-20-docs_wasm_correct_and_update_docs branch February 20, 2025 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

0-merge Merge with Graphite Merge Queue C-docs Category - Documentation. Related to user-facing or internal documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants