-
-
Notifications
You must be signed in to change notification settings - Fork 636
Align Node version support with supported Node release #791
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
Comments
That would be a very user-hostile approach. Node's platform support is irrelevant; we support "what people use", and capriciously dropping a platform creates churn and pain for users, for minimal benefit. Disk space is infinite and free, and "disk footprint" isn't something that should be a high priority. |
It seems like we need this to properly support ES modules in Testing Library, can you please reconsider? I can try to help with PRs. testing-library/dom-testing-library#995 |
@nickmccurdy In what way does this eslint plugin not work when using ES Modules? For the record, there is NEVER a need to drop support for any node version just to support ESM. |
Sorry, I think I oversimplified my explanation and it wasn't entirely accurate. DOM Testing Library relies on |
In what way has supporting node 6 (we support older than that, I’m pretty sure) caused aria-query to break ES Modules? I helped design the feature in node, and there is zero reason that’s necessary. |
From what I understand in testing-library/dom-testing-library#995, the issue is related to either Sorry for the noise, I do appreciate your support. If I figure out that want an update to |
Aha - in that issue is buried the requirement for “build-less” ESM - that requirement is your problem, since that’s basically impossible in modern web dev. A bundler is simply required. Having a package prepare an ESM build won’t solve this, because a) CJS bundles are way faster than native ESM, b) you still need a build process to build an import map, at a minimum, c) you still need a build process to enumerate which files you want served to the public, since serving all of node_modules would be a horrifically bad idea. That said, any dep providing an ESM build can easily do so no matter how far back it supports engine versions, so i still don’t really understand the problem. |
One of the dependencies of this packages (
aria-query
) would like to drop Node <12 support (A11yance/aria-query#158) since Node 10 is EOL (https://nodejs.org/en/about/releases/), buteslint-plugin-jsc-a11y
depends on it and would have to drop Node <12 support as well. Could you consider aligning the supported Node releases of this package with the releases Node supports and thus drop support Node <12? That would allowaria-query
to drop its Node support and significantly reduce its disk footprint innode_modules
.The text was updated successfully, but these errors were encountered: