sindresorhus / tempy

Get a random temporary file or directory path
MIT License
423 stars 26 forks source link

node v15 support #38

Closed samuela closed 3 years ago

samuela commented 3 years ago

I'm getting some warnings when installing tempy via npm:

❯ npm i tempy
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: 'tempy@2.0.0',
npm WARN EBADENGINE   required: { node: '^12.20.0 || ^14.13.1 || >=16.0.0' },
npm WARN EBADENGINE   current: { node: 'v15.14.0', npm: '7.7.6' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: 'is-stream@3.0.0',
npm WARN EBADENGINE   required: { node: '^12.20.0 || ^14.13.1 || >=16.0.0' },
npm WARN EBADENGINE   current: { node: 'v15.14.0', npm: '7.7.6' }
npm WARN EBADENGINE }

which seems to be caused by https://github.com/sindresorhus/tempy/blob/main/package.json#L16.

Is there a reason that node v15 is not listed as being supported? It is still widely used, eg. by VSCode.

sindresorhus commented 3 years ago

Node.js 15 is no longer supported by the Node.js team and it makes no sense for package authors to support it either. It's not an LTS release.