Skip to content

Deprecate events-emitter-es6 for node:events #32

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

Merged
merged 7 commits into from
Jul 17, 2025
Merged

Conversation

TheMythologist
Copy link

events-emitter-es6 package was causing TypeScript issues. Anyways, it has not been maintained for 7 years+, and there is now a core node module events.

Note: Will require creating a new release and update the dependency on frontend

Copy link
Member

@RichDom2185 RichDom2185 left a comment

Choose a reason for hiding this comment

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

Do we really need the Yarn changes? If yes, can we skip the yarnrc and gitignore and just use corepack instead?

package.json Outdated
Comment on lines 57 to 56
},
"packageManager": "[email protected]+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
}
Copy link
Member

Choose a reason for hiding this comment

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

Based on the lockfile changes, seems like you updated to Yarn 4?

Copy link
Member

Choose a reason for hiding this comment

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

But it's not clear because this field is removed?

@TheMythologist
Copy link
Author

Done, apologies for the changes

@RichDom2185
Copy link
Member

Done, apologies for the changes

sorry, so what version of Yarn is being used? the package json is unchanged

@TheMythologist
Copy link
Author

I left it as is (yarn 1)

@RichDom2185
Copy link
Member

I left it as is (yarn 1)

ok, I'll revert the lockfile in a bit as the lockfile is still using the Yarn 3 format

@RichDom2185
Copy link
Member

now a core node module events

this works in the browser?

@TheMythologist
Copy link
Author

Yup, it is

@RichDom2185 RichDom2185 merged commit 5dc4fe7 into master Jul 17, 2025
2 checks passed
@RichDom2185 RichDom2185 deleted the use-node-events branch July 17, 2025 15:14
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