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.1.0 to 5.2.0

6

index.js

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

cmd = 'cmd' + (isWsl ? '.exe' : '');
args.push('/c', 'start', '""');
args.push('/c', 'start', '""', '/b');
target = target.replace(/&/g, '^&');

@@ -63,4 +63,6 @@

// `xdg-open` will block the process unless
// stdio is ignored even if it's unref'd
// stdio is ignored and it's detached from the parent
// even if it's unref'd
cpOpts.stdio = 'ignore';
cpOpts.detached = true;
}

@@ -67,0 +69,0 @@ }

{
"name": "opn",
"version": "5.1.0",
"description": "A better node-open. Opens stuff like websites, files, executables. Cross-platform.",
"license": "MIT",
"repository": "sindresorhus/opn",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "sindresorhus.com"
},
"engines": {
"node": ">=4"
},
"scripts": {
"test": "xo && ava"
},
"files": [
"index.js",
"xdg-open"
],
"keywords": [
"app",
"open",
"opn",
"opener",
"opens",
"launch",
"start",
"xdg-open",
"xdg",
"default",
"cmd",
"browser",
"editor",
"executable",
"exe",
"url",
"urls",
"arguments",
"args",
"spawn",
"exec",
"child",
"process",
"website",
"file"
],
"dependencies": {
"is-wsl": "^1.1.0"
},
"devDependencies": {
"ava": "*",
"xo": "*"
}
"name": "opn",
"version": "5.2.0",
"description": "A better node-open. Opens stuff like websites, files, executables. Cross-platform.",
"license": "MIT",
"repository": "sindresorhus/opn",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "sindresorhus.com"
},
"engines": {
"node": ">=4"
},
"scripts": {
"test": "xo && ava"
},
"files": [
"index.js",
"xdg-open"
],
"keywords": [
"app",
"open",
"opn",
"opener",
"opens",
"launch",
"start",
"xdg-open",
"xdg",
"default",
"cmd",
"browser",
"editor",
"executable",
"exe",
"url",
"urls",
"arguments",
"args",
"spawn",
"exec",
"child",
"process",
"website",
"file"
],
"dependencies": {
"is-wsl": "^1.1.0"
},
"devDependencies": {
"ava": "*",
"xo": "*"
}
}

@@ -18,3 +18,3 @@ # opn

```
$ npm install --save opn
$ npm install opn
```

@@ -21,0 +21,0 @@

Sorry, the diff of this file is not supported yet

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