From 5a0588c4bda9be46dda3b7d1e5f0a7a0f991696a Mon Sep 17 00:00:00 2001 From: Morgan Ludtke <42942267+ludtkemorgan@users.noreply.github.com> Date: Thu, 17 Oct 2024 17:51:46 -0500 Subject: [PATCH] fix: cleanup lint warnings (#4404) --- .../reserved-community-type.controller.ts | 2 +- .../applications/public-apps-count.dto.ts | 2 - .../applications/public-apps-filtered.dto.ts | 2 +- .../public-apps-view-params.dto.ts | 2 +- .../public-apps-view-response.dto.ts | 1 - api/src/services/script-runner.service.ts | 7 +- api/src/services/translation.service.ts | 1 - api/src/utilities/lottery-date-validator.ts | 6 +- api/test/integration/lottery.e2e-spec.ts | 1 - ...n-as-juris-admin-correct-juris.e2e-spec.ts | 2 +- ...ion-as-juris-admin-wrong-juris.e2e-spec.ts | 2 +- .../permission-as-no-user.e2e-spec.ts | 2 +- ...ion-as-partner-correct-listing.e2e-spec.ts | 2 +- ...ssion-as-partner-wrong-listing.e2e-spec.ts | 2 +- .../permission-as-public.e2e-spec.ts | 2 +- api/test/unit/services/email.service.spec.ts | 2 +- .../services/google-translate.service.spec.ts | 2 - .../utilities/lottery-date-validator.spec.ts | 6 +- package.json | 4 +- shared-helpers/src/views/CustomIcons.tsx | 1 - .../forgot-password/FormForgotPassword.tsx | 2 +- .../AdditionalMetadataFormatter.test.ts | 2 +- .../applications/ApplicationsColDefs.ts | 2 +- .../dialogs/RequestChangesDialog.tsx | 1 - .../listings/PaperListingForm/index.tsx | 2 +- .../components/shared/NavigationHeader.tsx | 1 - .../src/components/users/FormUserConfirm.tsx | 2 +- .../lib/applications/formatApplicationData.ts | 1 - .../listings/[id]/applications/index.tsx | 5 +- .../src/pages/listings/[id]/lottery.tsx | 1 - sites/public/cypress/support/commands.js | 1 - .../components/account/ConfirmationModal.tsx | 2 +- .../applications/household/add-members.tsx | 1 - .../applications/preferences/general.tsx | 4 +- .../src/pages/applications/start/autofill.tsx | 6 +- sites/public/src/pages/index.tsx | 6 +- yarn.lock | 180 ++++++++++-------- 37 files changed, 124 insertions(+), 146 deletions(-) diff --git a/api/src/controllers/reserved-community-type.controller.ts b/api/src/controllers/reserved-community-type.controller.ts index 7e1c8d2c7d..b4e938eed9 100644 --- a/api/src/controllers/reserved-community-type.controller.ts +++ b/api/src/controllers/reserved-community-type.controller.ts @@ -17,10 +17,10 @@ import { ApiOperation, ApiTags, } from '@nestjs/swagger'; -import { ReservedCommunityTypeService } from '../services/reserved-community-type.service'; import { ReservedCommunityType } from '../dtos/reserved-community-types/reserved-community-type.dto'; import { ReservedCommunityTypeCreate } from '../dtos/reserved-community-types/reserved-community-type-create.dto'; import { ReservedCommunityTypeUpdate } from '../dtos/reserved-community-types/reserved-community-type-update.dto'; +import { ReservedCommunityTypeService } from '../services/reserved-community-type.service'; import { defaultValidationPipeOptions } from '../utilities/default-validation-pipe-options'; import { ReservedCommunityTypeQueryParams } from '../dtos/reserved-community-types/reserved-community-type-query-params.dto'; import { IdDTO } from '../dtos/shared/id.dto'; diff --git a/api/src/dtos/applications/public-apps-count.dto.ts b/api/src/dtos/applications/public-apps-count.dto.ts index ed764bcfa6..2d67ddbf5e 100644 --- a/api/src/dtos/applications/public-apps-count.dto.ts +++ b/api/src/dtos/applications/public-apps-count.dto.ts @@ -1,7 +1,5 @@ import { ApiProperty } from '@nestjs/swagger'; import { Expose } from 'class-transformer'; -import { IsNumber, IsDefined } from 'class-validator'; -import { ValidationsGroupsEnum } from '../../enums/shared/validation-groups-enum'; export class PublicAppsCount { @Expose() diff --git a/api/src/dtos/applications/public-apps-filtered.dto.ts b/api/src/dtos/applications/public-apps-filtered.dto.ts index ed75a45bab..58fda0d17d 100644 --- a/api/src/dtos/applications/public-apps-filtered.dto.ts +++ b/api/src/dtos/applications/public-apps-filtered.dto.ts @@ -1,5 +1,5 @@ import { Expose, Type } from 'class-transformer'; -import { ApiProperty, ApiPropertyOptional, OmitType } from '@nestjs/swagger'; +import { ApiProperty, OmitType } from '@nestjs/swagger'; import { Application } from './application.dto'; import Listing from '../listings/listing.dto'; diff --git a/api/src/dtos/applications/public-apps-view-params.dto.ts b/api/src/dtos/applications/public-apps-view-params.dto.ts index 79555d92ab..f8e7d6fa68 100644 --- a/api/src/dtos/applications/public-apps-view-params.dto.ts +++ b/api/src/dtos/applications/public-apps-view-params.dto.ts @@ -1,4 +1,4 @@ -import { Expose, Transform, Type } from 'class-transformer'; +import { Expose, Transform } from 'class-transformer'; import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger'; import { IsBoolean, IsEnum, IsOptional, IsString } from 'class-validator'; import { ValidationsGroupsEnum } from '../../enums/shared/validation-groups-enum'; diff --git a/api/src/dtos/applications/public-apps-view-response.dto.ts b/api/src/dtos/applications/public-apps-view-response.dto.ts index 597de2bc63..3e22378909 100644 --- a/api/src/dtos/applications/public-apps-view-response.dto.ts +++ b/api/src/dtos/applications/public-apps-view-response.dto.ts @@ -2,7 +2,6 @@ import { Expose, Type } from 'class-transformer'; import { ApiProperty } from '@nestjs/swagger'; import { ValidateNested } from 'class-validator'; import { ValidationsGroupsEnum } from '../../enums/shared/validation-groups-enum'; -import { Application } from './application.dto'; import { PublicAppsCount } from './public-apps-count.dto'; import { PublicAppsFiltered } from './public-apps-filtered.dto'; diff --git a/api/src/services/script-runner.service.ts b/api/src/services/script-runner.service.ts index 7da13d66d9..6554f9cd54 100644 --- a/api/src/services/script-runner.service.ts +++ b/api/src/services/script-runner.service.ts @@ -17,7 +17,6 @@ import { Application } from '../dtos/applications/application.dto'; import { AmiChartImportDTO } from '../dtos/script-runner/ami-chart-import.dto'; import { AmiChartCreate } from '../dtos/ami-charts/ami-chart-create.dto'; import { AmiChartService } from './ami-chart.service'; -import { IdDTO } from '../dtos/shared/id.dto'; /** this is the service for running scripts @@ -204,7 +203,7 @@ export class ScriptRunnerService { return { success: true }; } - private async addLotteryTranslationsHelper(req: ExpressRequest) { + private async addLotteryTranslationsHelper() { const updateForLanguage = async ( language: LanguagesEnum, translationKeys: Record>, @@ -355,7 +354,7 @@ export class ScriptRunnerService { async addLotteryTranslations(req: ExpressRequest): Promise { const requestingUser = mapTo(User, req['user']); await this.markScriptAsRunStart('add lottery translations', requestingUser); - this.addLotteryTranslationsHelper(req); + this.addLotteryTranslationsHelper(); await this.markScriptAsComplete('add lottery translations', requestingUser); return { success: true }; @@ -376,7 +375,7 @@ export class ScriptRunnerService { 'add lottery translations create if empty', requestingUser, ); - this.addLotteryTranslationsHelper(req); + this.addLotteryTranslationsHelper(); await this.markScriptAsComplete( 'add lottery translations create if empty', requestingUser, diff --git a/api/src/services/translation.service.ts b/api/src/services/translation.service.ts index 787cda20c4..b9a6f233d9 100644 --- a/api/src/services/translation.service.ts +++ b/api/src/services/translation.service.ts @@ -4,7 +4,6 @@ import { PrismaService } from './prisma.service'; import { Listing } from '../dtos/listings/listing.dto'; import { GoogleTranslateService } from './google-translate.service'; import * as lodash from 'lodash'; -import { Jurisdiction } from '../dtos/jurisdictions/jurisdiction.dto'; @Injectable() export class TranslationService { diff --git a/api/src/utilities/lottery-date-validator.ts b/api/src/utilities/lottery-date-validator.ts index 8dd95893fe..18fb7a7448 100644 --- a/api/src/utilities/lottery-date-validator.ts +++ b/api/src/utilities/lottery-date-validator.ts @@ -1,8 +1,4 @@ -import { - ListingEventsTypeEnum, - ReviewOrderTypeEnum, - YesNoEnum, -} from '@prisma/client'; +import { ListingEventsTypeEnum, ReviewOrderTypeEnum } from '@prisma/client'; import { ValidatorConstraint, ValidatorConstraintInterface, diff --git a/api/test/integration/lottery.e2e-spec.ts b/api/test/integration/lottery.e2e-spec.ts index 6e6635e0cb..92133cb6b0 100644 --- a/api/test/integration/lottery.e2e-spec.ts +++ b/api/test/integration/lottery.e2e-spec.ts @@ -8,7 +8,6 @@ import { ListingsStatusEnum, LotteryStatusEnum, MultiselectQuestionsApplicationSectionEnum, - Prisma, ReviewOrderTypeEnum, UnitTypeEnum, } from '@prisma/client'; diff --git a/api/test/integration/permission-tests/permission-as-juris-admin-correct-juris.e2e-spec.ts b/api/test/integration/permission-tests/permission-as-juris-admin-correct-juris.e2e-spec.ts index 2acc5e7281..4afcb22e8b 100644 --- a/api/test/integration/permission-tests/permission-as-juris-admin-correct-juris.e2e-spec.ts +++ b/api/test/integration/permission-tests/permission-as-juris-admin-correct-juris.e2e-spec.ts @@ -1173,7 +1173,7 @@ describe('Testing Permissioning of endpoints as Jurisdictional Admin in the corr data: listingData, }); - const res = await request(app.getHttpServer()) + await request(app.getHttpServer()) .post('/listings/duplicate') .set({ passkey: process.env.API_PASS_KEY || '' }) .send({ diff --git a/api/test/integration/permission-tests/permission-as-juris-admin-wrong-juris.e2e-spec.ts b/api/test/integration/permission-tests/permission-as-juris-admin-wrong-juris.e2e-spec.ts index 8c992667a6..5ba4155f9f 100644 --- a/api/test/integration/permission-tests/permission-as-juris-admin-wrong-juris.e2e-spec.ts +++ b/api/test/integration/permission-tests/permission-as-juris-admin-wrong-juris.e2e-spec.ts @@ -1107,7 +1107,7 @@ describe('Testing Permissioning of endpoints as Jurisdictional Admin in the wron data: listingData, }); - const res = await request(app.getHttpServer()) + await request(app.getHttpServer()) .post('/listings/duplicate') .set({ passkey: process.env.API_PASS_KEY || '' }) .send({ diff --git a/api/test/integration/permission-tests/permission-as-no-user.e2e-spec.ts b/api/test/integration/permission-tests/permission-as-no-user.e2e-spec.ts index 2df8fcc64e..7b386230f5 100644 --- a/api/test/integration/permission-tests/permission-as-no-user.e2e-spec.ts +++ b/api/test/integration/permission-tests/permission-as-no-user.e2e-spec.ts @@ -1130,7 +1130,7 @@ describe('Testing Permissioning of endpoints as logged out user', () => { data: listingData, }); - const res = await request(app.getHttpServer()) + await request(app.getHttpServer()) .post('/listings/duplicate') .set({ passkey: process.env.API_PASS_KEY || '' }) .send({ diff --git a/api/test/integration/permission-tests/permission-as-partner-correct-listing.e2e-spec.ts b/api/test/integration/permission-tests/permission-as-partner-correct-listing.e2e-spec.ts index 58b5f0c77d..78d5c0f9ff 100644 --- a/api/test/integration/permission-tests/permission-as-partner-correct-listing.e2e-spec.ts +++ b/api/test/integration/permission-tests/permission-as-partner-correct-listing.e2e-spec.ts @@ -1112,7 +1112,7 @@ describe('Testing Permissioning of endpoints as partner with correct listing', ( data: listingData, }); - const res = await request(app.getHttpServer()) + await request(app.getHttpServer()) .post('/listings/duplicate') .set({ passkey: process.env.API_PASS_KEY || '' }) .send({ diff --git a/api/test/integration/permission-tests/permission-as-partner-wrong-listing.e2e-spec.ts b/api/test/integration/permission-tests/permission-as-partner-wrong-listing.e2e-spec.ts index 001ae06973..f95cdbbf34 100644 --- a/api/test/integration/permission-tests/permission-as-partner-wrong-listing.e2e-spec.ts +++ b/api/test/integration/permission-tests/permission-as-partner-wrong-listing.e2e-spec.ts @@ -1068,7 +1068,7 @@ describe('Testing Permissioning of endpoints as partner with wrong listing', () data: listingData, }); - const res = await request(app.getHttpServer()) + await request(app.getHttpServer()) .post('/listings/duplicate') .set({ passkey: process.env.API_PASS_KEY || '' }) .send({ diff --git a/api/test/integration/permission-tests/permission-as-public.e2e-spec.ts b/api/test/integration/permission-tests/permission-as-public.e2e-spec.ts index 20d6af2334..f3770664ae 100644 --- a/api/test/integration/permission-tests/permission-as-public.e2e-spec.ts +++ b/api/test/integration/permission-tests/permission-as-public.e2e-spec.ts @@ -1183,7 +1183,7 @@ describe('Testing Permissioning of endpoints as public user', () => { data: listingData, }); - const res = await request(app.getHttpServer()) + await request(app.getHttpServer()) .post('/listings/duplicate') .set({ passkey: process.env.API_PASS_KEY || '' }) .send({ diff --git a/api/test/unit/services/email.service.spec.ts b/api/test/unit/services/email.service.spec.ts index 7be2c6d479..757b2c5da8 100644 --- a/api/test/unit/services/email.service.spec.ts +++ b/api/test/unit/services/email.service.spec.ts @@ -25,7 +25,7 @@ const translationServiceMock = { }; const jurisdictionServiceMock = { - findOne: (id) => { + findOne: () => { return { name: 'Jurisdiction 1' }; }, }; diff --git a/api/test/unit/services/google-translate.service.spec.ts b/api/test/unit/services/google-translate.service.spec.ts index 7e37b750cd..06f00d6b11 100644 --- a/api/test/unit/services/google-translate.service.spec.ts +++ b/api/test/unit/services/google-translate.service.spec.ts @@ -7,7 +7,6 @@ jest.mock('@google-cloud/translate/build/src/v2'); describe('GoogleTranslateService', () => { let service: GoogleTranslateService; - let prisma: PrismaService; beforeAll(async () => { const module: TestingModule = await Test.createTestingModule({ @@ -15,7 +14,6 @@ describe('GoogleTranslateService', () => { }).compile(); service = module.get(GoogleTranslateService); - prisma = module.get(PrismaService); }); describe('isConfigured', () => { diff --git a/api/test/unit/utilities/lottery-date-validator.spec.ts b/api/test/unit/utilities/lottery-date-validator.spec.ts index 3cdd0e7f9d..49102ce60c 100644 --- a/api/test/unit/utilities/lottery-date-validator.spec.ts +++ b/api/test/unit/utilities/lottery-date-validator.spec.ts @@ -1,8 +1,4 @@ -import { - ListingEventsTypeEnum, - ReviewOrderTypeEnum, - YesNoEnum, -} from '@prisma/client'; +import { ListingEventsTypeEnum, ReviewOrderTypeEnum } from '@prisma/client'; import { LotteryDateParamValidator } from '../../../src/utilities/lottery-date-validator'; describe('Testing OrderQueryParamValidator', () => { diff --git a/package.json b/package.json index 925d7eb739..8f4b41f5ae 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,7 @@ "test:shared:helpers": "cd shared-helpers && yarn && yarn test", "test:apps": "concurrently \"yarn dev:backend\" \"yarn test:app:public\"", "test:apps:headless": "concurrently \"yarn dev:backend\" \"yarn test:app:public:headless\"", - "lint": "eslint '**/*.ts' '**/*.tsx' '**/*.js' && cd api && yarn lint", + "lint": "eslint '**/*.ts' '**/*.tsx' '**/*.js' --max-warnings 40 && cd api && yarn lint --max-warnings 2", "test:backend:new": "cd api && yarn test --detectOpenHandles", "test:backend:new:e2e": "cd api && yarn jest --config ./test/jest-e2e.config.js --detectOpenHandles", "test:backend:new:cov": "cd api && yarn jest --config ./test/jest-with-coverage.config.js --detectOpenHandles --logHeapUsage", @@ -89,7 +89,7 @@ } }, "lint-staged": { - "*.{js,ts,tsx}": "eslint --max-warnings 100" + "*.{js,ts,tsx}": "eslint" }, "dependencies": {} } diff --git a/shared-helpers/src/views/CustomIcons.tsx b/shared-helpers/src/views/CustomIcons.tsx index 3a2381139a..02250f3fc0 100644 --- a/shared-helpers/src/views/CustomIcons.tsx +++ b/shared-helpers/src/views/CustomIcons.tsx @@ -1,4 +1,3 @@ -import { t } from "@bloom-housing/ui-components" import React from "react" export const Application = ( diff --git a/shared-helpers/src/views/forgot-password/FormForgotPassword.tsx b/shared-helpers/src/views/forgot-password/FormForgotPassword.tsx index 3abfb53d18..56d16ad3d8 100644 --- a/shared-helpers/src/views/forgot-password/FormForgotPassword.tsx +++ b/shared-helpers/src/views/forgot-password/FormForgotPassword.tsx @@ -12,7 +12,7 @@ import { import { CardSection } from "@bloom-housing/ui-seeds/src/blocks/Card" import { NetworkErrorReset, NetworkStatusContent } from "../../auth/catchNetworkError" import type { UseFormMethods } from "react-hook-form" -import BloomCard from "../components/BloomCard" +import { BloomCard } from "../components/BloomCard" import { emailRegex } from "../../utilities/regex" import styles from "./FormForgotPassword.module.scss" diff --git a/sites/partners/__tests__/lib/listings/AdditionalMetadataFormatter.test.ts b/sites/partners/__tests__/lib/listings/AdditionalMetadataFormatter.test.ts index 3b033f9f88..49cd217060 100644 --- a/sites/partners/__tests__/lib/listings/AdditionalMetadataFormatter.test.ts +++ b/sites/partners/__tests__/lib/listings/AdditionalMetadataFormatter.test.ts @@ -1,6 +1,6 @@ import { LatitudeLongitude } from "@bloom-housing/ui-components" import AdditionalMetadataFormatter from "../../../src/lib/listings/AdditionalMetadataFormatter" -import { FormListing, FormMetadata } from "../../../src/lib/listings/formTypes" +import { FormMetadata } from "../../../src/lib/listings/formTypes" const latLong: LatitudeLongitude = { latitude: 37.36537, diff --git a/sites/partners/src/components/applications/ApplicationsColDefs.ts b/sites/partners/src/components/applications/ApplicationsColDefs.ts index 312787a308..32edd7d548 100644 --- a/sites/partners/src/components/applications/ApplicationsColDefs.ts +++ b/sites/partners/src/components/applications/ApplicationsColDefs.ts @@ -34,7 +34,7 @@ function compareStrings(a, b, node, nextNode, isInverted) { } } -export function getColDefs(maxHouseholdSize: number, countyCode: string) { +export function getColDefs(maxHouseholdSize: number) { const defs = [ { headerName: t("application.details.submittedDate"), diff --git a/sites/partners/src/components/listings/PaperListingForm/dialogs/RequestChangesDialog.tsx b/sites/partners/src/components/listings/PaperListingForm/dialogs/RequestChangesDialog.tsx index 6937d51f04..66a056def5 100644 --- a/sites/partners/src/components/listings/PaperListingForm/dialogs/RequestChangesDialog.tsx +++ b/sites/partners/src/components/listings/PaperListingForm/dialogs/RequestChangesDialog.tsx @@ -2,7 +2,6 @@ import React from "react" import { Form, t, Textarea } from "@bloom-housing/ui-components" import { Button, Dialog } from "@bloom-housing/ui-seeds" import { useForm } from "react-hook-form" -import { FormListing } from "../../../../lib/listings/formTypes" import { ListingsStatusEnum } from "@bloom-housing/shared-helpers/src/types/backend-swagger" import { SubmitFunction } from "../index" diff --git a/sites/partners/src/components/listings/PaperListingForm/index.tsx b/sites/partners/src/components/listings/PaperListingForm/index.tsx index 33acd45292..9c65917439 100644 --- a/sites/partners/src/components/listings/PaperListingForm/index.tsx +++ b/sites/partners/src/components/listings/PaperListingForm/index.tsx @@ -2,7 +2,7 @@ import React, { useState, useCallback, useContext, useEffect } from "react" import { useRouter } from "next/router" import dayjs from "dayjs" import { t, Form, AlertBox, LoadingOverlay, LatitudeLongitude } from "@bloom-housing/ui-components" -import { Button, Dialog, Icon, Tabs } from "@bloom-housing/ui-seeds" +import { Button, Icon, Tabs } from "@bloom-housing/ui-seeds" import ChevronLeftIcon from "@heroicons/react/20/solid/ChevronLeftIcon" import ChevronRightIcon from "@heroicons/react/20/solid/ChevronRightIcon" import { AuthContext, MessageContext, listingSectionQuestions } from "@bloom-housing/shared-helpers" diff --git a/sites/partners/src/components/shared/NavigationHeader.tsx b/sites/partners/src/components/shared/NavigationHeader.tsx index a515d06210..9510b81fac 100644 --- a/sites/partners/src/components/shared/NavigationHeader.tsx +++ b/sites/partners/src/components/shared/NavigationHeader.tsx @@ -5,7 +5,6 @@ import { TabNavItem, AppearanceSizeType, NavigationContext, - t, } from "@bloom-housing/ui-components" import styles from "./NavigationHeader.module.scss" diff --git a/sites/partners/src/components/users/FormUserConfirm.tsx b/sites/partners/src/components/users/FormUserConfirm.tsx index 03c5c361dc..594eded05a 100644 --- a/sites/partners/src/components/users/FormUserConfirm.tsx +++ b/sites/partners/src/components/users/FormUserConfirm.tsx @@ -1,6 +1,6 @@ import React, { useRef, useContext, useEffect, useState } from "react" import { useRouter } from "next/router" -import { t, FormCard, Form, Field, useMutate, AlertBox, Modal } from "@bloom-housing/ui-components" +import { t, FormCard, Form, Field, useMutate, AlertBox } from "@bloom-housing/ui-components" import { Button, Dialog, Icon } from "@bloom-housing/ui-seeds" import { AuthContext, MessageContext, passwordRegex } from "@bloom-housing/shared-helpers" import { useForm } from "react-hook-form" diff --git a/sites/partners/src/lib/applications/formatApplicationData.ts b/sites/partners/src/lib/applications/formatApplicationData.ts index 8c80c1fd84..73e857fa2c 100644 --- a/sites/partners/src/lib/applications/formatApplicationData.ts +++ b/sites/partners/src/lib/applications/formatApplicationData.ts @@ -6,7 +6,6 @@ import { mapCheckboxesToApi, } from "@bloom-housing/shared-helpers" import { FormTypes, ApplicationTypes, Address } from "../../lib/applications/FormTypes" -import { convertDataToLocal } from "../../lib/helpers" import dayjs from "dayjs" import utc from "dayjs/plugin/utc" diff --git a/sites/partners/src/pages/listings/[id]/applications/index.tsx b/sites/partners/src/pages/listings/[id]/applications/index.tsx index f1c0815741..a00cd92081 100644 --- a/sites/partners/src/pages/listings/[id]/applications/index.tsx +++ b/sites/partners/src/pages/listings/[id]/applications/index.tsx @@ -51,7 +51,6 @@ const ApplicationsList = () => { !!process.env.applicationExportAsSpreadsheet ) - const countyCode = listingDto?.jurisdictions?.name const listingName = listingDto?.name const isListingOpen = listingDto?.status === "active" const { data: flaggedApps } = useFlaggedApplicationsList({ @@ -103,8 +102,8 @@ const ApplicationsList = () => { }, [applications]) const columnDefs = useMemo(() => { - return getColDefs(maxHouseholdSize, countyCode) - }, [maxHouseholdSize, countyCode]) + return getColDefs(maxHouseholdSize) + }, [maxHouseholdSize]) const gridComponents = { formatLinkCell, diff --git a/sites/partners/src/pages/listings/[id]/lottery.tsx b/sites/partners/src/pages/listings/[id]/lottery.tsx index 706c8b9cf7..d4ae729801 100644 --- a/sites/partners/src/pages/listings/[id]/lottery.tsx +++ b/sites/partners/src/pages/listings/[id]/lottery.tsx @@ -7,7 +7,6 @@ import advancedFormat from "dayjs/plugin/advancedFormat" import Ticket from "@heroicons/react/24/solid/TicketIcon" import Download from "@heroicons/react/24/solid/ArrowDownTrayIcon" import ExclamationCirleIcon from "@heroicons/react/24/solid/ExclamationCircleIcon" -import Markdown from "markdown-to-jsx" import { t, Breadcrumbs, BreadcrumbLink } from "@bloom-housing/ui-components" import { Button, Card, Dialog, Heading, Icon, Message } from "@bloom-housing/ui-seeds" import { CardHeader, CardSection } from "@bloom-housing/ui-seeds/src/blocks/Card" diff --git a/sites/public/cypress/support/commands.js b/sites/public/cypress/support/commands.js index 365561c9e2..4fe841acd9 100644 --- a/sites/public/cypress/support/commands.js +++ b/sites/public/cypress/support/commands.js @@ -6,7 +6,6 @@ import { contactPreferencesCheckboxesOrder, alternateContactTypeRadioOrder, howDidYouHearCheckboxesOrder, - raceCheckboxesOrder, } from "./../mockData/applicationData" Cypress.Commands.add("signIn", (email, password) => { diff --git a/sites/public/src/components/account/ConfirmationModal.tsx b/sites/public/src/components/account/ConfirmationModal.tsx index 6620d3797e..0eb0da0c4e 100644 --- a/sites/public/src/components/account/ConfirmationModal.tsx +++ b/sites/public/src/components/account/ConfirmationModal.tsx @@ -8,7 +8,7 @@ import { useForm } from "react-hook-form" // eslint-disable-next-line @typescript-eslint/no-empty-interface export interface ConfirmationModalProps {} -const ConfirmationModal = (props: ConfirmationModalProps) => { +const ConfirmationModal = () => { const { resendConfirmation, profile, confirmAccount } = useContext(AuthContext) const toastyRef = useToastyRef() const [openModal, setOpenModal] = useState(false) diff --git a/sites/public/src/pages/applications/household/add-members.tsx b/sites/public/src/pages/applications/household/add-members.tsx index b59358c4f0..dfcba68eea 100644 --- a/sites/public/src/pages/applications/household/add-members.tsx +++ b/sites/public/src/pages/applications/household/add-members.tsx @@ -11,7 +11,6 @@ import { HouseholdMemberForm } from "../../../components/applications/HouseholdM import { useFormConductor } from "../../../lib/hooks" import { UserStatus } from "../../../lib/constants" import ApplicationFormLayout from "../../../layouts/application-form" -import styles from "../../../layouts/application-form.module.scss" const ApplicationAddMembers = () => { const { profile } = useContext(AuthContext) diff --git a/sites/public/src/pages/applications/preferences/general.tsx b/sites/public/src/pages/applications/preferences/general.tsx index 42b860be25..1cff7c0265 100644 --- a/sites/public/src/pages/applications/preferences/general.tsx +++ b/sites/public/src/pages/applications/preferences/general.tsx @@ -1,4 +1,4 @@ -import React, { useContext, useEffect, useState } from "react" +import React, { useContext, useEffect } from "react" import { useForm } from "react-hook-form" import { t, Form } from "@bloom-housing/ui-components" import { @@ -16,7 +16,6 @@ import ApplicationFormLayout from "../../../layouts/application-form" const ApplicationPreferencesGeneral = () => { const { profile } = useContext(AuthContext) - const [hideReviewButton, setHideReviewButton] = useState(false) const { conductor, application, listing } = useFormConductor("generalPool") const currentPageSection = listingSectionQuestions( listing, @@ -27,7 +26,6 @@ const ApplicationPreferencesGeneral = () => { const { handleSubmit } = useForm() const onSubmit = () => { - if (!conductor.canJumpForwardToReview()) setHideReviewButton(true) conductor.completeSection(4) conductor.sync() conductor.routeToNextOrReturnUrl() diff --git a/sites/public/src/pages/applications/start/autofill.tsx b/sites/public/src/pages/applications/start/autofill.tsx index 5066a8d6c8..1eb44a3f42 100644 --- a/sites/public/src/pages/applications/start/autofill.tsx +++ b/sites/public/src/pages/applications/start/autofill.tsx @@ -14,11 +14,7 @@ import { useFormConductor } from "../../../lib/hooks" import FormSummaryDetails from "../../../components/shared/FormSummaryDetails" import AutofillCleaner from "../../../lib/applications/appAutofill" import { UserStatus } from "../../../lib/constants" -import { - Application, - ApplicationOrderByKeys, - OrderByEnum, -} from "@bloom-housing/shared-helpers/src/types/backend-swagger" +import { Application } from "@bloom-housing/shared-helpers/src/types/backend-swagger" import ApplicationFormLayout from "../../../layouts/application-form" import { Button } from "@bloom-housing/ui-seeds" import { CardSection } from "@bloom-housing/ui-seeds/src/blocks/Card" diff --git a/sites/public/src/pages/index.tsx b/sites/public/src/pages/index.tsx index 4741f5bcb1..8dab348849 100644 --- a/sites/public/src/pages/index.tsx +++ b/sites/public/src/pages/index.tsx @@ -1,4 +1,4 @@ -import React, { useContext, useEffect, useState } from "react" +import React, { useContext, useEffect } from "react" import Head from "next/head" import { t, ActionBlock } from "@bloom-housing/ui-components" import { Button, Heading, Icon } from "@bloom-housing/ui-seeds" @@ -16,10 +16,6 @@ interface IndexProps { } export default function Home(props: IndexProps) { - const blankAlertInfo = { - alertMessage: null, - alertType: null, - } const { profile } = useContext(AuthContext) useEffect(() => { diff --git a/yarn.lock b/yarn.lock index fb6d663f01..d18a30f1b9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2284,19 +2284,19 @@ dependencies: eslint-visitor-keys "^3.3.0" -"@eslint-community/regexpp@^4.4.0": - version "4.5.1" - resolved "https://registry.yarnpkg.com/@eslint-community/regexpp/-/regexpp-4.5.1.tgz#cdd35dce4fa1a89a4fd42b1599eb35b3af408884" - integrity sha512-Z5ba73P98O1KUYCCJTUeVpja9RcGoMdncZ6T49FCUl2lN38JtCJ+3WgIDBv0AuY4WChU5PmtJmOCTlN6FZTFKQ== +"@eslint-community/regexpp@^4.6.1": + version "4.11.1" + resolved "https://registry.yarnpkg.com/@eslint-community/regexpp/-/regexpp-4.11.1.tgz#a547badfc719eb3e5f4b556325e542fbe9d7a18f" + integrity sha512-m4DVN9ZqskZoLU5GlWZadwDnYo3vAEydiUayB9widCl9ffWx2IvPnp6n3on5rJmziJSw9Bv+Z3ChDVdMwXCY8Q== -"@eslint/eslintrc@^2.0.3": - version "2.0.3" - resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-2.0.3.tgz#4910db5505f4d503f27774bf356e3704818a0331" - integrity sha512-+5gy6OQfk+xx3q0d6jGZZC3f3KzAkXc/IanVxd1is/VIIziRqqt3ongQz0FiTUXqTk0c7aDB3OaFuKnuSoJicQ== +"@eslint/eslintrc@^2.1.4": + version "2.1.4" + resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-2.1.4.tgz#388a269f0f25c1b6adc317b5a2c55714894c70ad" + integrity sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ== dependencies: ajv "^6.12.4" debug "^4.3.2" - espree "^9.5.2" + espree "^9.6.0" globals "^13.19.0" ignore "^5.2.0" import-fresh "^3.2.1" @@ -2304,10 +2304,10 @@ minimatch "^3.1.2" strip-json-comments "^3.1.1" -"@eslint/js@8.41.0": - version "8.41.0" - resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.41.0.tgz#080321c3b68253522f7646b55b577dd99d2950b3" - integrity sha512-LxcyMGxwmTh2lY9FwHPGWOHmYFCZvbrFCBZL4FzSSsxsRPuhrYUg/49/0KDfW8tnIEaEHtfmn6+NPN+1DqaNmA== +"@eslint/js@8.57.1": + version "8.57.1" + resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.57.1.tgz#de633db3ec2ef6a3c89e2f19038063e8a122e2c2" + integrity sha512-d9zaMRSTIKDLhctzH12MtXvJKSSUhaHcjV+2Z+GK+EEY7XKpP5yR4x+N3TAcHTcu963nIr+TMcCb4DBCYX1z6Q== "@fastify/accept-negotiator@^1.1.0": version "1.1.0" @@ -2393,13 +2393,13 @@ resolved "https://registry.yarnpkg.com/@heroicons/react/-/react-2.1.1.tgz#422deb80c4d6caf3371aec6f4bee8361a354dc13" integrity sha512-JyyN9Lo66kirbCMuMMRPtJxtKJoIsXKS569ebHGGRKbl8s4CtUfLnyKJxteA+vIKySocO4s1SkTkGS4xtG/yEA== -"@humanwhocodes/config-array@^0.11.8": - version "0.11.8" - resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.11.8.tgz#03595ac2075a4dc0f191cc2131de14fbd7d410b9" - integrity sha512-UybHIJzJnR5Qc/MsD9Kr+RpO2h+/P1GhOwdiLPXK5TWk5sgTdu88bTD9UP+CKbPPh5Rni1u0GjAdYQLemG8g+g== +"@humanwhocodes/config-array@^0.13.0": + version "0.13.0" + resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.13.0.tgz#fb907624df3256d04b9aa2df50d7aa97ec648748" + integrity sha512-DZLEEqFWQFiyK6h5YIeynKx7JlvCYWL0cImfSRXZ9l4Sg2efkFGTuFf6vzXjK1cq6IYkU+Eg/JizXw+TD2vRNw== dependencies: - "@humanwhocodes/object-schema" "^1.2.1" - debug "^4.1.1" + "@humanwhocodes/object-schema" "^2.0.3" + debug "^4.3.1" minimatch "^3.0.5" "@humanwhocodes/module-importer@^1.0.1": @@ -2407,10 +2407,10 @@ resolved "https://registry.yarnpkg.com/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz#af5b2691a22b44be847b0ca81641c5fb6ad0172c" integrity sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA== -"@humanwhocodes/object-schema@^1.2.1": - version "1.2.1" - resolved "https://registry.yarnpkg.com/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz#b520529ec21d8e5945a1851dfd1c32e94e39ff45" - integrity sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA== +"@humanwhocodes/object-schema@^2.0.3": + version "2.0.3" + resolved "https://registry.yarnpkg.com/@humanwhocodes/object-schema/-/object-schema-2.0.3.tgz#4a2868d75d6d6963e423bcf90b7fd1be343409d3" + integrity sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA== "@ioredis/commands@^1.1.1": version "1.2.0" @@ -3994,6 +3994,11 @@ "@typescript-eslint/types" "5.12.1" eslint-visitor-keys "^3.0.0" +"@ungap/structured-clone@^1.2.0": + version "1.2.0" + resolved "https://registry.yarnpkg.com/@ungap/structured-clone/-/structured-clone-1.2.0.tgz#756641adb587851b5ccb3e095daf27ae581c8406" + integrity sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ== + "@vercel/node-bridge@^2.1.0": version "2.2.2" resolved "https://registry.npmjs.org/@vercel/node-bridge/-/node-bridge-2.2.2.tgz" @@ -4195,11 +4200,16 @@ acorn@^7.0.0, acorn@^7.1.1: resolved "https://registry.yarnpkg.com/acorn/-/acorn-7.4.1.tgz#feaed255973d2e77555b83dbc08851a6c63520fa" integrity sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A== -acorn@^8.0.4, acorn@^8.11.3, acorn@^8.2.4, acorn@^8.7.1, acorn@^8.8.0, acorn@^8.8.2: +acorn@^8.0.4, acorn@^8.11.3, acorn@^8.2.4, acorn@^8.7.1, acorn@^8.8.2: version "8.12.1" resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.12.1.tgz#71616bdccbe25e27a54439e0046e89ca76df2248" integrity sha512-tcpGyI9zbizT9JbV6oYE477V6mTlXvvi0T0G3SNIYE2apm/G5huBa1+K89VGeovbg+jycCrfhl3ADxErOuO6Jg== +acorn@^8.9.0: + version "8.13.0" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.13.0.tgz#2a30d670818ad16ddd6a35d3842dacec9e5d7ca3" + integrity sha512-8zSiw54Oxrdym50NlZ9sUusyO1Z1ZchgRLWRaK6c86XJFClyCgFKetdowBg5bKxyp/u+CDBJG4Mpp0m3HLZl9w== + ag-grid-community@^26.0.0: version "26.2.1" resolved "https://registry.yarnpkg.com/ag-grid-community/-/ag-grid-community-26.2.1.tgz#b217e1b62317817c7119511a1a8358992e3a2026" @@ -4246,16 +4256,6 @@ ajv-keywords@^5.1.0: dependencies: fast-deep-equal "^3.1.3" -ajv@^6.10.0: - version "6.12.4" - resolved "https://registry.npmjs.org/ajv/-/ajv-6.12.4.tgz" - integrity sha512-eienB2c9qVQs2KWexhkrdMLVDoIQCz5KSeLxwg9Lzk4DOfBtIK9PQwwufcsn1jjGuf9WZmqPMbGxOzfcuphJCQ== - dependencies: - fast-deep-equal "^3.1.1" - fast-json-stable-stringify "^2.0.0" - json-schema-traverse "^0.4.1" - uri-js "^4.2.2" - ajv@^6.12.4, ajv@^6.12.5: version "6.12.5" resolved "https://registry.npmjs.org/ajv/-/ajv-6.12.5.tgz" @@ -6119,7 +6119,7 @@ doctrine@^2.1.0: doctrine@^3.0.0: version "3.0.0" - resolved "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz" + resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-3.0.0.tgz#addebead72a6574db783639dc87a121773973961" integrity sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w== dependencies: esutils "^2.0.2" @@ -6538,9 +6538,9 @@ escodegen@^2.0.0: source-map "~0.6.1" eslint-config-prettier@^8.3.0: - version "8.8.0" - resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-8.8.0.tgz#bfda738d412adc917fd7b038857110efe98c9348" - integrity sha512-wLbQiFre3tdGgpDv67NQKnJuTlcUVYHas3k+DZCc2U2BadthoEY4B7hLPvAxaqdyOGCzuLfii2fqGph10va7oA== + version "8.10.0" + resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-8.10.0.tgz#3a06a662130807e2502fc3ff8b4143d8a0658e11" + integrity sha512-SM8AMJdeQqRYT9O9zguiruQZaN7+z+E4eAP9oiLNGKMtomwaB1E9dcgUD6ZAn/eQAb52USbvezbiljfZUhbJcg== eslint-import-resolver-node@^0.3.9: version "0.3.9" @@ -6649,10 +6649,10 @@ eslint-scope@5.1.1, eslint-scope@^5.1.1: esrecurse "^4.3.0" estraverse "^4.1.1" -eslint-scope@^7.2.0: - version "7.2.0" - resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-7.2.0.tgz#f21ebdafda02352f103634b96dd47d9f81ca117b" - integrity sha512-DYj5deGlHBfMt15J7rdtyKNq/Nqlv5KfU4iodrQ019XESsRnwXH9KAE0y3cwtUHDo2ob7CypAnCqefh6vioWRw== +eslint-scope@^7.2.2: + version "7.2.2" + resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-7.2.2.tgz#deb4f92563390f32006894af62a22dba1c46423f" + integrity sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg== dependencies: esrecurse "^4.3.0" estraverse "^5.2.0" @@ -6679,32 +6679,33 @@ eslint-visitor-keys@^3.3.0: resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.4.1.tgz#c22c48f48942d08ca824cc526211ae400478a994" integrity sha512-pZnmmLwYzf+kWaM/Qgrvpen51upAktaaiI01nsJD/Yr3lMOdNtq0cxkrrg16w64VtisN6okbs7Q8AfGqj4c9fA== -eslint-visitor-keys@^3.4.1: +eslint-visitor-keys@^3.4.1, eslint-visitor-keys@^3.4.3: version "3.4.3" resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz#0cd72fe8550e3c2eae156a96a4dddcd1c8ac5800" integrity sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag== eslint@^8.0.1: - version "8.41.0" - resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.41.0.tgz#3062ca73363b4714b16dbc1e60f035e6134b6f1c" - integrity sha512-WQDQpzGBOP5IrXPo4Hc0814r4/v2rrIsB0rhT7jtunIalgg6gYXWhRMOejVO8yH21T/FGaxjmFjBMNqcIlmH1Q== + version "8.57.1" + resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.57.1.tgz#7df109654aba7e3bbe5c8eae533c5e461d3c6ca9" + integrity sha512-ypowyDxpVSYpkXr9WPv2PAZCtNip1Mv5KTW0SCurXv/9iOpcrH9PaqUElksqEB6pChqHGDRCFTyrZlGhnLNGiA== dependencies: "@eslint-community/eslint-utils" "^4.2.0" - "@eslint-community/regexpp" "^4.4.0" - "@eslint/eslintrc" "^2.0.3" - "@eslint/js" "8.41.0" - "@humanwhocodes/config-array" "^0.11.8" + "@eslint-community/regexpp" "^4.6.1" + "@eslint/eslintrc" "^2.1.4" + "@eslint/js" "8.57.1" + "@humanwhocodes/config-array" "^0.13.0" "@humanwhocodes/module-importer" "^1.0.1" "@nodelib/fs.walk" "^1.2.8" - ajv "^6.10.0" + "@ungap/structured-clone" "^1.2.0" + ajv "^6.12.4" chalk "^4.0.0" cross-spawn "^7.0.2" debug "^4.3.2" doctrine "^3.0.0" escape-string-regexp "^4.0.0" - eslint-scope "^7.2.0" - eslint-visitor-keys "^3.4.1" - espree "^9.5.2" + eslint-scope "^7.2.2" + eslint-visitor-keys "^3.4.3" + espree "^9.6.1" esquery "^1.4.2" esutils "^2.0.2" fast-deep-equal "^3.1.3" @@ -6714,7 +6715,6 @@ eslint@^8.0.1: globals "^13.19.0" graphemer "^1.4.0" ignore "^5.2.0" - import-fresh "^3.0.0" imurmurhash "^0.1.4" is-glob "^4.0.0" is-path-inside "^3.0.3" @@ -6724,17 +6724,16 @@ eslint@^8.0.1: lodash.merge "^4.6.2" minimatch "^3.1.2" natural-compare "^1.4.0" - optionator "^0.9.1" + optionator "^0.9.3" strip-ansi "^6.0.1" - strip-json-comments "^3.1.0" text-table "^0.2.0" -espree@^9.5.2: - version "9.5.2" - resolved "https://registry.yarnpkg.com/espree/-/espree-9.5.2.tgz#e994e7dc33a082a7a82dceaf12883a829353215b" - integrity sha512-7OASN1Wma5fum5SrNhFMAMJxOUAbhyfQ8dQ//PJaJbNw0URTPWqIghHWt1MmAANKhHZIYOHruW4Kw4ruUWOdGw== +espree@^9.6.0, espree@^9.6.1: + version "9.6.1" + resolved "https://registry.yarnpkg.com/espree/-/espree-9.6.1.tgz#a2a17b8e434690a5432f2f8018ce71d331a48c6f" + integrity sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ== dependencies: - acorn "^8.8.0" + acorn "^8.9.0" acorn-jsx "^5.3.2" eslint-visitor-keys "^3.4.1" @@ -6744,9 +6743,9 @@ esprima@^4.0.0, esprima@^4.0.1: integrity sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A== esquery@^1.4.2: - version "1.5.0" - resolved "https://registry.yarnpkg.com/esquery/-/esquery-1.5.0.tgz#6ce17738de8577694edd7361c57182ac8cb0db0b" - integrity sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg== + version "1.6.0" + resolved "https://registry.yarnpkg.com/esquery/-/esquery-1.6.0.tgz#91419234f804d852a82dceec3e16cdc22cf9dae7" + integrity sha512-ca9pw9fomFcKPvFLXhBKUK90ZvGibiGOvRJNbjljY7s7uq/5YO4BOzcYtJqExdx99rF6aAcnRxHmcUHcz6sQsg== dependencies: estraverse "^5.1.0" @@ -7200,17 +7199,18 @@ findup-sync@^4.0.0: resolve-dir "^1.0.1" flat-cache@^3.0.4: - version "3.0.4" - resolved "https://registry.yarnpkg.com/flat-cache/-/flat-cache-3.0.4.tgz#61b0338302b2fe9f957dcc32fc2a87f1c3048b11" - integrity sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg== + version "3.2.0" + resolved "https://registry.yarnpkg.com/flat-cache/-/flat-cache-3.2.0.tgz#2c0c2d5040c99b1632771a9d105725c0115363ee" + integrity sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw== dependencies: - flatted "^3.1.0" + flatted "^3.2.9" + keyv "^4.5.3" rimraf "^3.0.2" -flatted@^3.1.0: - version "3.2.7" - resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.2.7.tgz#609f39207cb614b89d0765b477cb2d437fbf9787" - integrity sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ== +flatted@^3.2.9: + version "3.3.1" + resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.3.1.tgz#21db470729a6734d4997002f439cb308987f567a" + integrity sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw== focus-lock@^0.11.6: version "0.11.6" @@ -7641,9 +7641,9 @@ globals@^11.1.0: integrity sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA== globals@^13.19.0: - version "13.20.0" - resolved "https://registry.yarnpkg.com/globals/-/globals-13.20.0.tgz#ea276a1e508ffd4f1612888f9d1bad1e2717bf82" - integrity sha512-Qg5QtVkCy/kv3FUSlu4ukeZDVf9ee0iXLAUYX13gbR17bnejFTzr4iS9bY7kwCf1NztRNm1t91fjOiyx4CSwPQ== + version "13.24.0" + resolved "https://registry.yarnpkg.com/globals/-/globals-13.24.0.tgz#8432a19d78ce0c1e833949c36adb345400bb1171" + integrity sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ== dependencies: type-fest "^0.20.2" @@ -9539,6 +9539,13 @@ keyv@^4.0.0: dependencies: json-buffer "3.0.1" +keyv@^4.5.3: + version "4.5.4" + resolved "https://registry.yarnpkg.com/keyv/-/keyv-4.5.4.tgz#a879a99e29452f942439f2a405e3af8b31d4de93" + integrity sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw== + dependencies: + json-buffer "3.0.1" + kind-of@^3.0.2, kind-of@^3.0.3, kind-of@^3.2.0: version "3.2.2" resolved "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz" @@ -10751,17 +10758,17 @@ optionator@^0.8.1: type-check "~0.3.2" word-wrap "~1.2.3" -optionator@^0.9.1: - version "0.9.1" - resolved "https://registry.npmjs.org/optionator/-/optionator-0.9.1.tgz" - integrity sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw== +optionator@^0.9.3: + version "0.9.4" + resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.9.4.tgz#7ea1c1a5d91d764fb282139c88fe11e182a3a734" + integrity sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g== dependencies: deep-is "^0.1.3" fast-levenshtein "^2.0.6" levn "^0.4.1" prelude-ls "^1.2.1" type-check "^0.4.0" - word-wrap "^1.2.3" + word-wrap "^1.2.5" ora@^5.4.1: version "5.4.1" @@ -11997,7 +12004,7 @@ rfdc@^1.3.0: rimraf@^3.0.0, rimraf@^3.0.2: version "3.0.2" - resolved "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz" + resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a" integrity sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA== dependencies: glob "^7.1.3" @@ -12813,7 +12820,7 @@ strip-indent@^3.0.0: dependencies: min-indent "^1.0.0" -strip-json-comments@3.1.1, strip-json-comments@^3.1.0, strip-json-comments@^3.1.1: +strip-json-comments@3.1.1, strip-json-comments@^3.1.1: version "3.1.1" resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz#31f1281b3832630434831c310c01cccda8cbe006" integrity sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig== @@ -13915,11 +13922,16 @@ which@^2.0.1, which@^2.0.2: dependencies: isexe "^2.0.0" -word-wrap@^1.0.3, word-wrap@^1.2.3, word-wrap@~1.2.3: +word-wrap@^1.0.3, word-wrap@~1.2.3: version "1.2.4" resolved "https://registry.yarnpkg.com/word-wrap/-/word-wrap-1.2.4.tgz#cb4b50ec9aca570abd1f52f33cd45b6c61739a9f" integrity sha512-2V81OA4ugVo5pRo46hAoD2ivUJx8jXmWXfUkY4KFNw0hEptvN0QfH3K4nHiwzGeKl5rFKedV48QVoqYavy4YpA== +word-wrap@^1.2.5: + version "1.2.5" + resolved "https://registry.yarnpkg.com/word-wrap/-/word-wrap-1.2.5.tgz#d2c45c6dd4fbce621a66f136cbe328afd0410b34" + integrity sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA== + wrap-ansi@^5.1.0: version "5.1.0" resolved "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-5.1.0.tgz"