Releases: Alex-D/check-disk-space
Releases · Alex-D/check-disk-space
3.4.0
Now fully asynchronous!
From now on, calls to check-disk-space
will no longer freeze your app. All exec calls are done asynchronously 🔥
Breaking
Now requires at least Node.js 16+ due to dev dependencies updates for security reasons.
You can keep using 3.3.1 on lower Node.js versions.
— @Alex-D 17a539e
Evolutions
Fixes
3.3.1
Fallback to wmic
when Powershell is not available
Fixes
- Fallback to
wmic
to prevent crashes when Powershell is not available — #21
3.3.0
Restore support for Windows 7 and older
Fixes
- Restore
wmic
usage on Windows versions that do not have PowerShell 3, which is needed to call the Get-CimInstance
cmdlet, but only available as the default PowerShell version since Windows 8. — e616ad0 #17
3.2.0
Use PowerShell instead of wmic
on Windows
Evolution
- Works without
wmic
which is now deprecated and dropped in the latest Windows 11 releases.
3.1.0
Fix import/require
Fixes
- Can now be used via
import
and require
as expected. — #14
3.0.1
TypeScript rewrite
The package is now entirely written in TypeScript, allowing the generation of .d.ts
file.
Breaking changes
- Drop Node.js 8 and 10 support, please migrate to Node.js 12+
Fixes
- Prevent security issue due to
exec
usage — #6 #9
- Prevent issue with drive letter case on Windows — #10
2.1.0
Add TypeScript typing definitions
2.0.0
Breaking change
Now requires at least Node.js 8+ due to dev deps updates for security reasons.
You can keep using 1.x on lower Node.js version.