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 3.15.0 to 3.15.1

2

CHANGELOG.md

@@ -97,2 +97,4 @@ # Changelog

| -------------- | -------------- | -------- |
| 3.15.1 | 2017-01-17 | minor cpuTemperature fix (OSX) |
| 3.15.0 | 2017-01-15 | added cpuTemperature also for OSX |
| 3.14.0 | 2017-01-14 | added currentLoad per cpu/core, cpu cache and cpu flags |

@@ -99,0 +101,0 @@ | 3.13.0 | 2016-11-23 | added shell (returns standard shell) |

13

lib/cpu.js

@@ -264,12 +264,13 @@ 'use strict';

if (value > 0) {
result.main = value
result.main = value;
result.max = value;
}
id = 1;
} else {
if (value > 0) {
result.cores.push(value);
sum = sum + value;
if (value > result.max) result.max = value;
}
}
if (value > 0) {
result.cores.push(value);
sum = sum + value;
if (value > result.max) result.max = value;
}
});

@@ -276,0 +277,0 @@ if (result.cores.length) {

@@ -84,2 +84,4 @@ 'use strict';

// version date comment
// 3.15.1 2017-01-17 minor cpuTemperature fix (OSX)
// 3.15.0 2017-01-15 added cpuTemperature also for OSX
// 3.14.0 2017-01-14 added currentLoad per cpu/core, cpu cache (L1, L2, L3) and cpu flags

@@ -86,0 +88,0 @@ // 3.13.0 2016-11-23 added shell (determines standard shell)

{
"name": "systeminformation",
"version": "3.15.0",
"version": "3.15.1",
"description": "Simple system and OS information library",

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

@@ -385,2 +385,7 @@ # systeminformation

OSX Temperature: Credits here are going to:
- Massimiliano Marcon [mmarcon](https://github.com/mmarcon) - for his work on [smc-code][smc-code-url]
- Sébastien Lavoie[lavoiesl](https://github.com/lavoiesl) for his work on [osx-cpu-temp][osx-cpu-temp-url] code.
## Copyright Information

@@ -398,3 +403,3 @@

>
>Copyright © 2014-2016 Sebastian Hildebrandt, [+innovations](http://www.plus-innovations.com).
>Copyright © 2014-2017 Sebastian Hildebrandt, [+innovations](http://www.plus-innovations.com).
>

@@ -443,1 +448,4 @@ >Permission is hereby granted, free of charge, to any person obtaining a copy

[mmon-github-url]: https://github.com/sebhildebrandt/mmon
[smc-code-url]: https://github.com/mmarcon/node-smc
[osx-cpu-temp-url]: https://github.com/lavoiesl/osx-cpu-temp

Sorry, the diff of this file is not supported yet

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