-
-
Notifications
You must be signed in to change notification settings - Fork 51
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
Bump up to jq 1.7 #625
Bump up to jq 1.7 #625
Conversation
Update links in README.md to the new jqlang organization. Update download map to follow changes of executable names. Simplify building commands from source code. Remove test of empty filter unsupported in 1.7.
Thanks for doing this @itchyny and super happy to see jq moving forward |
it('should pass on an empty filter', done => { | ||
run('', PATH_JSON_FIXTURE) | ||
.then(output => { | ||
const normalizedOutput = output.replace(/\r\n/g, '\n') | ||
expect(normalizedOutput).to.equal(FIXTURE_JSON_STRING) | ||
done() | ||
}) | ||
.catch(error => { | ||
done(error) | ||
}) | ||
}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does jq stopped supporting this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, jq dropped supporting empty query;
$ jq -n ''
jq: error: Top-level program not given (try ".")
jq: 1 compile error
See jqlang/jq#2785.
x64: 'jq-linux64' | ||
x64: 'jq-linux-amd64', | ||
ia32: 'jq-linux-i386', | ||
arm64: 'jq-linux-arm64' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice
To follow the new jq 1.7 release, I made some changes.