Comparing version 8.0.5 to 8.0.6
const path = require('path'); | ||
const childProcess = require('child_process'); | ||
const {promises: fs} = require('fs'); | ||
const {promises: fs, constants: fsConstants} = require('fs'); | ||
const isWsl = require('is-wsl'); | ||
@@ -36,3 +36,3 @@ const isDocker = require('is-docker'); | ||
try { | ||
await fs.access(configFilePath, fs.constants.F_OK); | ||
await fs.access(configFilePath, fsConstants.F_OK); | ||
isConfigFileExists = true; | ||
@@ -175,3 +175,3 @@ } catch {} | ||
try { | ||
await fs.access(localXdgOpenPath, fs.constants.X_OK); | ||
await fs.access(localXdgOpenPath, fsConstants.X_OK); | ||
exeLocalXdgOpen = true; | ||
@@ -178,0 +178,0 @@ } catch {} |
{ | ||
"name": "open", | ||
"version": "8.0.5", | ||
"version": "8.0.6", | ||
"description": "Open stuff like URLs, files, executables. Cross-platform.", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
44668
3