From 013aedd295e09b6ab224a2800797a66b5d52f57e Mon Sep 17 00:00:00 2001 From: Patrick Reinhart Date: Thu, 2 May 2024 19:38:18 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9A=A0=EF=B8=8F=20=20Use=20net.datafaker=20i?= =?UTF-8?q?nstead=20of=20com.github.javafaker?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Use alternate data faker API as the existing library is no longer maintained and contains a couple of CVE issues. Signed-off-by: Patrick Reinhart --- pom.xml | 6 +++--- .../swiss/fihlon/apus/plugin/event/demo/DemoPlugin.java | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index 22bea68..341dd79 100644 --- a/pom.xml +++ b/pom.xml @@ -206,9 +206,9 @@ 1.7.0 - com.github.javafaker - javafaker - 1.0.2 + net.datafaker + datafaker + 2.2.2 org.springframework.boot diff --git a/src/main/java/swiss/fihlon/apus/plugin/event/demo/DemoPlugin.java b/src/main/java/swiss/fihlon/apus/plugin/event/demo/DemoPlugin.java index df862f9..064287d 100644 --- a/src/main/java/swiss/fihlon/apus/plugin/event/demo/DemoPlugin.java +++ b/src/main/java/swiss/fihlon/apus/plugin/event/demo/DemoPlugin.java @@ -17,7 +17,7 @@ */ package swiss.fihlon.apus.plugin.event.demo; -import com.github.javafaker.Faker; +import net.datafaker.Faker; import org.jetbrains.annotations.NotNull; import org.springframework.stereotype.Service; import swiss.fihlon.apus.configuration.Configuration;