Skip to content

refactor(napi/parser): refactor wrap files#10480

Merged
graphite-app[bot] merged 1 commit intomainfrom
04-17-refactor_napi_parser_refactor_wrap_files
Apr 24, 2025
Merged

refactor(napi/parser): refactor wrap files#10480
graphite-app[bot] merged 1 commit intomainfrom
04-17-refactor_napi_parser_refactor_wrap_files

Conversation

@overlookmotel
Copy link
Member

@overlookmotel overlookmotel commented Apr 17, 2025

Refactor wrap.cjs and wrap.mjs in napi/parser package.

  • Update outdated comments.
  • Move JSON transform function to top level to avoid creating a new closure each time jsonParseAst is called.
  • Make the 2 files as similar as possible so it's easier to keep them both in sync.

@github-actions github-actions bot added the C-cleanup Category - technical debt or refactoring. Solution not expected to change behavior label Apr 17, 2025
Copy link
Member Author


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 marked this pull request as ready for review April 17, 2025 17:14
@overlookmotel overlookmotel requested a review from Boshen April 22, 2025 09:45
@Boshen Boshen added the 0-merge Merge with Graphite Merge Queue label Apr 24, 2025
Copy link
Member

Boshen commented Apr 24, 2025

Merge activity

Refactor `wrap.cjs` and `wrap.mjs` in `napi/parser` package.

* Update outdated comments.
* Move JSON transform function to top level to avoid creating a new closure each time `jsonParseAst` is called.
* Make the 2 files as similar as possible so it's easier to keep them both in sync.
@graphite-app graphite-app bot force-pushed the 04-17-refactor_napi_parser_refactor_wrap_files branch from ff5e990 to 936f885 Compare April 24, 2025 03:21
@graphite-app graphite-app bot merged commit 936f885 into main Apr 24, 2025
17 checks passed
@graphite-app graphite-app bot deleted the 04-17-refactor_napi_parser_refactor_wrap_files branch April 24, 2025 03:28
@graphite-app graphite-app bot removed the 0-merge Merge with Graphite Merge Queue label Apr 24, 2025
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