Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

check-disk-space

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

check-disk-space - npm Package Compare versions

Comparing version 1.4.0 to 1.5.0

.idea/check-disk-space.iml

3

index.js

@@ -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

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc