Merge pull request #7889 from terry-xiaoyu/jq_v0.1.1

chore: update jq to v0.2.0
This commit is contained in:
Xinyu Liu 2022-05-07 09:57:48 +08:00 committed by GitHub
commit 62d448fb28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -787,7 +787,7 @@ find_s(S, P, Dir) ->
jq(FilterProgram, JSONBin) when
is_binary(FilterProgram), is_binary(JSONBin)
->
case jq:parse(FilterProgram, JSONBin) of
case jq:process_json(FilterProgram, JSONBin) of
{ok, Result} ->
[json_decode(JSONString) || JSONString <- Result];
{error, ErrorReason} ->

View File

@ -611,7 +611,7 @@ defmodule EMQXUmbrella.MixProject do
defp jq_dep() do
if enable_jq?(),
do: [{:jq, github: "emqx/jq", tag: "v0.1.0", override: true}],
do: [{:jq, github: "emqx/jq", tag: "v0.2.0", override: true}],
else: []
end

View File

@ -41,7 +41,7 @@ quicer() ->
{quicer, {git, "https://github.com/emqx/quic.git", {tag, "0.0.9"}}}.
jq() ->
{jq, {git, "https://github.com/emqx/jq", {tag, "v0.1.0"}}}.
{jq, {git, "https://github.com/emqx/jq", {tag, "v0.2.0"}}}.
deps(Config) ->
{deps, OldDeps} = lists:keyfind(deps, 1, Config),