5.0.0 (2024-10-01)
which
now supports node^18.17.0 || >=20.5.0
5d49ed0
#151 run template-oss-apply (@reggi)8a2d8e0
#149 bump @npmcli/eslint-config from 4.0.5 to 5.0.0 (@dependabot[bot])d4009b2
#138 bump @npmcli/template-oss to 4.22.0 (@lukekarrys)1a07cd7
#150 postinstall for dependabot template-oss PR (@hashtagchris)45f3aa8
#150 bump @npmcli/template-oss from 4.23.1 to 4.23.3 (@dependabot[bot])
4.0.0 (2023-08-29)
- support for node 14 has been removed
c7122cd
#105 drop node14 support (@wraithgar)0083d3c
#105 update for breaking isexe api (@wraithgar)00b5cda
#106 replace reduce with flatMap (#106) (@green961)
3.0.1 (2023-05-01)
3.0.0 (2022-11-01)
- refactored with the following breaking changes
- callback has been removed from the async interface, it is now
Promise
only which
is now compatible with the following semver range for node: `^14.17.0 || ^16.13.0 || >=18.0.0- cli now ignores any arguments after
--
- callback has been removed from the async interface, it is now
8b0187c
add @npmcli/template-oss and modernize (#86) (@lukekarrys)
- Rename bin to
node-which
- generate changelog and publish on version bump
- enforce 100% test coverage
- Promise interface
- Parallel tests, modern JavaScript, and drop support for node < 8
- update deps
- update travis
- Add nothrow option to which.sync
- update tap
- appveyor: drop node 5 and 0.x
- travis-ci: add node 6, drop 0.x
- test: Pass missing option to pass on windows
- update tap
- update isexe to 2.0.0
- neveragain.tech pledge request
- Removed unused require
- Prevent changelog script from being included in package
- Use env.PATH only, not env.Path
- fix for paths starting with ../
- Remove unused
is-absolute
module
- bullet items in changelog that contain (but don't start with) #
- strip 'update changelog' changelog entries out of changelog
- make the changelog bulleted
- make a changelog, and keep it up to date
- don't include tests in package
- Properly handle relative-path executables
- appveyor
- Attach error code to Not Found error
- Make tests pass on Windows
- Fix typo
- update isexe, fix regression in pathExt handling
- update deps, use isexe module, test windows
- Sometimes windows PATH entries are quoted
- Fixed a bug in the check for group and user mode bits. This bug was introduced during refactoring for supporting strict mode.
- doc cli
- Add support for opt.all and -as cli flags
- test the bin
- update travis
- Allow checking for multiple programs in bin/which
- tap 2
- travis
- Refactored and fixed undefined error on Windows
- Support strict mode
- 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
- Add tests, depend on is-absolute
- which.js: root is allowed to execute files owned by anyone
- don't use graceful-fs
- add license to package.json
- isc license
- Awful typo
- Test for path absoluteness properly
- win: Allow '' as a pathext if cmd has a . in it
- Remove references to execPath
- Make
which.sync()
work on Windows by honoring the PATHEXT variable. - Make
isExe()
always return true on Windows. - MIT
- Only files can be exes
- Respect the PATHEXT env for win32 support
- should 0755 the bin
- binary
- guts
- package
- 1st