diff --git a/Project.toml b/Project.toml index cc4e1d5..2083717 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "CDSAPI" uuid = "8a7b9de3-9c00-473e-88b4-7eccd7ef2fea" authors = ["Micky Yun Chan and contributors"] -version = "2.2.1" +version = "2.2.2" [deps] Dates = "ade2ca70-3891-5945-98fb-dc099432e06a" @@ -12,8 +12,8 @@ ScopedValues = "7e506255-f358-4e82-b7e4-beb19740aa63" [compat] Dates = "1.10" HTTP = "1" -JSON = "0.21" -ScopedValues = "1.3.0" +JSON = "1" +ScopedValues = "1.3" julia = "1.10" [extras] @@ -23,4 +23,4 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" ZipFile = "a5390f91-8eb1-5f08-bee0-b1d1ffed6cea" [targets] -test = ["Test", "GRIB", "ZipFile", "NetCDF"] +test = ["Test", "GRIB", "NetCDF", "ZipFile"] diff --git a/test/runtests.jl b/test/runtests.jl index 13c541a..4633e5f 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -1,6 +1,7 @@ using CDSAPI -using ZipFile using GRIB, NetCDF +using ZipFile +using JSON using Test @@ -24,7 +25,7 @@ datadir = joinpath(@__DIR__, "data") filename ) - @test typeof(response) <: Dict + @test typeof(response) <: JSON.Object @test isfile(filename) GribFile(filename) do datafile @@ -54,7 +55,7 @@ datadir = joinpath(@__DIR__, "data") filename ) - @test typeof(response) <: Dict + @test typeof(response) <: JSON.Object @test isfile(filename) # extract contents