diff --git a/msa/js-executor/package.json b/msa/js-executor/package.json index 66ec19ff0e..e5adac41b9 100644 --- a/msa/js-executor/package.json +++ b/msa/js-executor/package.json @@ -49,5 +49,8 @@ "node_modules/config/**/*.*", "node_modules/@antoniomuso/lz4-napi-*/**/*.node" ] + }, + "resolutions": { + "@yao-pkg/pkg/tar": "^8.0.5" } } diff --git a/msa/js-executor/yarn.lock b/msa/js-executor/yarn.lock index 3c195e8c38..36290f0732 100644 --- a/msa/js-executor/yarn.lock +++ b/msa/js-executor/yarn.lock @@ -365,13 +365,6 @@ "@hapi/bourne" "^3.0.0" "@hapi/hoek" "^11.0.2" -"@isaacs/fs-minipass@^4.0.0": - version "4.0.1" - resolved "https://registry.yarnpkg.com/@isaacs/fs-minipass/-/fs-minipass-4.0.1.tgz#2d59ae3ab4b38fb4270bfa23d30f8e2e86c7fe32" - integrity sha512-wgm9Ehl2jpeqP3zw/7mo3kRHFp5MEDhqAdwy1fTGkHAwnkGOVsgpvQhL8B5n1qlb01jV3n/bI0ZfZp5lWA1k4w== - dependencies: - minipass "^7.0.4" - "@jridgewell/gen-mapping@^0.3.12": version "0.3.13" resolved "https://registry.yarnpkg.com/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz#6342a19f44347518c93e43b1ac69deb3c4656a1f" @@ -772,11 +765,6 @@ chownr@^1.1.1: resolved "https://registry.yarnpkg.com/chownr/-/chownr-1.1.4.tgz#6fc9d7b42d32a583596337666e7d08084da2cc6b" integrity sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg== -chownr@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/chownr/-/chownr-3.0.0.tgz#9855e64ecd240a9cc4267ce8a4aa5d24a1da15e4" - integrity sha512-+IxzY9BZOQd/XuYPRmrvEVjF/nqj5kgT4kEq7VofrDoM1MxoRjEWkrCC3EtLi59TVawxTAn+orJwFQcrqEN1+g== - cliui@^7.0.2: version "7.0.4" resolved "https://registry.yarnpkg.com/cliui/-/cliui-7.0.4.tgz#a0265ee655476fc807aea9df3df8df7783808b4f" @@ -1403,18 +1391,6 @@ minimist@^1.2.0, minimist@^1.2.3: resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.8.tgz#c1a464e7693302e082a075cee0c057741ac4772c" integrity sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA== -minipass@^7.0.4, minipass@^7.1.2: - version "7.1.3" - resolved "https://registry.yarnpkg.com/minipass/-/minipass-7.1.3.tgz#79389b4eb1bb2d003a9bba87d492f2bd37bdc65b" - integrity sha512-tEBHqDnIoM/1rXME1zgka9g6Q2lcoCkxHLuc7ODJ5BxbP5d4c2Z5cGgtXAku59200Cx7diuHTOYfSBD8n6mm8A== - -minizlib@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/minizlib/-/minizlib-3.1.0.tgz#6ad76c3a8f10227c9b51d1c9ac8e30b27f5a251c" - integrity sha512-KZxYo1BUkWD2TVFLr0MQoM8vUUigWD3LlD83a/75BqC+4qE0Hb1Vo5v1FgcfaNXvfXzr+5EhQ6ing/CaBijTlw== - dependencies: - minipass "^7.1.2" - mkdirp-classic@^0.5.2, mkdirp-classic@^0.5.3: version "0.5.3" resolved "https://registry.yarnpkg.com/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz#fa10c9115cc6d8865be221ba47ee9bed78601113" @@ -1932,16 +1908,10 @@ tar-stream@^3.1.5: fast-fifo "^1.3.2" streamx "^2.28.1" -tar@^7.5.7: - version "7.5.22" - resolved "https://registry.yarnpkg.com/tar/-/tar-7.5.22.tgz#a696f998136e71487dc3f869a85bba2c67971ba9" - integrity sha512-MFO/QzvtAOmJbkhOaCTvbGcFN9L9b+JunIsDwaKljSOdcLMea3NJ1k9Usz/rjdfSXTq4dfzfeS7W4p4YOAAHeA== - dependencies: - "@isaacs/fs-minipass" "^4.0.0" - chownr "^3.0.0" - minipass "^7.1.2" - minizlib "^3.1.0" - yallist "^5.0.0" +tar@^7.5.7, tar@^8.0.5: + version "8.1.0" + resolved "https://registry.yarnpkg.com/tar/-/tar-8.1.0.tgz#c5cfb646747f360ece8d47c276c46e7bd499861f" + integrity sha512-0QsCa04wk0hddEWM4hSNMtgewhgvFTW+KzMKJzsSIGO2/snEWyaD9s72p9Is8SXHvbd6sxjInzzT39/yxOWTTw== teex@^1.0.1: version "1.0.1" @@ -2139,11 +2109,6 @@ y18n@^5.0.5: resolved "https://registry.yarnpkg.com/y18n/-/y18n-5.0.8.tgz#7f4934d0f7ca8c56f95314939ddcd2dd91ce1d55" integrity sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA== -yallist@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/yallist/-/yallist-5.0.0.tgz#00e2de443639ed0d78fd87de0d27469fbcffb533" - integrity sha512-YgvUTfwqyc7UXVMrB+SImsVYSmTS8X/tSrtdNZMImM+n7+QTriRXyXim0mBrTXNeqzVF0KWGgHPeiyViFFrNDw== - yargs-parser@^20.2.2: version "20.2.9" resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-20.2.9.tgz#2eb7dc3b0289718fc295f362753845c41a0c94ee" diff --git a/msa/web-report/chromium.js b/msa/web-report/chromium.js index cd9acc9f14..662678c8f6 100644 --- a/msa/web-report/chromium.js +++ b/msa/web-report/chromium.js @@ -22,15 +22,15 @@ module.exports = { // exclude: glob patterns of the files that are not packaged // strip: glob patterns of the executables to strip of their symbols, when GNU strip is installed snapshot: { - version: '156.0.8078.0', + version: '159.0.8154.0', baseUrl: 'https://commondatastorage.googleapis.com/chromium-browser-snapshots', // The .pak.info files, 70 MB, are left from the build of the translations; the browser does not read them - linux: { path: 'Linux_x64/1706520/chrome-linux.zip', sha256: '6b62846a868ea3ee675f77600790877a428dfb2428c940f8eff99db1038f9815', + linux: { path: 'Linux_x64/1739867/chrome-linux.zip', sha256: 'e3dc14d0c796c4cff0a2e67e1d2d384a5228ab7e6adb4d4822d813772e4b8b4b', exclude: ['locales/*.pak.info'], // The Linux builds come with their symbols, 180 MB strip: ['chrome', 'chrome_crashpad_handler', 'chrome_sandbox', '*.so*'] }, // interactive_ui_tests.exe is a test program of 348 MB that the service does not need - windows: { path: 'Win_x64/1706509/chrome-win.zip', sha256: '6bdfecb33dbfa7159e5666798bdc28c76347bef913573e899cb43930b78d26cc', + windows: { path: 'Win_x64/1739762/chrome-win.zip', sha256: '097cc334674de52de3653519d8205bc227c7943f6a6cc0d2a0fc4a8f685284db', exclude: ['interactive_ui_tests.exe'] } } }; diff --git a/msa/web-report/package.json b/msa/web-report/package.json index cd1a6d42f8..21143e2bd8 100644 --- a/msa/web-report/package.json +++ b/msa/web-report/package.json @@ -18,7 +18,7 @@ "config": "~4.4.2", "express": "~5.3.0", "js-yaml": "^4.3.2", - "playwright-core": "~1.64.1", + "playwright-core": "~1.65.2", "winston": "~3.19.0", "winston-daily-rotate-file": "~5.0.0" }, @@ -44,5 +44,8 @@ "node_modules/playwright-core/lib/server/chromium/appIcon.png", "../../node_modules/playwright-core/lib/webp_codec.wasm" ] + }, + "resolutions": { + "@yao-pkg/pkg/tar": "^8.0.5" } } diff --git a/msa/web-report/playwright-core-1.65.2.tgz b/msa/web-report/playwright-core-1.65.2.tgz new file mode 100644 index 0000000000..f53a0e9a93 Binary files /dev/null and b/msa/web-report/playwright-core-1.65.2.tgz differ diff --git a/msa/web-report/yarn.lock b/msa/web-report/yarn.lock index 61a026c6d0..be8dd94dc6 100644 --- a/msa/web-report/yarn.lock +++ b/msa/web-report/yarn.lock @@ -235,13 +235,6 @@ resolved "https://registry.yarnpkg.com/@esbuild/win32-x64/-/win32-x64-0.28.2.tgz#b21affb804cc167c133d95f45b3a1dc1323b9a87" integrity sha512-5ebpxr3nWMzrL/rnUI755Jkuee0bHL/Gq0WTF9lvcpv73wAp5eu8MfBUgWK9bhWvZjj7yX8etf/8tI8Ney695g== -"@isaacs/fs-minipass@^4.0.0": - version "4.0.1" - resolved "https://registry.yarnpkg.com/@isaacs/fs-minipass/-/fs-minipass-4.0.1.tgz#2d59ae3ab4b38fb4270bfa23d30f8e2e86c7fe32" - integrity sha512-wgm9Ehl2jpeqP3zw/7mo3kRHFp5MEDhqAdwy1fTGkHAwnkGOVsgpvQhL8B5n1qlb01jV3n/bI0ZfZp5lWA1k4w== - dependencies: - minipass "^7.0.4" - "@jridgewell/gen-mapping@^0.3.12": version "0.3.13" resolved "https://registry.yarnpkg.com/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz#6342a19f44347518c93e43b1ac69deb3c4656a1f" @@ -591,11 +584,6 @@ chownr@^1.1.1: resolved "https://registry.yarnpkg.com/chownr/-/chownr-1.1.4.tgz#6fc9d7b42d32a583596337666e7d08084da2cc6b" integrity sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg== -chownr@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/chownr/-/chownr-3.0.0.tgz#9855e64ecd240a9cc4267ce8a4aa5d24a1da15e4" - integrity sha512-+IxzY9BZOQd/XuYPRmrvEVjF/nqj5kgT4kEq7VofrDoM1MxoRjEWkrCC3EtLi59TVawxTAn+orJwFQcrqEN1+g== - cliui@^7.0.2: version "7.0.4" resolved "https://registry.yarnpkg.com/cliui/-/cliui-7.0.4.tgz#a0265ee655476fc807aea9df3df8df7783808b4f" @@ -1178,18 +1166,6 @@ minimist@^1.2.0, minimist@^1.2.3: resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.8.tgz#c1a464e7693302e082a075cee0c057741ac4772c" integrity sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA== -minipass@^7.0.4, minipass@^7.1.2: - version "7.1.3" - resolved "https://registry.yarnpkg.com/minipass/-/minipass-7.1.3.tgz#79389b4eb1bb2d003a9bba87d492f2bd37bdc65b" - integrity sha512-tEBHqDnIoM/1rXME1zgka9g6Q2lcoCkxHLuc7ODJ5BxbP5d4c2Z5cGgtXAku59200Cx7diuHTOYfSBD8n6mm8A== - -minizlib@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/minizlib/-/minizlib-3.1.0.tgz#6ad76c3a8f10227c9b51d1c9ac8e30b27f5a251c" - integrity sha512-KZxYo1BUkWD2TVFLr0MQoM8vUUigWD3LlD83a/75BqC+4qE0Hb1Vo5v1FgcfaNXvfXzr+5EhQ6ing/CaBijTlw== - dependencies: - minipass "^7.1.2" - mkdirp-classic@^0.5.2, mkdirp-classic@^0.5.3: version "0.5.3" resolved "https://registry.yarnpkg.com/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz#fa10c9115cc6d8865be221ba47ee9bed78601113" @@ -1307,10 +1283,10 @@ picomatch@^4.0.2, picomatch@^4.0.4: resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-4.0.7.tgz#6313360034ccb36b3dc61ecbdff78121f90fe21f" integrity sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA== -playwright-core@~1.64.1: - version "1.64.1" - resolved "https://registry.yarnpkg.com/playwright-core/-/playwright-core-1.64.1.tgz#ca9ec82d7da6ced1b2326ec59ef097aaa9a29f94" - integrity sha512-BC4s8y6SEVA6Q1rSxZTto8hI1KUI3xXlHGZgvGqP4IqPdI/a6FX9H29IDNz7vKo9l21b6LfYosScPL6M3xxyDQ== +playwright-core@~1.65.2: + version "1.65.2" + resolved "https://registry.yarnpkg.com/playwright-core/-/playwright-core-1.65.2.tgz#10b242db00a3cf9d01d2cc38cd91afb66664be6c" + integrity sha512-aHu9F46Mx5ha9iiB+VLZMUUtex3PBw4am9MHptc0IXaJhz++6YXsH96eEyThwCwMkIUiB8TdZcwXqnb3xKDzmA== postinstall-postinstall@^2.1.0: version "2.1.0" @@ -1707,16 +1683,10 @@ tar-stream@^3.1.5: fast-fifo "^1.3.2" streamx "^2.28.1" -tar@^7.5.7: - version "7.5.22" - resolved "https://registry.yarnpkg.com/tar/-/tar-7.5.22.tgz#a696f998136e71487dc3f869a85bba2c67971ba9" - integrity sha512-MFO/QzvtAOmJbkhOaCTvbGcFN9L9b+JunIsDwaKljSOdcLMea3NJ1k9Usz/rjdfSXTq4dfzfeS7W4p4YOAAHeA== - dependencies: - "@isaacs/fs-minipass" "^4.0.0" - chownr "^3.0.0" - minipass "^7.1.2" - minizlib "^3.1.0" - yallist "^5.0.0" +tar@^7.5.7, tar@^8.0.5: + version "8.1.0" + resolved "https://registry.yarnpkg.com/tar/-/tar-8.1.0.tgz#c5cfb646747f360ece8d47c276c46e7bd499861f" + integrity sha512-0QsCa04wk0hddEWM4hSNMtgewhgvFTW+KzMKJzsSIGO2/snEWyaD9s72p9Is8SXHvbd6sxjInzzT39/yxOWTTw== teex@^1.0.1: version "1.0.1" @@ -1909,11 +1879,6 @@ y18n@^5.0.5: resolved "https://registry.yarnpkg.com/y18n/-/y18n-5.0.8.tgz#7f4934d0f7ca8c56f95314939ddcd2dd91ce1d55" integrity sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA== -yallist@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/yallist/-/yallist-5.0.0.tgz#00e2de443639ed0d78fd87de0d27469fbcffb533" - integrity sha512-YgvUTfwqyc7UXVMrB+SImsVYSmTS8X/tSrtdNZMImM+n7+QTriRXyXim0mBrTXNeqzVF0KWGgHPeiyViFFrNDw== - yargs-parser@^20.2.2: version "20.2.9" resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-20.2.9.tgz#2eb7dc3b0289718fc295f362753845c41a0c94ee" diff --git a/msa/web-ui/package.json b/msa/web-ui/package.json index c6920b2344..9a35e6b4b3 100644 --- a/msa/web-ui/package.json +++ b/msa/web-ui/package.json @@ -42,5 +42,8 @@ "assets": [ "node_modules/config/**/*.*" ] + }, + "resolutions": { + "@yao-pkg/pkg/tar": "^8.0.5" } } diff --git a/msa/web-ui/yarn.lock b/msa/web-ui/yarn.lock index de9d88afe3..290a600123 100644 --- a/msa/web-ui/yarn.lock +++ b/msa/web-ui/yarn.lock @@ -235,13 +235,6 @@ resolved "https://registry.yarnpkg.com/@esbuild/win32-x64/-/win32-x64-0.28.2.tgz#b21affb804cc167c133d95f45b3a1dc1323b9a87" integrity sha512-5ebpxr3nWMzrL/rnUI755Jkuee0bHL/Gq0WTF9lvcpv73wAp5eu8MfBUgWK9bhWvZjj7yX8etf/8tI8Ney695g== -"@isaacs/fs-minipass@^4.0.0": - version "4.0.1" - resolved "https://registry.yarnpkg.com/@isaacs/fs-minipass/-/fs-minipass-4.0.1.tgz#2d59ae3ab4b38fb4270bfa23d30f8e2e86c7fe32" - integrity sha512-wgm9Ehl2jpeqP3zw/7mo3kRHFp5MEDhqAdwy1fTGkHAwnkGOVsgpvQhL8B5n1qlb01jV3n/bI0ZfZp5lWA1k4w== - dependencies: - minipass "^7.0.4" - "@jridgewell/gen-mapping@^0.3.12": version "0.3.13" resolved "https://registry.yarnpkg.com/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz#6342a19f44347518c93e43b1ac69deb3c4656a1f" @@ -606,11 +599,6 @@ chownr@^1.1.1: resolved "https://registry.yarnpkg.com/chownr/-/chownr-1.1.4.tgz#6fc9d7b42d32a583596337666e7d08084da2cc6b" integrity sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg== -chownr@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/chownr/-/chownr-3.0.0.tgz#9855e64ecd240a9cc4267ce8a4aa5d24a1da15e4" - integrity sha512-+IxzY9BZOQd/XuYPRmrvEVjF/nqj5kgT4kEq7VofrDoM1MxoRjEWkrCC3EtLi59TVawxTAn+orJwFQcrqEN1+g== - cliui@^7.0.2: version "7.0.4" resolved "https://registry.yarnpkg.com/cliui/-/cliui-7.0.4.tgz#a0265ee655476fc807aea9df3df8df7783808b4f" @@ -1217,18 +1205,6 @@ minimist@^1.2.0, minimist@^1.2.3: resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.8.tgz#c1a464e7693302e082a075cee0c057741ac4772c" integrity sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA== -minipass@^7.0.4, minipass@^7.1.2: - version "7.1.3" - resolved "https://registry.yarnpkg.com/minipass/-/minipass-7.1.3.tgz#79389b4eb1bb2d003a9bba87d492f2bd37bdc65b" - integrity sha512-tEBHqDnIoM/1rXME1zgka9g6Q2lcoCkxHLuc7ODJ5BxbP5d4c2Z5cGgtXAku59200Cx7diuHTOYfSBD8n6mm8A== - -minizlib@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/minizlib/-/minizlib-3.1.0.tgz#6ad76c3a8f10227c9b51d1c9ac8e30b27f5a251c" - integrity sha512-KZxYo1BUkWD2TVFLr0MQoM8vUUigWD3LlD83a/75BqC+4qE0Hb1Vo5v1FgcfaNXvfXzr+5EhQ6ing/CaBijTlw== - dependencies: - minipass "^7.1.2" - mkdirp-classic@^0.5.2, mkdirp-classic@^0.5.3: version "0.5.3" resolved "https://registry.yarnpkg.com/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz#fa10c9115cc6d8865be221ba47ee9bed78601113" @@ -1741,16 +1717,10 @@ tar-stream@^3.1.5: fast-fifo "^1.3.2" streamx "^2.28.1" -tar@^7.5.7: - version "7.5.22" - resolved "https://registry.yarnpkg.com/tar/-/tar-7.5.22.tgz#a696f998136e71487dc3f869a85bba2c67971ba9" - integrity sha512-MFO/QzvtAOmJbkhOaCTvbGcFN9L9b+JunIsDwaKljSOdcLMea3NJ1k9Usz/rjdfSXTq4dfzfeS7W4p4YOAAHeA== - dependencies: - "@isaacs/fs-minipass" "^4.0.0" - chownr "^3.0.0" - minipass "^7.1.2" - minizlib "^3.1.0" - yallist "^5.0.0" +tar@^7.5.7, tar@^8.0.5: + version "8.0.5" + resolved "https://registry.yarnpkg.com/tar/-/tar-8.0.5.tgz#1f36231a811830520db3a6af984c55505a930ec3" + integrity sha512-iYroSHv/iVs5Bfy7uXCZVTye64oecqEETP3jvxksDcJlf8E3hreHYyhT+Qu7b+JgniditLaQbk4ZujNAnPEX9w== teex@^1.0.1: version "1.0.1" @@ -1943,11 +1913,6 @@ y18n@^5.0.5: resolved "https://registry.yarnpkg.com/y18n/-/y18n-5.0.8.tgz#7f4934d0f7ca8c56f95314939ddcd2dd91ce1d55" integrity sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA== -yallist@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/yallist/-/yallist-5.0.0.tgz#00e2de443639ed0d78fd87de0d27469fbcffb533" - integrity sha512-YgvUTfwqyc7UXVMrB+SImsVYSmTS8X/tSrtdNZMImM+n7+QTriRXyXim0mBrTXNeqzVF0KWGgHPeiyViFFrNDw== - yargs-parser@^20.2.2: version "20.2.9" resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-20.2.9.tgz#2eb7dc3b0289718fc295f362753845c41a0c94ee" diff --git a/ui-ngx/eslint.config.mjs b/ui-ngx/eslint.config.mjs index f003d8cc6d..49c95e6f73 100644 --- a/ui-ngx/eslint.config.mjs +++ b/ui-ngx/eslint.config.mjs @@ -20,16 +20,6 @@ export default tsEslint.config( ], processor: angular.processInlineTemplates, rules: { - "@typescript-eslint/explicit-member-accessibility": [ - "off", - { - accessibility: "explicit" - } - ], - "arrow-parens": [ - "off", - "always" - ], "@angular-eslint/component-selector": [ "error", { @@ -38,7 +28,7 @@ export default tsEslint.config( ] } ], - "id-blacklist": [ + "id-denylist": [ "error", "any", "Number", @@ -49,11 +39,9 @@ export default tsEslint.config( "Undefined", "undefined" ], - "import/order": "off", "@typescript-eslint/member-ordering": "off", "no-underscore-dangle": "off", "@typescript-eslint/naming-convention": "off", - "jsdoc/newline-after-description": 0, "@typescript-eslint/consistent-indexed-object-style": "off", "@typescript-eslint/array-type": "off", "no-extra-boolean-cast": "off", diff --git a/ui-ngx/package.json b/ui-ngx/package.json index 4ba2b84222..48f31766df 100644 --- a/ui-ngx/package.json +++ b/ui-ngx/package.json @@ -43,6 +43,7 @@ "@mat-datetimepicker/core": "~16.0.1", "@mdi/svg": "^7.4.47", "@messageformat/core": "^3.4.1", + "@messageformat/parser": "^5.2.0", "@ngrx/effects": "^20.1.0", "@ngrx/store": "^20.1.0", "@ngrx/store-devtools": "^20.1.0", @@ -57,7 +58,6 @@ "angular-gridster2": "~20.2.4", "angular2-hotkeys": "^16.0.1", "canvas-gauges": "^2.1.7", - "core-js": "^3.51.0", "dayjs": "1.11.23", "echarts": "https://github.com/thingsboard/echarts/archive/5.5.4-TB.tar.gz", "exceljs-hardened": "~5.1.0", @@ -70,7 +70,6 @@ "jquery-sparkline": "^2.4.0", "jquery.terminal": "^2.48.1", "js-beautify": "1.15.4", - "json-schema-defaults": "^0.4.0", "jstree": "^3.3.17", "jstree-bootstrap-theme": "^1.0.1", "jszip": "^3.10.2", @@ -81,11 +80,13 @@ "leaflet.gridlayer.googlemutant": "0.15.0", "leaflet.markercluster": "1.5.3", "libphonenumber-js": "^1.13.15", + "lodash": "^4.18.1", "maplibre-gl": "6.15.0", "marked": "~16.4.2", "modern-screenshot": "^4.7.0", "moment": "^2.31.0", "moment-timezone": "^0.6.5", + "mousetrap": "^1.6.5", "ngx-captcha": "^14.0.0", "ngx-clipboard": "^16.0.0", "ngx-daterangepicker-material": "^6.0.4", @@ -96,10 +97,10 @@ "ngx-translate-messageformat-compiler": "^7.3.0", "objectpath": "^2.0.0", "photoswipe": "^5.4.4", + "prismjs": "^1.30.0", "qrcode": "^1.5.4", "raphael": "^2.3.0", "rxjs": "~7.8.2", - "schema-inspector": "^2.1.0", "screenfull": "^6.0.2", "sorted-btree": "^1.8.1", "split.js": "^1.6.5", @@ -112,13 +113,11 @@ }, "devDependencies": { "@angular-builders/custom-esbuild": "20.0.0", - "@angular-devkit/core": "20.3.41", - "@angular-devkit/schematics": "20.3.41", "@angular/build": "20.3.41", "@angular/cli": "20.3.41", "@angular/compiler-cli": "20.3.34", - "@angular/language-service": "20.3.34", "@cyclonedx/cyclonedx-library": "10.3.0", + "@eslint/js": "9.39.5", "@types/ace-diff": "^2.1.4", "@types/canvas-gauges": "^2.1.8", "@types/flot": "^0.0.36", @@ -141,24 +140,20 @@ "autoprefixer": "^10.6.1", "directory-tree": "^3.6.0", "eslint": "9.39.5", - "eslint-plugin-import": "^2.32.0", - "eslint-plugin-jsdoc": "^62.9.0", - "eslint-plugin-prefer-arrow": "^1.2.3", "eslint-plugin-tailwindcss": "^3.18.3", "normalize-package-data": "8.0.0", "packageurl-js": "2.0.1", "patch-package": "^8.0.1", "postcss": "^8.5.31", - "postinstall-prepare": "^2.0.0", "spdx-expression-parse": "4.0.0", "tailwindcss": "^3.4.19", - "ts-node": "^10.9.2", "typescript": "~5.9.3", "typescript-eslint": "^8.72.0" }, "resolutions": { "esbuild": "0.28.1", "rollup": "4.59.0", - "js-beautify/**/minimatch": "^9.0.7" + "js-beautify/**/minimatch": "^9.0.7", + "@angular/cli/**/tar": "^8.0.5" } } diff --git a/ui-ngx/src/app/modules/home/components/integration/configuration/http-integration-form/http-integration-form.component.html b/ui-ngx/src/app/modules/home/components/integration/configuration/http-integration-form/http-integration-form.component.html index c4e619d4c8..73c925c244 100644 --- a/ui-ngx/src/app/modules/home/components/integration/configuration/http-integration-form/http-integration-form.component.html +++ b/ui-ngx/src/app/modules/home/components/integration/configuration/http-integration-form/http-integration-form.component.html @@ -50,6 +50,7 @@ noDataText="integration.no-headers-filter" keyPlaceholderText="integration.header" isStrokedButton="true" + showRequiredErrors appearance="outline" formControlName="headersFilter"> diff --git a/ui-ngx/src/app/modules/home/components/integration/configuration/kafka-integration-form/kafka-integration-form.component.html b/ui-ngx/src/app/modules/home/components/integration/configuration/kafka-integration-form/kafka-integration-form.component.html index 1912f968fd..2a45f8f15a 100644 --- a/ui-ngx/src/app/modules/home/components/integration/configuration/kafka-integration-form/kafka-integration-form.component.html +++ b/ui-ngx/src/app/modules/home/components/integration/configuration/kafka-integration-form/kafka-integration-form.component.html @@ -73,7 +73,7 @@
integration.other-properties - +
diff --git a/ui-ngx/src/app/modules/home/components/integration/configuration/kpn-integration-form/kpn-integration-form.component.html b/ui-ngx/src/app/modules/home/components/integration/configuration/kpn-integration-form/kpn-integration-form.component.html index ffe43c2556..1d314e8ba9 100644 --- a/ui-ngx/src/app/modules/home/components/integration/configuration/kpn-integration-form/kpn-integration-form.component.html +++ b/ui-ngx/src/app/modules/home/components/integration/configuration/kpn-integration-form/kpn-integration-form.component.html @@ -62,8 +62,9 @@ noDataText="integration.no-headers-filter" keyPlaceholderText="integration.header" isStrokedButton="true" - appearance="outline" - formControlName="additionalHeadersFilter"> + showRequiredErrors + appearance="outline" + formControlName="additionalHeadersFilter"> @if (kpnIntegrationConfigForm.get('additionalHeadersFilter').hasError('securityHeaderDuplicate')) { {{ 'integration.kpn-security-header-duplicate' | translate }} diff --git a/ui-ngx/src/app/modules/home/components/integration/configuration/loriot-integration-form/loriot-integration-form.component.html b/ui-ngx/src/app/modules/home/components/integration/configuration/loriot-integration-form/loriot-integration-form.component.html index 19e59a1698..37dca8e8c9 100644 --- a/ui-ngx/src/app/modules/home/components/integration/configuration/loriot-integration-form/loriot-integration-form.component.html +++ b/ui-ngx/src/app/modules/home/components/integration/configuration/loriot-integration-form/loriot-integration-form.component.html @@ -122,6 +122,7 @@ noDataText="integration.no-headers-filter" keyPlaceholderText="integration.header" isStrokedButton="true" + showRequiredErrors appearance="outline" formControlName="headersFilter"> diff --git a/ui-ngx/src/app/modules/home/components/integration/configuration/particle-integration-form/particle-integration-form.component.html b/ui-ngx/src/app/modules/home/components/integration/configuration/particle-integration-form/particle-integration-form.component.html index 3aa913d9e5..5f0d54dda8 100644 --- a/ui-ngx/src/app/modules/home/components/integration/configuration/particle-integration-form/particle-integration-form.component.html +++ b/ui-ngx/src/app/modules/home/components/integration/configuration/particle-integration-form/particle-integration-form.component.html @@ -67,6 +67,7 @@ noDataText="integration.no-headers-filter" keyPlaceholderText="integration.header" isStrokedButton="true" + showRequiredErrors appearance="outline" formControlName="headersFilter"> diff --git a/ui-ngx/src/app/modules/home/components/integration/mqtt-topic-filters/mqtt-topic-filters.component.html b/ui-ngx/src/app/modules/home/components/integration/mqtt-topic-filters/mqtt-topic-filters.component.html index 7dc4ab6015..2f5ddbe7a6 100644 --- a/ui-ngx/src/app/modules/home/components/integration/mqtt-topic-filters/mqtt-topic-filters.component.html +++ b/ui-ngx/src/app/modules/home/components/integration/mqtt-topic-filters/mqtt-topic-filters.component.html @@ -10,17 +10,22 @@ @for (topicFilter of mqttFiltersFromArray.controls; track topicFilter; let i = $index) {
- + @if (i === 0) { {{"integration.topic" | translate }} } - + + @if (topicFilter.get('filter').hasError('required')) { + integration.topics-required + } @if (i === 0) { {{"integration.mqtt-qos" | translate }} } - + @for (mqttQoS of mqttQosTypes; track mqttQoS) { {{ mqttQoS }} - {{ getMqttQosTranslation(mqttQoS) | translate}} diff --git a/ui-ngx/src/app/modules/home/components/wizard/integration-wizard-dialog.component.html b/ui-ngx/src/app/modules/home/components/wizard/integration-wizard-dialog.component.html index c210b855ff..f74ab22105 100644 --- a/ui-ngx/src/app/modules/home/components/wizard/integration-wizard-dialog.component.html +++ b/ui-ngx/src/app/modules/home/components/wizard/integration-wizard-dialog.component.html @@ -177,7 +177,7 @@
integration.metadata - +
diff --git a/ui-ngx/src/app/modules/home/pages/integration/integration.component.html b/ui-ngx/src/app/modules/home/pages/integration/integration.component.html index 5bb051165f..90e6d22486 100644 --- a/ui-ngx/src/app/modules/home/pages/integration/integration.component.html +++ b/ui-ngx/src/app/modules/home/pages/integration/integration.component.html @@ -115,7 +115,7 @@
integration.metadata - +
diff --git a/ui-ngx/src/app/shared/components/kv-map.component.html b/ui-ngx/src/app/shared/components/kv-map.component.html index e900b466cb..882c92f630 100644 --- a/ui-ngx/src/app/shared/components/kv-map.component.html +++ b/ui-ngx/src/app/shared/components/kv-map.component.html @@ -11,11 +11,17 @@
+ placeholder="{{ (keyPlaceholderText ? keyPlaceholderText : 'key-val.key') | translate }}{{ showRequiredErrors ? '*' : '' }}"/> + @if (showRequiredErrors && keyValControl.get('key').hasError('required')) { + key-val.key-required + } + placeholder="{{ (valuePlaceholderText ? valuePlaceholderText : 'key-val.value') | translate }}{{ showRequiredErrors && isValueRequired ? '*' : '' }}"/> + @if (showRequiredErrors && keyValControl.get('value').hasError('required')) { + key-val.value-required + }