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

DeprecationWarning: using version 9.0.0 #30

Closed shlomogcap closed 2 years ago

shlomogcap commented 2 years ago

(node:13559) [DEP0148] DeprecationWarning: Use of deprecated folder mapping "./public/" in the "exports" field module resolution of the package at PROJECT_DIR/node_modules/extract-files/package.json. Update this package.json to use a subpath pattern like "./public/*". (Use node --trace-deprecation ... to show where the warning was created)

jaydenseric commented 2 years ago

Sorry for the late response; for some reason I missed the notification for this issue.

Duplicates https://github.com/jaydenseric/extract-files/issues/17 .

This issue was fixed in v10.0.0 by https://github.com/jaydenseric/extract-files/commit/e2f11e06e1c3c0cc0f1329468ac90326e405f9d9 .