diff --git a/frontend/package.json b/frontend/package.json index c210239d2600..fe8369d02f35 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -32,7 +32,7 @@ "gen:api:sandbox": "NODE_OPTIONS=\"${NODE_OPTIONS} --no-experimental-fetch\" UNLEASH_OPENAPI_URL=https://sandbox.getunleash.io/demo2/docs/openapi.json yarn run gen:api" }, "devDependencies": { - "@biomejs/biome": "^1.4.0", + "@biomejs/biome": "1.4.1", "@codemirror/lang-json": "6.0.1", "@emotion/react": "11.11.3", "@emotion/styled": "11.11.0", diff --git a/frontend/src/component/integrations/IntegrationHowToSection/IntegrationHowToSection.tsx b/frontend/src/component/integrations/IntegrationHowToSection/IntegrationHowToSection.tsx index 069811d6ec64..c541d9a38081 100644 --- a/frontend/src/component/integrations/IntegrationHowToSection/IntegrationHowToSection.tsx +++ b/frontend/src/component/integrations/IntegrationHowToSection/IntegrationHowToSection.tsx @@ -5,10 +5,12 @@ import { Typography, styled } from '@mui/material'; import { IntegrationIcon } from '../IntegrationList/IntegrationIcon/IntegrationIcon'; import { Markdown } from 'component/common/Markdown/Markdown'; -const StyledHowDoesItWorkSection = styled(StyledRaisedSection)(({ theme }) => ({ - fontSize: theme.fontSizes.smallBody, - gap: theme.spacing(1.5), -})); +const StyledHowDoesItWorkSection = styled(StyledRaisedSection)( + ({ theme }) => ({ + fontSize: theme.fontSizes.smallBody, + gap: theme.spacing(1.5), + }), +); interface IIntegrationHowToSectionProps { provider?: Pick; diff --git a/frontend/src/types/react-table-config.d.ts b/frontend/src/types/react-table-config.d.ts index 434180c4be86..a2fd25f5da25 100644 --- a/frontend/src/types/react-table-config.d.ts +++ b/frontend/src/types/react-table-config.d.ts @@ -58,9 +58,8 @@ import { declare module 'react-table' { // take this file as-is, or comment out the sections that don't apply to your plugin configuration - export interface TableOptions< - D extends Record, - > extends UseExpandedOptions, + export interface TableOptions> + extends UseExpandedOptions, UseFiltersOptions, UseGlobalFiltersOptions, UseGroupByOptions, diff --git a/frontend/yarn.lock b/frontend/yarn.lock index 3721e6a95d48..ff5e117c48c9 100644 --- a/frontend/yarn.lock +++ b/frontend/yarn.lock @@ -517,47 +517,47 @@ "@babel/helper-validator-identifier" "^7.22.20" to-fast-properties "^2.0.0" -"@biomejs/biome@^1.4.0": - version "1.4.0" - resolved "https://registry.yarnpkg.com/@biomejs/biome/-/biome-1.4.0.tgz#b512e1e7a4f3ec0bc0aceaa99fab8eded2bd95c9" - integrity sha512-/rDlao6ra38nhxo4IYCqWCzfTJcpMk4YHjSVBI9yN/ifdhnzSwirL25xDVH7G9hZdNhpF9g78FaPJhFa9DX0Cw== +"@biomejs/biome@1.4.1": + version "1.4.1" + resolved "https://registry.yarnpkg.com/@biomejs/biome/-/biome-1.4.1.tgz#b698c67ea8cd8141c8e27f857c8e6e794320a251" + integrity sha512-JccVAwPbhi37pdxbAGmaOBjUTKEwEjWAhl7rKkVVuXHo4MLASXJ5HR8BTgrImi4/7rTBsGz1tgVD1Kwv1CHGRg== optionalDependencies: - "@biomejs/cli-darwin-arm64" "1.4.0" - "@biomejs/cli-darwin-x64" "1.4.0" - "@biomejs/cli-linux-arm64" "1.4.0" - "@biomejs/cli-linux-x64" "1.4.0" - "@biomejs/cli-win32-arm64" "1.4.0" - "@biomejs/cli-win32-x64" "1.4.0" - -"@biomejs/cli-darwin-arm64@1.4.0": - version "1.4.0" - resolved "https://registry.yarnpkg.com/@biomejs/cli-darwin-arm64/-/cli-darwin-arm64-1.4.0.tgz#08e9e19ae72fd980be65307844a71cd7ba96f4f2" - integrity sha512-nBrtVRwr4IlTtxLOHwBwLv1sWvggf9/DnT5/ALIANJZOpoING6u8jHWipods69wK8kGa8Ld7iwHm3W5BrJJFFQ== + "@biomejs/cli-darwin-arm64" "1.4.1" + "@biomejs/cli-darwin-x64" "1.4.1" + "@biomejs/cli-linux-arm64" "1.4.1" + "@biomejs/cli-linux-x64" "1.4.1" + "@biomejs/cli-win32-arm64" "1.4.1" + "@biomejs/cli-win32-x64" "1.4.1" + +"@biomejs/cli-darwin-arm64@1.4.1": + version "1.4.1" + resolved "https://registry.yarnpkg.com/@biomejs/cli-darwin-arm64/-/cli-darwin-arm64-1.4.1.tgz#75f9c3c9b1abed8836c8f7bc8cd23ba153fb93d1" + integrity sha512-PZWy2Idndqux38p6AXSDQM2ldRAWi32bvb7bMbTN0ALzpWYMYnxd71ornatumSSJYoNhKmxzDLq+jct7nZJ79w== -"@biomejs/cli-darwin-x64@1.4.0": - version "1.4.0" - resolved "https://registry.yarnpkg.com/@biomejs/cli-darwin-x64/-/cli-darwin-x64-1.4.0.tgz#ae04f06a4446fa718dfeba863af6250a0b4185e6" - integrity sha512-nny0VgOj3ksUGzU5GblgtQEvrAZFgFe1IJBoYOP978OQdDrg7BpS+GX5udfof87Dl4ZlHPRBU951ceHOxF7BTg== +"@biomejs/cli-darwin-x64@1.4.1": + version "1.4.1" + resolved "https://registry.yarnpkg.com/@biomejs/cli-darwin-x64/-/cli-darwin-x64-1.4.1.tgz#672fcce2d339de3bb7a7bd2997e94f03121a28a3" + integrity sha512-soj3BWhnsM1M2JlzR09cibUzG1owJqetwj/Oo7yg0foijo9lNH9XWXZfJBYDKgW/6Fomn+CC2EcUS+hisQzt9g== -"@biomejs/cli-linux-arm64@1.4.0": - version "1.4.0" - resolved "https://registry.yarnpkg.com/@biomejs/cli-linux-arm64/-/cli-linux-arm64-1.4.0.tgz#40fbd94cff2c8437d18136d25801ead441ac6739" - integrity sha512-gyLkT/Yh9xfW1T9yjQs/2txkCeG0e+LRs0adLugMwN0ptcNTRyusBvUoiHnpB+9rS6hWu9ZCedGMNmKQ8v2GSw== +"@biomejs/cli-linux-arm64@1.4.1": + version "1.4.1" + resolved "https://registry.yarnpkg.com/@biomejs/cli-linux-arm64/-/cli-linux-arm64-1.4.1.tgz#c816206089ad29ce866c58a6e00e9d3d64a3529d" + integrity sha512-YIZqfJUg4F+fPsBTXxgD7EU2E5OAYbmYSl/snf4PevwfQCWE/omOFZv+NnIQmjYj9I7ParDgcJvanoA3/kO0JQ== -"@biomejs/cli-linux-x64@1.4.0": - version "1.4.0" - resolved "https://registry.yarnpkg.com/@biomejs/cli-linux-x64/-/cli-linux-x64-1.4.0.tgz#813d191b020a90aa829a5fc37dfeea393696a0f1" - integrity sha512-LIxTuU2zSbIHM9XDYjQphJ5UU8h2eS7yR8uIvGYSba7Qt9AKqfbenyVJTsVnoj1CXxxgKNVSc/wVmlOlGz5DBQ== +"@biomejs/cli-linux-x64@1.4.1": + version "1.4.1" + resolved "https://registry.yarnpkg.com/@biomejs/cli-linux-x64/-/cli-linux-x64-1.4.1.tgz#2639daeab1be205cfe444a8d5a3f76aa3a59b956" + integrity sha512-9YOZw3qBd/KUj63A6Hn2zZgzGb2nbESM0qNmeMXgmqinVKM//uc4OgY5TuKITuGjMSvcVxxd4dX1IzYjV9qvNQ== -"@biomejs/cli-win32-arm64@1.4.0": - version "1.4.0" - resolved "https://registry.yarnpkg.com/@biomejs/cli-win32-arm64/-/cli-win32-arm64-1.4.0.tgz#a6edb984d48d9a9db5971e13c3047ab19fd592c2" - integrity sha512-U2jT1/0wZLJIRqnU8qHAfi/A/+yUwlL3sYJgqs+wO0BbR22WGQZlj03u5FdpEoyLXdsLv1pbeIcjNp+V0NYXWA== +"@biomejs/cli-win32-arm64@1.4.1": + version "1.4.1" + resolved "https://registry.yarnpkg.com/@biomejs/cli-win32-arm64/-/cli-win32-arm64-1.4.1.tgz#ed5e749b2e0987cf16b545beaa01be6980ae8ce1" + integrity sha512-nWQbvkNKxYn/kCQ0yVF8kCaS3VzaGvtFSmItXiMknU4521LDjJ7tNWH12Gol+pIslrCbd4E1LhJa0a3ThRsBVg== -"@biomejs/cli-win32-x64@1.4.0": - version "1.4.0" - resolved "https://registry.yarnpkg.com/@biomejs/cli-win32-x64/-/cli-win32-x64-1.4.0.tgz#0bb1292c5e279198912b6ec35649124ba8349b72" - integrity sha512-gN6DgyyBxIwoCovAUFJHFWVallb0cLosayDRtNyxU3MDv/atZxSXOWQezfVKBIbgmFPxYWJObd+awvbPYXwwww== +"@biomejs/cli-win32-x64@1.4.1": + version "1.4.1" + resolved "https://registry.yarnpkg.com/@biomejs/cli-win32-x64/-/cli-win32-x64-1.4.1.tgz#dd8ee6e14a5d74cbeb2eb9824a43c61bb5c460e4" + integrity sha512-88fR2CQxQ4YLs2BUDuywWYQpUKgU3A3sTezANFc/4LGKQFFLV2yX+F7QAdZVkMHfA+RD9Xg178HomM/6mnTNPA== "@braintree/sanitize-url@^6.0.0": version "6.0.2" diff --git a/package.json b/package.json index 7745b5e173b8..20a72d53d640 100644 --- a/package.json +++ b/package.json @@ -151,7 +151,7 @@ "devDependencies": { "@apidevtools/swagger-parser": "10.1.0", "@babel/core": "7.23.7", - "@biomejs/biome": "1.4.0", + "@biomejs/biome": "1.4.1", "@swc/core": "1.3.102", "@swc/jest": "0.2.29", "@types/bcryptjs": "2.4.6", diff --git a/src/lib/db/client-applications-store.ts b/src/lib/db/client-applications-store.ts index dbce4e66e043..1ca45fdd23f4 100644 --- a/src/lib/db/client-applications-store.ts +++ b/src/lib/db/client-applications-store.ts @@ -104,7 +104,9 @@ const remapUsageRow = (input) => { }; }; -export default class ClientApplicationsStore implements IClientApplicationsStore { +export default class ClientApplicationsStore + implements IClientApplicationsStore +{ private db: Db; private logger: Logger; diff --git a/src/lib/proxy/proxy-repository.ts b/src/lib/proxy/proxy-repository.ts index e490cfd89af7..5289ddbe9cab 100644 --- a/src/lib/proxy/proxy-repository.ts +++ b/src/lib/proxy/proxy-repository.ts @@ -24,7 +24,10 @@ type Services = Pick< 'featureToggleServiceV2' | 'segmentService' | 'configurationRevisionService' >; -export class ProxyRepository extends EventEmitter implements RepositoryInterface { +export class ProxyRepository + extends EventEmitter + implements RepositoryInterface +{ private readonly config: Config; private readonly logger: Logger; diff --git a/src/test/fixtures/fake-favorite-features-store.ts b/src/test/fixtures/fake-favorite-features-store.ts index 603a7d46bc31..2a31b1f23c1e 100644 --- a/src/test/fixtures/fake-favorite-features-store.ts +++ b/src/test/fixtures/fake-favorite-features-store.ts @@ -2,7 +2,9 @@ import { IFavoriteFeaturesStore } from '../../lib/types'; import { IFavoriteFeatureKey } from '../../lib/types/stores/favorite-features'; import { IFavoriteFeature } from '../../lib/types/favorites'; /* eslint-disable @typescript-eslint/no-unused-vars */ -export default class FakeFavoriteFeaturesStore implements IFavoriteFeaturesStore { +export default class FakeFavoriteFeaturesStore + implements IFavoriteFeaturesStore +{ addFavoriteFeature( favorite: IFavoriteFeatureKey, ): Promise { diff --git a/src/test/fixtures/fake-favorite-projects-store.ts b/src/test/fixtures/fake-favorite-projects-store.ts index a609190f508f..e78889de36af 100644 --- a/src/test/fixtures/fake-favorite-projects-store.ts +++ b/src/test/fixtures/fake-favorite-projects-store.ts @@ -2,7 +2,9 @@ import { IFavoriteProjectsStore } from '../../lib/types'; import { IFavoriteProjectKey } from '../../lib/types/stores/favorite-projects'; import { IFavoriteProject } from '../../lib/types/favorites'; /* eslint-disable @typescript-eslint/no-unused-vars */ -export default class FakeFavoriteProjectsStore implements IFavoriteProjectsStore { +export default class FakeFavoriteProjectsStore + implements IFavoriteProjectsStore +{ addFavoriteProject( favorite: IFavoriteProjectKey, ): Promise { diff --git a/yarn.lock b/yarn.lock index 8eaf61740d9a..8de539da1747 100644 --- a/yarn.lock +++ b/yarn.lock @@ -616,47 +616,47 @@ resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== -"@biomejs/biome@1.4.0": - version "1.4.0" - resolved "https://registry.yarnpkg.com/@biomejs/biome/-/biome-1.4.0.tgz#b512e1e7a4f3ec0bc0aceaa99fab8eded2bd95c9" - integrity sha512-/rDlao6ra38nhxo4IYCqWCzfTJcpMk4YHjSVBI9yN/ifdhnzSwirL25xDVH7G9hZdNhpF9g78FaPJhFa9DX0Cw== +"@biomejs/biome@1.4.1": + version "1.4.1" + resolved "https://registry.yarnpkg.com/@biomejs/biome/-/biome-1.4.1.tgz#b698c67ea8cd8141c8e27f857c8e6e794320a251" + integrity sha512-JccVAwPbhi37pdxbAGmaOBjUTKEwEjWAhl7rKkVVuXHo4MLASXJ5HR8BTgrImi4/7rTBsGz1tgVD1Kwv1CHGRg== optionalDependencies: - "@biomejs/cli-darwin-arm64" "1.4.0" - "@biomejs/cli-darwin-x64" "1.4.0" - "@biomejs/cli-linux-arm64" "1.4.0" - "@biomejs/cli-linux-x64" "1.4.0" - "@biomejs/cli-win32-arm64" "1.4.0" - "@biomejs/cli-win32-x64" "1.4.0" - -"@biomejs/cli-darwin-arm64@1.4.0": - version "1.4.0" - resolved "https://registry.yarnpkg.com/@biomejs/cli-darwin-arm64/-/cli-darwin-arm64-1.4.0.tgz#08e9e19ae72fd980be65307844a71cd7ba96f4f2" - integrity sha512-nBrtVRwr4IlTtxLOHwBwLv1sWvggf9/DnT5/ALIANJZOpoING6u8jHWipods69wK8kGa8Ld7iwHm3W5BrJJFFQ== + "@biomejs/cli-darwin-arm64" "1.4.1" + "@biomejs/cli-darwin-x64" "1.4.1" + "@biomejs/cli-linux-arm64" "1.4.1" + "@biomejs/cli-linux-x64" "1.4.1" + "@biomejs/cli-win32-arm64" "1.4.1" + "@biomejs/cli-win32-x64" "1.4.1" + +"@biomejs/cli-darwin-arm64@1.4.1": + version "1.4.1" + resolved "https://registry.yarnpkg.com/@biomejs/cli-darwin-arm64/-/cli-darwin-arm64-1.4.1.tgz#75f9c3c9b1abed8836c8f7bc8cd23ba153fb93d1" + integrity sha512-PZWy2Idndqux38p6AXSDQM2ldRAWi32bvb7bMbTN0ALzpWYMYnxd71ornatumSSJYoNhKmxzDLq+jct7nZJ79w== -"@biomejs/cli-darwin-x64@1.4.0": - version "1.4.0" - resolved "https://registry.yarnpkg.com/@biomejs/cli-darwin-x64/-/cli-darwin-x64-1.4.0.tgz#ae04f06a4446fa718dfeba863af6250a0b4185e6" - integrity sha512-nny0VgOj3ksUGzU5GblgtQEvrAZFgFe1IJBoYOP978OQdDrg7BpS+GX5udfof87Dl4ZlHPRBU951ceHOxF7BTg== +"@biomejs/cli-darwin-x64@1.4.1": + version "1.4.1" + resolved "https://registry.yarnpkg.com/@biomejs/cli-darwin-x64/-/cli-darwin-x64-1.4.1.tgz#672fcce2d339de3bb7a7bd2997e94f03121a28a3" + integrity sha512-soj3BWhnsM1M2JlzR09cibUzG1owJqetwj/Oo7yg0foijo9lNH9XWXZfJBYDKgW/6Fomn+CC2EcUS+hisQzt9g== -"@biomejs/cli-linux-arm64@1.4.0": - version "1.4.0" - resolved "https://registry.yarnpkg.com/@biomejs/cli-linux-arm64/-/cli-linux-arm64-1.4.0.tgz#40fbd94cff2c8437d18136d25801ead441ac6739" - integrity sha512-gyLkT/Yh9xfW1T9yjQs/2txkCeG0e+LRs0adLugMwN0ptcNTRyusBvUoiHnpB+9rS6hWu9ZCedGMNmKQ8v2GSw== +"@biomejs/cli-linux-arm64@1.4.1": + version "1.4.1" + resolved "https://registry.yarnpkg.com/@biomejs/cli-linux-arm64/-/cli-linux-arm64-1.4.1.tgz#c816206089ad29ce866c58a6e00e9d3d64a3529d" + integrity sha512-YIZqfJUg4F+fPsBTXxgD7EU2E5OAYbmYSl/snf4PevwfQCWE/omOFZv+NnIQmjYj9I7ParDgcJvanoA3/kO0JQ== -"@biomejs/cli-linux-x64@1.4.0": - version "1.4.0" - resolved "https://registry.yarnpkg.com/@biomejs/cli-linux-x64/-/cli-linux-x64-1.4.0.tgz#813d191b020a90aa829a5fc37dfeea393696a0f1" - integrity sha512-LIxTuU2zSbIHM9XDYjQphJ5UU8h2eS7yR8uIvGYSba7Qt9AKqfbenyVJTsVnoj1CXxxgKNVSc/wVmlOlGz5DBQ== +"@biomejs/cli-linux-x64@1.4.1": + version "1.4.1" + resolved "https://registry.yarnpkg.com/@biomejs/cli-linux-x64/-/cli-linux-x64-1.4.1.tgz#2639daeab1be205cfe444a8d5a3f76aa3a59b956" + integrity sha512-9YOZw3qBd/KUj63A6Hn2zZgzGb2nbESM0qNmeMXgmqinVKM//uc4OgY5TuKITuGjMSvcVxxd4dX1IzYjV9qvNQ== -"@biomejs/cli-win32-arm64@1.4.0": - version "1.4.0" - resolved "https://registry.yarnpkg.com/@biomejs/cli-win32-arm64/-/cli-win32-arm64-1.4.0.tgz#a6edb984d48d9a9db5971e13c3047ab19fd592c2" - integrity sha512-U2jT1/0wZLJIRqnU8qHAfi/A/+yUwlL3sYJgqs+wO0BbR22WGQZlj03u5FdpEoyLXdsLv1pbeIcjNp+V0NYXWA== +"@biomejs/cli-win32-arm64@1.4.1": + version "1.4.1" + resolved "https://registry.yarnpkg.com/@biomejs/cli-win32-arm64/-/cli-win32-arm64-1.4.1.tgz#ed5e749b2e0987cf16b545beaa01be6980ae8ce1" + integrity sha512-nWQbvkNKxYn/kCQ0yVF8kCaS3VzaGvtFSmItXiMknU4521LDjJ7tNWH12Gol+pIslrCbd4E1LhJa0a3ThRsBVg== -"@biomejs/cli-win32-x64@1.4.0": - version "1.4.0" - resolved "https://registry.yarnpkg.com/@biomejs/cli-win32-x64/-/cli-win32-x64-1.4.0.tgz#0bb1292c5e279198912b6ec35649124ba8349b72" - integrity sha512-gN6DgyyBxIwoCovAUFJHFWVallb0cLosayDRtNyxU3MDv/atZxSXOWQezfVKBIbgmFPxYWJObd+awvbPYXwwww== +"@biomejs/cli-win32-x64@1.4.1": + version "1.4.1" + resolved "https://registry.yarnpkg.com/@biomejs/cli-win32-x64/-/cli-win32-x64-1.4.1.tgz#dd8ee6e14a5d74cbeb2eb9824a43c61bb5c460e4" + integrity sha512-88fR2CQxQ4YLs2BUDuywWYQpUKgU3A3sTezANFc/4LGKQFFLV2yX+F7QAdZVkMHfA+RD9Xg178HomM/6mnTNPA== "@colors/colors@1.5.0": version "1.5.0"