Socket
Socket
Sign inDemoInstall

opn

Package Overview
Dependencies
1
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.4.0 to 5.5.0

3

index.js

@@ -53,3 +53,4 @@ 'use strict';

} else {
cmd = process.platform === 'android' ? 'xdg-open' : path.join(__dirname, 'xdg-open');
const useSystemXdgOpen = process.versions.electron || process.platform === 'android';
cmd = useSystemXdgOpen ? 'xdg-open' : path.join(__dirname, 'xdg-open');
}

@@ -56,0 +57,0 @@

{
"name": "opn",
"version": "5.4.0",
"version": "5.5.0",
"description": "A better node-open. Opens stuff like websites, files, executables. Cross-platform.",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -5,3 +5,5 @@ # opn

If need this for Electron, use [`shell.openItem()`](https://electronjs.org/docs/api/shell#shellopenitemfullpath) instead.
#### Why?

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

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