Help test CommonJS support in Fedify 1.9.0-pr.431.1610 pre-release #432
dahlia
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
We've just published an experimental pre-release version 1.9.0-pr.431.1610 that adds CommonJS support to all npm packages in the Fedify ecosystem! 🧪
What's new
This experimental build addresses one of the most requested features—better compatibility with CommonJS-based Node.js applications, especially NestJS projects. The pre-release eliminates the need for Node.js's
--experimental-require-module
flag and resolves dual package hazard issues.Note
While we now support CommonJS for legacy project compatibility, we still recommend using ESM or migrating to Deno for the best experience with Fedify.
Who should test this?
How to test
Install the experimental pre-release version:
You should now be able to use standard
require()
syntax without any experimental flags.What we're looking for
--experimental-require-module
flag?Your feedback on this experimental build is invaluable for ensuring this major compatibility improvement works smoothly before the official 1.9.0 release!
Related: #429, #431.
Beta Was this translation helpful? Give feedback.
All reactions