Comparing version 3.1.1 to 3.1.2
@@ -23,3 +23,3 @@ /** | ||
// Else, node's builtin is acceptable. | ||
return cb(null, { 'os': osName }) | ||
return cb(null, { os: osName }) | ||
} | ||
@@ -52,3 +52,3 @@ | ||
var candidates = distros[file] | ||
var os = { 'os': 'linux', 'dist': candidates[0] } | ||
var os = { os: 'linux', dist: candidates[0] } | ||
@@ -55,0 +55,0 @@ fs.readFile(file, 'utf-8', function (e, file) { |
@@ -10,3 +10,2 @@ { | ||
"/etc/arch-release" : ["Arch Linux"], | ||
"/etc/os-release": ["Raspbian"], | ||
"/etc/NIXOS": ["NixOS"], | ||
@@ -54,3 +53,4 @@ "/etc/annvix-release" : ["Annvix"], | ||
"/etc/alpine-release": ["Alpine Linux"], | ||
"/etc/system-release": ["Amazon Linux"] | ||
"/etc/system-release": ["Amazon Linux"], | ||
"/etc/os-release": ["Raspbian"] | ||
} |
{ | ||
"name": "getos", | ||
"version": "3.1.1", | ||
"version": "3.1.2", | ||
"description": "Get the OS/Distribution name of the environment you are working on", | ||
@@ -19,3 +19,4 @@ "main": "index.js", | ||
"Distribution", | ||
"Platform" | ||
"Platform", | ||
"Version" | ||
], | ||
@@ -29,9 +30,9 @@ "author": "william.jblankenship@gmail.com", | ||
"devDependencies": { | ||
"cli-color": "1.4.0", | ||
"execSync": "1.0.2", | ||
"standard": "^12.0.1", | ||
"tape": "4.9.1" | ||
"cli-color": "^1.4.0", | ||
"execSync": "^1.0.2", | ||
"standard": "^13.1.0", | ||
"tape": "^4.11.0" | ||
}, | ||
"dependencies": { | ||
"async": "2.6.1" | ||
"async": "^3.1.0" | ||
}, | ||
@@ -38,0 +39,0 @@ "contributors": [ |
@@ -15,3 +15,3 @@ [ | ||
, { "desc": "SUSE Linux", "platform": "linux", "file": { "/etc/SuSE-release": "SUSE Linux Enterprise Server 11 (x86_64)\nVERSION = 11\nPATCHLEVEL = 4\n" }, "expected": { "dist": "SUSE Linux", "os": "linux", "release": "11" } } | ||
, { "desc": "Alpine Linux", "platform": "linux", "file": { "/etc/alpine-release": "3.3\n" }, "expected": { "dist": "Alpine Linux", "os": "linux", "release": "3.3" } } | ||
, { "desc": "Alpine Linux", "platform": "linux", "file": { "/etc/alpine-release": "3.3\n", "/etc/os-release": "NAME=\"Alpine Linux\"\nID=alpine\nVERSION_ID=3.9.2\nPRETTY_NAME=\"Alpine Linux v3.9\"\nHOME_URL=\"https://alpinelinux.org/\"\nBUG_REPORT_URL=\"https://bugs.alpinelinux.org/\"\n" }, "expected": { "dist": "Alpine Linux", "os": "linux", "release": "3.3" } } | ||
, { "desc": "Amazon Linux", "platform": "linux", "file": { "/etc/system-release": "Amazon Linux AMI release 2016.03"}, "expected": {"dist": "Amazon Linux", "os": "linux", "release": "2016.03"}} | ||
@@ -18,0 +18,0 @@ , { "desc": "Arch Linux", "platform": "linux", "file": { "/etc/lsb-release": "LSB_VERSION=1.4\nDISTRIB_ID=Arch\nDISTRIB_RELEASE=rolling\nDISTRIB_DESCRIPTION=\"Arch Linux\""}, "expected": {"dist": "Arch Linux", "os": "linux", "release": "rolling"}} |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
39384
427
3
+ Addedasync@3.2.6(transitive)
- Removedasync@2.6.1(transitive)
- Removedlodash@4.17.21(transitive)
Updatedasync@^3.1.0