Commit graph

7 commits

Author SHA1 Message Date
adam
3bec26b8c2 jq: fixed dynamic linking (now bin/jq is tiny); cleaned pkglint warnings 2018-01-15 08:51:55 +00:00
tnn
6caad440f9 CVE-2015-8863 heap-based buffer overflow (via upstream) 2016-05-10 09:20:52 +00:00
wiz
54b2b84797 Update to 1.5, and simplify a lot.
New features in 1.5 since 1.4:

 - regular expressions (with Oniguruma)

 - a library/module system

 - many new builtins

    - datetime builtins
    - math builtins
    - regexp-related builtins
    - stream-related builtins (e.g., all/1, any/1)
    - minimal I/O builtins (`inputs`, `debug`)

 - new syntactic features, including:

    - destructuring (`. as [$first, $second] | ...`)
    - try/catch, generalized `?` operator, and label/break
    - `foreach`
    - multiple definitions of a function with different numbers of
      arguments

 - command-line arguments

    - --join-lines / -j for raw output
    - --argjson and --slurpfile
    - --tab and --indent
    - --stream (streaming JSON parser)
    - --seq (RFC7464 JSON text sequence)
    - --run-tests improvements

 - optimizations:

    - tail-call optimization
    - reduce and foreach no longer leak a reference to .
2015-08-28 09:09:22 +00:00
ryoon
5bf8da9f02 Update to 1.4
* Use github framework.

Changelog:
Not available.
2015-07-31 13:14:20 +00:00
fhajny
1e5fcd4674 Update jq to 1.3.
Changelog not provided, see commits made since 1.2:

https://github.com/stedolan/jq/compare/jq-1.2...jq-1.3
2014-04-17 09:08:34 +00:00
jperkin
a964f6c65c Update jq to version 1.2. This is the version which should have been added
in the first place, but I somehow missed it.

Unfortunately there is no changelog, just a git history, with no indication
of which are the important changes.  However a lot of bugfixes are included.

The main pkgsrc change in 1.2 is that there is now a manual page.
2013-04-26 10:20:34 +00:00
jperkin
61a54fc2a2 Import jq-1.1 as devel/jq into pkgsrc.
jq is a lightweight and flexible command-line JSON processor.

jq is like sed for JSON data – you can use it to slice and filter and
map and transform structured data with the same ease that sed, awk, grep
and friends let you play with text.
2013-04-25 09:10:26 +00:00