Skip to content

Commit

Permalink
4.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lahmatiy committed Mar 15, 2024
1 parent f0bc0cb commit 4143975
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CHANGELOG.md
8 changes: 6 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## 4.0.0-rc.1
## 4.0.0 (2024-03-15)

- Allowed to pass a string value as an options, it's equivalent to `{ basedir: <string> }`
- Fixed `scanFs()` definition to allow omitting of `options` argument
Expand All @@ -15,7 +15,7 @@
// before
const files = await scanFs(...)
console.log(files, files.symlinks);

// after
const { files, symlinks } = await scanFs(...)
console.log(files, symlinks);
Expand All @@ -24,6 +24,10 @@
- Added `ScanResult` type to define returning type of `scanFs()`
- Removed output errors to console by default

## 4.0.0-rc.1 (2022-09-08)

See changes in [4.0.0](#400-2024-03-15)

## 3.0.0 (2022-06-09)

- Added TypeScript typings (rewritten in TypeScript)
Expand Down
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": "@discoveryjs/scan-fs",
"version": "4.0.0-rc.1",
"version": "4.0.0",
"description": "An utility for seeking files by file system scanning and optionally populating file info with processing their content",
"author": "Roman Dvornov <[email protected]>",
"license": "MIT",
Expand Down

0 comments on commit 4143975

Please sign in to comment.