-
Notifications
You must be signed in to change notification settings - Fork 227
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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`
- Loading branch information
Showing
3 changed files
with
7 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters