Socket
Socket
Sign inDemoInstall

open

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

open - npm Package Compare versions

Comparing version 9.1.0 to 10.0.0

5

index.js

@@ -6,4 +6,3 @@ import process from 'node:process';

import childProcess from 'node:child_process';
import fs from 'node:fs/promises';
import {constants as fsConstants} from 'node:fs'; // TODO: Move this to the above import when targeting Node.js 18.
import fs, {constants as fsConstants} from 'node:fs/promises';
import isWsl from 'is-wsl';

@@ -206,3 +205,3 @@ import defineLazyProperty from 'define-lazy-prop';

if (appArguments.length > 0) {
appArguments = appArguments.map(arg => `"\`"${arg}\`""`);
appArguments = appArguments.map(argument => `"\`"${argument}\`""`);
encodedArguments.push('-ArgumentList', appArguments.join(','));

@@ -209,0 +208,0 @@ }

17

package.json
{
"name": "open",
"version": "9.1.0",
"version": "10.0.0",
"description": "Open stuff like URLs, files, executables. Cross-platform.",

@@ -18,4 +18,5 @@ "license": "MIT",

},
"sideEffects": false,
"engines": {
"node": ">=14.16"
"node": ">=18"
},

@@ -57,13 +58,13 @@ "scripts": {

"dependencies": {
"default-browser": "^4.0.0",
"default-browser": "^5.2.0",
"define-lazy-prop": "^3.0.0",
"is-inside-container": "^1.0.0",
"is-wsl": "^2.2.0"
"is-wsl": "^3.1.0"
},
"devDependencies": {
"@types/node": "^18.15.10",
"ava": "^5.2.0",
"tsd": "^0.28.0",
"xo": "^0.53.1"
"@types/node": "^20.10.5",
"ava": "^6.0.1",
"tsd": "^0.30.0",
"xo": "^0.56.0"
}
}

Sorry, the diff of this file is not supported yet

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