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

Bump up to jq 1.7 #625

Merged
merged 1 commit into from
Sep 30, 2023
Merged

Bump up to jq 1.7 #625

merged 1 commit into from
Sep 30, 2023

Conversation

itchyny
Copy link
Contributor

@itchyny itchyny commented Sep 10, 2023

To follow the new jq 1.7 release, I made some changes.

  • 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.

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.
@davesnx
Copy link
Member

davesnx commented Sep 28, 2023

Thanks for doing this @itchyny and super happy to see jq moving forward

@davesnx davesnx merged commit 584756c into sanack:main Sep 30, 2023
10 checks passed
Comment on lines -43 to -53
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)
})
})
Copy link
Member

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?

Copy link
Contributor Author

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'
Copy link
Member

Choose a reason for hiding this comment

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

Nice

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.

2 participants