Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

os-name

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

os-name - npm Package Compare versions

Comparing version 3.0.0 to 3.1.0

index.d.ts

4

index.js

@@ -6,3 +6,3 @@ 'use strict';

module.exports = (platform, release) => {
const osName = (platform, release) => {
if (!platform && release) {

@@ -46,1 +46,3 @@ throw new Error('You can\'t specify a `release` without specifying `platform`');

};
module.exports = osName;
{
"name": "os-name",
"version": "3.0.0",
"version": "3.1.0",
"description": "Get the name of the current operating system. Example: macOS Sierra",

@@ -16,6 +16,7 @@ "license": "MIT",

"scripts": {
"test": "xo && ava"
"test": "xo && ava && tsd"
},
"files": [
"index.js"
"index.js",
"index.d.ts"
],

@@ -36,9 +37,11 @@ "keywords": [

"dependencies": {
"macos-release": "^2.0.0",
"macos-release": "^2.2.0",
"windows-release": "^3.1.0"
},
"devDependencies": {
"ava": "^0.25.0",
"xo": "^0.23.0"
"@types/node": "^11.13.0",
"ava": "^1.4.1",
"tsd": "^0.7.2",
"xo": "^0.24.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