Socket
Socket
Sign inDemoInstall

which

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

which - npm Package Compare versions

Comparing version 1.0.8 to 1.0.9

2

package.json

@@ -5,3 +5,3 @@ {

"description": "Like which(1) unix command. Find the first instance of an executable in the PATH.",
"version": "1.0.8",
"version": "1.0.9",
"repository": {

@@ -8,0 +8,0 @@ "type": "git",

@@ -19,3 +19,5 @@ module.exports = which

|| (mod & 0010) && process.getgid && gid === process.getgid()
|| (mod & 0010) && process.getuid && 0 === process.getuid()
|| (mod & 0100) && process.getuid && uid === process.getuid()
|| (mod & 0100) && process.getuid && 0 === process.getuid()
//console.error("isExe?", ret)

@@ -22,0 +24,0 @@ return ret

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