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

fix(node/cluster): improve stubs to make log4js work #25146

Merged
merged 4 commits into from
Aug 26, 2024

Conversation

marvinhagemeister
Copy link
Contributor

@marvinhagemeister marvinhagemeister commented Aug 22, 2024

  • Add missing exports to node:cluster
  • Fix default export not being an instance of EventEmitter
  • Fix aliasing of properties
  • Fix disconnected -> disconnect export naming

This makes log4js work in Deno. karma starts too, but somehow the server isn't responding. That looks like a different issue.

Fixes #24858

Copy link
Member

@kt3k kt3k left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@marvinhagemeister marvinhagemeister merged commit 1dad29a into main Aug 26, 2024
17 checks passed
@marvinhagemeister marvinhagemeister deleted the node-cluster-stub branch August 26, 2024 09:20
lucacasonato pushed a commit that referenced this pull request Aug 29, 2024
- Add missing exports to `node:cluster`
- Fix default export not being an instance of `EventEmitter`
- Fix aliasing of properties
- Fix `disconnected` -> `disconnect` export naming

This makes `log4js` work in Deno. `karma` starts too, but somehow the
server isn't responding. That looks like a different issue.

Fixes #24858
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.

npm:log4js don't work
2 participants