chore: update jq to v0.2.0

This commit is contained in:
Shawn 2022-05-06 21:54:25 +08:00
parent c7826db3f7
commit 82da4d82be
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),