From c5f1fb5b586265cfce29677e005245e20bb233ca Mon Sep 17 00:00:00 2001 From: Wojciech Tobis Date: Tue, 18 Aug 2026 15:34:38 +0200 Subject: [PATCH 1/8] fix(ui): bump vulnerable transitive npm dependencies Pin brace-expansion, dompurify, shell-quote, @xmldom/xmldom, @babel/plugin-transform-modules-systemjs, @remix-run/router, @babel/runtime, lodash, @babel/helpers, lodash-es, jspdf, and canvg to safe versions via package.json overrides and regenerate package-lock.json. lodash is pinned to 4.18.1 rather than the 4.18.0 remediation version called out in VULN-107502: lodash@4.18.0 is deprecated upstream as a "Bad release", so 4.18.1 (current latest, still >= the required fix) is used instead. Likewise @xmldom/xmldom is pinned to 0.8.14 rather than 0.8.13: the entire 0.8.10-0.8.13 line is deprecated upstream as having "critical issues". Fixes VULN-107633, VULN-107579, VULN-107548, VULN-107532, VULN-107526, VULN-107522, VULN-107503, VULN-107502, VULN-107499, VULN-107496, VULN-107495, VULN-107481 --- ui/package-lock.json | 348 ++++++++++++++++++++++--------------------- ui/package.json | 16 +- 2 files changed, 196 insertions(+), 168 deletions(-) diff --git a/ui/package-lock.json b/ui/package-lock.json index e596aea..696164b 100644 --- a/ui/package-lock.json +++ b/ui/package-lock.json @@ -80,14 +80,14 @@ } }, "node_modules/@babel/code-frame": { - "version": "7.26.2", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.26.2.tgz", - "integrity": "sha512-RJlIHRueQgwWitWgF8OdFYGZX328Ax5BCemNGlqHfplnRT9ESi8JkFlvaVYbS+UubVY6dpv87Fs2u5M29iNFVQ==", + "version": "7.29.7", + "resolved": "https://repo.splunkdev.net:443/artifactory/api/npm/npm/@babel/code-frame/-/code-frame-7.29.7.tgz", + "integrity": "sha512-Aup7aUOfpbAUg2ROOJN6Iw5f9DMBlzu0mIkm/malLQFN/YQgO48wCj0Kxa3sEHJvPVFg7siR+qRInwXd2qhQKw==", "license": "MIT", "dependencies": { - "@babel/helper-validator-identifier": "^7.25.9", + "@babel/helper-validator-identifier": "^7.29.7", "js-tokens": "^4.0.0", - "picocolors": "^1.0.0" + "picocolors": "^1.1.1" }, "engines": { "node": ">=6.9.0" @@ -152,15 +152,15 @@ } }, "node_modules/@babel/generator": { - "version": "7.26.9", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.26.9.tgz", - "integrity": "sha512-kEWdzjOAUMW4hAyrzJ0ZaTOu9OmpyDIQicIh0zg0EEcEkYXZb2TjtBhnHi2ViX7PKwZqF4xwqfAm299/QMP3lg==", + "version": "7.29.8", + "resolved": "https://repo.splunkdev.net:443/artifactory/api/npm/npm/@babel/generator/-/generator-7.29.8.tgz", + "integrity": "sha512-gZbepsdh3WDtgZKWL+vTPh71LSBrm/Y4/QDZBVCcYfmeTEEuoOYwlSy+G1StfJg+/Zy550u/3TATbm7qDbbMtg==", "license": "MIT", "dependencies": { - "@babel/parser": "^7.26.9", - "@babel/types": "^7.26.9", - "@jridgewell/gen-mapping": "^0.3.5", - "@jridgewell/trace-mapping": "^0.3.25", + "@babel/parser": "^7.29.8", + "@babel/types": "^7.29.8", + "@jridgewell/gen-mapping": "^0.3.12", + "@jridgewell/trace-mapping": "^0.3.28", "jsesc": "^3.0.2" }, "engines": { @@ -249,6 +249,15 @@ "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" } }, + "node_modules/@babel/helper-globals": { + "version": "7.29.7", + "resolved": "https://repo.splunkdev.net:443/artifactory/api/npm/npm/@babel/helper-globals/-/helper-globals-7.29.7.tgz", + "integrity": "sha512-3nQVUAtvkKH9zahfWgw96Jc/uFOmjACE1kQz82E2lqWmHBgjzbNlsC22nuQTfahmWeQtTq5nQ/4Nnd2A1wj4zA==", + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, "node_modules/@babel/helper-member-expression-to-functions": { "version": "7.25.9", "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.25.9.tgz", @@ -263,27 +272,27 @@ } }, "node_modules/@babel/helper-module-imports": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.25.9.tgz", - "integrity": "sha512-tnUA4RsrmflIM6W6RFTLFSXITtl0wKjgpnLgXyowocVPrbYrLUXSBXDgTs8BlbmIzIdlBySRQjINYs2BAkiLtw==", + "version": "7.29.7", + "resolved": "https://repo.splunkdev.net:443/artifactory/api/npm/npm/@babel/helper-module-imports/-/helper-module-imports-7.29.7.tgz", + "integrity": "sha512-ejHwrQQYcm9xnTivShn2IDOlIzInN34AXskvq9QicvCtEzq1Vzclu/tKF8Jq1Cg8JG2GL6/EmjgsCT7lXepE3g==", "license": "MIT", "dependencies": { - "@babel/traverse": "^7.25.9", - "@babel/types": "^7.25.9" + "@babel/traverse": "^7.29.7", + "@babel/types": "^7.29.7" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-module-transforms": { - "version": "7.26.0", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.26.0.tgz", - "integrity": "sha512-xO+xu6B5K2czEnQye6BHA7DolFFmS3LB7stHZFaOLb1pAwO1HWLS8fXA+eh0A2yIvltPVmx3eNNDBJA2SLHXFw==", + "version": "7.29.7", + "resolved": "https://repo.splunkdev.net:443/artifactory/api/npm/npm/@babel/helper-module-transforms/-/helper-module-transforms-7.29.7.tgz", + "integrity": "sha512-UPUVSyXbOh627KiCIGQSgwWzGeBKLkaJ9PJEdrngIwMSzxLR4jS4+f1f1jb7VzBbg8nFLaYotvVPFCTqdrmTAg==", "license": "MIT", "dependencies": { - "@babel/helper-module-imports": "^7.25.9", - "@babel/helper-validator-identifier": "^7.25.9", - "@babel/traverse": "^7.25.9" + "@babel/helper-module-imports": "^7.29.7", + "@babel/helper-validator-identifier": "^7.29.7", + "@babel/traverse": "^7.29.7" }, "engines": { "node": ">=6.9.0" @@ -305,9 +314,9 @@ } }, "node_modules/@babel/helper-plugin-utils": { - "version": "7.26.5", - "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.26.5.tgz", - "integrity": "sha512-RS+jZcRdZdRFzMyr+wcsaqOmld1/EqTghfaBGQQd/WnRdzdlvSZ//kF7U8VQTxf1ynZ4cjUcYgjVGx13ewNPMg==", + "version": "7.29.7", + "resolved": "https://repo.splunkdev.net:443/artifactory/api/npm/npm/@babel/helper-plugin-utils/-/helper-plugin-utils-7.29.7.tgz", + "integrity": "sha512-G7sHYigPY17oO5SYWnfD/0MTBwVR781S/JI643e/JhUYgVgWE/61SoW3NH9KWUKyKq5LVh3npif99Wkt6j86Jw==", "license": "MIT", "engines": { "node": ">=6.9.0" @@ -361,18 +370,18 @@ } }, "node_modules/@babel/helper-string-parser": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.25.9.tgz", - "integrity": "sha512-4A/SCr/2KLd5jrtOMFzaKjVtAei3+2r/NChoBNoZ3EyP/+GlhoaEGoWOZUmFmoITP7zOJyHIMm+DYRd8o3PvHA==", + "version": "7.29.7", + "resolved": "https://repo.splunkdev.net:443/artifactory/api/npm/npm/@babel/helper-string-parser/-/helper-string-parser-7.29.7.tgz", + "integrity": "sha512-Pb5ijPrZ89GDH8223L4UP8i6QApWxs04RbPQJTeWDV0/keR2E36MeKnyr6LYmUUvqRRI+Iv87SuF1W6ErINzYw==", "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-validator-identifier": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.25.9.tgz", - "integrity": "sha512-Ed61U6XJc3CVRfkERJWDz4dJwKe7iLmmJsbOGu9wSloNSFttHV0I8g6UAgb7qnK5ly5bGLPd4oXZlxCdANBOWQ==", + "version": "7.29.7", + "resolved": "https://repo.splunkdev.net:443/artifactory/api/npm/npm/@babel/helper-validator-identifier/-/helper-validator-identifier-7.29.7.tgz", + "integrity": "sha512-qehxGkRj55h/ff8EMaJ+cYhyaKlHIxqYDn682wQD7RNp9UujOQsHog2uS0r2vzr4pW+sXf90NeeayjcNaX3fFg==", "license": "MIT", "engines": { "node": ">=6.9.0" @@ -402,25 +411,25 @@ } }, "node_modules/@babel/helpers": { - "version": "7.26.9", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.26.9.tgz", - "integrity": "sha512-Mz/4+y8udxBKdmzt/UjPACs4G3j5SshJJEFFKxlCGPydG4JAHXxjWjAwjd09tf6oINvl1VfMJo+nB7H2YKQ0dA==", + "version": "7.26.10", + "resolved": "https://repo.splunkdev.net:443/artifactory/api/npm/npm/@babel/helpers/-/helpers-7.26.10.tgz", + "integrity": "sha512-UPYc3SauzZ3JGgj87GgZ89JVdC5dj0AoetR5Bw6wj4niittNyFh6+eOGonYvJ1ao6B8lEa3Q3klS7ADZ53bc5g==", "license": "MIT", "dependencies": { "@babel/template": "^7.26.9", - "@babel/types": "^7.26.9" + "@babel/types": "^7.26.10" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/parser": { - "version": "7.26.9", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.26.9.tgz", - "integrity": "sha512-81NWa1njQblgZbQHxWHpxxCzNsa3ZwvFqpUg7P+NNUU6f3UU2jBEg4OlF/J6rl8+PQGh1q6/zWScd001YwcA5A==", + "version": "7.29.8", + "resolved": "https://repo.splunkdev.net:443/artifactory/api/npm/npm/@babel/parser/-/parser-7.29.8.tgz", + "integrity": "sha512-E8lTAYNB1KW+FH+VGJuZM1ioAx2E6oVlvQFRrf5P8ZZmsiJXYAD9vTFV7yyEURNzgh1dFqMZuO6tUwcARbqFCA==", "license": "MIT", "dependencies": { - "@babel/types": "^7.26.9" + "@babel/types": "^7.29.8" }, "bin": { "parser": "bin/babel-parser.js" @@ -1279,15 +1288,15 @@ } }, "node_modules/@babel/plugin-transform-modules-systemjs": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.25.9.tgz", - "integrity": "sha512-hyss7iIlH/zLHaehT+xwiymtPOpsiwIIRlCAOwBB04ta5Tt+lNItADdlXw3jAWZ96VJ2jlhl/c+PNIQPKNfvcA==", + "version": "7.29.4", + "resolved": "https://repo.splunkdev.net:443/artifactory/api/npm/npm/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.29.4.tgz", + "integrity": "sha512-N7QmZ0xRZfjHOfZeQLJjwgX2zS9pdGHSVl/cjSGlo4dXMqvurfxXDMKY4RqEKzPozV78VMcd0lxyG13mlbKc4w==", "license": "MIT", "dependencies": { - "@babel/helper-module-transforms": "^7.25.9", - "@babel/helper-plugin-utils": "^7.25.9", - "@babel/helper-validator-identifier": "^7.25.9", - "@babel/traverse": "^7.25.9" + "@babel/helper-module-transforms": "^7.28.6", + "@babel/helper-plugin-utils": "^7.28.6", + "@babel/helper-validator-identifier": "^7.28.5", + "@babel/traverse": "^7.29.0" }, "engines": { "node": ">=6.9.0" @@ -2142,9 +2151,9 @@ } }, "node_modules/@babel/runtime": { - "version": "7.26.9", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.26.9.tgz", - "integrity": "sha512-aA63XwOkcl4xxQa3HjPMqOP6LiK0ZDv3mUPYEFXkpHbaFjtGggE1A61FjFzJnB+p7/oy2gA8E+rcBNl/zC1tMg==", + "version": "7.26.10", + "resolved": "https://repo.splunkdev.net:443/artifactory/api/npm/npm/@babel/runtime/-/runtime-7.26.10.tgz", + "integrity": "sha512-2WJMeRQPHKSPemqk/awGrAiuFfzBmOIPXKizAsVhWH9YJqLZ0H+HS4c8loHGgW6utJ3E/ejXQUsiGaQy2NZ9Fw==", "license": "MIT", "dependencies": { "regenerator-runtime": "^0.14.0" @@ -2154,32 +2163,32 @@ } }, "node_modules/@babel/template": { - "version": "7.26.9", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.26.9.tgz", - "integrity": "sha512-qyRplbeIpNZhmzOysF/wFMuP9sctmh2cFzRAZOn1YapxBsE1i9bJIY586R/WBLfLcmcBlM8ROBiQURnnNy+zfA==", + "version": "7.29.7", + "resolved": "https://repo.splunkdev.net:443/artifactory/api/npm/npm/@babel/template/-/template-7.29.7.tgz", + "integrity": "sha512-puq+Gf35oI24FeN11LkoUQFqv9uwNeWpxXZi/Ji3rRIoKAzKnxRaZ+Gkj0vKS9ZCiTESfng1N9LyOyXvo+m+Gg==", "license": "MIT", "dependencies": { - "@babel/code-frame": "^7.26.2", - "@babel/parser": "^7.26.9", - "@babel/types": "^7.26.9" + "@babel/code-frame": "^7.29.7", + "@babel/parser": "^7.29.7", + "@babel/types": "^7.29.7" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/traverse": { - "version": "7.26.9", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.26.9.tgz", - "integrity": "sha512-ZYW7L+pL8ahU5fXmNbPF+iZFHCv5scFak7MZ9bwaRPLUhHh7QQEMjZUg0HevihoqCM5iSYHN61EyCoZvqC+bxg==", + "version": "7.29.8", + "resolved": "https://repo.splunkdev.net:443/artifactory/api/npm/npm/@babel/traverse/-/traverse-7.29.8.tgz", + "integrity": "sha512-I5z7H3bf/41ktsNVLtpN0wAa336HkqIHQ5BuPLEhTkt1jVSyZpeNKIzTgEWmlxjdg81R0IgUCcaE+Ok3NvrfZg==", "license": "MIT", "dependencies": { - "@babel/code-frame": "^7.26.2", - "@babel/generator": "^7.26.9", - "@babel/parser": "^7.26.9", - "@babel/template": "^7.26.9", - "@babel/types": "^7.26.9", - "debug": "^4.3.1", - "globals": "^11.1.0" + "@babel/code-frame": "^7.29.7", + "@babel/generator": "^7.29.8", + "@babel/helper-globals": "^7.29.7", + "@babel/parser": "^7.29.8", + "@babel/template": "^7.29.7", + "@babel/types": "^7.29.8", + "debug": "^4.3.1" }, "engines": { "node": ">=6.9.0" @@ -2215,23 +2224,14 @@ "node": ">=4" } }, - "node_modules/@babel/traverse/node_modules/globals": { - "version": "11.12.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", - "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", - "license": "MIT", - "engines": { - "node": ">=4" - } - }, "node_modules/@babel/types": { - "version": "7.26.9", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.26.9.tgz", - "integrity": "sha512-Y3IR1cRnOxOCDvMmNiym7XpXQ93iGDDPHx+Zj+NM+rg0fBaShfQLkg+hKPaZCEvg5N/LeCo4+Rj/i3FuJsIQaw==", + "version": "7.29.8", + "resolved": "https://repo.splunkdev.net:443/artifactory/api/npm/npm/@babel/types/-/types-7.29.8.tgz", + "integrity": "sha512-Vj1jF3cPfxg7OAfoI7QnVKLoILlm2JF9pnVHrX8qx7AHMiYWT+NDAA7jChlNgRS4WTLc/fD1lXLmPixluj+3Gg==", "license": "MIT", "dependencies": { - "@babel/helper-string-parser": "^7.25.9", - "@babel/helper-validator-identifier": "^7.25.9" + "@babel/helper-string-parser": "^7.29.7", + "@babel/helper-validator-identifier": "^7.29.7" }, "engines": { "node": ">=6.9.0" @@ -3573,17 +3573,13 @@ } }, "node_modules/@jridgewell/gen-mapping": { - "version": "0.3.8", - "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.8.tgz", - "integrity": "sha512-imAbBGkb+ebQyxKgzv5Hu2nmROxoDOXHh80evxdoXNOrvAnVx7zimzc1Oo5h9RlfV4vPXaE2iM5pOFbvOCClWA==", + "version": "0.3.13", + "resolved": "https://repo.splunkdev.net:443/artifactory/api/npm/npm/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz", + "integrity": "sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==", "license": "MIT", "dependencies": { - "@jridgewell/set-array": "^1.2.1", - "@jridgewell/sourcemap-codec": "^1.4.10", + "@jridgewell/sourcemap-codec": "^1.5.0", "@jridgewell/trace-mapping": "^0.3.24" - }, - "engines": { - "node": ">=6.0.0" } }, "node_modules/@jridgewell/resolve-uri": { @@ -3595,15 +3591,6 @@ "node": ">=6.0.0" } }, - "node_modules/@jridgewell/set-array": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.2.1.tgz", - "integrity": "sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==", - "license": "MIT", - "engines": { - "node": ">=6.0.0" - } - }, "node_modules/@jridgewell/source-map": { "version": "0.3.6", "resolved": "https://registry.npmjs.org/@jridgewell/source-map/-/source-map-0.3.6.tgz", @@ -3622,9 +3609,9 @@ "license": "MIT" }, "node_modules/@jridgewell/trace-mapping": { - "version": "0.3.25", - "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz", - "integrity": "sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==", + "version": "0.3.31", + "resolved": "https://repo.splunkdev.net:443/artifactory/api/npm/npm/@jridgewell/trace-mapping/-/trace-mapping-0.3.31.tgz", + "integrity": "sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==", "license": "MIT", "dependencies": { "@jridgewell/resolve-uri": "^3.1.0", @@ -4381,9 +4368,9 @@ } }, "node_modules/@remix-run/router": { - "version": "1.20.0", - "resolved": "https://registry.npmjs.org/@remix-run/router/-/router-1.20.0.tgz", - "integrity": "sha512-mUnk8rPJBI9loFDZ+YzPGdeniYK+FTmRD1TMCz7ev2SNIozyKKpnGgsxO34u6Z4z/t0ITuu7voi/AshfsGsgFg==", + "version": "1.23.3", + "resolved": "https://repo.splunkdev.net:443/artifactory/api/npm/npm/@remix-run/router/-/router-1.23.3.tgz", + "integrity": "sha512-4An71tdz9X8+3sI4Qqqd2LWd9vS39J7sqd9EU4Scw7TJE/qB10Flv/UuqbPVgfQV9XoK8Np6jNquZitnZq5i+Q==", "license": "MIT", "engines": { "node": ">=14.0.0" @@ -7047,6 +7034,12 @@ "@types/node": "*" } }, + "node_modules/@types/pako": { + "version": "2.0.4", + "resolved": "https://repo.splunkdev.net:443/artifactory/api/npm/npm/@types/pako/-/pako-2.0.4.tgz", + "integrity": "sha512-VWDCbrLeVXJM9fihYodcLiIv0ku+AlOa/TQ1SvYOaBuyrSKgEcro95LJyIsJ4vSo6BXIxOKxiJAat04CmST9Fw==", + "license": "MIT" + }, "node_modules/@types/pbf": { "version": "3.0.5", "resolved": "https://registry.npmjs.org/@types/pbf/-/pbf-3.0.5.tgz", @@ -7068,7 +7061,7 @@ }, "node_modules/@types/raf": { "version": "3.4.3", - "resolved": "https://registry.npmjs.org/@types/raf/-/raf-3.4.3.tgz", + "resolved": "https://repo.splunkdev.net:443/artifactory/api/npm/npm/@types/raf/-/raf-3.4.3.tgz", "integrity": "sha512-c4YAvMedbPZ5tEyxzQdMoOhhJ4RD3rngZIdwC2/qDN3d7JpEhB6fiBRKVY1lg5B7Wk+uPBjn5f39j1/2MY1oOw==", "license": "MIT", "optional": true @@ -7213,6 +7206,13 @@ "dev": true, "license": "MIT" }, + "node_modules/@types/trusted-types": { + "version": "2.0.7", + "resolved": "https://repo.splunkdev.net:443/artifactory/api/npm/npm/@types/trusted-types/-/trusted-types-2.0.7.tgz", + "integrity": "sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw==", + "license": "MIT", + "optional": true + }, "node_modules/@types/use-sync-external-store": { "version": "0.0.3", "resolved": "https://registry.npmjs.org/@types/use-sync-external-store/-/use-sync-external-store-0.0.3.tgz", @@ -7787,9 +7787,9 @@ } }, "node_modules/@xmldom/xmldom": { - "version": "0.8.10", - "resolved": "https://registry.npmjs.org/@xmldom/xmldom/-/xmldom-0.8.10.tgz", - "integrity": "sha512-2WALfTl4xo2SkGCYRt6rDTFfk9R1czmBvUQy12gK2KuRKIpWEhcbbzy8EZXtz/jkRqHX8bFEc6FC1HjX4TUWYw==", + "version": "0.8.14", + "resolved": "https://repo.splunkdev.net:443/artifactory/api/npm/npm/@xmldom/xmldom/-/xmldom-0.8.14.tgz", + "integrity": "sha512-T4EDRUBVZYRldYApjEJiU0e1stYWaRAX7CuSnKzrpwdZKo53zGV8/pqfzV6FfwNl9YThD2OumQYvqtvjvgG7aQ==", "license": "MIT", "engines": { "node": ">=10.0.0" @@ -8170,18 +8170,6 @@ "dev": true, "license": "MIT" }, - "node_modules/atob": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz", - "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==", - "license": "(MIT OR Apache-2.0)", - "bin": { - "atob": "bin/atob.js" - }, - "engines": { - "node": ">= 4.5.0" - } - }, "node_modules/available-typed-arrays": { "version": "1.0.7", "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.7.tgz", @@ -8607,9 +8595,9 @@ } }, "node_modules/brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "version": "1.1.18", + "resolved": "https://repo.splunkdev.net:443/artifactory/api/npm/npm/brace-expansion/-/brace-expansion-1.1.18.tgz", + "integrity": "sha512-Edep/X9fGqVNmzKBVsDYIOtD+z1tuezV70LBjdCst9Tqu76lsnvRiZ6oTic1n+/BIwX6QDGAO94PN4N2SADvtw==", "license": "MIT", "dependencies": { "balanced-match": "^1.0.0", @@ -8675,18 +8663,6 @@ "node-int64": "^0.4.0" } }, - "node_modules/btoa": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/btoa/-/btoa-1.2.1.tgz", - "integrity": "sha512-SB4/MIGlsiVkMcHmT+pSmIPoNDoHg+7cMzmt3Uxt628MTz2487DKSqK/fuhFBrkuqrYv5UCEnACpF4dTFNKc/g==", - "license": "(MIT OR Apache-2.0)", - "bin": { - "btoa": "bin/btoa.js" - }, - "engines": { - "node": ">= 0.4.0" - } - }, "node_modules/buffer": { "version": "6.0.3", "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz", @@ -8895,9 +8871,9 @@ "license": "CC-BY-4.0" }, "node_modules/canvg": { - "version": "3.0.10", - "resolved": "https://registry.npmjs.org/canvg/-/canvg-3.0.10.tgz", - "integrity": "sha512-qwR2FRNO9NlzTeKIPIKpnTY6fqwuYSequ8Ru8c0YkYU7U0oW+hLUvWadLvAu1Rl72OMNiFhoLu4f8eUjQ7l/+Q==", + "version": "3.0.11", + "resolved": "https://repo.splunkdev.net:443/artifactory/api/npm/npm/canvg/-/canvg-3.0.11.tgz", + "integrity": "sha512-5ON+q7jCTgMp9cjpu4Jo6XbvfYwSB2Ow3kzHKfIyJfaCAOHLbdKPQqGKgfED/R5B+3TFFfe8pegYA+b423SRyA==", "license": "MIT", "optional": true, "dependencies": { @@ -8916,7 +8892,7 @@ }, "node_modules/canvg/node_modules/regenerator-runtime": { "version": "0.13.11", - "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz", + "resolved": "https://repo.splunkdev.net:443/artifactory/api/npm/npm/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz", "integrity": "sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg==", "license": "MIT", "optional": true @@ -9409,12 +9385,15 @@ "license": "MIT" }, "node_modules/core-js": { - "version": "3.40.0", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.40.0.tgz", - "integrity": "sha512-7vsMc/Lty6AGnn7uFpYT56QesI5D2Y/UkgKounk87OP9Z2H9Z8kj6jzcSGAxFmUtDOS0ntK6lbQz+Nsa0Jj6mQ==", + "version": "3.50.0", + "resolved": "https://repo.splunkdev.net:443/artifactory/api/npm/npm/core-js/-/core-js-3.50.0.tgz", + "integrity": "sha512-BRWgOLKkFeCgRudR6zrs8p9XJZcE14grzKMMssoYrk6krtuEZ7MTKPIY5RzOnqsEKIR9kst7wNzphttraT+Yqw==", "hasInstallScript": true, "license": "MIT", "optional": true, + "engines": { + "node": "*" + }, "funding": { "type": "opencollective", "url": "https://opencollective.com/core-js" @@ -10155,11 +10134,14 @@ } }, "node_modules/dompurify": { - "version": "2.5.8", - "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-2.5.8.tgz", - "integrity": "sha512-o1vSNgrmYMQObbSSvF/1brBYEQPHhV1+gsmrusO7/GXtp1T9rCS8cXFqVxK/9crT1jA6Ccv+5MTSjBNqr7Sovw==", + "version": "3.4.12", + "resolved": "https://repo.splunkdev.net:443/artifactory/api/npm/npm/dompurify/-/dompurify-3.4.12.tgz", + "integrity": "sha512-zQvGet8Z2sWbQhCmfFz/T5QWH2oBmjnqK3qvOjaqaNLrLEF912WamU+ohnTp0TCep/MFVHpdJuCZEdFOdTnEFg==", "license": "(MPL-2.0 OR Apache-2.0)", - "optional": true + "optional": true, + "optionalDependencies": { + "@types/trusted-types": "^2.0.7" + } }, "node_modules/dunder-proto": { "version": "1.0.1", @@ -11124,6 +11106,17 @@ "dev": true, "license": "MIT" }, + "node_modules/fast-png": { + "version": "6.4.0", + "resolved": "https://repo.splunkdev.net:443/artifactory/api/npm/npm/fast-png/-/fast-png-6.4.0.tgz", + "integrity": "sha512-kAqZq1TlgBjZcLr5mcN6NP5Rv4V2f22z00c3g8vRrwkcqjerx7BEhPbOnWCPqaHUl2XWQBJQvOT/FQhdMT7X/Q==", + "license": "MIT", + "dependencies": { + "@types/pako": "^2.0.3", + "iobuffer": "^5.3.2", + "pako": "^2.1.0" + } + }, "node_modules/fast-uri": { "version": "3.0.6", "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.0.6.tgz", @@ -12344,6 +12337,12 @@ "loose-envify": "^1.0.0" } }, + "node_modules/iobuffer": { + "version": "5.4.0", + "resolved": "https://repo.splunkdev.net:443/artifactory/api/npm/npm/iobuffer/-/iobuffer-5.4.0.tgz", + "integrity": "sha512-DRebOWuqDvxunfkNJAlc3IzWIPD5xVxwUNbHr7xKB8E6aLJxIPfNX3CoMJghcFjpv6RWQsrcJbghtEwSPoJqMA==", + "license": "MIT" + }, "node_modules/ipaddr.js": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-2.2.0.tgz", @@ -14190,20 +14189,19 @@ } }, "node_modules/jspdf": { - "version": "2.5.2", - "resolved": "https://registry.npmjs.org/jspdf/-/jspdf-2.5.2.tgz", - "integrity": "sha512-myeX9c+p7znDWPk0eTrujCzNjT+CXdXyk7YmJq5nD5V7uLLKmSXnlQ/Jn/kuo3X09Op70Apm0rQSnFWyGK8uEQ==", + "version": "4.2.1", + "resolved": "https://repo.splunkdev.net:443/artifactory/api/npm/npm/jspdf/-/jspdf-4.2.1.tgz", + "integrity": "sha512-YyAXyvnmjTbR4bHQRLzex3CuINCDlQnBqoSYyjJwTP2x9jDLuKDzy7aKUl0hgx3uhcl7xzg32agn5vlie6HIlQ==", "license": "MIT", "dependencies": { - "@babel/runtime": "^7.23.2", - "atob": "^2.1.2", - "btoa": "^1.2.1", + "@babel/runtime": "^7.28.6", + "fast-png": "^6.2.0", "fflate": "^0.8.1" }, "optionalDependencies": { - "canvg": "^3.0.6", + "canvg": "^3.0.11", "core-js": "^3.6.0", - "dompurify": "^2.5.4", + "dompurify": "^3.3.1", "html2canvas": "^1.0.0-rc.5" } }, @@ -14388,15 +14386,15 @@ } }, "node_modules/lodash": { - "version": "4.17.21", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", + "version": "4.18.1", + "resolved": "https://repo.splunkdev.net:443/artifactory/api/npm/npm/lodash/-/lodash-4.18.1.tgz", + "integrity": "sha512-dMInicTPVE8d1e5otfwmmjlxkZoUpiVLwyeTdUsi/Caj/gfzzblBcCE5sRHV/AsjuCmxWrte2TNGSYuCeCq+0Q==", "license": "MIT" }, "node_modules/lodash-es": { - "version": "4.17.21", - "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.21.tgz", - "integrity": "sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==", + "version": "4.18.1", + "resolved": "https://repo.splunkdev.net:443/artifactory/api/npm/npm/lodash-es/-/lodash-es-4.18.1.tgz", + "integrity": "sha512-J8xewKD/Gk22OZbhpOVSwcs60zhd95ESDwezOFuA3/099925PdHJ7OFHNTGtajL3AlZkykD32HykiMo+BIBI8A==", "license": "MIT" }, "node_modules/lodash.assign": { @@ -15675,6 +15673,22 @@ "node": ">=6" } }, + "node_modules/pako": { + "version": "2.2.0", + "resolved": "https://repo.splunkdev.net:443/artifactory/api/npm/npm/pako/-/pako-2.2.0.tgz", + "integrity": "sha512-zJq6RP/5q+TO2OpFV3FHzlPnFjmkb7Nc99a5SNjJE+uu/PkpChs+NIZSSzbBoD+6kjiISXjfYdwj1ZRQ81dz/w==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/puzrin" + }, + { + "type": "github", + "url": "https://github.com/sponsors/nodeca" + } + ], + "license": "(MIT AND Zlib)" + }, "node_modules/parent-module": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", @@ -15826,7 +15840,7 @@ }, "node_modules/performance-now": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", + "resolved": "https://repo.splunkdev.net:443/artifactory/api/npm/npm/performance-now/-/performance-now-2.1.0.tgz", "integrity": "sha512-7EAHlyLHI56VEIdK57uwHdHKIaAGbnXPiw0yWbarQZOKaKpvUIgW0jWRVLiatnM+XXlSwsanIBH/hzGMJulMow==", "license": "MIT", "optional": true @@ -16198,7 +16212,7 @@ }, "node_modules/raf": { "version": "3.4.1", - "resolved": "https://registry.npmjs.org/raf/-/raf-3.4.1.tgz", + "resolved": "https://repo.splunkdev.net:443/artifactory/api/npm/npm/raf/-/raf-3.4.1.tgz", "integrity": "sha512-Sq4CW4QhwOHE8ucn6J34MqtZCeWFP2aQSmrlroYgqAV1PjStIhJXxYuTgUIfkEk7zTLjmIjLmU5q+fbD1NnOJA==", "license": "MIT", "optional": true, @@ -17066,7 +17080,7 @@ }, "node_modules/rgbcolor": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/rgbcolor/-/rgbcolor-1.0.1.tgz", + "resolved": "https://repo.splunkdev.net:443/artifactory/api/npm/npm/rgbcolor/-/rgbcolor-1.0.1.tgz", "integrity": "sha512-9aZLIrhRaD97sgVhtJOW6ckOEh6/GnvQtdVNfdZ6s67+3/XwLS9lBcQYzEEhYVeUowN7pRzMLsyGhK2i/xvWbw==", "license": "MIT OR SEE LICENSE IN FEEL-FREE.md", "optional": true, @@ -17586,9 +17600,9 @@ } }, "node_modules/shell-quote": { - "version": "1.8.2", - "resolved": "https://registry.npmjs.org/shell-quote/-/shell-quote-1.8.2.tgz", - "integrity": "sha512-AzqKpGKjrj7EM6rKVQEPpB288oCfnrEIuyoT9cyF4nmGa7V8Zk6f7RRqYisX8X9m+Q7bd632aZW4ky7EhbQztA==", + "version": "1.9.0", + "resolved": "https://repo.splunkdev.net:443/artifactory/api/npm/npm/shell-quote/-/shell-quote-1.9.0.tgz", + "integrity": "sha512-Iov+JwFv/2HcTpcwNMKd8+IWNb8tboQJNQTkAY/LLVK7gGH9jy+LGkVqPxfekHl+yMmiqXszdGWXgkfml7hjqA==", "license": "MIT", "engines": { "node": ">= 0.4" @@ -17870,7 +17884,7 @@ }, "node_modules/stackblur-canvas": { "version": "2.7.0", - "resolved": "https://registry.npmjs.org/stackblur-canvas/-/stackblur-canvas-2.7.0.tgz", + "resolved": "https://repo.splunkdev.net:443/artifactory/api/npm/npm/stackblur-canvas/-/stackblur-canvas-2.7.0.tgz", "integrity": "sha512-yf7OENo23AGJhBriGx0QivY5JP6Y1HbrrDI6WLt6C5auYZXlQrheoY8hD4ibekFKz1HOfE48Ww8kMWMnJD/zcQ==", "license": "MIT", "optional": true, @@ -18177,7 +18191,7 @@ }, "node_modules/svg-pathdata": { "version": "6.0.3", - "resolved": "https://registry.npmjs.org/svg-pathdata/-/svg-pathdata-6.0.3.tgz", + "resolved": "https://repo.splunkdev.net:443/artifactory/api/npm/npm/svg-pathdata/-/svg-pathdata-6.0.3.tgz", "integrity": "sha512-qsjeeq5YjBZ5eMdFuUa4ZosMLxgr5RZ+F+Y1OrDhuOCEInRMA3x74XdBtggJcj9kOeInz0WE+LgCPDkZFlBYJw==", "license": "MIT", "optional": true, diff --git a/ui/package.json b/ui/package.json index cd82a3e..02e74c9 100644 --- a/ui/package.json +++ b/ui/package.json @@ -66,7 +66,21 @@ "react": "16.14.0", "react-dom": "16.14.0", "@types/react": "16.14.62", - "@types/react-dom": "16.9.25" + "@types/react-dom": "16.9.25", + "minimatch@3.1.2": { + "brace-expansion": "1.1.18" + }, + "dompurify": "3.4.12", + "shell-quote": "1.9.0", + "@xmldom/xmldom": "0.8.14", + "@babel/plugin-transform-modules-systemjs": "7.29.4", + "@remix-run/router": "1.23.3", + "@babel/runtime": "7.26.10", + "lodash": "4.18.1", + "@babel/helpers": "7.26.10", + "lodash-es": "4.18.1", + "jspdf": "4.2.1", + "canvg": "3.0.11" }, "engines": { "node": ">=22", From 376cc97e74ee13a06106eb5657c1cd66dcb7d8d2 Mon Sep 17 00:00:00 2001 From: Wojciech Tobis Date: Tue, 18 Aug 2026 16:10:55 +0200 Subject: [PATCH 2/8] fix(ui): use public registry for dependencies --- ui/package-lock.json | 91 ++++++++++++++++++++------------------------ ui/package.json | 2 +- 2 files changed, 42 insertions(+), 51 deletions(-) diff --git a/ui/package-lock.json b/ui/package-lock.json index 696164b..cdd71d1 100644 --- a/ui/package-lock.json +++ b/ui/package-lock.json @@ -81,7 +81,7 @@ }, "node_modules/@babel/code-frame": { "version": "7.29.7", - "resolved": "https://repo.splunkdev.net:443/artifactory/api/npm/npm/@babel/code-frame/-/code-frame-7.29.7.tgz", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.29.7.tgz", "integrity": "sha512-Aup7aUOfpbAUg2ROOJN6Iw5f9DMBlzu0mIkm/malLQFN/YQgO48wCj0Kxa3sEHJvPVFg7siR+qRInwXd2qhQKw==", "license": "MIT", "dependencies": { @@ -153,7 +153,7 @@ }, "node_modules/@babel/generator": { "version": "7.29.8", - "resolved": "https://repo.splunkdev.net:443/artifactory/api/npm/npm/@babel/generator/-/generator-7.29.8.tgz", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.29.8.tgz", "integrity": "sha512-gZbepsdh3WDtgZKWL+vTPh71LSBrm/Y4/QDZBVCcYfmeTEEuoOYwlSy+G1StfJg+/Zy550u/3TATbm7qDbbMtg==", "license": "MIT", "dependencies": { @@ -251,7 +251,7 @@ }, "node_modules/@babel/helper-globals": { "version": "7.29.7", - "resolved": "https://repo.splunkdev.net:443/artifactory/api/npm/npm/@babel/helper-globals/-/helper-globals-7.29.7.tgz", + "resolved": "https://registry.npmjs.org/@babel/helper-globals/-/helper-globals-7.29.7.tgz", "integrity": "sha512-3nQVUAtvkKH9zahfWgw96Jc/uFOmjACE1kQz82E2lqWmHBgjzbNlsC22nuQTfahmWeQtTq5nQ/4Nnd2A1wj4zA==", "license": "MIT", "engines": { @@ -273,7 +273,7 @@ }, "node_modules/@babel/helper-module-imports": { "version": "7.29.7", - "resolved": "https://repo.splunkdev.net:443/artifactory/api/npm/npm/@babel/helper-module-imports/-/helper-module-imports-7.29.7.tgz", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.29.7.tgz", "integrity": "sha512-ejHwrQQYcm9xnTivShn2IDOlIzInN34AXskvq9QicvCtEzq1Vzclu/tKF8Jq1Cg8JG2GL6/EmjgsCT7lXepE3g==", "license": "MIT", "dependencies": { @@ -286,7 +286,7 @@ }, "node_modules/@babel/helper-module-transforms": { "version": "7.29.7", - "resolved": "https://repo.splunkdev.net:443/artifactory/api/npm/npm/@babel/helper-module-transforms/-/helper-module-transforms-7.29.7.tgz", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.29.7.tgz", "integrity": "sha512-UPUVSyXbOh627KiCIGQSgwWzGeBKLkaJ9PJEdrngIwMSzxLR4jS4+f1f1jb7VzBbg8nFLaYotvVPFCTqdrmTAg==", "license": "MIT", "dependencies": { @@ -315,7 +315,7 @@ }, "node_modules/@babel/helper-plugin-utils": { "version": "7.29.7", - "resolved": "https://repo.splunkdev.net:443/artifactory/api/npm/npm/@babel/helper-plugin-utils/-/helper-plugin-utils-7.29.7.tgz", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.29.7.tgz", "integrity": "sha512-G7sHYigPY17oO5SYWnfD/0MTBwVR781S/JI643e/JhUYgVgWE/61SoW3NH9KWUKyKq5LVh3npif99Wkt6j86Jw==", "license": "MIT", "engines": { @@ -371,7 +371,7 @@ }, "node_modules/@babel/helper-string-parser": { "version": "7.29.7", - "resolved": "https://repo.splunkdev.net:443/artifactory/api/npm/npm/@babel/helper-string-parser/-/helper-string-parser-7.29.7.tgz", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.29.7.tgz", "integrity": "sha512-Pb5ijPrZ89GDH8223L4UP8i6QApWxs04RbPQJTeWDV0/keR2E36MeKnyr6LYmUUvqRRI+Iv87SuF1W6ErINzYw==", "license": "MIT", "engines": { @@ -380,7 +380,7 @@ }, "node_modules/@babel/helper-validator-identifier": { "version": "7.29.7", - "resolved": "https://repo.splunkdev.net:443/artifactory/api/npm/npm/@babel/helper-validator-identifier/-/helper-validator-identifier-7.29.7.tgz", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.29.7.tgz", "integrity": "sha512-qehxGkRj55h/ff8EMaJ+cYhyaKlHIxqYDn682wQD7RNp9UujOQsHog2uS0r2vzr4pW+sXf90NeeayjcNaX3fFg==", "license": "MIT", "engines": { @@ -412,7 +412,7 @@ }, "node_modules/@babel/helpers": { "version": "7.26.10", - "resolved": "https://repo.splunkdev.net:443/artifactory/api/npm/npm/@babel/helpers/-/helpers-7.26.10.tgz", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.26.10.tgz", "integrity": "sha512-UPYc3SauzZ3JGgj87GgZ89JVdC5dj0AoetR5Bw6wj4niittNyFh6+eOGonYvJ1ao6B8lEa3Q3klS7ADZ53bc5g==", "license": "MIT", "dependencies": { @@ -425,7 +425,7 @@ }, "node_modules/@babel/parser": { "version": "7.29.8", - "resolved": "https://repo.splunkdev.net:443/artifactory/api/npm/npm/@babel/parser/-/parser-7.29.8.tgz", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.29.8.tgz", "integrity": "sha512-E8lTAYNB1KW+FH+VGJuZM1ioAx2E6oVlvQFRrf5P8ZZmsiJXYAD9vTFV7yyEURNzgh1dFqMZuO6tUwcARbqFCA==", "license": "MIT", "dependencies": { @@ -1289,7 +1289,7 @@ }, "node_modules/@babel/plugin-transform-modules-systemjs": { "version": "7.29.4", - "resolved": "https://repo.splunkdev.net:443/artifactory/api/npm/npm/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.29.4.tgz", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.29.4.tgz", "integrity": "sha512-N7QmZ0xRZfjHOfZeQLJjwgX2zS9pdGHSVl/cjSGlo4dXMqvurfxXDMKY4RqEKzPozV78VMcd0lxyG13mlbKc4w==", "license": "MIT", "dependencies": { @@ -2151,20 +2151,17 @@ } }, "node_modules/@babel/runtime": { - "version": "7.26.10", - "resolved": "https://repo.splunkdev.net:443/artifactory/api/npm/npm/@babel/runtime/-/runtime-7.26.10.tgz", - "integrity": "sha512-2WJMeRQPHKSPemqk/awGrAiuFfzBmOIPXKizAsVhWH9YJqLZ0H+HS4c8loHGgW6utJ3E/ejXQUsiGaQy2NZ9Fw==", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.28.6.tgz", + "integrity": "sha512-05WQkdpL9COIMz4LjTxGpPNCdlpyimKppYNoJ5Di5EUObifl8t4tuLuUBBZEpoLYOmfvIWrsp9fCl0HoPRVTdA==", "license": "MIT", - "dependencies": { - "regenerator-runtime": "^0.14.0" - }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/template": { "version": "7.29.7", - "resolved": "https://repo.splunkdev.net:443/artifactory/api/npm/npm/@babel/template/-/template-7.29.7.tgz", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.29.7.tgz", "integrity": "sha512-puq+Gf35oI24FeN11LkoUQFqv9uwNeWpxXZi/Ji3rRIoKAzKnxRaZ+Gkj0vKS9ZCiTESfng1N9LyOyXvo+m+Gg==", "license": "MIT", "dependencies": { @@ -2178,7 +2175,7 @@ }, "node_modules/@babel/traverse": { "version": "7.29.8", - "resolved": "https://repo.splunkdev.net:443/artifactory/api/npm/npm/@babel/traverse/-/traverse-7.29.8.tgz", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.29.8.tgz", "integrity": "sha512-I5z7H3bf/41ktsNVLtpN0wAa336HkqIHQ5BuPLEhTkt1jVSyZpeNKIzTgEWmlxjdg81R0IgUCcaE+Ok3NvrfZg==", "license": "MIT", "dependencies": { @@ -2226,7 +2223,7 @@ }, "node_modules/@babel/types": { "version": "7.29.8", - "resolved": "https://repo.splunkdev.net:443/artifactory/api/npm/npm/@babel/types/-/types-7.29.8.tgz", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.29.8.tgz", "integrity": "sha512-Vj1jF3cPfxg7OAfoI7QnVKLoILlm2JF9pnVHrX8qx7AHMiYWT+NDAA7jChlNgRS4WTLc/fD1lXLmPixluj+3Gg==", "license": "MIT", "dependencies": { @@ -3574,7 +3571,7 @@ }, "node_modules/@jridgewell/gen-mapping": { "version": "0.3.13", - "resolved": "https://repo.splunkdev.net:443/artifactory/api/npm/npm/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz", "integrity": "sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==", "license": "MIT", "dependencies": { @@ -3610,7 +3607,7 @@ }, "node_modules/@jridgewell/trace-mapping": { "version": "0.3.31", - "resolved": "https://repo.splunkdev.net:443/artifactory/api/npm/npm/@jridgewell/trace-mapping/-/trace-mapping-0.3.31.tgz", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.31.tgz", "integrity": "sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==", "license": "MIT", "dependencies": { @@ -4369,7 +4366,7 @@ }, "node_modules/@remix-run/router": { "version": "1.23.3", - "resolved": "https://repo.splunkdev.net:443/artifactory/api/npm/npm/@remix-run/router/-/router-1.23.3.tgz", + "resolved": "https://registry.npmjs.org/@remix-run/router/-/router-1.23.3.tgz", "integrity": "sha512-4An71tdz9X8+3sI4Qqqd2LWd9vS39J7sqd9EU4Scw7TJE/qB10Flv/UuqbPVgfQV9XoK8Np6jNquZitnZq5i+Q==", "license": "MIT", "engines": { @@ -7036,7 +7033,7 @@ }, "node_modules/@types/pako": { "version": "2.0.4", - "resolved": "https://repo.splunkdev.net:443/artifactory/api/npm/npm/@types/pako/-/pako-2.0.4.tgz", + "resolved": "https://registry.npmjs.org/@types/pako/-/pako-2.0.4.tgz", "integrity": "sha512-VWDCbrLeVXJM9fihYodcLiIv0ku+AlOa/TQ1SvYOaBuyrSKgEcro95LJyIsJ4vSo6BXIxOKxiJAat04CmST9Fw==", "license": "MIT" }, @@ -7061,7 +7058,7 @@ }, "node_modules/@types/raf": { "version": "3.4.3", - "resolved": "https://repo.splunkdev.net:443/artifactory/api/npm/npm/@types/raf/-/raf-3.4.3.tgz", + "resolved": "https://registry.npmjs.org/@types/raf/-/raf-3.4.3.tgz", "integrity": "sha512-c4YAvMedbPZ5tEyxzQdMoOhhJ4RD3rngZIdwC2/qDN3d7JpEhB6fiBRKVY1lg5B7Wk+uPBjn5f39j1/2MY1oOw==", "license": "MIT", "optional": true @@ -7208,7 +7205,7 @@ }, "node_modules/@types/trusted-types": { "version": "2.0.7", - "resolved": "https://repo.splunkdev.net:443/artifactory/api/npm/npm/@types/trusted-types/-/trusted-types-2.0.7.tgz", + "resolved": "https://registry.npmjs.org/@types/trusted-types/-/trusted-types-2.0.7.tgz", "integrity": "sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw==", "license": "MIT", "optional": true @@ -7788,7 +7785,7 @@ }, "node_modules/@xmldom/xmldom": { "version": "0.8.14", - "resolved": "https://repo.splunkdev.net:443/artifactory/api/npm/npm/@xmldom/xmldom/-/xmldom-0.8.14.tgz", + "resolved": "https://registry.npmjs.org/@xmldom/xmldom/-/xmldom-0.8.14.tgz", "integrity": "sha512-T4EDRUBVZYRldYApjEJiU0e1stYWaRAX7CuSnKzrpwdZKo53zGV8/pqfzV6FfwNl9YThD2OumQYvqtvjvgG7aQ==", "license": "MIT", "engines": { @@ -8596,7 +8593,7 @@ }, "node_modules/brace-expansion": { "version": "1.1.18", - "resolved": "https://repo.splunkdev.net:443/artifactory/api/npm/npm/brace-expansion/-/brace-expansion-1.1.18.tgz", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.18.tgz", "integrity": "sha512-Edep/X9fGqVNmzKBVsDYIOtD+z1tuezV70LBjdCst9Tqu76lsnvRiZ6oTic1n+/BIwX6QDGAO94PN4N2SADvtw==", "license": "MIT", "dependencies": { @@ -8872,7 +8869,7 @@ }, "node_modules/canvg": { "version": "3.0.11", - "resolved": "https://repo.splunkdev.net:443/artifactory/api/npm/npm/canvg/-/canvg-3.0.11.tgz", + "resolved": "https://registry.npmjs.org/canvg/-/canvg-3.0.11.tgz", "integrity": "sha512-5ON+q7jCTgMp9cjpu4Jo6XbvfYwSB2Ow3kzHKfIyJfaCAOHLbdKPQqGKgfED/R5B+3TFFfe8pegYA+b423SRyA==", "license": "MIT", "optional": true, @@ -8892,7 +8889,7 @@ }, "node_modules/canvg/node_modules/regenerator-runtime": { "version": "0.13.11", - "resolved": "https://repo.splunkdev.net:443/artifactory/api/npm/npm/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz", "integrity": "sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg==", "license": "MIT", "optional": true @@ -9386,7 +9383,7 @@ }, "node_modules/core-js": { "version": "3.50.0", - "resolved": "https://repo.splunkdev.net:443/artifactory/api/npm/npm/core-js/-/core-js-3.50.0.tgz", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.50.0.tgz", "integrity": "sha512-BRWgOLKkFeCgRudR6zrs8p9XJZcE14grzKMMssoYrk6krtuEZ7MTKPIY5RzOnqsEKIR9kst7wNzphttraT+Yqw==", "hasInstallScript": true, "license": "MIT", @@ -10135,7 +10132,7 @@ }, "node_modules/dompurify": { "version": "3.4.12", - "resolved": "https://repo.splunkdev.net:443/artifactory/api/npm/npm/dompurify/-/dompurify-3.4.12.tgz", + "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-3.4.12.tgz", "integrity": "sha512-zQvGet8Z2sWbQhCmfFz/T5QWH2oBmjnqK3qvOjaqaNLrLEF912WamU+ohnTp0TCep/MFVHpdJuCZEdFOdTnEFg==", "license": "(MPL-2.0 OR Apache-2.0)", "optional": true, @@ -11108,7 +11105,7 @@ }, "node_modules/fast-png": { "version": "6.4.0", - "resolved": "https://repo.splunkdev.net:443/artifactory/api/npm/npm/fast-png/-/fast-png-6.4.0.tgz", + "resolved": "https://registry.npmjs.org/fast-png/-/fast-png-6.4.0.tgz", "integrity": "sha512-kAqZq1TlgBjZcLr5mcN6NP5Rv4V2f22z00c3g8vRrwkcqjerx7BEhPbOnWCPqaHUl2XWQBJQvOT/FQhdMT7X/Q==", "license": "MIT", "dependencies": { @@ -12339,7 +12336,7 @@ }, "node_modules/iobuffer": { "version": "5.4.0", - "resolved": "https://repo.splunkdev.net:443/artifactory/api/npm/npm/iobuffer/-/iobuffer-5.4.0.tgz", + "resolved": "https://registry.npmjs.org/iobuffer/-/iobuffer-5.4.0.tgz", "integrity": "sha512-DRebOWuqDvxunfkNJAlc3IzWIPD5xVxwUNbHr7xKB8E6aLJxIPfNX3CoMJghcFjpv6RWQsrcJbghtEwSPoJqMA==", "license": "MIT" }, @@ -14190,7 +14187,7 @@ }, "node_modules/jspdf": { "version": "4.2.1", - "resolved": "https://repo.splunkdev.net:443/artifactory/api/npm/npm/jspdf/-/jspdf-4.2.1.tgz", + "resolved": "https://registry.npmjs.org/jspdf/-/jspdf-4.2.1.tgz", "integrity": "sha512-YyAXyvnmjTbR4bHQRLzex3CuINCDlQnBqoSYyjJwTP2x9jDLuKDzy7aKUl0hgx3uhcl7xzg32agn5vlie6HIlQ==", "license": "MIT", "dependencies": { @@ -14387,13 +14384,13 @@ }, "node_modules/lodash": { "version": "4.18.1", - "resolved": "https://repo.splunkdev.net:443/artifactory/api/npm/npm/lodash/-/lodash-4.18.1.tgz", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.18.1.tgz", "integrity": "sha512-dMInicTPVE8d1e5otfwmmjlxkZoUpiVLwyeTdUsi/Caj/gfzzblBcCE5sRHV/AsjuCmxWrte2TNGSYuCeCq+0Q==", "license": "MIT" }, "node_modules/lodash-es": { "version": "4.18.1", - "resolved": "https://repo.splunkdev.net:443/artifactory/api/npm/npm/lodash-es/-/lodash-es-4.18.1.tgz", + "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.18.1.tgz", "integrity": "sha512-J8xewKD/Gk22OZbhpOVSwcs60zhd95ESDwezOFuA3/099925PdHJ7OFHNTGtajL3AlZkykD32HykiMo+BIBI8A==", "license": "MIT" }, @@ -15675,7 +15672,7 @@ }, "node_modules/pako": { "version": "2.2.0", - "resolved": "https://repo.splunkdev.net:443/artifactory/api/npm/npm/pako/-/pako-2.2.0.tgz", + "resolved": "https://registry.npmjs.org/pako/-/pako-2.2.0.tgz", "integrity": "sha512-zJq6RP/5q+TO2OpFV3FHzlPnFjmkb7Nc99a5SNjJE+uu/PkpChs+NIZSSzbBoD+6kjiISXjfYdwj1ZRQ81dz/w==", "funding": [ { @@ -15840,7 +15837,7 @@ }, "node_modules/performance-now": { "version": "2.1.0", - "resolved": "https://repo.splunkdev.net:443/artifactory/api/npm/npm/performance-now/-/performance-now-2.1.0.tgz", + "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", "integrity": "sha512-7EAHlyLHI56VEIdK57uwHdHKIaAGbnXPiw0yWbarQZOKaKpvUIgW0jWRVLiatnM+XXlSwsanIBH/hzGMJulMow==", "license": "MIT", "optional": true @@ -16212,7 +16209,7 @@ }, "node_modules/raf": { "version": "3.4.1", - "resolved": "https://repo.splunkdev.net:443/artifactory/api/npm/npm/raf/-/raf-3.4.1.tgz", + "resolved": "https://registry.npmjs.org/raf/-/raf-3.4.1.tgz", "integrity": "sha512-Sq4CW4QhwOHE8ucn6J34MqtZCeWFP2aQSmrlroYgqAV1PjStIhJXxYuTgUIfkEk7zTLjmIjLmU5q+fbD1NnOJA==", "license": "MIT", "optional": true, @@ -16867,12 +16864,6 @@ "node": ">=4" } }, - "node_modules/regenerator-runtime": { - "version": "0.14.1", - "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz", - "integrity": "sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw==", - "license": "MIT" - }, "node_modules/regenerator-transform": { "version": "0.15.2", "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.15.2.tgz", @@ -17080,7 +17071,7 @@ }, "node_modules/rgbcolor": { "version": "1.0.1", - "resolved": "https://repo.splunkdev.net:443/artifactory/api/npm/npm/rgbcolor/-/rgbcolor-1.0.1.tgz", + "resolved": "https://registry.npmjs.org/rgbcolor/-/rgbcolor-1.0.1.tgz", "integrity": "sha512-9aZLIrhRaD97sgVhtJOW6ckOEh6/GnvQtdVNfdZ6s67+3/XwLS9lBcQYzEEhYVeUowN7pRzMLsyGhK2i/xvWbw==", "license": "MIT OR SEE LICENSE IN FEEL-FREE.md", "optional": true, @@ -17601,7 +17592,7 @@ }, "node_modules/shell-quote": { "version": "1.9.0", - "resolved": "https://repo.splunkdev.net:443/artifactory/api/npm/npm/shell-quote/-/shell-quote-1.9.0.tgz", + "resolved": "https://registry.npmjs.org/shell-quote/-/shell-quote-1.9.0.tgz", "integrity": "sha512-Iov+JwFv/2HcTpcwNMKd8+IWNb8tboQJNQTkAY/LLVK7gGH9jy+LGkVqPxfekHl+yMmiqXszdGWXgkfml7hjqA==", "license": "MIT", "engines": { @@ -17884,7 +17875,7 @@ }, "node_modules/stackblur-canvas": { "version": "2.7.0", - "resolved": "https://repo.splunkdev.net:443/artifactory/api/npm/npm/stackblur-canvas/-/stackblur-canvas-2.7.0.tgz", + "resolved": "https://registry.npmjs.org/stackblur-canvas/-/stackblur-canvas-2.7.0.tgz", "integrity": "sha512-yf7OENo23AGJhBriGx0QivY5JP6Y1HbrrDI6WLt6C5auYZXlQrheoY8hD4ibekFKz1HOfE48Ww8kMWMnJD/zcQ==", "license": "MIT", "optional": true, @@ -18191,7 +18182,7 @@ }, "node_modules/svg-pathdata": { "version": "6.0.3", - "resolved": "https://repo.splunkdev.net:443/artifactory/api/npm/npm/svg-pathdata/-/svg-pathdata-6.0.3.tgz", + "resolved": "https://registry.npmjs.org/svg-pathdata/-/svg-pathdata-6.0.3.tgz", "integrity": "sha512-qsjeeq5YjBZ5eMdFuUa4ZosMLxgr5RZ+F+Y1OrDhuOCEInRMA3x74XdBtggJcj9kOeInz0WE+LgCPDkZFlBYJw==", "license": "MIT", "optional": true, diff --git a/ui/package.json b/ui/package.json index 02e74c9..8ef2729 100644 --- a/ui/package.json +++ b/ui/package.json @@ -75,7 +75,7 @@ "@xmldom/xmldom": "0.8.14", "@babel/plugin-transform-modules-systemjs": "7.29.4", "@remix-run/router": "1.23.3", - "@babel/runtime": "7.26.10", + "@babel/runtime": "7.28.6", "lodash": "4.18.1", "@babel/helpers": "7.26.10", "lodash-es": "4.18.1", From 33008be1cbf071984f1dadf9e01a1583b1db72f6 Mon Sep 17 00:00:00 2001 From: Wojciech Tobis Date: Tue, 18 Aug 2026 16:56:29 +0200 Subject: [PATCH 3/8] fix(ui): bump jest-fixed-jsdom to 0.0.11 --- ui/package-lock.json | 8 ++++---- ui/package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ui/package-lock.json b/ui/package-lock.json index cdd71d1..447e601 100644 --- a/ui/package-lock.json +++ b/ui/package-lock.json @@ -46,7 +46,7 @@ "globals": "^15.14.0", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", - "jest-fixed-jsdom": "^0.0.9", + "jest-fixed-jsdom": "0.0.11", "msw": "^2.7.0", "prettier": "^3.4.2", "ts-node": "^10.9.2", @@ -13385,9 +13385,9 @@ } }, "node_modules/jest-fixed-jsdom": { - "version": "0.0.9", - "resolved": "https://registry.npmjs.org/jest-fixed-jsdom/-/jest-fixed-jsdom-0.0.9.tgz", - "integrity": "sha512-KPfqh2+sn5q2B+7LZktwDcwhCpOpUSue8a1I+BcixWLOQoEVyAjAGfH+IYZGoxZsziNojoHGRTC8xRbB1wDD4g==", + "version": "0.0.11", + "resolved": "https://registry.npmjs.org/jest-fixed-jsdom/-/jest-fixed-jsdom-0.0.11.tgz", + "integrity": "sha512-3UkjgM79APnmLVDnelrxdwz4oybD5qw6NLyayl7iCX8C8tJHeqjL9fmNrRlIrNiVJSXkF5t9ZPJ+xlM0kSwwYg==", "dev": true, "license": "MIT", "engines": { diff --git a/ui/package.json b/ui/package.json index 8ef2729..80fad15 100644 --- a/ui/package.json +++ b/ui/package.json @@ -53,7 +53,7 @@ "globals": "^15.14.0", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", - "jest-fixed-jsdom": "^0.0.9", + "jest-fixed-jsdom": "0.0.11", "msw": "^2.7.0", "prettier": "^3.4.2", "ts-node": "^10.9.2", From aa658d2a546cba52d2721aee0e3df080bd18906d Mon Sep 17 00:00:00 2001 From: Wojciech Tobis Date: Tue, 18 Aug 2026 17:14:09 +0200 Subject: [PATCH 4/8] ci: bump appinspect-cli-action to v2.15.0 --- .github/workflows/build-test.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 465827f..bf71651 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -100,7 +100,7 @@ jobs: with: name: Splunk_TA_Example path: build/package - - uses: splunk/appinspect-cli-action@v2.8 + - uses: splunk/appinspect-cli-action@v2.15.0 with: app_path: build/package included_tags: ${{ matrix.tags }} @@ -184,4 +184,3 @@ jobs: echo "failed=${{ env.failed }}" >> $GITHUB_ENV outputs: failed: ${{ env.failed }} - From c51482ee90c745a889616c1ef74281bf251743d0 Mon Sep 17 00:00:00 2001 From: Wojciech Tobis Date: Tue, 18 Aug 2026 22:45:38 +0200 Subject: [PATCH 5/8] test: pin Splunk version for CI and bump test dependencies Pin the Splunk Docker image to a fixed version, bump Python to 3.9 and pytest-splunk-addon/ucc-modinput-test in CI, and add a low-disk- space CI config plus a knowledge-test error ignore list so external Splunk instance errors unrelated to the add-on don't fail the run. --- .github/workflows/build-test.yml | 8 ++++---- docker-compose.yml | 3 ++- requirements-dev.txt | 4 ++-- scripts/run_splunk.sh | 4 +++- tests/knowledge/.ignore_errors_not_related_to_addon | 2 ++ tests/splunk-ci-config/default/app.conf | 8 ++++++++ tests/splunk-ci-config/default/server.conf | 4 ++++ 7 files changed, 25 insertions(+), 8 deletions(-) create mode 100644 tests/knowledge/.ignore_errors_not_related_to_addon create mode 100644 tests/splunk-ci-config/default/app.conf create mode 100644 tests/splunk-ci-config/default/server.conf diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index bf71651..29895b5 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -32,7 +32,7 @@ jobs: node-version-file: 'ui/package.json' - uses: actions/setup-python@v5 with: - python-version: "3.7" + python-version: "3.9" - run: | python3 -m venv .venv source .venv/bin/activate @@ -120,7 +120,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: "3.7" + python-version: "3.9" - uses: actions/download-artifact@v4 with: name: Splunk_TA_Example-raw-output @@ -138,7 +138,7 @@ jobs: run : | sudo chown -R runner:runner psa-output/Splunk_TA_Example/ chmod u+rwx psa-output/Splunk_TA_Example/ - pytest tests/knowledge --splunk-type=external --splunk-app=package/ --splunk-data-generator=tests/knowledge --splunk-host=localhost --splunk-port=8089 --splunk-user=admin --splunk-password=Chang3d! --splunk-hec-token=4a8a737d-5452-426c-a6f7-106dca4e813f + pytest tests/knowledge --splunk-type=external --splunk-app=package/ --splunk-data-generator=tests/knowledge --splunk-host=localhost --splunk-port=8089 --splunk-user=admin --splunk-password=Chang3d! --splunk-hec-token=4a8a737d-5452-426c-a6f7-106dca4e813f --ignore-errors-not-related-to-addon=tests/knowledge/.ignore_errors_not_related_to_addon - name: Set output if steps failed run: | echo "failed=${{ env.failed }}" >> $GITHUB_ENV @@ -160,7 +160,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: "3.7" + python-version: "3.9" - uses: actions/download-artifact@v4 with: name: Splunk_TA_Example diff --git a/docker-compose.yml b/docker-compose.yml index cd08138..c5b796f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,7 +7,7 @@ services: dockerfile: Dockerfile splunk: - image: splunk/splunk:latest + image: splunk/splunk:${SPLUNK_VERSION:-10.2.2} container_name: splunk-example-ta ports: - "8000:8000" @@ -19,3 +19,4 @@ services: - SPLUNK_GENERAL_TERMS=${SPLUNK_GENERAL_TERMS:---accept-sgt-current-at-splunk-com} volumes: - ./output/Splunk_TA_Example:/opt/splunk/etc/apps/Splunk_TA_Example + - ./tests/splunk-ci-config:/opt/splunk/etc/apps/splunk_ci_test_config diff --git a/requirements-dev.txt b/requirements-dev.txt index e3a42d3..e06120d 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,3 +1,3 @@ -pytest-splunk-addon==5.4.1 +pytest-splunk-addon==5.5.3 splunk-add-on-ucc-framework==5.58.0 -splunk-add-on-ucc-modinput-test==2.0.0 +splunk-add-on-ucc-modinput-test==2.0.5 diff --git a/scripts/run_splunk.sh b/scripts/run_splunk.sh index 6fd04c3..47643e3 100755 --- a/scripts/run_splunk.sh +++ b/scripts/run_splunk.sh @@ -16,6 +16,7 @@ SCRIPT_DIR=$(cd $(dirname ${BASH_SOURCE[0]}) && pwd) REPO_ROOT_DIR=$(cd "$SCRIPT_DIR/.." && pwd) +SPLUNK_VERSION="${1:-${SPLUNK_VERSION:-10.2.2}}" # running on ARM Mac @@ -25,6 +26,7 @@ fi docker run \ -v "$REPO_ROOT_DIR/psa-output/Splunk_TA_Example:/opt/splunk/etc/apps/Splunk_TA_Example" \ + -v "$REPO_ROOT_DIR/tests/splunk-ci-config:/opt/splunk/etc/apps/splunk_ci_test_config" \ -p 8000:8000 \ -p 8088:8088 \ -p 8089:8089 \ @@ -36,4 +38,4 @@ docker run \ -e "SPLUNK_GENERAL_TERMS=--accept-sgt-current-at-splunk-com" \ -d \ --pull=always \ - --name splunk splunk/splunk:${1:-"latest"} + --name splunk "splunk/splunk:$SPLUNK_VERSION" diff --git a/tests/knowledge/.ignore_errors_not_related_to_addon b/tests/knowledge/.ignore_errors_not_related_to_addon new file mode 100644 index 0000000..abb03ba --- /dev/null +++ b/tests/knowledge/.ignore_errors_not_related_to_addon @@ -0,0 +1,2 @@ +"service":"InitialDatasetGlobalMap" +"location":"genericDatasets/global_datasets_map.go:72" diff --git a/tests/splunk-ci-config/default/app.conf b/tests/splunk-ci-config/default/app.conf new file mode 100644 index 0000000..46f8469 --- /dev/null +++ b/tests/splunk-ci-config/default/app.conf @@ -0,0 +1,8 @@ +[install] +state = enabled + +[ui] +is_visible = false + +[package] +id = splunk_ci_test_config diff --git a/tests/splunk-ci-config/default/server.conf b/tests/splunk-ci-config/default/server.conf new file mode 100644 index 0000000..f69555a --- /dev/null +++ b/tests/splunk-ci-config/default/server.conf @@ -0,0 +1,4 @@ +# GitHub-hosted runners have limited disk space. Keep a safety margin while +# allowing searches in this short-lived test-only Splunk instance. +[diskUsage] +minFreeSpace = 500 From c8d6ee0d279a1e4476e9edadf13a1a85bea882fc Mon Sep 17 00:00:00 2001 From: Wojciech Tobis Date: Tue, 18 Aug 2026 23:36:20 +0200 Subject: [PATCH 6/8] fix: pin add-on runtime dependency versions --- package/lib/requirements.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/package/lib/requirements.txt b/package/lib/requirements.txt index 99f4b18..2662fe7 100644 --- a/package/lib/requirements.txt +++ b/package/lib/requirements.txt @@ -1,3 +1,4 @@ -splunktaucclib -splunk-sdk -solnlib +splunktaucclib==8.2.0 +splunk-sdk==2.1.1 +solnlib==7.0.0 +packaging==24.0 From c580a43b890f8b5eef5a56d126ba70b99afade6a Mon Sep 17 00:00:00 2001 From: Wojciech Tobis Date: Wed, 19 Aug 2026 00:24:56 +0200 Subject: [PATCH 7/8] fix(ui): pin jspdf and react-router-dom via nested overrides Scope the jspdf and react-router-dom version overrides to their actual dependents (@splunk/dashboard-utils and @splunk/add-on-ucc-framework) instead of overriding them globally, map jspdf's ESM build to the UMD build for Jest/jsdom compatibility, and add a regression test for the jsPDF export path. --- ui/jest.config.ts | 12 +++++++----- ui/package-lock.json | 20 ++++++++++---------- ui/package.json | 12 ++++++++---- ui/src/utils/jspdfCompatibility.spec.ts | 22 ++++++++++++++++++++++ 4 files changed, 47 insertions(+), 19 deletions(-) create mode 100644 ui/src/utils/jspdfCompatibility.spec.ts diff --git a/ui/jest.config.ts b/ui/jest.config.ts index 1d3266c..c045207 100644 --- a/ui/jest.config.ts +++ b/ui/jest.config.ts @@ -33,10 +33,12 @@ export default { */ customExportConditions: [""], }, + moduleNameMapper: { + "^jspdf(?:/dist/jspdf\\.es\\.min\\.js)?$": + "/node_modules/jspdf/dist/jspdf.umd.min.js", + // Force module uuid to resolve with the CJS entry point, because Jest does not support package.json.exports. See https://github.com/uuidjs/uuid/issues/451 + // uuid: require.resolve("uuid"), + // "\\.(css)$": "/src/mocks/styleMock.js", + }, errorOnDeprecated: true, - // moduleNameMapper: { - // // Force module uuid to resolve with the CJS entry point, because Jest does not support package.json.exports. See https://github.com/uuidjs/uuid/issues/451 - // uuid: require.resolve("uuid"), - // "\\.(css)$": "/src/mocks/styleMock.js", - // }, } satisfies Config; diff --git a/ui/package-lock.json b/ui/package-lock.json index 447e601..0dad501 100644 --- a/ui/package-lock.json +++ b/ui/package-lock.json @@ -8,7 +8,7 @@ "name": "splunk-example-ta", "version": "0.0.0", "dependencies": { - "@splunk/add-on-ucc-framework": "^5.58.0", + "@splunk/add-on-ucc-framework": "5.58.0", "@splunk/react-ui": "^4.42.0", "@splunk/splunk-utils": "^3.1.0", "@splunk/themes": "^0.23.0", @@ -16677,12 +16677,12 @@ } }, "node_modules/react-router": { - "version": "6.27.0", - "resolved": "https://registry.npmjs.org/react-router/-/react-router-6.27.0.tgz", - "integrity": "sha512-YA+HGZXz4jaAkVoYBE98VQl+nVzI+cVI2Oj/06F5ZM+0u3TgedN9Y9kmMRo2mnkSK2nCpNQn0DVob4HCsY/WLw==", + "version": "6.30.4", + "resolved": "https://registry.npmjs.org/react-router/-/react-router-6.30.4.tgz", + "integrity": "sha512-SVUsDe+DybHM/WmYKIVYhZh1o5Dcuf16yM6WjG02Q9XVFMZIJyHYhwrr6bFBXZkVP6z69kNkMyBCujt8FaFLJA==", "license": "MIT", "dependencies": { - "@remix-run/router": "1.20.0" + "@remix-run/router": "1.23.3" }, "engines": { "node": ">=14.0.0" @@ -16692,13 +16692,13 @@ } }, "node_modules/react-router-dom": { - "version": "6.27.0", - "resolved": "https://registry.npmjs.org/react-router-dom/-/react-router-dom-6.27.0.tgz", - "integrity": "sha512-+bvtFWMC0DgAFrfKXKG9Fc+BcXWRUO1aJIihbB79xaeq0v5UzfvnM5houGUm1Y461WVRcgAQ+Clh5rdb1eCx4g==", + "version": "6.30.4", + "resolved": "https://registry.npmjs.org/react-router-dom/-/react-router-dom-6.30.4.tgz", + "integrity": "sha512-q4HvNl+mmDdkS0g+MqiBZNteQJCuimWoOyHMy4T/RQLAn9Z29+E91QXRaxOujeMl2HTzRSS0KFPd7lxX3PjV0Q==", "license": "MIT", "dependencies": { - "@remix-run/router": "1.20.0", - "react-router": "6.27.0" + "@remix-run/router": "1.23.3", + "react-router": "6.30.4" }, "engines": { "node": ">=14.0.0" diff --git a/ui/package.json b/ui/package.json index 80fad15..ccacb98 100644 --- a/ui/package.json +++ b/ui/package.json @@ -15,7 +15,7 @@ "format:verify": "prettier \"src/**/*.(js|jsx|ts|tsx|css)\" --list-different" }, "dependencies": { - "@splunk/add-on-ucc-framework": "^5.58.0", + "@splunk/add-on-ucc-framework": "5.58.0", "@splunk/react-ui": "^4.42.0", "@splunk/splunk-utils": "^3.1.0", "@splunk/themes": "^0.23.0", @@ -74,13 +74,17 @@ "shell-quote": "1.9.0", "@xmldom/xmldom": "0.8.14", "@babel/plugin-transform-modules-systemjs": "7.29.4", - "@remix-run/router": "1.23.3", "@babel/runtime": "7.28.6", "lodash": "4.18.1", "@babel/helpers": "7.26.10", "lodash-es": "4.18.1", - "jspdf": "4.2.1", - "canvg": "3.0.11" + "canvg": "3.0.11", + "@splunk/add-on-ucc-framework@5.58.0": { + "react-router-dom": "6.30.4" + }, + "@splunk/dashboard-utils@^28.1.0": { + "jspdf": "4.2.1" + } }, "engines": { "node": ">=22", diff --git a/ui/src/utils/jspdfCompatibility.spec.ts b/ui/src/utils/jspdfCompatibility.spec.ts new file mode 100644 index 0000000..974046b --- /dev/null +++ b/ui/src/utils/jspdfCompatibility.spec.ts @@ -0,0 +1,22 @@ +import { exportDataUrisToPdfDataUri } from "@splunk/dashboard-utils"; + +const PNG_DATA_URI = + "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNk+A8AAQUBAScY42YAAAAASUVORK5CYII="; + +describe("jsPDF compatibility", () => { + it("supports the PDF export operations used by dashboard-utils", () => { + const result = exportDataUrisToPdfDataUri({ + pages: [ + { + clientWidth: 1, + clientHeight: 1, + dataUri: PNG_DATA_URI, + }, + ], + }); + + expect(result).toMatch( + /^data:application\/pdf;filename=generated\.pdf;base64,/, + ); + }); +}); From d16e4389f9b172586a9e4f175b51c1d97321434d Mon Sep 17 00:00:00 2001 From: Wojciech Tobis Date: Wed, 19 Aug 2026 00:56:36 +0200 Subject: [PATCH 8/8] fix: drop obsolete Python 3.7 packaging workaround The socks.cpython-37.pyc cleanup step and its README binary declarations targeted Python 3.7 artifacts that no longer apply now that CI builds with Python 3.9. --- additional_packaging.py | 8 +------- package/README.txt | 6 ------ 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/additional_packaging.py b/additional_packaging.py index 6daf140..8386912 100644 --- a/additional_packaging.py +++ b/additional_packaging.py @@ -1,17 +1,11 @@ import os -from os import path def additional_packaging(addon_name: str) -> None: - # It fixes https://github.com/splunk/splunk-example-ta/actions/runs/11767701819/job/32776693866?pr=2. - file_to_remove = f"output/{addon_name}/lib/__pycache__/socks.cpython-37.pyc" - if path.exists(file_to_remove): - os.remove(file_to_remove) - build_ui_script = os.path.join( os.path.dirname(os.path.realpath(__file__)), "scripts", "build_ui.sh" ) - if path.exists(build_ui_script): + if os.path.exists(build_ui_script): os.system(f"chmod +x {build_ui_script}") return_code = os.system(build_ui_script) if return_code != 0: diff --git a/package/README.txt b/package/README.txt index c32ecb7..8f7462e 100644 --- a/package/README.txt +++ b/package/README.txt @@ -1,7 +1 @@ # splunk-example-ta - -# Binary File Declaration - -lib/charset_normalizer/md__mypyc.cpython-37m-x86_64-linux-gnu.so -- This binary file contains the compiled code related to the Charset Normalizer package that has been generated by the MyPyC tool for Python - -lib/charset_normalizer/md.cpython-37m-x86_64-linux-gnu.so -- This binary file contains the compiled code of the Charset Normalizer package, which includes performance optimizations and low-level functionality written in C or C++