- Fix fast-glob v3 breaking changes
- Upgrade dependencies to fix potential security vulnerabilities
- Fix
files
field in package.json
- Remove
-r, --recursive
option - Remove
DirectoryStat
,StatCollectors
from main entry point - Remove Parcel (building process)
- Documentation now lives under https://lqmanh.github.io/directory-stat
- Many internal changes: add building process, migrate from npm to yarn, add ESLint and Prettier
- Fix error not publish
/*.js
files to npm
- Add
-m, --minified
option - More semantic importing:
require('directory-stat/stat-collectors')
instead ofrequire('directory-stat').StatCollectors
- Dependency
@oclif/plugin-warn-if-update-available
is now optional
- Extend support for Node.js >= 8.0.0
- Integrate
PathCollector
intoStatWriter
and cannot be removed
- Add
-o, --output
option - Add
-d, --depth
option - Deprecate
-r, --recursive
option StatWriter
now has the same default values as in CLI
- Attempt to fix stat collectors importing error
- Add
-x, --exclude
option - Size, timestamp and type fields are now optional with
--[no-]size
,--[no-]timestamp
,--[no-]type
options - The package can be used as a library now
- Support composable statistics collectors
- Apply recursive option with the passed directory, not its children
- Drop CLI support for Windows
- Readd
type
field that store type of objects (block device, character device, directory, fifo pipe, file, socket, symbolic link) - Store size (in bytes) in
size
field - Show a warning message when the app is outdated
- Mark v0.1.x are early-access releases
- Add
-r, --[no-]recursive
option - Add changelog
- Store the statistics of the directory itself too
- Store path information in
path
field - Store atime, ctime, mtime and birthtime in
timestamp
field - Remove
name
field - Remove
type
field accidentally - Get statistics recursively by default
- Store names of children in
children
field - Store type (directory, file, symbolic link) in
type
field