diff --git a/site/package.json b/site/package.json index 3341749c4b..a85993e449 100644 --- a/site/package.json +++ b/site/package.json @@ -127,7 +127,7 @@ "@types/express": "4.17.17", "@types/file-saver": "2.0.7", "@types/jest": "29.5.14", - "@types/lodash": "4.17.9", + "@types/lodash": "4.17.13", "@types/node": "20.16.10", "@types/react": "18.3.12", "@types/react-color": "3.0.12", diff --git a/site/pnpm-lock.yaml b/site/pnpm-lock.yaml index 373a642762..329f5f6bdd 100644 --- a/site/pnpm-lock.yaml +++ b/site/pnpm-lock.yaml @@ -290,8 +290,8 @@ importers: specifier: 29.5.14 version: 29.5.14 '@types/lodash': - specifier: 4.17.9 - version: 4.17.9 + specifier: 4.17.13 + version: 4.17.13 '@types/node': specifier: 20.16.10 version: 20.16.10 @@ -2508,8 +2508,8 @@ packages: '@types/jsdom@20.0.1': resolution: {integrity: sha512-d0r18sZPmMQr1eG35u12FZfhIXNrnsPU/g5wvRKCUf/tOGilKKwYMYGqh33BNR6ba+2gkHw1EUiHoN3mn7E5IQ==} - '@types/lodash@4.17.9': - resolution: {integrity: sha512-w9iWudx1XWOHW5lQRS9iKpK/XuRhnN+0T7HvdCCd802FYkT1AMTnxndJHGrNJwRoRHkslGr4S29tjm1cT7x/7w==} + '@types/lodash@4.17.13': + resolution: {integrity: sha512-lfx+dftrEZcdBPczf9d0Qv0x+j/rfNCMuC6OcfXmO8gkfeNAY88PgKUbvG56whcN23gc27yenwF6oJZXGFpYxg==} '@types/mdast@4.0.3': resolution: {integrity: sha512-LsjtqsyF+d2/yFOYaN22dHZI1Cpwkrj+g06G8+qtUKlhovPW89YhqSnfKtMbkgmEtYpH2gydRNULd6y8mciAFg==} @@ -7773,7 +7773,7 @@ snapshots: '@storybook/preview-api': 8.1.11 '@storybook/theming': 8.1.11(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@storybook/types': 8.1.11 - '@types/lodash': 4.17.9 + '@types/lodash': 4.17.13 color-convert: 2.0.1 dequal: 2.0.3 lodash: 4.17.21 @@ -8478,7 +8478,7 @@ snapshots: '@types/tough-cookie': 4.0.2 parse5: 7.1.2 - '@types/lodash@4.17.9': {} + '@types/lodash@4.17.13': {} '@types/mdast@4.0.3': dependencies: diff --git a/site/src/pages/AuditPage/AuditFilter.tsx b/site/src/pages/AuditPage/AuditFilter.tsx index 05f48d7c21..42a096dd81 100644 --- a/site/src/pages/AuditPage/AuditFilter.tsx +++ b/site/src/pages/AuditPage/AuditFilter.tsx @@ -121,7 +121,7 @@ export const useResourceTypeFilterMenu = ({ onChange, }: Pick) => { const actionOptions: SelectFilterOption[] = ResourceTypes.map((type) => { - let label = capitalize(type); + let label: string = capitalize(type); if (type === "api_key") { label = "API Key";