Skip to content

Releases: Alex-D/check-disk-space

3.4.0

21 May 14:27
c33e12e
Compare
Choose a tag to compare

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

19 Jul 13:47
Compare
Choose a tag to compare

Fallback to wmic when Powershell is not available

Fixes

  • Fallback to wmic to prevent crashes when Powershell is not available — #21

3.3.0

07 Mar 02:09
3d6b412
Compare
Choose a tag to compare

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

24 Jan 23:25
8d18891
Compare
Choose a tag to compare

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

28 Nov 19:09
baae361
Compare
Choose a tag to compare

Fix import/require

Fixes

  • Can now be used via import and require as expected. — #14

3.0.1

13 Jun 22:32
48d6e60
Compare
Choose a tag to compare

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

28 Jun 10:56
c160ab8
Compare
Choose a tag to compare

Add TypeScript typing definitions

2.0.0

02 Jun 12:39
a78a5e1
Compare
Choose a tag to compare

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.