Socket
Socket
Sign inDemoInstall

which

Package Overview
Dependencies
1
Maintainers
7
Versions
33
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous124Next

1.2.0

Diff

Changelog

Source

v1.2.0

  • Add support for opt.all and -as cli flags
  • test the bin
  • update travis
  • Allow checking for multiple programs in bin/which
  • tap 2
isaacs
published 1.1.2 •

Changelog

Source

v1.1.2

  • travis
  • Refactored and fixed undefined error on Windows
  • Support strict mode
isaacs
published 1.1.1 •

Changelog

Source

v1.1.1

  • test +g exes against secondary groups, if available
  • Use windows exe semantics on cygwin & msys
  • cwd should be first in path on win32, not last
  • Handle lower-case 'env.Path' on Windows
  • Update docs
  • use single-quotes
isaacs
published 1.1.0 •

Changelog

Source

v1.1.0

  • Add tests, depend on is-absolute
isaacs
published 1.0.9 •

Changelog

Source

v1.0.9

  • which.js: root is allowed to execute files owned by anyone
isaacs
published 1.0.8 •

Changelog

Source

v1.0.8

  • don't use graceful-fs
isaacs
published 1.0.7 •

Changelog

Source

v1.0.7

  • add license to package.json
isaacs
published 1.0.6 •

Changelog

Source

v1.0.6

  • isc license
isaacs
published 1.0.5 •

Changelog

Source

1.0.5

  • Awful typo
isaacs
published 1.0.3 •

Changelog

Source

1.0.3

  • Remove references to execPath
  • Make which.sync() work on Windows by honoring the PATHEXT variable.
  • Make isExe() always return true on Windows.
  • MIT
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc