v9.0.0
Breaking changes
undefinedis now always returned when the binary cannot be found. Previously, a random binary was sometimes returned instead. This happens when:- The
nameoption is used but no binary of that name is found. - The
package.jsonuses adirectories.binwith multiple binaries, but none matches thepackage.jsonnameornameoption.
- The
- When the
package.jsonbinfield is a string, thenameoption (when defined) must match thepackage.jsonnamefield.