fast-glob icon indicating copy to clipboard operation
fast-glob copied to clipboard

End of Node.js 8 & 10 support

Open mrmlnc opened this issue 6 years ago • 3 comments

In the new version (4.0.0), we want to exclude version node.js 8, 10 from support.

We will support the following versions another year:

  • 12.22.0+
  • 14.17.0+
  • 16.0.0+

Node.js releases lifecycle:

https://nodejs.org/en/about/releases/ https://nodejs.org/en/about/releases/ https://github.com/nodelib/nodelib/issues/48

mrmlnc avatar Oct 09 '19 19:10 mrmlnc

Another reason:

  • https://github.com/mrmlnc/fast-glob/blob/19cdcb721c8ee6e07bee3e7a2e86fd43063ecf63/src/tests/smoke/root.smoke.ts#L43

mrmlnc avatar Dec 28 '20 17:12 mrmlnc

Also:

https://github.com/mrmlnc/fast-glob/blob/b9f74dd8aa9d54ad674f9f843d1747dcc12c762d/src/readers/async.ts#L27-L32

mrmlnc avatar May 31 '22 11:05 mrmlnc

Node.js 12 is no longer supported either. Maybe time to do a major release?

sindresorhus avatar Jun 30 '22 20:06 sindresorhus

It is time!

  1. https://github.blog/changelog/2023-07-17-github-actions-removal-of-node12-from-the-actions-runner/
  2. https://typescript-eslint.io/blog/announcing-typescript-eslint-v6/#tooling-breaking-changes
  3. https://github.com/microsoft/TypeScript/blob/01b18215eccec4e3b32743ab545bf8c6b570d782/package.json#L29
  4. https://nodejs.org/en/blog/announcements/nodejs16-eol

mrmlnc avatar Jul 17 '23 10:07 mrmlnc

The main branch now requires Node.js 16.14.0 and above.

mrmlnc avatar Jul 29 '23 21:07 mrmlnc

@mrmlnc so should we expect an esm version soon?

erikyo avatar Jan 17 '24 15:01 erikyo