Skip to content

Commit fb301e2

Browse files
authored
Remove jackson-databind and jackson-annotations (#587)
* Remove jackson-databind and jackson-annotations dependencies Signed-off-by: Rupal Mahajan <[email protected]> * resolve dompurify conflicting dependencies Signed-off-by: Rupal Mahajan <[email protected]> * fix build Signed-off-by: Rupal Mahajan <[email protected]> Signed-off-by: Rupal Mahajan <[email protected]>
1 parent 9613cba commit fb301e2

File tree

3 files changed

+6
-9
lines changed

3 files changed

+6
-9
lines changed

dashboards-reports/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"async-mutex": "^0.2.6",
2020
"babel-polyfill": "^6.26.0",
2121
"cron-validator": "^1.1.1",
22-
"dompurify": "^2.3.8",
22+
"dompurify": "^2.4.1",
2323
"elastic-builder": "^2.7.1",
2424
"enzyme-adapter-react-16": "^1.15.5",
2525
"jest-fetch-mock": "^3.0.3",

dashboards-reports/yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2508,10 +2508,10 @@ domhandler@^3.0, domhandler@^3.0.0:
25082508
dependencies:
25092509
domelementtype "^2.0.1"
25102510

2511-
dompurify@^2.3.8:
2512-
version "2.3.8"
2513-
resolved "https://registry.yarnpkg.com/dompurify/-/dompurify-2.3.8.tgz#224fe9ae57d7ebd9a1ae1ac18c1c1ca3f532226f"
2514-
integrity sha512-eVhaWoVibIzqdGYjwsBWodIQIaXFSB+cKDf4cfxLMsK0xiud6SE+/WCVx/Xw/UwQsa4cS3T2eITcdtmTg2UKcw==
2511+
dompurify@^2.4.1:
2512+
version "2.4.1"
2513+
resolved "https://registry.yarnpkg.com/dompurify/-/dompurify-2.4.1.tgz#f9cb1a275fde9af6f2d0a2644ef648dd6847b631"
2514+
integrity sha512-ewwFzHzrrneRjxzmK6oVz/rZn9VWspGFRDb4/rRtIsM1n36t9AKma/ye8syCpcw+XJ25kOK/hOG7t1j2I2yBqA==
25152515

25162516
domutils@^2.0.0:
25172517
version "2.2.0"

reports-scheduler/build.gradle

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ buildscript {
2727
common_utils_version = System.getProperty("common_utils.version", opensearch_build)
2828
job_scheduler_version = System.getProperty("job_scheduler.version", opensearch_build)
2929
kotlin_version = System.getProperty("kotlin.version", "1.6.0")
30-
jackson_version = "2.14.1"
3130
}
3231

3332
repositories {
@@ -166,10 +165,8 @@ dependencies {
166165
implementation group: 'com.google.guava', name: 'guava', version: '31.0.1-jre'
167166
implementation "org.json:json:20180813"
168167
implementation group: 'com.github.wnameless.json', name: 'json-flattener', version: '0.15.1'
169-
// json-base, jackson-databind, jackson-annotations are transitive dependencies by json-flattener
168+
// json-base is transitive dependencies by json-flattener
170169
implementation group: 'com.github.wnameless.json', name: 'json-base', version: '2.2.1'
171-
implementation "com.fasterxml.jackson.core:jackson-databind:${jackson_version}"
172-
implementation "com.fasterxml.jackson.core:jackson-annotations:${jackson_version}"
173170
implementation 'org.jsoup:jsoup:1.15.3'
174171
implementation 'com.google.code.gson:gson:2.8.9'
175172
implementation "org.jetbrains.kotlin:kotlin-test:${kotlin_version}"

0 commit comments

Comments
 (0)