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

getos

Package Overview
Dependencies
Maintainers
3
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

getos - npm Package Compare versions

Comparing version 3.0.1 to 3.1.0

logic/raspbian.js

4

index.js

@@ -8,2 +8,3 @@ /**

var os = require('os')
var path = require('path')

@@ -124,3 +125,4 @@ /**

function customLogic (os, name, file, cb) {
try { require('./logic/' + name + '.js')(os, file, cb) } catch (e) { cb(null, os) }
var logic = path.join(__dirname, 'logic/' + name + '.js')
try { require(logic)(os, file, cb) } catch (e) { cb(null, os) }
}

@@ -127,0 +129,0 @@

@@ -9,2 +9,3 @@ {

"/etc/debian_release" : ["Debian"],
"/etc/os-release": ["Raspbian"],
"/etc/annvix-release" : ["Annvix"],

@@ -11,0 +12,0 @@ "/etc/arch-release" : ["Arch Linux"],

{
"name": "getos",
"version": "3.0.1",
"version": "3.1.0",
"description": "Get the OS/Distribution name of the environment you are working on",

@@ -31,6 +31,6 @@ "main": "index.js",

"standard": "^10.0.2",
"tape": "4.6.3"
"tape": "4.8.0"
},
"dependencies": {
"async": "2.3.0"
"async": "2.4.0"
},

@@ -37,0 +37,0 @@ "contributors": [

# getos
[![Greenkeeper badge](https://badges.greenkeeper.io/retrohacker/getos.svg)](https://greenkeeper.io/)
![getos](./imgs/logo.png)

@@ -4,0 +6,0 @@

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