Comparing version 9.1.0 to 10.0.0
@@ -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 @@ } |
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
37676
404
+ Addedbundle-name@4.1.0(transitive)
+ Addeddefault-browser@5.2.1(transitive)
+ Addeddefault-browser-id@5.0.0(transitive)
+ Addedis-wsl@3.1.0(transitive)
+ Addedrun-applescript@7.0.0(transitive)
- Removedbig-integer@1.6.52(transitive)
- Removedbplist-parser@0.2.0(transitive)
- Removedbundle-name@3.0.0(transitive)
- Removedcross-spawn@7.0.3(transitive)
- Removeddefault-browser@4.0.0(transitive)
- Removeddefault-browser-id@3.0.0(transitive)
- Removedexeca@5.1.17.2.0(transitive)
- Removedget-stream@6.0.1(transitive)
- Removedhuman-signals@2.1.04.3.1(transitive)
- Removedis-docker@2.2.1(transitive)
- Removedis-stream@2.0.13.0.0(transitive)
- Removedis-wsl@2.2.0(transitive)
- Removedisexe@2.0.0(transitive)
- Removedmerge-stream@2.0.0(transitive)
- Removedmimic-fn@2.1.04.0.0(transitive)
- Removednpm-run-path@4.0.15.3.0(transitive)
- Removedonetime@5.1.26.0.0(transitive)
- Removedpath-key@3.1.14.0.0(transitive)
- Removedrun-applescript@5.0.0(transitive)
- Removedshebang-command@2.0.0(transitive)
- Removedshebang-regex@3.0.0(transitive)
- Removedsignal-exit@3.0.7(transitive)
- Removedstrip-final-newline@2.0.03.0.0(transitive)
- Removedtitleize@3.0.0(transitive)
- Removeduntildify@4.0.0(transitive)
- Removedwhich@2.0.2(transitive)
Updateddefault-browser@^5.2.0
Updatedis-wsl@^3.1.0