jaydenseric / extract-files

A function to recursively extract files and their object paths within a value, replacing them with null in a deep clone without mutating the original value. FileList instances are treated as File instance arrays. Files are typically File and Blob instances.
https://npm.im/extract-files
MIT License
56 stars 23 forks source link

Allow Node versions >= 14.0 #26

Closed timbuckley closed 2 years ago

timbuckley commented 2 years ago

See issue #25

jaydenseric commented 2 years ago

To save a longer explanation for the current package engines.node field value, at the very least the supported Node.js versions can't be looser than that the requirements of all kinds of dependencies; both dev and prod dependencies. If you check all of those for this package you will see that we can't do >= 14.0.

In the nearish future when we do maintenance on this package and update dependencies, the range will actually become even narrower: "node": "^12.22.0 || ^14.17.0 || >= 16.0.0". For example, see the eslint v8 requirements:

https://github.com/eslint/eslint/blob/74cf0a040e1a83990d8d7eb57e1f5ce919a11ebe/package.json#L147