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

systeminformation

Package Overview
Dependencies
Maintainers
1
Versions
653
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

systeminformation - npm Package Compare versions

Comparing version 5.19.1 to 5.20.0

2

lib/index.d.ts

@@ -129,2 +129,4 @@ // Type definitions for systeminformation

swapfree: number;
writeback: number | null;
dirty: number | null;
}

@@ -131,0 +133,0 @@

@@ -165,3 +165,5 @@ 'use strict';

swapused: 0,
swapfree: 0
swapfree: 0,
writeback: null,
dirty: null
};

@@ -197,2 +199,6 @@

result.swapused = result.swaptotal - result.swapfree;
result.writeback = parseInt(util.getValue(lines, 'writeback'), 10);
result.writeback = result.writeback ? result.writeback * 1024 : 0;
result.dirty = parseInt(util.getValue(lines, 'dirty'), 10);
result.dirty = result.dirty ? result.dirty * 1024 : 0;
}

@@ -199,0 +205,0 @@ if (callback) { callback(result); }

2

package.json
{
"name": "systeminformation",
"version": "5.19.1",
"version": "5.20.0",
"description": "Advanced, lightweight system and OS information library",

@@ -5,0 +5,0 @@ "license": "MIT",

Sorry, the diff of this file is too big to display

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