From 8e9ab306820c4b0f013463839e4bd295fe8b2398 Mon Sep 17 00:00:00 2001 From: Kyrylo Shmidt Date: Thu, 12 Dec 2024 22:53:59 +0100 Subject: [PATCH 1/4] Migrate to repository-dispatch action --- .github/workflows/release.yml | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 260158077..f976de5b8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -66,15 +66,10 @@ jobs: DEPENDENCIES=$(cat dependencies.json | jq -c '.') echo "DEPENDENCIES=$DEPENDENCIES" >> $GITHUB_ENV - - name: Update digma - run: | - curl -X POST -H "Accept: application/vnd.github.v3+json" \ - -H "Authorization: token ${{ secrets.RELEASE_PAT }}" \ - https://api.github.com/repos/digma-ai/digma-ui/dispatches \ - -d '{ - "event_type": "update-ui", - "client_payload": { - release: "'"${{ github.ref_name }}"'", - dependencies: '"${{ env.DEPENDENCIES }}"' - } - }' + - name: Dispatch event in digma + uses: peter-evans/repository-dispatch@v3 + with: + token: ${{ secrets.RELEASE_PAT }} + repository: digma-ai/digma + event-type: update-ui + client-payload: '{ "release": "${{ github.ref_name }}", "dependencies": "${{ toJson(env.DEPENDENCIES) }}" }' From 16125e38c472623cd3fdcc72424fa06fa1467e95 Mon Sep 17 00:00:00 2001 From: Kyrylo Shmidt Date: Thu, 12 Dec 2024 23:04:24 +0100 Subject: [PATCH 2/4] Update dependencies --- .github/workflows/release.yml | 6 +- package-lock.json | 412 ++++++++++++++++++++++++---------- package.json | 10 +- 3 files changed, 301 insertions(+), 127 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f976de5b8..1daad4069 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -72,4 +72,8 @@ jobs: token: ${{ secrets.RELEASE_PAT }} repository: digma-ai/digma event-type: update-ui - client-payload: '{ "release": "${{ github.ref_name }}", "dependencies": "${{ toJson(env.DEPENDENCIES) }}" }' + client-payload: |- + { + "release": "${{ github.ref_name }}", + "dependencies": "${{ toJson(env.DEPENDENCIES) }}" + } diff --git a/package-lock.json b/package-lock.json index ca315ccb2..a324e59f3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -30,7 +30,7 @@ "recharts": "^2.6.2", "semver": "^7.5.4", "squarify": "^1.1.0", - "styled-components": "^6.1.0", + "styled-components": "^6.1.13", "uuid": "^9.0.1", "zustand": "^4.5.5", "zustand-slices": "^0.3.0" @@ -66,9 +66,9 @@ "@types/zip-webpack-plugin": "^3.0.6", "adm-zip": "^0.5.16", "babel-loader": "^9.1.3", - "babel-plugin-styled-components": "^2.1.1", + "babel-plugin-styled-components": "^2.1.4", "copy-webpack-plugin": "^12.0.2", - "css-loader": "^6.8.1", + "css-loader": "^7.1.2", "eslint": "^9.16.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-react": "^7.37.2", @@ -79,13 +79,13 @@ "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", "lint-staged": "^15.2.10", - "postcss-styled-syntax": "^0.6.4", + "postcss-styled-syntax": "^0.7.0", "prettier": "^2.8.3", "rimraf": "^6.0.1", "storybook": "^8.4.7", "storybook-addon-remix-react-router": "^3.0.2", "style-loader": "^3.3.1", - "stylelint": "^16.9.0", + "stylelint": "^16.11.0", "stylelint-config-standard": "^36.0.1", "ts-jest": "^29.2.5", "ts-loader": "^9.5.1", @@ -1990,9 +1990,9 @@ } }, "node_modules/@csstools/css-parser-algorithms": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/@csstools/css-parser-algorithms/-/css-parser-algorithms-3.0.2.tgz", - "integrity": "sha512-6tC/MnlEvs5suR4Ahef4YlBccJDHZuxGsAlxXmybWjZ5jPxlzLSMlRZ9mVHSRvlD+CmtE7+hJ+UQbfXrws/rUQ==", + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/@csstools/css-parser-algorithms/-/css-parser-algorithms-3.0.4.tgz", + "integrity": "sha512-Up7rBoV77rv29d3uKHUIVubz1BTcgyUK72IvCQAbfbMv584xHcGKCKbWh7i8hPrRJ7qU4Y8IO3IY9m+iTB7P3A==", "dev": true, "funding": [ { @@ -2004,17 +2004,18 @@ "url": "https://opencollective.com/csstools" } ], + "license": "MIT", "engines": { "node": ">=18" }, "peerDependencies": { - "@csstools/css-tokenizer": "^3.0.2" + "@csstools/css-tokenizer": "^3.0.3" } }, "node_modules/@csstools/css-tokenizer": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/@csstools/css-tokenizer/-/css-tokenizer-3.0.2.tgz", - "integrity": "sha512-IuTRcD53WHsXPCZ6W7ubfGqReTJ9Ra0yRRFmXYP/Re8hFYYfoIYIK4080X5luslVLWimhIeFq0hj09urVMQzTw==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/@csstools/css-tokenizer/-/css-tokenizer-3.0.3.tgz", + "integrity": "sha512-UJnjoFsmxfKUdNYdWgOB0mWUypuLvAfQPH1+pyvRJs6euowbFkFC6P13w1l8mJyi3vxYMxc9kld5jZEGRQs6bw==", "dev": true, "funding": [ { @@ -2026,14 +2027,15 @@ "url": "https://opencollective.com/csstools" } ], + "license": "MIT", "engines": { "node": ">=18" } }, "node_modules/@csstools/media-query-list-parser": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@csstools/media-query-list-parser/-/media-query-list-parser-3.0.1.tgz", - "integrity": "sha512-HNo8gGD02kHmcbX6PvCoUuOQvn4szyB9ca63vZHKX5A81QytgDG4oxG4IaEfHTlEZSZ6MjPEMWIVU+zF2PZcgw==", + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/@csstools/media-query-list-parser/-/media-query-list-parser-4.0.2.tgz", + "integrity": "sha512-EUos465uvVvMJehckATTlNqGj4UJWkTmdWuDMjqvSUkjGpmOyFZBVwb4knxCm/k2GMTXY+c/5RkdndzFYWeX5A==", "dev": true, "funding": [ { @@ -2045,18 +2047,19 @@ "url": "https://opencollective.com/csstools" } ], + "license": "MIT", "engines": { "node": ">=18" }, "peerDependencies": { - "@csstools/css-parser-algorithms": "^3.0.1", - "@csstools/css-tokenizer": "^3.0.1" + "@csstools/css-parser-algorithms": "^3.0.4", + "@csstools/css-tokenizer": "^3.0.3" } }, "node_modules/@csstools/selector-specificity": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@csstools/selector-specificity/-/selector-specificity-4.0.0.tgz", - "integrity": "sha512-189nelqtPd8++phaHNwYovKZI0FOzH1vQEE3QhHHkNIGrg5fSs9CbYP3RvfEH5geztnIA9Jwq91wyOIwAW5JIQ==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/@csstools/selector-specificity/-/selector-specificity-5.0.0.tgz", + "integrity": "sha512-PCqQV3c4CoVm3kdPhyeZ07VmBRdH2EpMFA/pd9OASpOEC3aXNGoqPDAZ80D0cLpMBxnmk0+yNhGsEx31hq7Gtw==", "dev": true, "funding": [ { @@ -2068,11 +2071,12 @@ "url": "https://opencollective.com/csstools" } ], + "license": "MIT-0", "engines": { "node": ">=18" }, "peerDependencies": { - "postcss-selector-parser": "^6.1.0" + "postcss-selector-parser": "^7.0.0" } }, "node_modules/@discoveryjs/json-ext": { @@ -2090,6 +2094,7 @@ "resolved": "https://registry.npmjs.org/@dual-bundle/import-meta-resolve/-/import-meta-resolve-4.1.0.tgz", "integrity": "sha512-+nxncfwHM5SgAtrVzgpzJOI1ol0PkumhVo469KCf9lUi21IGcY90G98VuHm9VRrUypmAzawAHO9bs6hqeADaVg==", "dev": true, + "license": "MIT", "funding": { "type": "github", "url": "https://github.com/sponsors/wooorm" @@ -2099,6 +2104,7 @@ "version": "1.2.2", "resolved": "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-1.2.2.tgz", "integrity": "sha512-uNsoYd37AFmaCdXlg6EYD1KaPOaRWRByMCYzbKUX4+hhMfrxdVSelShywL4JVaAeM/eHUOSprYBQls+/neX3pw==", + "license": "MIT", "dependencies": { "@emotion/memoize": "^0.8.1" } @@ -2106,12 +2112,14 @@ "node_modules/@emotion/memoize": { "version": "0.8.1", "resolved": "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.8.1.tgz", - "integrity": "sha512-W2P2c/VRW1/1tLox0mVUalvnWXxavmv/Oum2aPsRcoDJuob75FC3Y8FbpfLwUegRcxINtGUMPq0tFCvYNTBXNA==" + "integrity": "sha512-W2P2c/VRW1/1tLox0mVUalvnWXxavmv/Oum2aPsRcoDJuob75FC3Y8FbpfLwUegRcxINtGUMPq0tFCvYNTBXNA==", + "license": "MIT" }, "node_modules/@emotion/unitless": { "version": "0.8.1", "resolved": "https://registry.npmjs.org/@emotion/unitless/-/unitless-0.8.1.tgz", - "integrity": "sha512-KOEGMu6dmJZtpadb476IsZBclKvILjopjUii3V+7MnXIQCYh8W3NgNcgwo21n9LXZX6EDIKvqfjYxXebDwxKmQ==" + "integrity": "sha512-KOEGMu6dmJZtpadb476IsZBclKvILjopjUii3V+7MnXIQCYh8W3NgNcgwo21n9LXZX6EDIKvqfjYxXebDwxKmQ==", + "license": "MIT" }, "node_modules/@esbuild/aix-ppc64": { "version": "0.24.0", @@ -4326,6 +4334,7 @@ "resolved": "https://registry.npmjs.org/@storybook/builder-webpack5/-/builder-webpack5-8.4.7.tgz", "integrity": "sha512-O8LpsQ+4g2x5kh7rI9+jEUdX8k1a5egBQU1lbudmHchqsV0IKiVqBD9LL5Gj3wpit4vB8coSW4ZWTFBw8FQb4Q==", "dev": true, + "license": "MIT", "dependencies": { "@storybook/core-webpack": "8.4.7", "@types/node": "^22.0.0", @@ -4366,6 +4375,42 @@ } } }, + "node_modules/@storybook/builder-webpack5/node_modules/css-loader": { + "version": "6.11.0", + "resolved": "https://registry.npmjs.org/css-loader/-/css-loader-6.11.0.tgz", + "integrity": "sha512-CTJ+AEQJjq5NzLga5pE39qdiSV56F8ywCIsqNIRF0r7BDgWsN25aazToqAFg7ZrtA/U016xudB3ffgweORxX7g==", + "dev": true, + "license": "MIT", + "dependencies": { + "icss-utils": "^5.1.0", + "postcss": "^8.4.33", + "postcss-modules-extract-imports": "^3.1.0", + "postcss-modules-local-by-default": "^4.0.5", + "postcss-modules-scope": "^3.2.0", + "postcss-modules-values": "^4.0.0", + "postcss-value-parser": "^4.2.0", + "semver": "^7.5.4" + }, + "engines": { + "node": ">= 12.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "@rspack/core": "0.x || 1.x", + "webpack": "^5.0.0" + }, + "peerDependenciesMeta": { + "@rspack/core": { + "optional": true + }, + "webpack": { + "optional": true + } + } + }, "node_modules/@storybook/channels": { "version": "8.4.7", "resolved": "https://registry.npmjs.org/@storybook/channels/-/channels-8.4.7.tgz", @@ -4443,6 +4488,7 @@ "resolved": "https://registry.npmjs.org/@storybook/core-webpack/-/core-webpack-8.4.7.tgz", "integrity": "sha512-Tj+CjQLpFyBJxhhMms+vbPT3+gTRAiQlrhY3L1IEVwBa3wtRMS0qjozH26d1hK4G6mUIEdwu13L54HMU/w33Sg==", "dev": true, + "license": "MIT", "dependencies": { "@types/node": "^22.0.0", "ts-dedent": "^2.0.0" @@ -4534,6 +4580,7 @@ "resolved": "https://registry.npmjs.org/@storybook/preset-react-webpack/-/preset-react-webpack-8.4.7.tgz", "integrity": "sha512-geTSBKyrBagVihil5MF7LkVFynbfHhCinvnbCZZqXW7M1vgcxvatunUENB+iV8eWg/0EJ+8O7scZL+BAxQ/2qg==", "dev": true, + "license": "MIT", "dependencies": { "@storybook/core-webpack": "8.4.7", "@storybook/react": "8.4.7", @@ -4620,6 +4667,7 @@ "resolved": "https://registry.npmjs.org/@storybook/react-docgen-typescript-plugin/-/react-docgen-typescript-plugin-1.0.6--canary.9.0c3f3b7.0.tgz", "integrity": "sha512-KUqXC3oa9JuQ0kZJLBhVdS4lOneKTOopnNBK4tUAgoxWQ3u/IjzdueZjFr7gyBrXMoU6duutk3RQR9u8ZpYJ4Q==", "dev": true, + "license": "MIT", "dependencies": { "debug": "^4.1.1", "endent": "^2.0.1", @@ -4654,6 +4702,7 @@ "resolved": "https://registry.npmjs.org/@storybook/react-webpack5/-/react-webpack5-8.4.7.tgz", "integrity": "sha512-T9GLqlsP4It4El7cC8rSkBPRWvORAsTDULeWlO36RST2TrYnmBOUytsi22mk7cAAAVhhD6rTrs1YdqWRMpfa1w==", "dev": true, + "license": "MIT", "dependencies": { "@storybook/builder-webpack5": "8.4.7", "@storybook/preset-react-webpack": "8.4.7", @@ -5080,7 +5129,8 @@ "version": "0.0.9", "resolved": "https://registry.npmjs.org/@types/doctrine/-/doctrine-0.0.9.tgz", "integrity": "sha512-eOIHzCUSH7SMfonMG1LsC2f8vxBFtho6NGBznK41R84YzPuvSBzrhEps33IsQiOW9+VL6NQ9DbjQJznk/S4uRA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@types/eslint": { "version": "9.6.1", @@ -5247,7 +5297,8 @@ "version": "4.0.2", "resolved": "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.2.tgz", "integrity": "sha512-dISoDXWWQwUquiKsyZ4Ng+HX2KsPL7LyHKHQwgGFEA3IaKac4Obd+h2a/a6waisAoepJlBcx9paWqjA8/HVjCw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@types/prop-types": { "version": "15.7.13", @@ -5305,7 +5356,8 @@ "version": "1.20.6", "resolved": "https://registry.npmjs.org/@types/resolve/-/resolve-1.20.6.tgz", "integrity": "sha512-A4STmOXPhMUtHH+S6ymgE2GiBSMqf4oTvcQZMcHzokuTLVYzXTB8ttjcgxOVaAp2lGwEdzZ0J+cRbbeevQj1UQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@types/semver": { "version": "7.5.8", @@ -5329,7 +5381,8 @@ "node_modules/@types/stylis": { "version": "4.2.5", "resolved": "https://registry.npmjs.org/@types/stylis/-/stylis-4.2.5.tgz", - "integrity": "sha512-1Xve+NMN7FWjY14vLoY5tL3BVEQ/n42YLwaqJIPYhotZ9uBHt87VceMwWQpzmdEt2TNXIorIFG+YeCUUW7RInw==" + "integrity": "sha512-1Xve+NMN7FWjY14vLoY5tL3BVEQ/n42YLwaqJIPYhotZ9uBHt87VceMwWQpzmdEt2TNXIorIFG+YeCUUW7RInw==", + "license": "MIT" }, "node_modules/@types/tapable": { "version": "1.0.12", @@ -6150,6 +6203,7 @@ "engines": [ "node >= 0.8.0" ], + "license": "Apache-2.0", "bin": { "ansi-html": "bin/ansi-html" } @@ -6262,6 +6316,16 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/array-union": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", + "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, "node_modules/array.prototype.findlast": { "version": "1.2.5", "resolved": "https://registry.npmjs.org/array.prototype.findlast/-/array.prototype.findlast-1.2.5.tgz", @@ -6387,6 +6451,7 @@ "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-2.0.0.tgz", "integrity": "sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -6768,6 +6833,7 @@ "resolved": "https://registry.npmjs.org/babel-plugin-styled-components/-/babel-plugin-styled-components-2.1.4.tgz", "integrity": "sha512-Xgp9g+A/cG47sUyRwwYxGM4bR/jDRg5N6it/8+HxCnbT5XNKSKDT9xm4oag/osgqjC2It/vH0yXsomOG6k558g==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-annotate-as-pure": "^7.22.5", "@babel/helper-module-imports": "^7.22.5", @@ -6854,6 +6920,7 @@ "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.3.0.tgz", "integrity": "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" }, @@ -7019,6 +7086,7 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/camelize/-/camelize-1.0.1.tgz", "integrity": "sha512-dU+Tx2fsypxTgtLoE36npi3UqcjSSMNYfkqgmoEhtZrraP5VWq0K7FkWVTYa8eMPtnU/G2txVsfdCJTn9uzpuQ==", + "license": "MIT", "funding": { "url": "https://github.com/sponsors/ljharb" } @@ -7048,6 +7116,7 @@ "resolved": "https://registry.npmjs.org/case-sensitive-paths-webpack-plugin/-/case-sensitive-paths-webpack-plugin-2.4.0.tgz", "integrity": "sha512-roIFONhcxog0JSSWbvVAh3OocukmSgpqOH6YpMkCvav/ySIV3JKg4Dc8vYtQjYi/UxpNE36r/9v+VqTQqgkYmw==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } @@ -7133,6 +7202,7 @@ "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz", "integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==", "dev": true, + "license": "MIT", "dependencies": { "anymatch": "~3.1.2", "braces": "~3.0.2", @@ -7157,6 +7227,7 @@ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", "dev": true, + "license": "ISC", "dependencies": { "is-glob": "^4.0.1" }, @@ -7389,7 +7460,8 @@ "version": "2.9.3", "resolved": "https://registry.npmjs.org/colord/-/colord-2.9.3.tgz", "integrity": "sha512-jeC1axXpnb0/2nn/Y1LPuLdgXBLH7aDcHu4KEKfqw3CUhX7ZpfBSlPKyqXE6btIgEzfWtrX3/tyBCaCvXvMkOw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/colorette": { "version": "2.0.20", @@ -7436,7 +7508,8 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz", "integrity": "sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/compare-versions": { "version": "6.1.1", @@ -7455,7 +7528,8 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/constants-browserify/-/constants-browserify-1.0.0.tgz", "integrity": "sha512-xFxOwqIzR/e1k1gLiWEophSCMqXcwVHIH7akf7b/vxcUeGunlj3hvZaaqxwHsTgn+IndtkQJgSztIDWeumWJDQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/convert-source-map": { "version": "2.0.0", @@ -7514,6 +7588,7 @@ "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.1.0.tgz", "integrity": "sha512-AdmX6xUzdNASswsFtmwSt7Vj8po9IuqXm0UXz7QKPuEUmPB4XyjGfaAr2PSuELMwkRMVH1EpIkX5bTZGRB3eCA==", "dev": true, + "license": "MIT", "dependencies": { "@types/parse-json": "^4.0.0", "import-fresh": "^3.2.1", @@ -7628,6 +7703,7 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/css-color-keywords/-/css-color-keywords-1.0.0.tgz", "integrity": "sha512-FyyrDHZKEjXDpNJYvVsV960FiqQyXc/LlYmsxl2BcdMb2WPx0OGRVgTg55rPSyLSNMqP52R9r8geSp7apN3Ofg==", + "license": "ISC", "engines": { "node": ">=4" } @@ -7637,15 +7713,17 @@ "resolved": "https://registry.npmjs.org/css-functions-list/-/css-functions-list-3.2.3.tgz", "integrity": "sha512-IQOkD3hbR5KrN93MtcYuad6YPuTSUhntLHDuLEbFWE+ff2/XSZNdZG+LcbbIW5AXKg/WFIfYItIzVoHngHXZzA==", "dev": true, + "license": "MIT", "engines": { "node": ">=12 || >=16" } }, "node_modules/css-loader": { - "version": "6.11.0", - "resolved": "https://registry.npmjs.org/css-loader/-/css-loader-6.11.0.tgz", - "integrity": "sha512-CTJ+AEQJjq5NzLga5pE39qdiSV56F8ywCIsqNIRF0r7BDgWsN25aazToqAFg7ZrtA/U016xudB3ffgweORxX7g==", + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/css-loader/-/css-loader-7.1.2.tgz", + "integrity": "sha512-6WvYYn7l/XEGN8Xu2vWFt9nVzrCn39vKyTEFf/ExEyoksJjjSZV/0/35XPlMbpnr6VGhZIUg5yJrL8tGfes/FA==", "dev": true, + "license": "MIT", "dependencies": { "icss-utils": "^5.1.0", "postcss": "^8.4.33", @@ -7657,7 +7735,7 @@ "semver": "^7.5.4" }, "engines": { - "node": ">= 12.13.0" + "node": ">= 18.12.0" }, "funding": { "type": "opencollective", @@ -7665,7 +7743,7 @@ }, "peerDependencies": { "@rspack/core": "0.x || 1.x", - "webpack": "^5.0.0" + "webpack": "^5.27.0" }, "peerDependenciesMeta": { "@rspack/core": { @@ -7696,6 +7774,7 @@ "version": "3.2.0", "resolved": "https://registry.npmjs.org/css-to-react-native/-/css-to-react-native-3.2.0.tgz", "integrity": "sha512-e8RKaLXMOFii+02mOlqwjbD00KSEKqblnpO9e++1aXS1fPQOpS1YoqdVHBqPjHNoxeF2mimzVqawm2KCbEdtHQ==", + "license": "MIT", "dependencies": { "camelize": "^1.0.0", "css-color-keywords": "^1.0.0", @@ -7703,12 +7782,13 @@ } }, "node_modules/css-tree": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-3.0.0.tgz", - "integrity": "sha512-o88DVQ6GzsABn1+6+zo2ct801dBO5OASVyxbbvA2W20ue2puSh/VOuqUj90eUeMSX/xqGqBmOKiRQN7tJOuBXw==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-3.1.0.tgz", + "integrity": "sha512-0eW44TGN5SQXU1mWSkKwFstI/22X2bG1nYzZTYMAWjylYURhse752YgbE4Cx46AC+bAvI+/dYTPRk1LqSUnu6w==", "dev": true, + "license": "MIT", "dependencies": { - "mdn-data": "2.10.0", + "mdn-data": "2.12.2", "source-map-js": "^1.0.1" }, "engines": { @@ -7738,6 +7818,7 @@ "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz", "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==", "dev": true, + "license": "MIT", "bin": { "cssesc": "bin/cssesc" }, @@ -8013,7 +8094,8 @@ "version": "0.7.0", "resolved": "https://registry.npmjs.org/dedent/-/dedent-0.7.0.tgz", "integrity": "sha512-Q6fKUPqnAHAyhiUgFU7BUzLiv0kd8saH9al7tnu5Q/okj6dnupxyTgFIBjVzJATdfIAm9NAsvXNzjaKa+bxVyA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/deep-eql": { "version": "5.0.2", @@ -8135,6 +8217,7 @@ "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", "dev": true, + "license": "MIT", "dependencies": { "path-type": "^4.0.0" }, @@ -8147,6 +8230,7 @@ "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", "dev": true, + "license": "Apache-2.0", "dependencies": { "esutils": "^2.0.2" }, @@ -8319,6 +8403,7 @@ "resolved": "https://registry.npmjs.org/endent/-/endent-2.1.0.tgz", "integrity": "sha512-r8VyPX7XL8U01Xgnb1CjZ3XV+z90cXIJ9JPE/R9SEC9vpw2P6CfsRPJmp20DppC5N7ZAMCmjYkJIa744Iyg96w==", "dev": true, + "license": "MIT", "dependencies": { "dedent": "^0.7.0", "fast-json-parse": "^1.0.3", @@ -8355,6 +8440,7 @@ "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz", "integrity": "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==", "dev": true, + "license": "MIT", "engines": { "node": ">=6" } @@ -9125,7 +9211,8 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/fast-json-parse/-/fast-json-parse-1.0.3.tgz", "integrity": "sha512-FRWsaZRWEJ1ESVNbDWmsAlqDk96gPQezzLghafp5J4GUKjbCz3OkAHuZs5TuPEtkbVQERysLp9xv6c24fBm8Aw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/fast-json-stable-stringify": { "version": "2.1.0", @@ -9263,6 +9350,7 @@ "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-3.3.2.tgz", "integrity": "sha512-wXZV5emFEjrridIgED11OoUKLxiYjAcqot/NJdAkOhlJ+vGzwhOAfcG5OX1jP+S0PcjEn8bdMJv+g2jwQ3Onig==", "dev": true, + "license": "MIT", "dependencies": { "commondir": "^1.0.1", "make-dir": "^3.0.2", @@ -9306,6 +9394,7 @@ "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.2.0.tgz", "integrity": "sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw==", "dev": true, + "license": "MIT", "dependencies": { "flatted": "^3.2.9", "keyv": "^4.5.3", @@ -9321,6 +9410,7 @@ "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", "deprecated": "Rimraf versions prior to v4 are no longer supported", "dev": true, + "license": "ISC", "dependencies": { "glob": "^7.1.3" }, @@ -9400,6 +9490,7 @@ "resolved": "https://registry.npmjs.org/fork-ts-checker-webpack-plugin/-/fork-ts-checker-webpack-plugin-8.0.0.tgz", "integrity": "sha512-mX3qW3idpueT2klaQXBzrIM/pHw+T0B/V9KHEvNrqijTq9NFnMZU6oreVxDYcf33P8a5cW+67PjodNHthGnNVg==", "dev": true, + "license": "MIT", "dependencies": { "@babel/code-frame": "^7.16.7", "chalk": "^4.1.2", @@ -9428,6 +9519,7 @@ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, + "license": "MIT", "dependencies": { "color-convert": "^2.0.1" }, @@ -9443,6 +9535,7 @@ "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "dev": true, + "license": "MIT", "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" @@ -9459,6 +9552,7 @@ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -9468,6 +9562,7 @@ "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.3.0.tgz", "integrity": "sha512-pN/yOAvcC+5rQ5nERGuwrjLlYvLTbCibnZ1I7B1LaiAz9BRBlE9GMgE/eqV30P7aJQUf7Ddimy/RsbYO/GrVGg==", "dev": true, + "license": "MIT", "dependencies": { "@types/json-schema": "^7.0.8", "ajv": "^6.12.5", @@ -9486,6 +9581,7 @@ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dev": true, + "license": "MIT", "dependencies": { "has-flag": "^4.0.0" }, @@ -9531,6 +9627,7 @@ "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.1.0.tgz", "integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==", "dev": true, + "license": "MIT", "dependencies": { "graceful-fs": "^4.2.0", "jsonfile": "^6.0.1", @@ -9544,7 +9641,8 @@ "version": "1.0.6", "resolved": "https://registry.npmjs.org/fs-monkey/-/fs-monkey-1.0.6.tgz", "integrity": "sha512-b1FMfwetIKymC0eioW7mTywihSQE4oLzQn1dB6rZB5fx/3NpNEdAWeCSMB+60/AeT0TCXsxzAlcYVEFCTAksWg==", - "dev": true + "dev": true, + "license": "Unlicense" }, "node_modules/fs.realpath": { "version": "1.0.0", @@ -9740,6 +9838,7 @@ "resolved": "https://registry.npmjs.org/global-modules/-/global-modules-2.0.0.tgz", "integrity": "sha512-NGbfmJBp9x8IxyJSd1P+otYK8vonoJactOogrVfFRIAEY1ukil8RSKDz2Yo7wh1oihl51l/r6W4epkeKJHqL8A==", "dev": true, + "license": "MIT", "dependencies": { "global-prefix": "^3.0.0" }, @@ -9752,6 +9851,7 @@ "resolved": "https://registry.npmjs.org/global-prefix/-/global-prefix-3.0.0.tgz", "integrity": "sha512-awConJSVCHVGND6x3tmMaKcQvwXLhjdkmomy2W+Goaui8YPgYgXJZewhg3fWC+DlfqqQuWg8AwqjGTD2nAPVWg==", "dev": true, + "license": "MIT", "dependencies": { "ini": "^1.3.5", "kind-of": "^6.0.2", @@ -9766,6 +9866,7 @@ "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", "dev": true, + "license": "ISC", "dependencies": { "isexe": "^2.0.0" }, @@ -9828,7 +9929,8 @@ "version": "0.1.4", "resolved": "https://registry.npmjs.org/globjoin/-/globjoin-0.1.4.tgz", "integrity": "sha512-xYfnw62CKG8nLkZBfWbhWwDw02CHty86jfPcc2cr3ZfeuK9ysoVPPEUxf21bAD/rWAgk52SuBrLJlefNy8mvFg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/gopd": { "version": "1.2.0", @@ -10006,7 +10108,8 @@ "type": "patreon", "url": "https://patreon.com/mdevils" } - ] + ], + "license": "MIT" }, "node_modules/html-escaper": { "version": "2.0.2", @@ -10041,6 +10144,7 @@ "resolved": "https://registry.npmjs.org/html-tags/-/html-tags-3.3.1.tgz", "integrity": "sha512-ztqyC3kLto0e9WbNp0aeP+M3kTt+nbaIveGmUxAtZa+8iFgKLUOD4YKM5j+f3QD89bra7UeumolZHKuOXnTmeQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" }, @@ -10166,6 +10270,7 @@ "resolved": "https://registry.npmjs.org/icss-utils/-/icss-utils-5.1.0.tgz", "integrity": "sha512-soFhflCVWLfRNOPU3iv5Z9VUdT44xFRbzjLsEzSr5AQmgqPMTHdU3PMT1Cf1ssx8fLNJDA1juftYl+PUcv3MqA==", "dev": true, + "license": "ISC", "engines": { "node": "^10 || ^12 || >= 14" }, @@ -10257,7 +10362,8 @@ "version": "1.3.8", "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/internal-slot": { "version": "1.0.7", @@ -10390,6 +10496,7 @@ "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", "dev": true, + "license": "MIT", "dependencies": { "binary-extensions": "^2.0.0" }, @@ -10635,6 +10742,7 @@ "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.0.0.tgz", "integrity": "sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } @@ -12946,6 +13054,7 @@ "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", "dev": true, + "license": "MIT", "dependencies": { "universalify": "^2.0.0" }, @@ -12998,10 +13107,11 @@ } }, "node_modules/known-css-properties": { - "version": "0.34.0", - "resolved": "https://registry.npmjs.org/known-css-properties/-/known-css-properties-0.34.0.tgz", - "integrity": "sha512-tBECoUqNFbyAY4RrbqsBQqDFpGXAEbdD5QKr8kACx3+rnArmuuR22nKQWKazvp07N9yjTyDZaw/20UIH8tL9DQ==", - "dev": true + "version": "0.35.0", + "resolved": "https://registry.npmjs.org/known-css-properties/-/known-css-properties-0.35.0.tgz", + "integrity": "sha512-a/RAk2BfKk+WFGhhOCAYqSiFLc34k8Mt/6NWRI4joER0EYUzXIcFivjjnoD3+XU1DggLn/tZc3DOAgke7l8a4A==", + "dev": true, + "license": "MIT" }, "node_modules/leven": { "version": "3.1.0", @@ -13450,7 +13560,8 @@ "version": "4.4.2", "resolved": "https://registry.npmjs.org/lodash.truncate/-/lodash.truncate-4.4.2.tgz", "integrity": "sha512-jttmRe7bRse52OsWIMDLaXxWqRAmtIUccAQ3garviCqJjafXOfNMO0yMfNpdD6zbGaTU0P5Nz7e7gAT6cKmJRw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/log-update": { "version": "6.1.0", @@ -13664,10 +13775,11 @@ } }, "node_modules/magic-string": { - "version": "0.30.14", - "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.14.tgz", - "integrity": "sha512-5c99P1WKTed11ZC0HMJOj6CDIue6F8ySu+bJL+85q1zBEIY8IklrJ1eiKC2NDRh3Ct3FcvmJPyQHb9erXMTJNw==", + "version": "0.30.15", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.15.tgz", + "integrity": "sha512-zXeaYRgZ6ldS1RJJUrMrYgNJ4fdwnyI6tVqoiIhyCyv5IVTK9BU8Ic2l253GGETQHxI4HNUwhJ3fjDhKqEoaAw==", "dev": true, + "license": "MIT", "dependencies": { "@jridgewell/sourcemap-codec": "^1.5.0" } @@ -13677,6 +13789,7 @@ "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==", "dev": true, + "license": "MIT", "dependencies": { "semver": "^6.0.0" }, @@ -13692,6 +13805,7 @@ "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true, + "license": "ISC", "bin": { "semver": "bin/semver.js" } @@ -13723,22 +13837,25 @@ "resolved": "https://registry.npmjs.org/mathml-tag-names/-/mathml-tag-names-2.1.3.tgz", "integrity": "sha512-APMBEanjybaPzUrfqU0IMU5I0AswKMH7k8OTLs0vvV4KZpExkTkY87nR/zpbuTPj+gARop7aGUbl11pnDfW6xg==", "dev": true, + "license": "MIT", "funding": { "type": "github", "url": "https://github.com/sponsors/wooorm" } }, "node_modules/mdn-data": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.10.0.tgz", - "integrity": "sha512-qq7C3EtK3yJXMwz1zAab65pjl+UhohqMOctTgcqjLOWABqmwj+me02LSsCuEUxnst9X1lCBpoE0WArGKgdGDzw==", - "dev": true + "version": "2.12.2", + "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.12.2.tgz", + "integrity": "sha512-IEn+pegP1aManZuckezWCO+XZQDplx1366JoVhTpMpBB1sPey/SbveZQUosKiKiGYjg1wH4pMlNgXbCiYgihQA==", + "dev": true, + "license": "CC0-1.0" }, "node_modules/memfs": { "version": "3.5.3", "resolved": "https://registry.npmjs.org/memfs/-/memfs-3.5.3.tgz", "integrity": "sha512-UERzLsxzllchadvbPs5aolHh65ISpKpM+ccLbOJ8/vvpBKmAWf+la7dXFy7Mr0ySHbdHrFv5kGFCUHHe6GFEmw==", "dev": true, + "license": "Unlicense", "dependencies": { "fs-monkey": "^1.0.4" }, @@ -13760,6 +13877,7 @@ "resolved": "https://registry.npmjs.org/meow/-/meow-13.2.0.tgz", "integrity": "sha512-pxQJQzB6djGPXh08dacEloMFopsOqGVRKFPYvPOt9XDZ1HasbgDZA74CJGreSU4G3Ak7EFJGoiH2auq+yXISgA==", "dev": true, + "license": "MIT", "engines": { "node": ">=18" }, @@ -13875,6 +13993,7 @@ "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", "dev": true, + "license": "MIT", "funding": { "url": "https://github.com/sponsors/ljharb" } @@ -13896,15 +14015,16 @@ "dev": true }, "node_modules/nanoid": { - "version": "3.3.7", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz", - "integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==", + "version": "3.3.8", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.8.tgz", + "integrity": "sha512-WNLf5Sd8oZxOm+TzppcYk8gVOgP+l58xNy58D0nbUnOxOWRWvlcCV4kUF7ltmI6PsrLl/BgKEyS4mqsGChFN0w==", "funding": [ { "type": "github", "url": "https://github.com/sponsors/ai" } ], + "license": "MIT", "bin": { "nanoid": "bin/nanoid.cjs" }, @@ -13939,7 +14059,8 @@ "version": "3.1.1", "resolved": "https://registry.npmjs.org/node-abort-controller/-/node-abort-controller-3.1.1.tgz", "integrity": "sha512-AGK2yQKIjRuqnc6VkX2Xj5d+QW8xZ87pa1UK6yA6ouUyuxfHuMP6umE5QK7UmTeOAymo+Zx1Fxiuw9rVx8taHQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/node-int64": { "version": "0.4.0", @@ -14100,7 +14221,8 @@ "version": "1.0.5", "resolved": "https://registry.npmjs.org/objectorarray/-/objectorarray-1.0.5.tgz", "integrity": "sha512-eJJDYkhJFFbBBAxeh8xW+weHlkI28n2ZdQV/J/DNfWfSKlGEf2xcfAbZTv3riEXHAhL9SVOTs2pRmXiSTf78xg==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/once": { "version": "1.4.0", @@ -14290,7 +14412,8 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-1.0.1.tgz", "integrity": "sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/path-exists": { "version": "4.0.0", @@ -14358,6 +14481,7 @@ "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -14372,9 +14496,10 @@ } }, "node_modules/picocolors": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.0.tgz", - "integrity": "sha512-TQ92mBOW0l3LeMeyLV6mzy/kWr8lkd/hp3mTg7wYK7zJhuBStmGMBG0BdeDZS/dZx1IukaX6Bk11zcln25o1Aw==" + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", + "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", + "license": "ISC" }, "node_modules/picomatch": { "version": "2.3.1", @@ -14497,9 +14622,9 @@ } }, "node_modules/postcss": { - "version": "8.4.47", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.47.tgz", - "integrity": "sha512-56rxCq7G/XfB4EkXq9Egn5GCqugWvDFjafDOThIdMBsI15iqPqR5r15TfSr1YPYeEI19YeaXMCbY6u88Y76GLQ==", + "version": "8.4.49", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.49.tgz", + "integrity": "sha512-OCVPnIObs4N29kxTjzLfUryOkvZEq+pf8jTF0lg8E7uETuWHA+v7j3c/xJmiqpX450191LlmZfUKkXxkTry7nA==", "dev": true, "funding": [ { @@ -14515,9 +14640,10 @@ "url": "https://github.com/sponsors/ai" } ], + "license": "MIT", "dependencies": { "nanoid": "^3.3.7", - "picocolors": "^1.1.0", + "picocolors": "^1.1.1", "source-map-js": "^1.2.1" }, "engines": { @@ -14529,6 +14655,7 @@ "resolved": "https://registry.npmjs.org/postcss-modules-extract-imports/-/postcss-modules-extract-imports-3.1.0.tgz", "integrity": "sha512-k3kNe0aNFQDAZGbin48pL2VNidTF0w4/eASDsxlyspobzU3wZQLOGj7L9gfRe0Jo9/4uud09DsjFNH7winGv8Q==", "dev": true, + "license": "ISC", "engines": { "node": "^10 || ^12 || >= 14" }, @@ -14537,13 +14664,14 @@ } }, "node_modules/postcss-modules-local-by-default": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/postcss-modules-local-by-default/-/postcss-modules-local-by-default-4.0.5.tgz", - "integrity": "sha512-6MieY7sIfTK0hYfafw1OMEG+2bg8Q1ocHCpoWLqOKj3JXlKu4G7btkmM/B7lFubYkYWmRSPLZi5chid63ZaZYw==", + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/postcss-modules-local-by-default/-/postcss-modules-local-by-default-4.2.0.tgz", + "integrity": "sha512-5kcJm/zk+GJDSfw+V/42fJ5fhjL5YbFDl8nVdXkJPLLW+Vf9mTD5Xe0wqIaDnLuL2U6cDNpTr+UQ+v2HWIBhzw==", "dev": true, + "license": "MIT", "dependencies": { "icss-utils": "^5.0.0", - "postcss-selector-parser": "^6.0.2", + "postcss-selector-parser": "^7.0.0", "postcss-value-parser": "^4.1.0" }, "engines": { @@ -14554,12 +14682,13 @@ } }, "node_modules/postcss-modules-scope": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/postcss-modules-scope/-/postcss-modules-scope-3.2.0.tgz", - "integrity": "sha512-oq+g1ssrsZOsx9M96c5w8laRmvEu9C3adDSjI8oTcbfkrTE8hx/zfyobUoWIxaKPO8bt6S62kxpw5GqypEw1QQ==", + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/postcss-modules-scope/-/postcss-modules-scope-3.2.1.tgz", + "integrity": "sha512-m9jZstCVaqGjTAuny8MdgE88scJnCiQSlSrOWcTQgM2t32UBe+MUmFSO5t7VMSfAf/FJKImAxBav8ooCHJXCJA==", "dev": true, + "license": "ISC", "dependencies": { - "postcss-selector-parser": "^6.0.4" + "postcss-selector-parser": "^7.0.0" }, "engines": { "node": "^10 || ^12 || >= 14" @@ -14573,6 +14702,7 @@ "resolved": "https://registry.npmjs.org/postcss-modules-values/-/postcss-modules-values-4.0.0.tgz", "integrity": "sha512-RDxHkAiEGI78gS2ofyvCsu7iycRv7oqw5xMWn9iMoR0N/7mf9D50ecQqUo5BZ9Zh2vH4bCUR/ktCqbB9m8vJjQ==", "dev": true, + "license": "ISC", "dependencies": { "icss-utils": "^5.0.0" }, @@ -14587,7 +14717,8 @@ "version": "0.1.6", "resolved": "https://registry.npmjs.org/postcss-resolve-nested-selector/-/postcss-resolve-nested-selector-0.1.6.tgz", "integrity": "sha512-0sglIs9Wmkzbr8lQwEyIzlDOOC9bGmfVKcJTaxv3vMmd3uo4o4DerC3En0bnmgceeql9BfC8hRkp7cg0fjdVqw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/postcss-safe-parser": { "version": "7.0.1", @@ -14608,6 +14739,7 @@ "url": "https://github.com/sponsors/ai" } ], + "license": "MIT", "engines": { "node": ">=18.0" }, @@ -14616,10 +14748,11 @@ } }, "node_modules/postcss-selector-parser": { - "version": "6.1.2", - "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.1.2.tgz", - "integrity": "sha512-Q8qQfPiZ+THO/3ZrOrO0cJJKfpYCagtMUkXbnEfmgUjwXg6z/WBeOyS9APBBPCTSiDV+s4SwQGu8yFsiMRIudg==", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-7.0.0.tgz", + "integrity": "sha512-9RbEr1Y7FFfptd/1eEdntyjMwLeghW1bHX9GWjXo19vx4ytPQhANltvVxDggzJl7mnWM+dX28kb6cyS/4iQjlQ==", "dev": true, + "license": "MIT", "dependencies": { "cssesc": "^3.0.0", "util-deprecate": "^1.0.2" @@ -14629,12 +14762,13 @@ } }, "node_modules/postcss-styled-syntax": { - "version": "0.6.4", - "resolved": "https://registry.npmjs.org/postcss-styled-syntax/-/postcss-styled-syntax-0.6.4.tgz", - "integrity": "sha512-uWiLn+9rKgIghUYmTHvXMR6MnyPULMe9Gv3bV537Fg4FH6CA6cn21WMjKss2Qb98LUhT847tKfnRGG3FhSOgUQ==", + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/postcss-styled-syntax/-/postcss-styled-syntax-0.7.0.tgz", + "integrity": "sha512-OeStzPkHJ1/WDGRKm/JuVK8UdJbjt3U7AFC+zUc9omJ79SaXSxWoy+PXxJz7t8vOO8HcUgCLndNEQfLvZ74TuQ==", "dev": true, + "license": "MIT", "dependencies": { - "typescript": "^5.3.3" + "typescript": "^5.6.3" }, "engines": { "node": ">=14.17" @@ -14644,10 +14778,11 @@ } }, "node_modules/postcss-styled-syntax/node_modules/typescript": { - "version": "5.6.3", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.6.3.tgz", - "integrity": "sha512-hjcS1mhfuyi4WW8IWtjP7brDrG2cuDZukyrYrSauoXGNgx0S7zceP07adYkJycEr56BOUTNPzbInooiN3fn1qw==", + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.7.2.tgz", + "integrity": "sha512-i5t66RHxDvVN40HfDd1PsEThGNnlMCMT3jMUuoh9/0TaqWevNontacunWyN02LA9/fIbEWlcHZcgTKb9QoaLfg==", "dev": true, + "license": "Apache-2.0", "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -14659,7 +14794,8 @@ "node_modules/postcss-value-parser": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz", - "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==" + "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==", + "license": "MIT" }, "node_modules/prelude-ls": { "version": "1.2.1", @@ -14822,6 +14958,7 @@ "resolved": "https://registry.npmjs.org/qs/-/qs-6.13.1.tgz", "integrity": "sha512-EJPeIn0CYrGu+hli1xilKAPXODtJ12T0sP63Ijx2/khC2JtuaN3JyNIpvmnkmaEtha9ocbG4A4cMcr+TvqvwQg==", "dev": true, + "license": "BSD-3-Clause", "dependencies": { "side-channel": "^1.0.6" }, @@ -14872,6 +15009,7 @@ "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==", "dev": true, + "license": "MIT", "engines": { "node": ">= 0.6" } @@ -14900,6 +15038,7 @@ "resolved": "https://registry.npmjs.org/react-docgen/-/react-docgen-7.1.0.tgz", "integrity": "sha512-APPU8HB2uZnpl6Vt/+0AFoVYgSRtfiP6FLrZgPPTDmqSb2R4qZRbgd0A3VzIFxDt5e+Fozjx79WjLWnF69DK8g==", "dev": true, + "license": "MIT", "dependencies": { "@babel/core": "^7.18.9", "@babel/traverse": "^7.18.9", @@ -14921,6 +15060,7 @@ "resolved": "https://registry.npmjs.org/react-docgen-typescript/-/react-docgen-typescript-2.2.2.tgz", "integrity": "sha512-tvg2ZtOpOi6QDwsb3GZhOjDkkX0h8Z2gipvTg6OVMUyoYoURhEiRNePT8NZItTVCDh39JJHnLdfCOkzoLbFnTg==", "dev": true, + "license": "MIT", "peerDependencies": { "typescript": ">= 4.3.x" } @@ -15099,6 +15239,7 @@ "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", "dev": true, + "license": "MIT", "dependencies": { "picomatch": "^2.2.1" }, @@ -15797,7 +15938,8 @@ "node_modules/shallowequal": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/shallowequal/-/shallowequal-1.1.0.tgz", - "integrity": "sha512-y0m1JoUZSlPAjXVtPPW70aZWfIL/dSP7AFkRnniLCrK/8MDKog3TySTBmckD+RObVxH0v4Tox67+F14PdED2oQ==" + "integrity": "sha512-y0m1JoUZSlPAjXVtPPW70aZWfIL/dSP7AFkRnniLCrK/8MDKog3TySTBmckD+RObVxH0v4Tox67+F14PdED2oQ==", + "license": "MIT" }, "node_modules/shebang-command": { "version": "2.0.0", @@ -15966,6 +16108,7 @@ "version": "1.2.1", "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz", "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==", + "license": "BSD-3-Clause", "engines": { "node": ">=0.10.0" } @@ -16275,6 +16418,7 @@ "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-4.0.0.tgz", "integrity": "sha512-mnVSV2l+Zv6BLpSD/8V87CW/y9EmmbYzGCIavsnsI6/nwn26DwffM/yztm30Z/I2DY9wdS3vXVCMnHDgZaVNoA==", "dev": true, + "license": "MIT", "dependencies": { "min-indent": "^1.0.1" }, @@ -16318,6 +16462,7 @@ "version": "6.1.13", "resolved": "https://registry.npmjs.org/styled-components/-/styled-components-6.1.13.tgz", "integrity": "sha512-M0+N2xSnAtwcVAQeFEsGWFFxXDftHUD7XrKla06QbpUMmbmtFBMMTcKWvFXtWxuD5qQkB8iU5gk6QASlx2ZRMw==", + "license": "MIT", "dependencies": { "@emotion/is-prop-valid": "1.2.2", "@emotion/unitless": "0.8.1", @@ -16359,6 +16504,7 @@ "url": "https://github.com/sponsors/ai" } ], + "license": "MIT", "dependencies": { "nanoid": "^3.3.7", "picocolors": "^1.0.0", @@ -16371,12 +16517,13 @@ "node_modules/styled-components/node_modules/tslib": { "version": "2.6.2", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", - "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" + "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==", + "license": "0BSD" }, "node_modules/stylelint": { - "version": "16.10.0", - "resolved": "https://registry.npmjs.org/stylelint/-/stylelint-16.10.0.tgz", - "integrity": "sha512-z/8X2rZ52dt2c0stVwI9QL2AFJhLhbPkyfpDFcizs200V/g7v+UYY6SNcB9hKOLcDDX/yGLDsY/pX08sLkz9xQ==", + "version": "16.11.0", + "resolved": "https://registry.npmjs.org/stylelint/-/stylelint-16.11.0.tgz", + "integrity": "sha512-zrl4IrKmjJQ+h9FoMp69UMCq5SxeHk0URhxUBj4d3ISzo/DplOFBJZc7t7Dr6otB+1bfbbKNLOmCDpzKSlW+Nw==", "dev": true, "funding": [ { @@ -16388,17 +16535,18 @@ "url": "https://github.com/sponsors/stylelint" } ], + "license": "MIT", "dependencies": { - "@csstools/css-parser-algorithms": "^3.0.1", - "@csstools/css-tokenizer": "^3.0.1", - "@csstools/media-query-list-parser": "^3.0.1", - "@csstools/selector-specificity": "^4.0.0", + "@csstools/css-parser-algorithms": "^3.0.4", + "@csstools/css-tokenizer": "^3.0.3", + "@csstools/media-query-list-parser": "^4.0.2", + "@csstools/selector-specificity": "^5.0.0", "@dual-bundle/import-meta-resolve": "^4.1.0", "balanced-match": "^2.0.0", "colord": "^2.9.3", "cosmiconfig": "^9.0.0", "css-functions-list": "^3.2.3", - "css-tree": "^3.0.0", + "css-tree": "^3.0.1", "debug": "^4.3.7", "fast-glob": "^3.3.2", "fastest-levenshtein": "^1.0.16", @@ -16410,16 +16558,16 @@ "ignore": "^6.0.2", "imurmurhash": "^0.1.4", "is-plain-object": "^5.0.0", - "known-css-properties": "^0.34.0", + "known-css-properties": "^0.35.0", "mathml-tag-names": "^2.1.3", "meow": "^13.2.0", "micromatch": "^4.0.8", "normalize-path": "^3.0.0", - "picocolors": "^1.0.1", - "postcss": "^8.4.47", + "picocolors": "^1.1.1", + "postcss": "^8.4.49", "postcss-resolve-nested-selector": "^0.1.6", "postcss-safe-parser": "^7.0.1", - "postcss-selector-parser": "^6.1.2", + "postcss-selector-parser": "^7.0.0", "postcss-value-parser": "^4.2.0", "resolve-from": "^5.0.0", "string-width": "^4.2.3", @@ -16450,6 +16598,7 @@ "url": "https://github.com/sponsors/stylelint" } ], + "license": "MIT", "engines": { "node": ">=18.12.0" }, @@ -16472,6 +16621,7 @@ "url": "https://github.com/sponsors/stylelint" } ], + "license": "MIT", "dependencies": { "stylelint-config-recommended": "^14.0.1" }, @@ -16482,26 +16632,19 @@ "stylelint": "^16.1.0" } }, - "node_modules/stylelint/node_modules/array-union": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", - "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", - "dev": true, - "engines": { - "node": ">=8" - } - }, "node_modules/stylelint/node_modules/balanced-match": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-2.0.0.tgz", "integrity": "sha512-1ugUSr8BHXRnK23KfuYS+gVMC3LB8QGH9W1iGtDPsNWoQbgtXSExkBu2aDR4epiGWZOjZsj6lDl/N/AqqTC3UA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/stylelint/node_modules/cosmiconfig": { "version": "9.0.0", "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-9.0.0.tgz", "integrity": "sha512-itvL5h8RETACmOTFc4UfIyB2RfEHi71Ax6E/PivVxq9NseKbOWpeyHEOIbmAw1rs8Ak0VursQNww7lf7YtUwzg==", "dev": true, + "license": "MIT", "dependencies": { "env-paths": "^2.2.1", "import-fresh": "^3.3.0", @@ -16528,6 +16671,7 @@ "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-9.1.0.tgz", "integrity": "sha512-/pqPFG+FdxWQj+/WSuzXSDaNzxgTLr/OrR1QuqfEZzDakpdYE70PwUxL7BPUa8hpjbvY1+qvCl8k+8Tq34xJgg==", "dev": true, + "license": "MIT", "dependencies": { "flat-cache": "^5.0.0" }, @@ -16540,6 +16684,7 @@ "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-5.0.0.tgz", "integrity": "sha512-JrqFmyUl2PnPi1OvLyTVHnQvwQ0S+e6lGSwu8OkAZlSaNIZciTY2H/cOOROxsBA1m/LZNHDsqAgDZt6akWcjsQ==", "dev": true, + "license": "MIT", "dependencies": { "flatted": "^3.3.1", "keyv": "^4.5.4" @@ -16553,6 +16698,7 @@ "resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz", "integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==", "dev": true, + "license": "MIT", "dependencies": { "array-union": "^2.1.0", "dir-glob": "^3.0.1", @@ -16573,6 +16719,7 @@ "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==", "dev": true, + "license": "MIT", "engines": { "node": ">= 4" } @@ -16582,6 +16729,7 @@ "resolved": "https://registry.npmjs.org/ignore/-/ignore-6.0.2.tgz", "integrity": "sha512-InwqeHHN2XpumIkMvpl/DCJVrAHgCsG5+cn1XlnLWGwtZBm8QJfSusItfrwx81CTp5agNZqpKU2J/ccC5nGT4A==", "dev": true, + "license": "MIT", "engines": { "node": ">= 4" } @@ -16591,6 +16739,7 @@ "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -16600,6 +16749,7 @@ "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", "dev": true, + "license": "ISC", "engines": { "node": ">=14" }, @@ -16612,6 +16762,7 @@ "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -16621,6 +16772,7 @@ "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-5.0.1.tgz", "integrity": "sha512-+QU2zd6OTD8XWIJCbffaiQeH9U73qIqafo1x6V1snCWYGJf6cVE0cDR4D8xRzcEnfI21IFrUPzPGtcPf8AC+Rw==", "dev": true, + "license": "ISC", "dependencies": { "imurmurhash": "^0.1.4", "signal-exit": "^4.0.1" @@ -16632,7 +16784,8 @@ "node_modules/stylis": { "version": "4.3.2", "resolved": "https://registry.npmjs.org/stylis/-/stylis-4.3.2.tgz", - "integrity": "sha512-bhtUjWd/z6ltJiQwg0dUfxEJ+W+jdqQd8TbWLWyeIJHlnsqmGLRFFd8e5mA0AZi/zx90smXRlN66YMTcaSFifg==" + "integrity": "sha512-bhtUjWd/z6ltJiQwg0dUfxEJ+W+jdqQd8TbWLWyeIJHlnsqmGLRFFd8e5mA0AZi/zx90smXRlN66YMTcaSFifg==", + "license": "MIT" }, "node_modules/supports-color": { "version": "5.5.0", @@ -16651,6 +16804,7 @@ "resolved": "https://registry.npmjs.org/supports-hyperlinks/-/supports-hyperlinks-3.1.0.tgz", "integrity": "sha512-2rn0BZ+/f7puLOHZm1HOJfwBggfaHXUpPUSSG/SWM4TWp5KCfmNYwnC3hruy2rZlMnmWZ+QAGpZfchu3f3695A==", "dev": true, + "license": "MIT", "dependencies": { "has-flag": "^4.0.0", "supports-color": "^7.0.0" @@ -16667,6 +16821,7 @@ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -16676,6 +16831,7 @@ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dev": true, + "license": "MIT", "dependencies": { "has-flag": "^4.0.0" }, @@ -16713,10 +16869,11 @@ "integrity": "sha512-Cat63mxsVJlzYvN51JmVXIgNoUokrIaT2zLclCXjRd8boZ0004U4KCs/sToJ75C6sdlByWxpYnb5Boif1VSFew==" }, "node_modules/table": { - "version": "6.8.2", - "resolved": "https://registry.npmjs.org/table/-/table-6.8.2.tgz", - "integrity": "sha512-w2sfv80nrAh2VCbqR5AK27wswXhqcck2AhfnNW76beQXskGZ1V12GwS//yYVa3d3fcvAip2OUnbDAjW2k3v9fA==", + "version": "6.9.0", + "resolved": "https://registry.npmjs.org/table/-/table-6.9.0.tgz", + "integrity": "sha512-9kY+CygyYM6j02t5YFHbNz2FN5QmYGv9zAjVp4lCDjlCw7amdckXlEt/bjMhUIfj4ThGRE4gCUH5+yGnNuPo5A==", "dev": true, + "license": "BSD-3-Clause", "dependencies": { "ajv": "^8.0.1", "lodash.truncate": "^4.4.2", @@ -16733,6 +16890,7 @@ "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz", "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==", "dev": true, + "license": "MIT", "dependencies": { "fast-deep-equal": "^3.1.3", "fast-uri": "^3.0.1", @@ -16749,6 +16907,7 @@ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, + "license": "MIT", "dependencies": { "color-convert": "^2.0.1" }, @@ -16763,13 +16922,15 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/table/node_modules/slice-ansi": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-4.0.0.tgz", "integrity": "sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ==", "dev": true, + "license": "MIT", "dependencies": { "ansi-styles": "^4.0.0", "astral-regex": "^2.0.0", @@ -17234,6 +17395,7 @@ "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-4.2.0.tgz", "integrity": "sha512-NoZ4roiN7LnbKn9QqE1amc9DJfzvZXxF4xDavcOWt1BPkdx+m+0gJuPM+S0vCe7zTJMYUP0R8pO2XMr+Y8oLIg==", "dev": true, + "license": "MIT", "dependencies": { "json5": "^2.2.2", "minimist": "^1.2.6", @@ -17248,6 +17410,7 @@ "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", "integrity": "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } @@ -17506,6 +17669,7 @@ "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz", "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==", "dev": true, + "license": "MIT", "engines": { "node": ">= 10.0.0" } @@ -17567,6 +17731,7 @@ "resolved": "https://registry.npmjs.org/url/-/url-0.11.4.tgz", "integrity": "sha512-oCwdVC7mTuWiPyjLUz/COz5TLk6wgp0RCsN+wHZ2Ekneac9w8uuV0njcbbie2ME+Vs+d6duwmYuR3HgQXs1fOg==", "dev": true, + "license": "MIT", "dependencies": { "punycode": "^1.4.1", "qs": "^6.12.3" @@ -17589,7 +17754,8 @@ "version": "1.4.1", "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz", "integrity": "sha512-jmYNElW7yvO7TV33CjSmvSiE2yco3bV2czu/OzDKdMNVZQWfxCblURLhf+47syQRBntjfLdd/H0egrzIG+oaFQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/use-resize-observer": { "version": "9.1.0", @@ -17628,7 +17794,8 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/utila": { "version": "0.4.0", @@ -17857,6 +18024,7 @@ "resolved": "https://registry.npmjs.org/webpack-dev-middleware/-/webpack-dev-middleware-6.1.3.tgz", "integrity": "sha512-A4ChP0Qj8oGociTs6UdlRUGANIGrCDL3y+pmQMc+dSsraXHCatFpmMey4mYELA+juqwUqwQsUgJJISXl1KWmiw==", "dev": true, + "license": "MIT", "dependencies": { "colorette": "^2.0.10", "memfs": "^3.4.12", @@ -17885,6 +18053,7 @@ "resolved": "https://registry.npmjs.org/webpack-hot-middleware/-/webpack-hot-middleware-2.26.1.tgz", "integrity": "sha512-khZGfAeJx6I8K9zKohEWWYN6KDlVw2DHownoe+6Vtwj1LP9WFgegXnVMSkZ/dBEBtXFwrkkydsaPFlB7f8wU2A==", "dev": true, + "license": "MIT", "dependencies": { "ansi-html-community": "0.0.8", "html-entities": "^2.1.0", @@ -18264,6 +18433,7 @@ "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz", "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==", "dev": true, + "license": "ISC", "engines": { "node": ">= 6" } diff --git a/package.json b/package.json index 94f2811fe..ecfc16f1f 100644 --- a/package.json +++ b/package.json @@ -77,9 +77,9 @@ "@types/zip-webpack-plugin": "^3.0.6", "adm-zip": "^0.5.16", "babel-loader": "^9.1.3", - "babel-plugin-styled-components": "^2.1.1", + "babel-plugin-styled-components": "^2.1.4", "copy-webpack-plugin": "^12.0.2", - "css-loader": "^6.8.1", + "css-loader": "^7.1.2", "eslint": "^9.16.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-react": "^7.37.2", @@ -90,13 +90,13 @@ "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", "lint-staged": "^15.2.10", - "postcss-styled-syntax": "^0.6.4", + "postcss-styled-syntax": "^0.7.0", "prettier": "^2.8.3", "rimraf": "^6.0.1", "storybook": "^8.4.7", "storybook-addon-remix-react-router": "^3.0.2", "style-loader": "^3.3.1", - "stylelint": "^16.9.0", + "stylelint": "^16.11.0", "stylelint-config-standard": "^36.0.1", "ts-jest": "^29.2.5", "ts-loader": "^9.5.1", @@ -130,7 +130,7 @@ "recharts": "^2.6.2", "semver": "^7.5.4", "squarify": "^1.1.0", - "styled-components": "^6.1.0", + "styled-components": "^6.1.13", "uuid": "^9.0.1", "zustand": "^4.5.5", "zustand-slices": "^0.3.0" From 6ca33e0aee5fea5c6888f407e160f1595b628d85 Mon Sep 17 00:00:00 2001 From: Kyrylo Shmidt Date: Fri, 13 Dec 2024 09:56:50 +0100 Subject: [PATCH 3/4] Add knip --- .github/workflows/release.yml | 2 +- .storybook/main.ts | 1 - knip.ts | 22 ++ package-lock.json | 337 +++++++++++++++--- package.json | 7 +- scripts/download-jaeger-ui.mts | 5 +- .../Assets/AssetList/AssetEntry/styles.ts | 16 +- .../Assets/AssetList/AssetEntry/types.ts | 4 - src/components/Assets/AssetList/styles.ts | 40 --- src/components/Assets/AssetTypeList/index.tsx | 2 +- src/components/Assets/styles.ts | 69 ---- .../MetricsReport/Chart/ReportTile/styles.ts | 4 - .../Dashboard/MetricsReport/utils.ts | 6 +- .../EnvironmentTypeCard/styles.ts | 6 - .../common/IssueCompactCard/index.tsx | 4 +- src/components/Navigation/index.tsx | 4 +- .../RecentActivity/EnvironmentPanel/index.tsx | 4 +- src/components/common/FilterMenu/index.tsx | 10 +- src/components/common/FilterMenu/styles.ts | 4 +- .../common/KebabMenuButton/index.tsx | 4 +- ...ebabIcon.tsx => ThreeDotsVerticalIcon.tsx} | 4 +- ...DotsIcon.tsx => ThreeDotsVerticalIcon.tsx} | 4 +- src/constants.ts | 3 - src/os.ts | 2 +- src/platform.ts | 4 +- src/store/assets/assetsSlice.ts | 2 +- src/store/errors/errorsSlice.ts | 6 +- src/store/metricsReport/metricsReportSlice.ts | 2 +- 28 files changed, 347 insertions(+), 231 deletions(-) create mode 100644 knip.ts rename src/components/common/icons/20px/{KebabIcon.tsx => ThreeDotsVerticalIcon.tsx} (82%) rename src/components/common/icons/{ThreeDotsIcon.tsx => ThreeDotsVerticalIcon.tsx} (79%) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1daad4069..f121b66ce 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -75,5 +75,5 @@ jobs: client-payload: |- { "release": "${{ github.ref_name }}", - "dependencies": "${{ toJson(env.DEPENDENCIES) }}" + "dependencies": ${{ toJson(env.DEPENDENCIES) }} } diff --git a/.storybook/main.ts b/.storybook/main.ts index eb4884489..8c6d0da0a 100644 --- a/.storybook/main.ts +++ b/.storybook/main.ts @@ -4,7 +4,6 @@ const config: StorybookConfig = { stories: ["../src/**/*.mdx", "../src/**/*.stories.tsx"], addons: [ "@storybook/addon-webpack5-compiler-babel", - "@storybook/addon-links", "@storybook/addon-essentials", "@storybook/addon-interactions", "@storybook/addon-a11y", diff --git a/knip.ts b/knip.ts new file mode 100644 index 000000000..8b935b708 --- /dev/null +++ b/knip.ts @@ -0,0 +1,22 @@ +import type { KnipConfig } from "knip"; + +const config: KnipConfig = { + entry: [ + "scripts/*.{js,mjs,mts,ts}", + "src/containers/*/index.tsx", + "webpack.*.ts" + ], + project: ["**/*.{js,mjs,mts,ts,tsx}"], + ignore: ["src/**/deprecated/**/*.{ts,tsx}"], + ignoreDependencies: [ + // used by webpack + "babel-loader", + "css-loader", + "style-loader", + "ts-loader", + "ts-node", + "webpack-cli" + ] +}; + +export default config; diff --git a/package-lock.json b/package-lock.json index a324e59f3..b3522832a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -46,7 +46,6 @@ "@storybook/addon-designs": "^8.0.4", "@storybook/addon-essentials": "^8.4.7", "@storybook/addon-interactions": "^8.4.7", - "@storybook/addon-links": "^8.4.7", "@storybook/addon-webpack5-compiler-babel": "^3.0.3", "@storybook/blocks": "^8.4.7", "@storybook/react": "^8.4.7", @@ -78,6 +77,7 @@ "husky": "^9.0.10", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", + "knip": "^5.39.4", "lint-staged": "^15.2.10", "postcss-styled-syntax": "^0.7.0", "prettier": "^2.8.3", @@ -90,9 +90,9 @@ "ts-jest": "^29.2.5", "ts-loader": "^9.5.1", "ts-node": "^10.9.1", - "typescript": "^4.9.4", + "typescript": "^5.7.2", "typescript-eslint": "^8.17.0", - "typescript-plugin-styled-components": "^2.0.0", + "typescript-plugin-styled-components": "^3.0.0", "webpack": "^5.97.1", "webpack-cli": "^5.1.4", "zip-webpack-plugin": "^4.0.2" @@ -4011,6 +4011,34 @@ "@sinonjs/commons": "^3.0.0" } }, + "node_modules/@snyk/github-codeowners": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@snyk/github-codeowners/-/github-codeowners-1.1.0.tgz", + "integrity": "sha512-lGFf08pbkEac0NYgVf4hdANpAgApRjNByLXB+WBip3qj1iendOIyAwP2GKkKbQMNVy2r1xxDf0ssfWscoiC+Vw==", + "dev": true, + "license": "MIT", + "dependencies": { + "commander": "^4.1.1", + "ignore": "^5.1.8", + "p-map": "^4.0.0" + }, + "bin": { + "github-codeowners": "dist/cli.js" + }, + "engines": { + "node": ">=8.10" + } + }, + "node_modules/@snyk/github-codeowners/node_modules/commander": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz", + "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 6" + } + }, "node_modules/@storybook/addon-a11y": { "version": "8.4.7", "resolved": "https://registry.npmjs.org/@storybook/addon-a11y/-/addon-a11y-8.4.7.tgz", @@ -4200,30 +4228,6 @@ "storybook": "^8.4.7" } }, - "node_modules/@storybook/addon-links": { - "version": "8.4.7", - "resolved": "https://registry.npmjs.org/@storybook/addon-links/-/addon-links-8.4.7.tgz", - "integrity": "sha512-L/1h4dMeMKF+MM0DanN24v5p3faNYbbtOApMgg7SlcBT/tgo3+cAjkgmNpYA8XtKnDezm+T2mTDhB8mmIRZpIQ==", - "dev": true, - "dependencies": { - "@storybook/csf": "^0.1.11", - "@storybook/global": "^5.0.0", - "ts-dedent": "^2.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/storybook" - }, - "peerDependencies": { - "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta", - "storybook": "^8.4.7" - }, - "peerDependenciesMeta": { - "react": { - "optional": true - } - } - }, "node_modules/@storybook/addon-measure": { "version": "8.4.7", "resolved": "https://registry.npmjs.org/@storybook/addon-measure/-/addon-measure-8.4.7.tgz", @@ -6085,6 +6089,20 @@ "node": ">= 6.0.0" } }, + "node_modules/aggregate-error": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.1.0.tgz", + "integrity": "sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==", + "dev": true, + "license": "MIT", + "dependencies": { + "clean-stack": "^2.0.0", + "indent-string": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/ajv": { "version": "6.12.6", "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", @@ -7282,6 +7300,16 @@ "node": ">= 10.0" } }, + "node_modules/clean-stack": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz", + "integrity": "sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, "node_modules/cli-cursor": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-5.0.0.tgz", @@ -7384,6 +7412,17 @@ "node": ">=12" } }, + "node_modules/clone": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz", + "integrity": "sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg==", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=0.8" + } + }, "node_modules/clone-deep": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/clone-deep/-/clone-deep-4.0.1.tgz", @@ -8122,6 +8161,20 @@ "node": ">=0.10.0" } }, + "node_modules/defaults": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/defaults/-/defaults-1.0.4.tgz", + "integrity": "sha512-eFuaLoy/Rxalv2kr+lqMlUnrDWV+3j4pljOIJgLIhI058IQfWJ7vXhyEIHu+HtC738klGALYxOKDO0bQP3tg8A==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "clone": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/define-data-property": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz", @@ -8356,6 +8409,19 @@ "dev": true, "license": "MIT" }, + "node_modules/easy-table": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/easy-table/-/easy-table-1.2.0.tgz", + "integrity": "sha512-OFzVOv03YpvtcWGe5AayU5G2hgybsg3iqA6drU8UaoZyB9jLGMTrz9+asnLp/E+6qPh88yEI1gvyZFZ41dmgww==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "optionalDependencies": { + "wcwidth": "^1.0.1" + } + }, "node_modules/ejs": { "version": "3.1.10", "resolved": "https://registry.npmjs.org/ejs/-/ejs-3.1.10.tgz", @@ -12929,6 +12995,16 @@ "url": "https://github.com/chalk/supports-color?sponsor=1" } }, + "node_modules/jiti": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/jiti/-/jiti-2.4.1.tgz", + "integrity": "sha512-yPBThwecp1wS9DmoA4x4KR2h3QoslacnDR8ypuFM962kI4/456Iy1oHx2RAgh4jfZNdn0bctsdadceiBUgpU1g==", + "dev": true, + "license": "MIT", + "bin": { + "jiti": "lib/jiti-cli.mjs" + } + }, "node_modules/js-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", @@ -13106,6 +13182,82 @@ "node": ">=6" } }, + "node_modules/knip": { + "version": "5.39.4", + "resolved": "https://registry.npmjs.org/knip/-/knip-5.39.4.tgz", + "integrity": "sha512-IiNFwfe8xDFwuGzBY8lKvrY3hhR1I81iCaJ8nd85cxT7LxB7cDd73WP3MrzZylE9Vec1HhC0YLFiAL7jh5OYEQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/webpro" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/knip" + }, + { + "type": "polar", + "url": "https://polar.sh/webpro-nl" + } + ], + "license": "ISC", + "dependencies": { + "@nodelib/fs.walk": "1.2.8", + "@snyk/github-codeowners": "1.1.0", + "easy-table": "1.2.0", + "enhanced-resolve": "^5.17.1", + "fast-glob": "^3.3.2", + "jiti": "^2.4.0", + "js-yaml": "^4.1.0", + "minimist": "^1.2.8", + "picocolors": "^1.1.0", + "picomatch": "^4.0.1", + "pretty-ms": "^9.0.0", + "smol-toml": "^1.3.1", + "strip-json-comments": "5.0.1", + "summary": "2.1.0", + "zod": "^3.22.4", + "zod-validation-error": "^3.0.3" + }, + "bin": { + "knip": "bin/knip.js", + "knip-bun": "bin/knip-bun.js" + }, + "engines": { + "node": ">=18.6.0" + }, + "peerDependencies": { + "@types/node": ">=18", + "typescript": ">=5.0.4" + } + }, + "node_modules/knip/node_modules/picomatch": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.2.tgz", + "integrity": "sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/knip/node_modules/strip-json-comments": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-5.0.1.tgz", + "integrity": "sha512-0fk9zBqO67Nq5M/m45qHCJxylV/DhBlIOVExqgOMiCCrzrhU6tCibRXNqE3jwJLftzE9SNuZtYbpzcO+i9FiKw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/known-css-properties": { "version": "0.35.0", "resolved": "https://registry.npmjs.org/known-css-properties/-/known-css-properties-0.35.0.tgz", @@ -14313,6 +14465,22 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/p-map": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/p-map/-/p-map-4.0.0.tgz", + "integrity": "sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "aggregate-error": "^3.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/p-try": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", @@ -14386,6 +14554,19 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/parse-ms": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/parse-ms/-/parse-ms-4.0.0.tgz", + "integrity": "sha512-TXfryirbmq34y8QBwgqCVLi+8oA3oWx2eAnSn62ITyEhEYaWRlVZ2DvMM9eZbMs/RfxPu/PK/aBLyGj4IrqMHw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/parse5": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/parse5/-/parse5-7.2.0.tgz", @@ -14777,20 +14958,6 @@ "postcss": "^8.4.21" } }, - "node_modules/postcss-styled-syntax/node_modules/typescript": { - "version": "5.7.2", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.7.2.tgz", - "integrity": "sha512-i5t66RHxDvVN40HfDd1PsEThGNnlMCMT3jMUuoh9/0TaqWevNontacunWyN02LA9/fIbEWlcHZcgTKb9QoaLfg==", - "dev": true, - "license": "Apache-2.0", - "bin": { - "tsc": "bin/tsc", - "tsserver": "bin/tsserver" - }, - "engines": { - "node": ">=14.17" - } - }, "node_modules/postcss-value-parser": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz", @@ -14858,6 +15025,22 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, + "node_modules/pretty-ms": { + "version": "9.2.0", + "resolved": "https://registry.npmjs.org/pretty-ms/-/pretty-ms-9.2.0.tgz", + "integrity": "sha512-4yf0QO/sllf/1zbZWYnvWw3NxCQwLXKzIj0G849LSufP15BXKM0rbD2Z3wVnkMfjdn/CB0Dpp444gYAACdsplg==", + "dev": true, + "license": "MIT", + "dependencies": { + "parse-ms": "^4.0.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/prismjs": { "version": "1.29.0", "resolved": "https://registry.npmjs.org/prismjs/-/prismjs-1.29.0.tgz", @@ -16095,6 +16278,19 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/smol-toml": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/smol-toml/-/smol-toml-1.3.1.tgz", + "integrity": "sha512-tEYNll18pPKHroYSmLLrksq233j021G0giwW7P3D24jC54pQ5W5BXMsQ/Mvw1OJCmEYDgY+lrzT+3nNUtoNfXQ==", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">= 18" + }, + "funding": { + "url": "https://github.com/sponsors/cyyynthia" + } + }, "node_modules/source-map": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", @@ -16787,6 +16983,13 @@ "integrity": "sha512-bhtUjWd/z6ltJiQwg0dUfxEJ+W+jdqQd8TbWLWyeIJHlnsqmGLRFFd8e5mA0AZi/zx90smXRlN66YMTcaSFifg==", "license": "MIT" }, + "node_modules/summary": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/summary/-/summary-2.1.0.tgz", + "integrity": "sha512-nMIjMrd5Z2nuB2RZCKJfFMjgS3fygbeyGk9PxPPaJR1RIcyN9yn4A63Isovzm3ZtQuEkLBVgMdPup8UeLH7aQw==", + "dev": true, + "license": "MIT" + }, "node_modules/supports-color": { "version": "5.5.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", @@ -17534,16 +17737,17 @@ } }, "node_modules/typescript": { - "version": "4.9.5", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz", - "integrity": "sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==", + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.7.2.tgz", + "integrity": "sha512-i5t66RHxDvVN40HfDd1PsEThGNnlMCMT3jMUuoh9/0TaqWevNontacunWyN02LA9/fIbEWlcHZcgTKb9QoaLfg==", "dev": true, + "license": "Apache-2.0", "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" }, "engines": { - "node": ">=4.2.0" + "node": ">=14.17" } }, "node_modules/typescript-eslint": { @@ -17574,12 +17778,13 @@ } }, "node_modules/typescript-plugin-styled-components": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/typescript-plugin-styled-components/-/typescript-plugin-styled-components-2.0.0.tgz", - "integrity": "sha512-Wu7F96dwuphgiACHfu63vTbRRg6tkPwLnpFJwdxM70Y0PLfeKLRnvs2Yo5MAySMwE120ODMKk9W4TtJgY1ZumA==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/typescript-plugin-styled-components/-/typescript-plugin-styled-components-3.0.0.tgz", + "integrity": "sha512-QWlhTl6NqsFxtJyxn7pJjm3RhgzXSByUftZ3AoQClrMMpa4yAaHuJKTN1gFpH3Ti+Rwm56fNUfG9pXSBU+WW3A==", "dev": true, + "license": "MIT", "peerDependencies": { - "typescript": "^4.0" + "typescript": "~4.8 || 5" } }, "node_modules/unbox-primitive": { @@ -17892,6 +18097,17 @@ "node": ">=10.13.0" } }, + "node_modules/wcwidth": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz", + "integrity": "sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "defaults": "^1.0.3" + } + }, "node_modules/webidl-conversions": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-7.0.0.tgz", @@ -18512,6 +18728,29 @@ "webpack-sources": "*" } }, + "node_modules/zod": { + "version": "3.24.1", + "resolved": "https://registry.npmjs.org/zod/-/zod-3.24.1.tgz", + "integrity": "sha512-muH7gBL9sI1nciMZV67X5fTKKBLtwpZ5VBp1vsOQzj1MhrBZ4wlVCm3gedKZWLp0Oyel8sIGfeiz54Su+OVT+A==", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/colinhacks" + } + }, + "node_modules/zod-validation-error": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/zod-validation-error/-/zod-validation-error-3.4.0.tgz", + "integrity": "sha512-ZOPR9SVY6Pb2qqO5XHt+MkkTRxGXb4EVtnjc9JpXUOtUB1T9Ru7mZOT361AN3MsetVe7R0a1KZshJDZdgp9miQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18.0.0" + }, + "peerDependencies": { + "zod": "^3.18.0" + } + }, "node_modules/zustand": { "version": "4.5.5", "resolved": "https://registry.npmjs.org/zustand/-/zustand-4.5.5.tgz", diff --git a/package.json b/package.json index ecfc16f1f..c935bb301 100644 --- a/package.json +++ b/package.json @@ -5,6 +5,7 @@ "scripts": { "lint:eslint": "eslint --cache .", "lint:stylelint": "stylelint '**/*.ts'", + "lint:knip": "knip --cache", "lint": "npm run lint:eslint && npm run lint:stylelint", "fix:prettier": "prettier --write '**/*.{json,md,mjs,ts,tsx}'", "test": "jest", @@ -57,7 +58,6 @@ "@storybook/addon-designs": "^8.0.4", "@storybook/addon-essentials": "^8.4.7", "@storybook/addon-interactions": "^8.4.7", - "@storybook/addon-links": "^8.4.7", "@storybook/addon-webpack5-compiler-babel": "^3.0.3", "@storybook/blocks": "^8.4.7", "@storybook/react": "^8.4.7", @@ -89,6 +89,7 @@ "husky": "^9.0.10", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", + "knip": "^5.39.4", "lint-staged": "^15.2.10", "postcss-styled-syntax": "^0.7.0", "prettier": "^2.8.3", @@ -101,9 +102,9 @@ "ts-jest": "^29.2.5", "ts-loader": "^9.5.1", "ts-node": "^10.9.1", - "typescript": "^4.9.4", + "typescript": "^5.7.2", "typescript-eslint": "^8.17.0", - "typescript-plugin-styled-components": "^2.0.0", + "typescript-plugin-styled-components": "^3.0.0", "webpack": "^5.97.1", "webpack-cli": "^5.1.4", "zip-webpack-plugin": "^4.0.2" diff --git a/scripts/download-jaeger-ui.mts b/scripts/download-jaeger-ui.mts index ed53273be..0ed92f321 100644 --- a/scripts/download-jaeger-ui.mts +++ b/scripts/download-jaeger-ui.mts @@ -1,4 +1,3 @@ -/* eslint-disable no-console */ import { Octokit } from "@octokit/rest"; import AdmZip from "adm-zip"; import fs from "fs"; @@ -26,6 +25,7 @@ const outputArgIndex = process.argv.indexOf("--output"); if (outputArgIndex !== -1 && process.argv[outputArgIndex + 1]) { outputPath = path.resolve(process.argv[outputArgIndex + 1]); } else { + // eslint-disable-next-line no-console console.log("No output path provided."); process.exit(1); } @@ -57,6 +57,7 @@ const downloadReleaseAsset = async ({ const asset = release.data.assets.find((a) => a.name === assetName); if (!asset) { + // eslint-disable-next-line no-console console.error("GitHub release asset not found in release."); return; } @@ -74,6 +75,7 @@ const downloadReleaseAsset = async ({ extractZip(filePath, extractPath); } } catch (error) { + // eslint-disable-next-line no-console console.error("Error downloading GitHub release asset:", error.message); } }; @@ -85,6 +87,7 @@ const extractPath = path.resolve(outputPath, "./dist"); const zipPath = path.join(outputPath, assetName); if (fs.existsSync(zipPath)) { + // eslint-disable-next-line no-console console.log("Jaeger UI release asset already exists, skipping download..."); extractZip(zipPath, extractPath); process.exit(0); diff --git a/src/components/Assets/AssetList/AssetEntry/styles.ts b/src/components/Assets/AssetList/AssetEntry/styles.ts index 93da7725d..85ec9e0e8 100644 --- a/src/components/Assets/AssetList/AssetEntry/styles.ts +++ b/src/components/Assets/AssetList/AssetEntry/styles.ts @@ -3,7 +3,7 @@ import { getInsightCriticalityColor } from "../../../../utils/getInsightCritical import { caption2RegularTypography } from "../../../common/App/typographies"; import { grayScale } from "../../../common/App/v2colors"; import { CopyButton } from "../../../common/v3/CopyButton"; -import { ImpactScoreIndicatorProps, InsightIconContainerProps } from "./types"; +import { InsightIconContainerProps } from "./types"; export const Container = styled.div` display: flex; @@ -178,20 +178,6 @@ export const Suffix = styled.span` }}; `; -export const ImpactScoreIndicatorContainer = styled.div` - display: flex; - align-items: center; - height: 100%; - padding-left: 4px; -`; - -export const ImpactScoreIndicator = styled.div` - border-radius: 50%; - width: 10px; - height: 10px; - background: hsl(14deg 66% ${({ $score }) => 100 - 50 * $score}%); -`; - export const ScopeName = styled.div` ${caption2RegularTypography} diff --git a/src/components/Assets/AssetList/AssetEntry/types.ts b/src/components/Assets/AssetList/AssetEntry/types.ts index 820cf7038..830c45a8b 100644 --- a/src/components/Assets/AssetList/AssetEntry/types.ts +++ b/src/components/Assets/AssetList/AssetEntry/types.ts @@ -7,10 +7,6 @@ export interface AssetEntryProps { isImpactHidden: boolean; } -export interface ImpactScoreIndicatorProps { - $score: number; -} - export interface InsightIconContainerProps { $criticality: number; } diff --git a/src/components/Assets/AssetList/styles.ts b/src/components/Assets/AssetList/styles.ts index 0bce7db66..96d8c6a20 100644 --- a/src/components/Assets/AssetList/styles.ts +++ b/src/components/Assets/AssetList/styles.ts @@ -15,14 +15,6 @@ export const Container = styled.div` overflow: hidden; `; -export const BackButton = styled.button` - background: none; - border: none; - display: flex; - padding: 0; - cursor: pointer; -`; - export const Toolbar = styled.div` display: flex; justify-content: space-between; @@ -169,19 +161,6 @@ export const SortingOrderIconContainer = styled.div { - switch (theme.mode) { - case "light": - return "#828797"; - case "dark": - case "dark-jetbrains": - return "#9f9f9f"; - } - }}; -`; - export const List = styled.ul` padding: 0 9px 8px; display: flex; @@ -192,10 +171,6 @@ export const List = styled.ul` height: 100%; `; -export const ListItem = styled.li` - display: flex; -`; - export const NoDataText = styled.span` padding: 10px; font-weight: 500; @@ -212,21 +187,6 @@ export const NoDataText = styled.span` }}; `; -export const InsightIconsContainer = styled.span` - display: flex; - gap: 2px; -`; - -export const InsightIconContainer = styled.span` - background: #2e2e2e; - border-radius: 4px; - display: flex; - justify-content: center; - align-items: center; - width: 20px; - height: 20px; -`; - export const Footer = styled.div` display: flex; justify-content: space-between; diff --git a/src/components/Assets/AssetTypeList/index.tsx b/src/components/Assets/AssetTypeList/index.tsx index 73b98c0a0..d5d1b2841 100644 --- a/src/components/Assets/AssetTypeList/index.tsx +++ b/src/components/Assets/AssetTypeList/index.tsx @@ -29,7 +29,7 @@ import { const REFRESH_INTERVAL = 10 * 1000; // in milliseconds -export const ASSET_TYPE_IDS = [ +const ASSET_TYPE_IDS = [ "Endpoint", "Consumer", "InternalOperation", diff --git a/src/components/Assets/styles.ts b/src/components/Assets/styles.ts index f07f1241c..cbdb8e5b4 100644 --- a/src/components/Assets/styles.ts +++ b/src/components/Assets/styles.ts @@ -29,75 +29,6 @@ export const HeaderItem = styled.div` height: 36px; `; -export const SearchInputContainer = styled.div` - display: flex; - position: relative; - margin-left: auto; - width: 290px; -`; - -export const SearchInputIconContainer = styled.div` - display: flex; - align-items: center; - margin: auto; - position: absolute; - top: 0; - bottom: 0; - left: 4px; - color: ${({ theme }) => theme.colors.icon.disabledAlt}; -`; - -export const SearchInput = styled.input` - width: 100%; - font-size: 14px; - padding: 4px 4px 4px 20px; - border-radius: 4px; - outline: none; - border: 1px solid ${({ theme }) => theme.colors.v3.stroke.dark}; - background: ${({ theme }) => theme.colors.v3.surface.primary}; - box-shadow: 1px 1px 4px 0 rgb(0 0 0 / 25%); - caret-color: ${({ theme }) => { - switch (theme.mode) { - case "light": - return "#4d668a"; - case "dark": - case "dark-jetbrains": - return "#dadada"; - } - }}; - color: ${({ theme }) => { - switch (theme.mode) { - case "light": - return "#4d668a"; - case "dark": - case "dark-jetbrains": - return "#dadada"; - } - }}; - - &:focus, - &:hover { - border: 1px solid - ${({ theme }) => { - switch (theme.mode) { - case "light": - return "#7891d0"; - case "dark": - case "dark-jetbrains": - return "#9b9b9b"; - } - }}; - } - - &::placeholder { - color: ${({ theme }) => theme.colors.text.disabledAlt}; - } - - &:focus::placeholder { - color: transparent; - } -`; - export const UpgradeMessage = styled.div` display: flex; flex-direction: column; diff --git a/src/components/Dashboard/MetricsReport/Chart/ReportTile/styles.ts b/src/components/Dashboard/MetricsReport/Chart/ReportTile/styles.ts index 048fa5d7d..2c7a7b6a0 100644 --- a/src/components/Dashboard/MetricsReport/Chart/ReportTile/styles.ts +++ b/src/components/Dashboard/MetricsReport/Chart/ReportTile/styles.ts @@ -1,10 +1,6 @@ import styled from "styled-components"; import { subheading2BoldTypography } from "../../../../common/App/typographies"; -export const StatsMainNumber = styled.span` - color: ${({ theme }) => theme.colors.v3.text.primary}; -`; - export const TooltipContent = styled.div` color: ${({ theme }) => theme.colors.v3.text.primary}; `; diff --git a/src/components/Dashboard/MetricsReport/utils.ts b/src/components/Dashboard/MetricsReport/utils.ts index eec9fb94c..bf34126dc 100644 --- a/src/components/Dashboard/MetricsReport/utils.ts +++ b/src/components/Dashboard/MetricsReport/utils.ts @@ -6,11 +6,7 @@ import { ServiceIssuesData } from "./types"; -export const getSeverity = ( - min: number, - max: number, - value: number -): Severity => { +const getSeverity = (min: number, max: number, value: number): Severity => { const normalizedMin = Math.max(min, 0); const range = max - normalizedMin; const lowThreshold = normalizedMin + 0.15 * range; diff --git a/src/components/Documentation/pages/EnvironmentTypes/EnvironmentTypeCard/styles.ts b/src/components/Documentation/pages/EnvironmentTypes/EnvironmentTypeCard/styles.ts index 37bf5d0ef..fecd2be18 100644 --- a/src/components/Documentation/pages/EnvironmentTypes/EnvironmentTypeCard/styles.ts +++ b/src/components/Documentation/pages/EnvironmentTypes/EnvironmentTypeCard/styles.ts @@ -59,12 +59,6 @@ export const Link = styled(CommonLink)` color: inherit; `; -export const InsightContainer = styled.div` - display: flex; - flex-direction: column; - gap: 4px; -`; - export const AddEnvironmentButton = styled(Button)` width: 100%; color: #b9c2eb; diff --git a/src/components/Insights/InsightsCatalog/InsightsPage/insightCards/common/IssueCompactCard/index.tsx b/src/components/Insights/InsightsCatalog/InsightsPage/insightCards/common/IssueCompactCard/index.tsx index 83cf1de01..bd1e3b77f 100644 --- a/src/components/Insights/InsightsCatalog/InsightsPage/insightCards/common/IssueCompactCard/index.tsx +++ b/src/components/Insights/InsightsCatalog/InsightsPage/insightCards/common/IssueCompactCard/index.tsx @@ -9,7 +9,7 @@ import { FourPointedStarWithPlusesIcon } from "../../../../../../common/icons/16 import { JiraLogoIcon } from "../../../../../../common/icons/16px/JiraLogoIcon"; import { RecheckIcon } from "../../../../../../common/icons/16px/RecheckIcon"; import { TraceIcon } from "../../../../../../common/icons/16px/TraceIcon"; -import { ThreeDotsIcon } from "../../../../../../common/icons/ThreeDotsIcon"; +import { ThreeDotsVerticalIcon } from "../../../../../../common/icons/ThreeDotsVerticalIcon"; import { NewPopover } from "../../../../../../common/NewPopover"; import { Link } from "../../../../../../common/v3/Link"; import { NewIconButton } from "../../../../../../common/v3/NewIconButton"; @@ -213,7 +213,7 @@ export const IssueCompactCard = ({ } > diff --git a/src/components/Navigation/index.tsx b/src/components/Navigation/index.tsx index 28198ba01..42abb63a3 100644 --- a/src/components/Navigation/index.tsx +++ b/src/components/Navigation/index.tsx @@ -11,7 +11,7 @@ import { sendUserActionTrackingEvent } from "../../utils/actions/sendUserActionT // import { SCOPE_CHANGE_EVENTS } from "../Main/types"; import { Environment } from "../common/App/types"; import { NewPopover } from "../common/NewPopover"; -import { ThreeDotsIcon } from "../common/icons/ThreeDotsIcon"; +import { ThreeDotsVerticalIcon } from "../common/icons/ThreeDotsVerticalIcon"; // import { Tooltip } from "../common/v3/Tooltip"; // import { CodeButton } from "./CodeButton"; // import { CodeButtonMenu } from "./CodeButtonMenu"; @@ -416,7 +416,7 @@ export const Navigation = () => { > } + icon={} onClick={handleKebabButtonClick} /> diff --git a/src/components/RecentActivity/EnvironmentPanel/index.tsx b/src/components/RecentActivity/EnvironmentPanel/index.tsx index e10f00431..cf8e82c29 100644 --- a/src/components/RecentActivity/EnvironmentPanel/index.tsx +++ b/src/components/RecentActivity/EnvironmentPanel/index.tsx @@ -20,7 +20,7 @@ import { OpenTelemetryLogoIcon } from "../../common/icons/16px/OpenTelemetryLogo import { SlackLogoIcon } from "../../common/icons/16px/SlackLogoIcon"; import { ChevronIcon } from "../../common/icons/ChevronIcon"; import { DigmaLogoIcon } from "../../common/icons/DigmaLogoIcon"; -import { ThreeDotsIcon } from "../../common/icons/ThreeDotsIcon"; +import { ThreeDotsVerticalIcon } from "../../common/icons/ThreeDotsVerticalIcon"; import { Direction } from "../../common/icons/types"; import { trackingEvents } from "../tracking"; import { ExtendedEnvironment } from "../types"; @@ -243,7 +243,7 @@ export const EnvironmentPanel = ({ } >
- +
); diff --git a/src/components/common/FilterMenu/index.tsx b/src/components/common/FilterMenu/index.tsx index d734d6c75..c07129c8d 100644 --- a/src/components/common/FilterMenu/index.tsx +++ b/src/components/common/FilterMenu/index.tsx @@ -51,11 +51,9 @@ export const FilterMenu = ({ {x.label} - handleMenuItemClick(x.value)} - > + handleMenuItemClick(x.value)}> - + ))} @@ -82,9 +80,9 @@ export const FilterMenu = ({ {title} - + - + diff --git a/src/components/common/FilterMenu/styles.ts b/src/components/common/FilterMenu/styles.ts index c6d0b0a6f..14b3a659f 100644 --- a/src/components/common/FilterMenu/styles.ts +++ b/src/components/common/FilterMenu/styles.ts @@ -37,7 +37,7 @@ export const Header = styled.div` }}; `; -export const CloseButton = styled.button` +export const IconButton = styled.button` padding: 0; cursor: pointer; background: none; @@ -46,8 +46,6 @@ export const CloseButton = styled.button` color: inherit; `; -export const DeleteTagButton = CloseButton; - export const SearchInputContainer = styled.div` display: flex; position: relative; diff --git a/src/components/common/KebabMenuButton/index.tsx b/src/components/common/KebabMenuButton/index.tsx index afb1b517b..29ec5f69c 100644 --- a/src/components/common/KebabMenuButton/index.tsx +++ b/src/components/common/KebabMenuButton/index.tsx @@ -1,4 +1,4 @@ -import { ThreeDotsIcon } from "../icons/ThreeDotsIcon"; +import { ThreeDotsVerticalIcon } from "../icons/ThreeDotsVerticalIcon"; import * as s from "./styles"; import { KebabMenuButtonProps } from "./types"; @@ -8,6 +8,6 @@ export const KebabMenuButton = ({ className }: KebabMenuButtonProps) => ( - + ); diff --git a/src/components/common/icons/20px/KebabIcon.tsx b/src/components/common/icons/20px/ThreeDotsVerticalIcon.tsx similarity index 82% rename from src/components/common/icons/20px/KebabIcon.tsx rename to src/components/common/icons/20px/ThreeDotsVerticalIcon.tsx index e87ae5192..ccbe9c1c8 100644 --- a/src/components/common/icons/20px/KebabIcon.tsx +++ b/src/components/common/icons/20px/ThreeDotsVerticalIcon.tsx @@ -2,7 +2,7 @@ import React from "react"; import { useIconProps } from "../hooks"; import { IconProps } from "../types"; -export const KebabIconComponent = (props: IconProps) => { +export const ThreeDotsVerticalIconComponent = (props: IconProps) => { const { size, color } = useIconProps(props); return ( @@ -25,4 +25,4 @@ export const KebabIconComponent = (props: IconProps) => { ); }; -export const KebabIcon = React.memo(KebabIconComponent); +export const ThreeDotsVerticalIcon = React.memo(ThreeDotsVerticalIconComponent); diff --git a/src/components/common/icons/ThreeDotsIcon.tsx b/src/components/common/icons/ThreeDotsVerticalIcon.tsx similarity index 79% rename from src/components/common/icons/ThreeDotsIcon.tsx rename to src/components/common/icons/ThreeDotsVerticalIcon.tsx index f6946899b..e50cb6716 100644 --- a/src/components/common/icons/ThreeDotsIcon.tsx +++ b/src/components/common/icons/ThreeDotsVerticalIcon.tsx @@ -2,7 +2,7 @@ import React from "react"; import { useIconProps } from "./hooks"; import { IconProps } from "./types"; -const ThreeDotsIconComponent = (props: IconProps) => { +const ThreeDotsVerticalIconComponent = (props: IconProps) => { const { size, color } = useIconProps(props); return ( @@ -23,4 +23,4 @@ const ThreeDotsIconComponent = (props: IconProps) => { ); }; -export const ThreeDotsIcon = React.memo(ThreeDotsIconComponent); +export const ThreeDotsVerticalIcon = React.memo(ThreeDotsVerticalIconComponent); diff --git a/src/constants.ts b/src/constants.ts index 0bb74b9ec..c65f51be2 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -45,9 +45,6 @@ export const QUERY_OPTIMIZATION_ISSUES_DOCUMENTATION_URL = export const CODE_NEXUS_DOCUMENTATION_URL = "https://docs.digma.ai/digma-developer-guide/digma-features/analytics/code-nexus"; -export const TEST_OBSERVABILITY_DOCUMENTATION_URL = - "https://docs.digma.ai/digma-developer-guide/digma-features/test-observability"; - export const DIGMA_DOCUMENTATION = "https://docs.digma.ai"; export const PERCENTILES: { diff --git a/src/os.ts b/src/os.ts index 957602f5e..9f2520515 100644 --- a/src/os.ts +++ b/src/os.ts @@ -1,6 +1,6 @@ export type OperatingSystem = "Linux" | "macOS" | "Windows" | "Other"; -export const getOperatingSystem = (): OperatingSystem => { +const getOperatingSystem = (): OperatingSystem => { if (navigator.userAgent.includes("Linux")) { return "Linux"; } diff --git a/src/platform.ts b/src/platform.ts index ef6140167..0fa1e8405 100644 --- a/src/platform.ts +++ b/src/platform.ts @@ -6,7 +6,7 @@ const PLATFORMS = ["JetBrains", "VS Code", "Web"]; const isPlatform = (platform: unknown): platform is Platform => isString(platform) && PLATFORMS.includes(platform); -export const getPlatform = (platform: unknown): Platform | null => +const getPlatform = (platform: unknown): Platform | null => isPlatform(platform) ? platform : null; export const platform = getPlatform(window.platform); @@ -15,7 +15,7 @@ const IDES = ["IDEA", "Rider", "PyCharm"]; const isIDE = (ide: unknown): ide is IDE => isString(ide) && IDES.includes(ide); -export const getIDE = (ide: unknown): IDE | undefined => +const getIDE = (ide: unknown): IDE | undefined => isIDE(ide) ? ide : undefined; export const ide = getIDE(window.ide); diff --git a/src/store/assets/assetsSlice.ts b/src/store/assets/assetsSlice.ts index 310bee8e2..69546c864 100644 --- a/src/store/assets/assetsSlice.ts +++ b/src/store/assets/assetsSlice.ts @@ -50,7 +50,7 @@ const allFiltersInitialState: { } }; -export const initialState: AssetsState = { +const initialState: AssetsState = { ...allFiltersInitialState, assetCategoriesData: null, isAssetCategoriesDataLoading: false, diff --git a/src/store/errors/errorsSlice.ts b/src/store/errors/errorsSlice.ts index 647fd7f18..e3db8d9bc 100644 --- a/src/store/errors/errorsSlice.ts +++ b/src/store/errors/errorsSlice.ts @@ -50,7 +50,7 @@ export interface ErrorsState { globalErrorsLastDays?: number; } -export const globalErrorsWithoutFiltersInitialState: Omit< +const globalErrorsWithoutFiltersInitialState: Omit< ErrorsState, "globalErrorsSelectedFilters" | "errorDetailsWorkspaceItemsOnly" > = { @@ -70,7 +70,7 @@ export const globalErrorsWithoutFiltersInitialState: Omit< globalErrorsLastDays: DAYS_FILTER_DEFAULT_VALUE }; -export const globalErrorsInitialState: Omit< +const globalErrorsInitialState: Omit< ErrorsState, "errorDetailsWorkspaceItemsOnly" > = { @@ -78,7 +78,7 @@ export const globalErrorsInitialState: Omit< globalErrorsSelectedFilters: null }; -export const initialState: ErrorsState = { +const initialState: ErrorsState = { ...globalErrorsInitialState, errorDetailsWorkspaceItemsOnly: false }; diff --git a/src/store/metricsReport/metricsReportSlice.ts b/src/store/metricsReport/metricsReportSlice.ts index 6e01c985f..3282b3e65 100644 --- a/src/store/metricsReport/metricsReportSlice.ts +++ b/src/store/metricsReport/metricsReportSlice.ts @@ -27,7 +27,7 @@ export interface MetricsReportState { metricsReportEndpointsIssuesData: EndpointIssuesData[] | null; } -export const initialState: MetricsReportState = { +const initialState: MetricsReportState = { metricsReportViewMode: "treemap", metricsReportViewLevel: "services", metricsReportTimeMode: "baseline", From 61f2f047fb595ca7068ca9de217151df12bbed06 Mon Sep 17 00:00:00 2001 From: Kyrylo Shmidt Date: Fri, 13 Dec 2024 10:30:49 +0100 Subject: [PATCH 4/4] Fix linter errors --- .prettierignore | 1 + eslint.config.mjs | 2 +- .../ErrorDetails/ErrorDetailsCardContent/index.tsx | 3 +-- .../EndpointBottleneckHighlightCard/index.tsx | 9 +++------ .../EndpointSpanNPlusOneHighlightCard/index.tsx | 7 +++---- .../highlightCards/SpaNPlusOneHighlightCard/index.tsx | 9 ++++----- .../SpanEndpointBottleneckHighlightCard/index.tsx | 9 +++------ .../SpanQueryOptimizationHighlightCard/index.tsx | 11 ++++------- 8 files changed, 20 insertions(+), 31 deletions(-) diff --git a/.prettierignore b/.prettierignore index 2266602c7..539559cca 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,4 +1,5 @@ dist/ +jaeger-ui/ storybook-static/ package.json package-lock.json diff --git a/eslint.config.mjs b/eslint.config.mjs index f4063323d..19ac88382 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -7,7 +7,7 @@ import tseslint from "typescript-eslint"; export default tseslint.config( { - ignores: ["dist/", "!.storybook", "storybook-static/"] + ignores: ["!.storybook", "dist/", "jaeger-ui/", "storybook-static/"] }, eslint.configs.recommended, tseslint.configs.recommendedTypeChecked, diff --git a/src/components/Errors/ErrorDetails/ErrorDetailsCardContent/index.tsx b/src/components/Errors/ErrorDetails/ErrorDetailsCardContent/index.tsx index 3dfa7ca8f..5d73a8289 100644 --- a/src/components/Errors/ErrorDetails/ErrorDetailsCardContent/index.tsx +++ b/src/components/Errors/ErrorDetails/ErrorDetailsCardContent/index.tsx @@ -13,7 +13,6 @@ import { Direction } from "../../../common/icons/types"; import { Tooltip } from "../../../common/v3/Tooltip"; import { HIGH_SEVERITY_SCORE_THRESHOLD } from "../../Score"; import { trackingEvents } from "../../tracking"; -import { FlowInfo } from "../types"; import { FlowStack } from "./FlowStack"; import { isServiceInfoWithName } from "./FlowStack/SpanFrameGroup/typeGuards"; import * as s from "./styles"; @@ -41,7 +40,7 @@ export const ErrorDetailsCardContent = ({ const lastString = formatTimeDistance(data.lastOccurenceTime); const avgPerDay = data.dayAvg; - const flows = data.errors.filter((x) => !isNull(x)) as FlowInfo[]; + const flows = data.errors.filter((x) => !isNull(x)); const currentFlow = flows[currentFlowStack]; const isPreviousFlowButtonDisabled = currentFlowStack === 0; diff --git a/src/components/Highlights/TopIssues/highlightCards/EndpointBottleneckHighlightCard/index.tsx b/src/components/Highlights/TopIssues/highlightCards/EndpointBottleneckHighlightCard/index.tsx index e7f61136a..3955e9363 100644 --- a/src/components/Highlights/TopIssues/highlightCards/EndpointBottleneckHighlightCard/index.tsx +++ b/src/components/Highlights/TopIssues/highlightCards/EndpointBottleneckHighlightCard/index.tsx @@ -1,5 +1,4 @@ import { Row, createColumnHelper } from "@tanstack/react-table"; -import { Duration } from "../../../../../globals"; import { useConfigSelector } from "../../../../../store/config/useConfigSelector"; import { SCOPE_CHANGE_EVENTS } from "../../../../../types"; import { sendUserActionTrackingEvent } from "../../../../../utils/actions/sendUserActionTrackingEvent"; @@ -31,7 +30,7 @@ export const EndpointBottleneckHighlightCard = ({ header: "% of Duration", cell: (info) => { const metric = info.getValue(); - const value = metric ? `${String(metric.value as number)}%` : ""; + const value = metric ? `${String(metric.value)}%` : ""; return metric ? {value} : null; } } @@ -42,7 +41,7 @@ export const EndpointBottleneckHighlightCard = ({ header: "Requests", cell: (info) => { const metric = info.getValue(); - const value = metric ? `${String(metric.value as number)}%` : ""; + const value = metric ? `${String(metric.value)}%` : ""; return metric ? {value} : null; } } @@ -53,9 +52,7 @@ export const EndpointBottleneckHighlightCard = ({ header: "Duration", cell: (info) => { const metric = info.getValue(); - const value = metric - ? getDurationString(metric.value as Duration) - : ""; + const value = metric ? getDurationString(metric.value) : ""; return metric ? : null; } } diff --git a/src/components/Highlights/TopIssues/highlightCards/EndpointSpanNPlusOneHighlightCard/index.tsx b/src/components/Highlights/TopIssues/highlightCards/EndpointSpanNPlusOneHighlightCard/index.tsx index 5e04873d7..d00f4e74a 100644 --- a/src/components/Highlights/TopIssues/highlightCards/EndpointSpanNPlusOneHighlightCard/index.tsx +++ b/src/components/Highlights/TopIssues/highlightCards/EndpointSpanNPlusOneHighlightCard/index.tsx @@ -1,5 +1,4 @@ import { Row, createColumnHelper } from "@tanstack/react-table"; -import { Duration } from "../../../../../globals"; import { useConfigSelector } from "../../../../../store/config/useConfigSelector"; import { SCOPE_CHANGE_EVENTS } from "../../../../../types"; import { sendUserActionTrackingEvent } from "../../../../../utils/actions/sendUserActionTrackingEvent"; @@ -29,7 +28,7 @@ export const EndpointSpanNPlusOneHighlightCard = ({ header: "Repeats", cell: (info) => { const metric = info.getValue(); - const value = metric ? String(metric.value as number) : ""; + const value = metric ? String(metric.value) : ""; return metric ? {value} : null; } }), @@ -39,7 +38,7 @@ export const EndpointSpanNPlusOneHighlightCard = ({ header: "Requests", cell: (info) => { const metric = info.getValue(); - const value = metric ? `${String(metric.value as number)}%` : ""; + const value = metric ? `${String(metric.value)}%` : ""; return metric ? {value} : null; } } @@ -48,7 +47,7 @@ export const EndpointSpanNPlusOneHighlightCard = ({ header: "Duration", cell: (info) => { const metric = info.getValue(); - const value = metric ? getDurationString(metric.value as Duration) : ""; + const value = metric ? getDurationString(metric.value) : ""; return metric ? : null; } }) diff --git a/src/components/Highlights/TopIssues/highlightCards/SpaNPlusOneHighlightCard/index.tsx b/src/components/Highlights/TopIssues/highlightCards/SpaNPlusOneHighlightCard/index.tsx index fea4abfd1..1e0a2403e 100644 --- a/src/components/Highlights/TopIssues/highlightCards/SpaNPlusOneHighlightCard/index.tsx +++ b/src/components/Highlights/TopIssues/highlightCards/SpaNPlusOneHighlightCard/index.tsx @@ -1,5 +1,4 @@ import { Row, createColumnHelper } from "@tanstack/react-table"; -import { Duration } from "../../../../../globals"; import { useConfigSelector } from "../../../../../store/config/useConfigSelector"; import { SCOPE_CHANGE_EVENTS } from "../../../../../types"; import { sendUserActionTrackingEvent } from "../../../../../utils/actions/sendUserActionTrackingEvent"; @@ -29,7 +28,7 @@ export const SpaNPlusOneHighlightCard = ({ header: "Affected endpoints", cell: (info) => { const metric = info.getValue(); - const value = metric ? String(metric.value as number) : ""; + const value = metric ? String(metric.value) : ""; return metric ? {value} : null; } } @@ -38,7 +37,7 @@ export const SpaNPlusOneHighlightCard = ({ header: "Max Repeats", cell: (info) => { const metric = info.getValue(); - const value = metric ? String(metric.value as number) : ""; + const value = metric ? String(metric.value) : ""; return metric ? {value} : null; } }), @@ -48,7 +47,7 @@ export const SpaNPlusOneHighlightCard = ({ header: "Max Requests", cell: (info) => { const metric = info.getValue(); - const value = metric ? `${String(metric.value as number)}%` : ""; + const value = metric ? `${String(metric.value)}%` : ""; return metric ? {value} : null; } } @@ -57,7 +56,7 @@ export const SpaNPlusOneHighlightCard = ({ header: "Max Duration", cell: (info) => { const metric = info.getValue(); - const value = metric ? getDurationString(metric.value as Duration) : ""; + const value = metric ? getDurationString(metric.value) : ""; return metric ? : null; } }) diff --git a/src/components/Highlights/TopIssues/highlightCards/SpanEndpointBottleneckHighlightCard/index.tsx b/src/components/Highlights/TopIssues/highlightCards/SpanEndpointBottleneckHighlightCard/index.tsx index 1ef103e8f..3decf0767 100644 --- a/src/components/Highlights/TopIssues/highlightCards/SpanEndpointBottleneckHighlightCard/index.tsx +++ b/src/components/Highlights/TopIssues/highlightCards/SpanEndpointBottleneckHighlightCard/index.tsx @@ -1,5 +1,4 @@ import { Row, createColumnHelper } from "@tanstack/react-table"; -import { Duration } from "../../../../../globals"; import { useConfigSelector } from "../../../../../store/config/useConfigSelector"; import { SCOPE_CHANGE_EVENTS } from "../../../../../types"; import { sendUserActionTrackingEvent } from "../../../../../utils/actions/sendUserActionTrackingEvent"; @@ -29,7 +28,7 @@ export const SpanEndpointBottleneckHighlightCard = ({ header: "Affected endpoints", cell: (info) => { const metric = info.getValue(); - const value = metric ? String(metric.value as number) : ""; + const value = metric ? String(metric.value) : ""; return metric ? {value} : null; } } @@ -40,7 +39,7 @@ export const SpanEndpointBottleneckHighlightCard = ({ header: "Max Requests", cell: (info) => { const metric = info.getValue(); - const value = metric ? `${String(metric.value as number)}%` : ""; + const value = metric ? `${String(metric.value)}%` : ""; return metric ? {value} : null; } } @@ -51,9 +50,7 @@ export const SpanEndpointBottleneckHighlightCard = ({ header: "Max Duration", cell: (info) => { const metric = info.getValue(); - const value = metric - ? getDurationString(metric.value as Duration) - : ""; + const value = metric ? getDurationString(metric.value) : ""; return metric ? : null; } } diff --git a/src/components/Highlights/TopIssues/highlightCards/SpanQueryOptimizationHighlightCard/index.tsx b/src/components/Highlights/TopIssues/highlightCards/SpanQueryOptimizationHighlightCard/index.tsx index 265118a20..74d63505e 100644 --- a/src/components/Highlights/TopIssues/highlightCards/SpanQueryOptimizationHighlightCard/index.tsx +++ b/src/components/Highlights/TopIssues/highlightCards/SpanQueryOptimizationHighlightCard/index.tsx @@ -1,5 +1,4 @@ import { Row, createColumnHelper } from "@tanstack/react-table"; -import { Duration } from "../../../../../globals"; import { useConfigSelector } from "../../../../../store/config/useConfigSelector"; import { SCOPE_CHANGE_EVENTS } from "../../../../../types"; import { sendUserActionTrackingEvent } from "../../../../../utils/actions/sendUserActionTrackingEvent"; @@ -31,7 +30,7 @@ export const SpanQueryOptimizationHighlightCard = ({ header: "Affected endpoints", cell: (info) => { const metric = info.getValue(); - const value = metric ? String(metric.value as number) : ""; + const value = metric ? String(metric.value) : ""; return metric ? {value} : null; } } @@ -40,7 +39,7 @@ export const SpanQueryOptimizationHighlightCard = ({ header: "Duration", cell: (info) => { const metric = info.getValue(); - const value = metric ? getDurationString(metric.value as Duration) : ""; + const value = metric ? getDurationString(metric.value) : ""; return metric ? : null; } }), @@ -50,9 +49,7 @@ export const SpanQueryOptimizationHighlightCard = ({ header: "Typical Duration", cell: (info) => { const metric = info.getValue(); - const value = metric - ? getDurationString(metric.value as Duration) - : ""; + const value = metric ? getDurationString(metric.value) : ""; return metric ? : null; } } @@ -61,7 +58,7 @@ export const SpanQueryOptimizationHighlightCard = ({ header: "Database", cell: (info) => { const metric = info.getValue(); - const value = metric ? (metric.value as string) : ""; + const value = metric ? metric.value : ""; return metric ? {value} : null; } })