Socket
Socket
Sign inDemoInstall

os-utils

Package Overview
Dependencies
0
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.2 to 0.0.3

16

lib/osutils.js

@@ -1,19 +0,7 @@

var OSUtils = function(){
};
OSUtils.prototype.getMemory = function(){
exports.getMemory = function(){
return "1MB (fake)";
}
OSUtils.prototype.getCPU = function(){
exports.getCPU = function(){
return "2% (fake)";
}
OSUtils.prototype.className = "OSUtils";
module.exports.create = function(){
return new OSUtils();
};
module.exports._class = OSUtils;

4

package.json
{
"name" : "os-utils",
"version" : "0.0.2",
"version" : "0.0.3",
"description" : "an operating-system utility library",
"url" : "http://oscar-mejia.com",
"main" : "./bin",
"main" : "./lib/osutils.js",
"directories" : { "test": "./test"},

@@ -8,0 +8,0 @@

@@ -1,2 +0,2 @@

var os = require('../lib/OSUtils').create();
var os = require('../lib/OSUtils');

@@ -3,0 +3,0 @@ console.log( 'OS Utils' );

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc