From 024bb0b1b2820d8c1974eaf98e1c2d3839850b09 Mon Sep 17 00:00:00 2001 From: Les Hazlewood <121180+lhazlewood@users.noreply.github.com> Date: Tue, 26 Apr 2022 17:11:35 -0400 Subject: [PATCH] 3rd party version upgrades where feasible --- README.md | 6 ++-- .../orgjson/io/OrgJsonDeserializerTest.groovy | 2 +- pom.xml | 35 ++++++++++--------- 3 files changed, 23 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index 99f557a9f..7349ef596 100644 --- a/README.md +++ b/README.md @@ -283,7 +283,7 @@ If you're building a (non-Android) JDK project, you will want to define the foll org.bouncycastle bcprov-jdk15on - 1.60 + 1.70 runtime --> @@ -298,7 +298,7 @@ dependencies { compile 'io.jsonwebtoken:jjwt-api:0.11.3' runtime 'io.jsonwebtoken:jjwt-impl:0.11.3', // Uncomment the next line if you want to use RSASSA-PSS (PS256, PS384, PS512) algorithms: - //'org.bouncycastle:bcprov-jdk15on:1.60', + //'org.bouncycastle:bcprov-jdk15on:1.70', 'io.jsonwebtoken:jjwt-jackson:0.11.3' // or 'io.jsonwebtoken:jjwt-gson:0.11.3' for gson } ``` @@ -321,7 +321,7 @@ dependencies { exclude group: 'org.json', module: 'json' //provided by Android natively } // Uncomment the next line if you want to use RSASSA-PSS (PS256, PS384, PS512) algorithms: - //runtimeOnly 'org.bouncycastle:bcprov-jdk15on:1.60' + //runtimeOnly 'org.bouncycastle:bcprov-jdk15on:1.70' } ``` diff --git a/extensions/orgjson/src/test/groovy/io/jsonwebtoken/orgjson/io/OrgJsonDeserializerTest.groovy b/extensions/orgjson/src/test/groovy/io/jsonwebtoken/orgjson/io/OrgJsonDeserializerTest.groovy index cae5134a2..7d3e13ae1 100644 --- a/extensions/orgjson/src/test/groovy/io/jsonwebtoken/orgjson/io/OrgJsonDeserializerTest.groovy +++ b/extensions/orgjson/src/test/groovy/io/jsonwebtoken/orgjson/io/OrgJsonDeserializerTest.groovy @@ -87,7 +87,7 @@ class OrgJsonDeserializerTest { def d = new OrgJsonDeserializer(); def b = '3.14159'.getBytes(Strings.UTF_8) def value = d.deserialize(b) - assert value instanceof Double + assert value instanceof BigDecimal assertEquals 3.14159 as Double, value, 0d } diff --git a/pom.xml b/pom.xml index c52500a7a..0955b74c0 100644 --- a/pom.xml +++ b/pom.xml @@ -14,7 +14,9 @@ ~ See the License for the specific language governing permissions and ~ limitations under the License. --> - + 4.0.0 io.jsonwebtoken @@ -115,34 +117,34 @@ ${basedir} 0.10.7 - 3.0.2 - 3.8.0 - 3.1.1 - 3.0.1 - 1.6 - 0.13.1 - 1.6.1 + 3.2.2 + 3.8.1 + 3.1.1 + 3.2.1 + 1.6 + 0.13.1 + 1.6.1 1.7 ${user.name}-${maven.build.timestamp} 2.12.6.1 - 20180130 - 2.8.9 + 20220320 + 2.9.0 - 1.67 + 1.70 - 2.5.16 - 3.6 + 2.5.16 + 3.6 4.12 - 2.0.0-beta.5 + 2.0.0-beta.5 3.0.0-M5 3.0.0-M5 - 4.2.1 + 4.3.1 ${jjwt.root}/target/clover/clover.db @@ -382,7 +384,8 @@ true - true + true +