Socket
Socket
Sign inDemoInstall

open

Package Overview
Dependencies
3
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 8.4.0 to 8.4.1

4

index.js

@@ -123,3 +123,3 @@ const path = require('path');

}
} else if (platform === 'win32' || (isWsl && !isDocker())) {
} else if (platform === 'win32' || (isWsl && !isDocker() && !app)) {
const mountPoint = await getWslDrivesMountPoint();

@@ -213,3 +213,3 @@

subprocess.once('close', exitCode => {
if (options.allowNonzeroExitCode && exitCode > 0) {
if (!options.allowNonzeroExitCode && exitCode > 0) {
reject(new Error(`Exited with code ${exitCode}`));

@@ -216,0 +216,0 @@ return;

{
"name": "open",
"version": "8.4.0",
"version": "8.4.1",
"description": "Open stuff like URLs, files, executables. Cross-platform.",

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

@@ -17,3 +17,3 @@ # open

- Fixes most of the original `node-open` issues.
- Includes the latest [`xdg-open` script](https://cgit.freedesktop.org/xdg/xdg-utils/commit/?id=c55122295c2a480fa721a9614f0e2d42b2949c18) for Linux.
- Includes the latest [`xdg-open` script](https://gitlab.freedesktop.org/xdg/xdg-utils/-/blob/master/scripts/xdg-open.in) for Linux.
- Supports WSL paths to Windows apps.

@@ -23,5 +23,5 @@

```sh
npm install open
```
$ npm install open
```

@@ -174,13 +174,1 @@ ## Usage

- [open-editor](https://github.com/sindresorhus/open-editor) - Open files in your editor at a specific line and column
---
<div align="center">
<b>
<a href="https://tidelift.com/subscription/pkg/npm-opn?utm_source=npm-opn&utm_medium=referral&utm_campaign=readme">Get professional support for this package with a Tidelift subscription</a>
</b>
<br>
<sub>
Tidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.
</sub>
</div>
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