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 2.6.2 to 2.7.0

logic/alpine.js

3

os.json

@@ -49,3 +49,4 @@ {

"/etc/va-release" : ["VA-Linux/RH-VALE"],
"/etc/yellowdog-release" : ["Yellow Dog"]
"/etc/yellowdog-release" : ["Yellow Dog"],
"/etc/alpine-release": ["Alpine Linux"]
}
{
"name": "getos",
"version": "2.6.2",
"version": "2.7.0",
"description": "Get the OS/Distribution name of the environment you are working on",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -23,3 +23,4 @@ [

, { "desc": "Alpine Linux", "platform": "linux", "file": { "/etc/alpine-release": "3.3\n" }, "expected": { "dist": "Alpine Linux", "os": "linux", "release": "3.3" } }
]

@@ -18,3 +18,3 @@ var color = require('cli-color')

if(!fs.statSync(path.join(cwd,v1)).isDirectory()) return;
process.stdout.write("Fetcing versions of "+capitalize(v1)+"... ")
process.stdout.write("Fetching versions of "+capitalize(v1)+"... ")
var versions = fs.readdirSync(path.join(cwd,v1))

@@ -21,0 +21,0 @@ process.stdout.write("["+color.green("OK!")+"]\n")

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