Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Require Node.js 8, add known binaries, add multiple default argument sets #15

Merged
merged 6 commits into from
Jun 15, 2019

Conversation

stroncium
Copy link
Contributor

@stroncium stroncium commented Jun 15, 2019

  • add known binaries
  • add multiple default argument sets
  • bump node version

Fixes #12.

@stroncium
Copy link
Contributor Author

@sindresorhus Bumped node version to 8, and excluded 6 from tests there. (As async doesn't work in 6, it's painful to implement this without async, and you probably would bump version yourself soon anyway.)

@sindresorhus sindresorhus changed the title Add known binaries, add multiple default argument sets Require Node.js 8, add known binaries, add multiple default argument sets Jun 15, 2019
index.js Outdated Show resolved Hide resolved
readme.md Outdated Show resolved Hide resolved
index.js Outdated
.catch(error => {
const knownBinaryArgs = new Map([
['openssl', ['version']],
['ffmpeg', ['-version']]
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you include some more popular binaries with non---version version flags?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To be honest, I can't remember any, not a type of information I try hard to remember, and everything I try of the top of my head accepts --version. But should probably put up a notice in readme incentivising people to file an issue if they find some.
I've added ffprobe and ffplay though.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(for the notice part, it would really be best if you formulate it and put where you want, otherwise we will end up with a couple of more rounds of back and forward about one sentence)

fixture/versioned-type2.js Show resolved Hide resolved
index.js Outdated Show resolved Hide resolved
index.js Show resolved Hide resolved
@sindresorhus sindresorhus merged commit 8fa456a into sindresorhus:master Jun 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Also try the version sub-command
2 participants