Skip to content
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

Further refinement on CommonJS types #3302

Merged
merged 1 commit into from
Jan 7, 2025

Conversation

jasnell
Copy link
Member

@jasnell jasnell commented Jan 7, 2025

  • Remove getProcess/getBuffer since those are exposed as globals now when Node.js compat is enabled.
  • Add __filename and __dirname to CommonJsModule in prep to replace/ remove the obsolete NodeJsModule
  • Other minor cleanups

* Remove getProcess/getBuffer since those are exposed as globals now
  when Node.js compat is enabled.
* Add __filename and __dirname to CommonJsModule in prep to replace/
  remove the obsolete NodeJsModule
* Other minor cleanups
@jasnell jasnell requested review from a team as code owners January 7, 2025 21:31
src/workerd/jsg/commonjs.h Show resolved Hide resolved
@jasnell jasnell enabled auto-merge (squash) January 7, 2025 21:51
@jasnell jasnell merged commit 8a194ae into main Jan 7, 2025
15 checks passed
@jasnell jasnell deleted the jasnell/more-refinement-on-commonjs-types branch January 7, 2025 21:58
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.

2 participants