jeffrifwald / babel-istanbul

Yet another JS code coverage tool that computes statement, line, function and branch coverage with module loader hooks to transparently add coverage when running tests. Supports all JS coverage use cases including unit tests, server side functional tests and browser tests. Built for scale.
Other
144 stars 23 forks source link

Upgrade to which 1.2 #31

Closed isaacs closed 8 years ago

isaacs commented 8 years ago

Fix for https://github.com/npm/node-which/issues/21

Thanks.

isaacs commented 8 years ago

Note: you can do this pretty easily by running the following commands:

npm i which@latest -S
git add package.json
git commit -m "upgrade 'which' module"
npm version patch
npm publish
git push origin master

There have been no significant changes to the API between 1.1 and 1.2, except making the bin match the output, options, and exit code of BSD's builtin which(1), which probably it should have always done.

jeffrifwald commented 8 years ago

I'll bump it here, but it might also be worth opening the same issue on the main istanbul repo.

jeffrifwald commented 8 years ago

Should be updated in 0.4.1, thanks!

isaacs commented 8 years ago

The main istanbul repo depends on ^1.1.1, so that'll pick up 1.2.0 by default.

Thanks for landing this!