10000 refactor(napi/parser): move raw transfer code into separate directory by overlookmotel · Pull Request #11583 · oxc-project/oxc · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
8000

refactor(napi/parser): move raw transfer code into separate directory #11583

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

overlookmotel
Copy link
Contributor
@overlookmotel overlookmotel commented Jun 10, 2025

Pure refactor. Move code for raw transfer into separate directory. This will enable exposing some internals to benchmarks without exposing them publicly from the package. Also lazy deserialization is going to add a lot more code - don't want index.js to get too bloated.

Also make main entry point index.js run in strict mode (doesn't much matter, but it's good practice).

@github-actions github-actions bot added the C-cleanup Category - technical debt or refactoring. Solution not expected to change behavior label Jun 10, 2025
Copy link
Contributor Author
overlookmotel commented Jun 10, 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.

@overlookmotel overlookmotel force-pushed the 06-10-refactor_napi_move_raw_transfer_code_into_separate_directory branch from 11bd3b7 to cd04b37 Compare June 11, 2025 11:21
@overlookmotel overlookmotel changed the title refactor(napi): move raw transfer code into separate directory refactor(napi/parser): move raw transfer code into separate directory Jun 11, 2025
@graphite-app graphite-app bot added the 0-merge Merge with Graphite Merge Queue label Jun 11, 2025
Copy link
Contributor
graphite-app bot commented Jun 11, 2025

Merge activity

…#11583)

Pure refactor. Move code for raw transfer into separate directory. This will enable exposing some internals to benchmarks without exposing them publicly from the package. Also lazy deserialization is going to add a lot more code - don't want `index.js` to get too bloated.

Also make main entry point `index.js` run in strict mode (doesn't much matter, but it's good practice).
@graphite-app graphite-app bot force-pushed the 06-10-refactor_napi_move_raw_transfer_code_into_separate_directory branch from cd04b37 to 95ee174 Compare June 11, 2025 15:04
graphite-app bot pushed a commit that referenced this pull request Jun 11, 2025
Add a fallback for `os.availableParallelism` in versions of NodeJS prior to v18.14.0, which don't support it.

As requested by Prettier, who support NodeJS v14. #11583 (review)
@graphite-app graphite-app bot merged commit 95ee174 into main Jun 11, 2025
15 checks passed
@graphite-app graphite-app bot removed the 0-merge Merge with Graphite Merge Queue label Jun 11, 2025
@graphite-app graphite-app bot deleted the 06-10-refactor_napi_move_raw_transfer_code_into_separate_directory branch June 11, 2025 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-cleanup Category - technical debt or refactoring. Solution not expected to change behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0