Skip to content

Commit

Permalink
chore: release v1.0.0 (#24)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: API, behavior and return types have changed. The module now only exports one function `filesFromPaths` which returns an array of file-like objects. The stream returned by `stream()` in these objects is now a web stream ([`ReadableStream`](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream)). File names now have their common prefix stripped automatically. Finally, the minimum Node.js version has increased from 14 to 18 (the current LTS) because of we use `Readable.toWeb()`.
  • Loading branch information
Alan Shaw authored Mar 14, 2023
1 parent 425c50e commit b8ef797
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "files-from-path",
"version": "0.2.6",
"version": "1.0.0",
"description": "Expand paths to file-like objects with name, readable stream and size.",
"main": "src/index.js",
"types": "./types/index.d.ts",
Expand Down

0 comments on commit b8ef797

Please sign in to comment.