1
1
mirror of https://github.com/wader/fq.git synced 2024-11-23 00:57:15 +03:00
Commit Graph

170 Commits

Author SHA1 Message Date
Mattias Wadman
824e51ec58 gojq: Update fq fork
Rebase fq changes on latester gojq main.

Most notable change visiable to users is that gojq now allows queries
as object literal values. For example this now works: {a: 1+2+3}

From upstream:
083fb39 refactor code using built-in min and max functions
470db58 bump up to Go 1.23, drop support for Go 1.20
0607aa5 bump up version to 0.12.16
0709341 update CHANGELOG.md for v0.12.16
1324e6e update dependencies
01355e9 improve parser to allow binary operators as object values
a41a5f8 fix debug/1 function to be available only when debug/0 is defined
f694c1b fix a benchmark test BenchmarkCompile
f2559f6 remove private compare function
0cd3a66 improve compiler to abort with error if query is missing
422cc9d refactor stringify function declarations of query
1130c4e refactor program body, rename rules, remove empty actions in parser
8d7ccc9 add tests for immutability of arrays
375e90d remove useless receivers
1b5ce7f set correct offset for multibyte tokens
8874f53 fix tests of exp10 and atan2 failing on some platforms
2024-08-19 14:15:02 +02:00
bump
23df92596e Update gomod-creasty-defaults to 1.8.0 from 1.7.0
Source diff 1.7.0..1.8.0 https://github.com/creasty/defaults/compare/v1.7.0..v1.8.0
2024-08-13 16:04:00 +00:00
bump
da6dd9e0d3 Update gomod-golang-x-net to 0.28.0 from 0.27.0
Tags https://github.com/golang/net/tags
2024-08-06 18:20:47 +00:00
bump
01b292d86b Update gomod-golang-x-crypto to 0.26.0 from 0.25.0
Tags https://github.com/golang/crypto/tags
2024-08-06 16:03:52 +00:00
bump
e625fcbf59 Update gomod-golang-x-net to 0.27.0 from 0.26.0
Tags https://github.com/golang/net/tags
2024-07-05 23:16:08 +02:00
bump
384e4c23fd Update gomod-golang-x-crypto to 0.25.0 from 0.24.0
Tags https://github.com/golang/crypto/tags
2024-07-05 16:04:00 +00:00
bump
6b1cc87029 Update gomod-ergochat-readline to 0.1.2 from 0.1.1
Release notes https://github.com/ergochat/readline/releases/tag/v0.1.2
2024-07-04 19:05:47 +00:00
bump
c55e10667c Update gomod-golang-x-net to 0.26.0 from 0.25.0
Tags https://github.com/golang/net/tags
2024-06-05 19:24:19 +02:00
bump
f7cbf84469 Update gomod-golang-x-crypto to 0.24.0 from 0.23.0
Tags https://github.com/golang/crypto/tags
2024-06-05 16:04:11 +00:00
bump
8bc1a20b2a Update gomod-golang/text to 0.16.0 from 0.15.0
Source diff 0.15.0..0.16.0 https://github.com/golang/text/compare/v0.15.0..v0.16.0
2024-06-04 16:04:04 +00:00
bump
61f81fbfda Update gomod-BurntSushi/toml to 1.4.0 from 1.3.2
Source diff 1.3.2..1.4.0 https://github.com/BurntSushi/toml/compare/v1.3.2..v1.4.0
2024-05-23 16:04:49 +00:00
bump
cabb67e8ab Update gomod-golang-x-net to 0.25.0 from 0.24.0
Tags https://github.com/golang/net/tags
2024-05-07 16:03:50 +00:00
Mattias Wadman
64df8bdbf5
Merge pull request #943 from wader/bump-gomod-golang-x-crypto-0.23.0
Update gomod-golang-x-crypto to 0.23.0 from 0.22.0
2024-05-06 19:16:07 +02:00
bump
14ada50806 Update gomod-golang-x-crypto to 0.23.0 from 0.22.0
Tags https://github.com/golang/crypto/tags
2024-05-06 16:04:45 +00:00
bump
12f332064c Update gomod-ergochat-readline to 0.1.1 from 0.1.0
Release notes https://github.com/ergochat/readline/releases/tag/v0.1.1
2024-05-06 16:04:43 +00:00
bump
586cf142e5 Update gomod-golang-x-term to 0.20.0 from 0.19.0
Tags https://github.com/golang/term/tags
2024-05-05 16:03:41 +00:00
bump
42730d7586 Update gomod-golang/text to 0.15.0 from 0.14.0
Source diff 0.14.0..0.15.0 https://github.com/golang/text/compare/v0.14.0..v0.15.0
2024-05-04 16:03:49 +00:00
bump
daba6b5497 Update gomod-golang-x-net to 0.24.0 from 0.23.0
Tags https://github.com/golang/net/tags
2024-04-05 19:29:41 +02:00
bump
15a7060bff Update gomod-golang-x-crypto to 0.22.0 from 0.21.0
Tags https://github.com/golang/crypto/tags
2024-04-05 16:04:14 +00:00
bump
77c000e6e9 Update gomod-golang-x-net to 0.23.0 from 0.22.0
Tags https://github.com/golang/net/tags
2024-04-04 16:03:54 +00:00
Mattias Wadman
c6165c0caf mod: go get non-bump tracked modules 2024-04-01 18:54:32 +02:00
Mattias Wadman
f5fd587350 gojq: Update fq fork
Fixes issue using ascii_downcase and ascii_upcase with decode value.

From upstream https://github.com/itchyny/gojq/blob/main/CHANGELOG.md:
* implement `ltrim`, `rtrim`, and `trim` functions
* implement `gojq.ParseError` for getting the offset and token of query parsing error
* implement `gojq.HaltError` for detecting halt errors and stopping outer iteration
* fix object construction with duplicate keys (`{x:0,y:1} | {a:.x,a:.y}`)
* fix `halt` and `halt_error` functions to stop the command execution immediately
* fix variable scope of binding syntax (`"a" as $v | def f: $v; "b" as $v | f`)
* fix pre-defined variables to be available in initial modules (`$ARGS` in `~/.jq`)
* fix `ltrimstr` and `rtrimstr` functions to emit error on non-string input
* fix `nearbyint` and `rint` functions to round ties to even
* improve parser to allow `reduce`, `foreach`, `if`, `try`-`catch` syntax as object values
* remove `pow10` in favor of `exp10`, define `scalbn` and `scalbln` by `ldexp`
2024-04-01 15:15:26 +02:00
Mattias Wadman
e26704049f gojq: Update fq fork
From upstream:
fix halt and halt_error to stop command immediately
2024-03-24 14:57:42 +01:00
bump
85f60df2a7 Update gomod-golang-x-net to 0.22.0 from 0.21.0
Tags https://github.com/golang/net/tags
2024-03-05 17:19:24 +01:00
bump
043f067f27 Update gomod-golang-x-crypto to 0.21.0 from 0.20.0
Tags https://github.com/golang/crypto/tags
2024-03-05 16:03:39 +00:00
bump
735256b905 Update gomod-golang-x-crypto to 0.20.0 from 0.19.0
Tags https://github.com/golang/crypto/tags
2024-02-27 16:03:54 +00:00
Mattias Wadman
aaa43dfb81 test: Replace pmezard/go-difflib with go's internal diff 2024-02-26 11:39:03 +01:00
bump
40bcb194ae Update gomod-golang-x-net to 0.21.0 from 0.20.0
Tags https://github.com/golang/net/tags
2024-02-08 17:26:26 +01:00
bump
b5388eaae3 Update gomod-golang-x-crypto to 0.19.0 from 0.18.0
Tags https://github.com/golang/crypto/tags
2024-02-08 16:03:50 +00:00
Mattias Wadman
5829c6b4ca gojq: Update fq fork
From upstream:
fix object construction with duplicate keys
2024-01-18 18:08:40 +01:00
Mattias Wadman
cd572d3ace readline: Update to 0.1.0 and add bump config 2024-01-15 10:03:53 +01:00
bump
2e22e1b824 Update gomod-golang-x-net to 0.20.0 from 0.19.0
Tags https://github.com/golang/net/tags
2024-01-09 16:03:47 +00:00
Shivaram Lingamneni
d0a1b3010f bump readline to 0.1.0-rc1 2024-01-05 06:14:36 +00:00
bump
2a1d9707cf Update gomod-golang-x-term to 0.16.0 from 0.15.0
Tags https://github.com/golang/term/tags
2024-01-04 16:03:37 +00:00
Mattias Wadman
d155c80ccc gojq: Update fq fork
From upstream:
fix pre-defined variables to be available in initial modules
2024-01-01 15:21:47 +01:00
bump
54da5efc89 Update ergochat-readline to 81f0f2329ad3 from cca60bf24c9f
Source diff cca60bf24c9f..81f0f2329ad3 https://github.com/ergochat/readline/compare/vcca60bf24c9f..v81f0f2329ad3
2023-12-29 16:03:48 +00:00
Mattias Wadman
b56258cf77 bump,readline: Add bump config and update to latest master 2023-12-25 17:09:53 +01:00
Mattias Wadman
41226f48d8 readline: Switch to ergochat/readline
All fq changes merged.
2023-12-24 20:35:15 +01:00
bump
6aba928fca Update gomod-golang-x-crypto to 0.17.0 from 0.16.0
Tags https://github.com/golang/crypto/tags
2023-12-19 08:57:05 +00:00
bump
0200a4eea7 Update gomod-golang-x-net to 0.19.0 from 0.18.0
Tags https://github.com/golang/net/tags
2023-11-28 16:04:04 +00:00
Mattias Wadman
b24ed16181 mod: Update golang.org/x/exp and github.com/gomarkdown/markdown 2023-11-25 18:28:55 +01:00
bump
527aad6c74 Update gomod-gopacket to 1.2.0 from 1.1.1
Release notes https://github.com/gopacket/gopacket/releases/tag/v1.2.0
2023-11-25 09:21:39 +00:00
bump
14fe728cc0 Update gomod-golang-x-net to 0.18.0 from 0.17.0
Tags https://github.com/golang/net/tags
2023-11-09 16:03:45 +00:00
Mattias Wadman
dc376f3491 gojq: Update rebased fq fork
From upstream:
    implement pick function
    fix comment continuation with newline in dos format
    implement comment continuation with backslash
2023-11-05 18:04:09 +01:00
bump
1011f19c36 Update gomod-golang/text to 0.14.0 from 0.13.0
Source diff 0.13.0..0.14.0 https://github.com/golang/text/compare/v0.13.0..v0.14.0
2023-11-04 16:03:44 +00:00
bump
5381f38108 Update gomod-golang-x-net to 0.17.0 from 0.16.0
Tags https://github.com/golang/net/tags
2023-10-11 16:03:58 +00:00
bump
f108194de4 Update gomod-golang-x-net to 0.16.0 from 0.15.0
Tags https://github.com/golang/net/tags
2023-10-06 16:03:58 +00:00
bump
906bc3bb3e Update gomod-golang-x-crypto to 0.14.0 from 0.13.0
Tags https://github.com/golang/crypto/tags
2023-10-05 16:04:12 +00:00
Mattias Wadman
c4e8644884 mod: Update golang.org/x/exp and github.com/gomarkdown/markdown
Fixes https://nvd.nist.gov/vuln/detail/CVE-2023-42821
2023-09-24 20:41:38 +02:00
bump
07069a5183 Update gomod-golang-x-net to 0.15.0 from 0.14.0
Tags https://github.com/golang/net/tags
2023-09-06 16:03:59 +00:00