Fixes a regression in the scan function. Filter functions were not getting a full path.
Includes better typing for compatibility with node 14.
Replaces a usage of a node 14 deprecated function.
v0.5.0
[BREAKING] The library no longer re-exports fs promises. This allows wider compatibility with newer versions of node's fs, without locking out lower versions by having to import/export newly added fs promise methods.
[FEATURE] The library now exports all types used for underlying nextra interfaces.
[BREAKING] The scan function is now updated to use the new openDir function from node v12.12.0's fs. This should be more performant than the previous implementation, however, instead of providing a Map is returned. Dirent has most of the same methods as Stats (so your filter functions probably will work the same), but it is missing some finer details you get with Stats. Please note the new implementation will error if you try to scan on a file, unlike the previous implementation. This also fixes some weird behavior around the limit option.
[BREAKING] Because we are using something added in node v12.12.0, the minimum engine is now that version.
[N/A] Aliases are now exported from within the files they are aliasing.
[PATCH] This fixes a couple of functions that weren't exported correctly.
This version will act as a first Release Candidate for v1.0.0.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps fs-nextra from 0.4.7 to 0.5.1.
Release notes
Sourced from fs-nextra's releases.
Commits
cb5728f
bump for releasec8ebc53
fix regression in scan's filterbbe11c6
Build(deps-dev): bump @types/node from 13.13.5 to 14.0.1 (#446)f6401fc
process.umask() is deprecated (#447)f901baa
Merge pull request #443 from bdistin/dependabot/npm_and_yarn/typescript-eslin...b0571ac
Build(deps-dev): bump @typescript-eslint/eslint-plugin8ffaf66
Merge pull request #444 from bdistin/dependabot/npm_and_yarn/typescript-eslin...1983fad
Build(deps-dev): bump @typescript-eslint/parser from 2.31.0 to 2.33.0db0be4e
Update README.md8c36b6b
Merge pull request #442 from bdistin/dependabot/npm_and_yarn/typescript-3.9.2Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)