Right now, importing bare-dev in Bare-based projects causes an error due to the which dependency requiring various node packages.
Even with aliases applied, the isexe dependency of whichuses functions that are currently not supported by bare-process such as process.getuid(), process.getgid(), process.getgroup()
This change switches the which dependency to bare-which as it is cross compatible with bare and node and uses fs.constants.X_OK to check for executability on posix-based systems instead of using the unsupported the functions above.
Right now, importing bare-dev in Bare-based projects causes an error due to the
which
dependency requiring various node packages.Even with aliases applied, the
isexe
dependency ofwhich
uses functions that are currently not supported by bare-process such asprocess.getuid()
,process.getgid()
,process.getgroup()
This change switches the which dependency to bare-which as it is cross compatible with bare and node and uses fs.constants.X_OK to check for executability on posix-based systems instead of using the unsupported the functions above.