binarykitchen / find-remove

recursively finds files by filter options from a start directory onwards and deletes these. useful if you want to clean up a directory in your node.js app.
https://npmjs.org/package/find-remove
61 stars 19 forks source link

Node 18 support #35

Closed dell-mic closed 2 years ago

dell-mic commented 2 years ago

Hi,

thanks a lot for this package.

While upgrading some projects to node 18 (will be the next LTS version) I noticed that this package claims to not be compatible:

npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: 'find-remove@4.0.4',
npm WARN EBADENGINE   required: { node: '^16.13.1', npm: '^8.1.2' },
npm WARN EBADENGINE   current: { node: 'v18.9.1', npm: '8.19.2' }
npm WARN EBADENGINE }

Nevertheless in my project by installing with --ignore-engines seems to work well.

Best, Michael

binarykitchen commented 2 years ago

Right, just fixed that. Thanks for raising.