Repository navigation
Upgrade
Migrates to ESM and does not use default export anymore.
- import checkDiskSpace from "check-disk-space";
+ import { checkDiskSpace } from "check-disk-space";- const checkDiskSpace = require("check-disk-space").default;
+ import { checkDiskSpace } from "check-disk-space";Breaking
- Remove support for Node 16 (not tested anymore).
Improved runtime support
- Support for Bun and Deno is now also tested in CI.
Fixes
- Supports empty filesystem column in
dfoutput — fixes #32 - Makes
getFirstExistingParentPathwork on Windows — fixes #33
Quality of life
- Add more context to
NoMatchError— fixes #35
Internal work
- Migrate to Vite+
- Rewrite and improve tests with Vitest
- Remove ESLint in favor of OXLint
- Improve CI with more tests and latest Node, Bun & Deno versions in addition to older ones
Full Changelog: v3.4.0...4.0.0