cjs-module-lexer icon indicating copy to clipboard operation
cjs-module-lexer copied to clipboard

Consider relaxing backwards compatibility stance

Open guybedford opened this issue 1 year ago • 0 comments

The stance in this repo, as described in the readme - https://github.com/nodejs/cjs-module-lexer?tab=readme-ov-file#project-status is that only bug fixes and syntax updates will be landed but not new syntax cases, for the reason of backwards compatibility.

But, if we can backport fixes across Node.js releases, perhaps there is scope to allow a new phase of additional features, especially to match with the unflagging of require(esm) which represents a new step in Node.js compat behaviours.

I wanted to create this issue to open that discussion, and then to possibly consider some of the outstanding issues / PRs. I have limited time to work on these myself, but if there is a maintainer interested it could be worth considering.

guybedford avatar Aug 25 '24 21:08 guybedford