New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

systeminformation

Package Overview
Dependencies
Maintainers
1
Versions
694
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.23.24 to 5.23.25

11

lib/system.js

@@ -218,7 +218,10 @@ 'use strict';

let lines = stdout.toString().replace(/[<>"]/g, '').split('\n');
const model = util.splitByNumber(util.getValue(lines, 'model', '=', true));
const version = util.getValue(lines, 'version', '=', true);
const model = util.getAppleModel(util.getValue(lines, 'model', '=', true));
// const modelParts = util.splitByNumber(model);
// const version = util.getValue(lines, 'version', '=', true);
result.manufacturer = util.getValue(lines, 'manufacturer', '=', true);
result.model = version ? util.getValue(lines, 'model', '=', true) : model[0];
result.version = version || model[1];
result.model = model.key;
result.type = macOsChassisType(model.model);
result.version = model.version;
result.serial = util.getValue(lines, 'ioplatformserialnumber', '=', true);

@@ -225,0 +228,0 @@ result.uuid = util.getValue(lines, 'ioplatformuuid', '=', true).toLowerCase();

{
"name": "systeminformation",
"version": "5.23.24",
"version": "5.23.25",
"description": "Advanced, lightweight system and OS information library",

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

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