check-disk-space
Advanced tools
Comparing version 1.4.0 to 1.5.0
@@ -45,2 +45,3 @@ 'use strict' | ||
return { | ||
diskPath: filtered[mapping.diskPath], | ||
free: parseInt(filtered[mapping.free], 10) * coefficient, | ||
@@ -97,2 +98,3 @@ size: parseInt(filtered[mapping.size], 10) * coefficient | ||
{ | ||
diskPath: 0, | ||
free: 1, | ||
@@ -121,2 +123,3 @@ size: 2 | ||
{ | ||
diskPath: 5, | ||
free: 3, | ||
@@ -123,0 +126,0 @@ size: 1 |
{ | ||
"name": "check-disk-space", | ||
"version": "1.4.0", | ||
"version": "1.5.0", | ||
"description": "Light multiplartform disk space checker without third party for Node.js", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -18,2 +18,3 @@ 'use strict' | ||
result: { | ||
diskPath: 'D:', | ||
free: 0, | ||
@@ -36,2 +37,3 @@ size: 699783168 | ||
result: { | ||
diskPath: 'C:', | ||
free: 1286164480, | ||
@@ -50,2 +52,3 @@ size: 34359734272 | ||
result: { | ||
diskPath: 'D:', | ||
free: 0, | ||
@@ -64,2 +67,3 @@ size: 59494400 | ||
result: { | ||
diskPath: 'C:', | ||
free: 159345410048, | ||
@@ -79,2 +83,3 @@ size: 171204145152 | ||
result: { | ||
diskPath: '/dev', | ||
free: 447624 * 1024, | ||
@@ -92,2 +97,3 @@ size: 447624 * 1024 | ||
result: { | ||
diskPath: '/run/user/1000', | ||
free: 89876 * 1024, | ||
@@ -105,2 +111,3 @@ size: 89884 * 1024 | ||
result: { | ||
diskPath: '/media/Games', | ||
free: 39278628 * 1024, | ||
@@ -120,2 +127,3 @@ size: 240234168 * 1024 | ||
result: { | ||
diskPath: '/home', | ||
free: 125026244 * 1024, | ||
@@ -122,0 +130,0 @@ size: 145961032 * 1024 |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
154336
14
319