Skip to content

Commit

Permalink
fix(deps): update development tools (#5606)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Nick De Villiers <nick.devilliers@canonical.com>
  • Loading branch information
renovate[bot] and ndv99 authored Feb 10, 2025
1 parent d508535 commit e58af1e
Show file tree
Hide file tree
Showing 15 changed files with 51 additions and 46 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
"redux-first-history": "5.2.0",
"redux-saga": "1.3.0",
"typed-redux-saga": "1.5.0",
"typescript": "5.6.3",
"typescript": "5.7.3",
"vanilla-framework": "4.16.0",
"vite": "5.4.13",
"vite-plugin-svgr": "4.2.0",
Expand Down Expand Up @@ -136,7 +136,7 @@
"cypress-axe": "1.5.0",
"cypress-wait-until": "3.0.2",
"dotenv-flow": "4.1.0",
"eslint": "8.57.0",
"eslint": "8.57.1",
"eslint-config-prettier": "9.1.0",
"eslint-config-react-app": "7.0.1",
"eslint-import-resolver-typescript": "3.6.1",
Expand All @@ -155,10 +155,10 @@
"mockdate": "3.0.5",
"msw": "2.3.1",
"nanoid": "5.0.9",
"nodemon": "3.1.3",
"nodemon": "3.1.9",
"npm-package-json-lint": "8.0.0",
"postcss-normalize": "10.0.1",
"prettier": "3.3.2",
"prettier": "3.5.0",
"redux-mock-store": "1.5.4",
"redux-saga-test-plan": "4.0.6",
"sass": "1.77.2",
Expand Down
4 changes: 2 additions & 2 deletions src/app/base/components/node/DeleteForm/DeleteForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,13 @@ export const DeleteForm = <E,>({
}}
processingCount={processingCount}
savedRedirect={viewingDetails ? redirectURL : undefined}
selectedCount={nodes ? nodes.length : selectedCount ?? 0}
selectedCount={nodes ? nodes.length : (selectedCount ?? 0)}
submitAppearance="negative"
>
<NodeActionConfirmationText
action={NodeActions.DELETE}
modelName={modelName}
selectedCount={nodes ? nodes.length : selectedCount ?? 0}
selectedCount={nodes ? nodes.length : (selectedCount ?? 0)}
/>
</ActionForm>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export const FieldlessForm = <E,>({
}}
onSuccess={clearSidePanelContent}
processingCount={processingCount}
selectedCount={nodes ? nodes.length : selectedCount ?? 0}
selectedCount={nodes ? nodes.length : (selectedCount ?? 0)}
{...actionProps}
/>
);
Expand Down
2 changes: 1 addition & 1 deletion src/app/base/components/node/SetZoneForm/SetZoneForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export const SetZoneForm = <E,>({
}}
onSuccess={clearSidePanelContent}
processingCount={processingCount}
selectedCount={nodes ? nodes.length : selectedCount ?? 0}
selectedCount={nodes ? nodes.length : (selectedCount ?? 0)}
validationSchema={SetZoneSchema}
>
<Row>
Expand Down
2 changes: 1 addition & 1 deletion src/app/base/components/node/TestForm/TestForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ export const TestForm = <E,>({
}}
onSuccess={clearSidePanelContent}
processingCount={processingCount}
selectedCount={nodes ? nodes.length : selectedCount ?? 0}
selectedCount={nodes ? nodes.length : (selectedCount ?? 0)}
validationSchema={TestFormSchema}
>
<TestFormFields
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ export const CommissionForm = ({
}}
onSuccess={clearSidePanelContent}
processingCount={processingCount}
selectedCount={machines ? machines.length : selectedCount ?? 0}
selectedCount={machines ? machines.length : (selectedCount ?? 0)}
validationSchema={CommissionFormSchema}
{...actionProps}
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ export const DeployForm = ({
}}
onSuccess={clearSidePanelContent}
processingCount={processingCount}
selectedCount={machines ? machines.length : selectedCount ?? 0}
selectedCount={machines ? machines.length : (selectedCount ?? 0)}
showProcessingCount={false}
validationSchema={DeploySchema}
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,12 @@ export const MarkBrokenForm = ({
}}
onSuccess={clearSidePanelContent}
processingCount={processingCount}
selectedCount={machines ? machines.length : selectedCount ?? 0}
selectedCount={machines ? machines.length : (selectedCount ?? 0)}
validationSchema={MarkBrokenSchema}
{...actionProps}
>
<MarkBrokenFormFields
selectedCount={machines ? machines.length : selectedCount ?? 0}
selectedCount={machines ? machines.length : (selectedCount ?? 0)}
/>
</ActionForm>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export const ReleaseForm = ({
}}
onSuccess={clearSidePanelContent}
processingCount={processingCount}
selectedCount={machines ? machines.length : selectedCount ?? 0}
selectedCount={machines ? machines.length : (selectedCount ?? 0)}
validationSchema={ReleaseSchema}
{...actionProps}
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export const SetPoolForm = ({
}}
onSuccess={clearSidePanelContent}
processingCount={processingCount}
selectedCount={machines ? machines.length : selectedCount ?? 0}
selectedCount={machines ? machines.length : (selectedCount ?? 0)}
validationSchema={SetPoolSchema}
{...actionProps}
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ export const TagForm = ({
);
}}
processingCount={processingCount}
selectedCount={machines ? machines.length : selectedCount ?? 0}
selectedCount={machines ? machines.length : (selectedCount ?? 0)}
showProcessingCount={!viewingMachineConfig}
submitLabel="Save tag changes"
validationSchema={TagFormSchema}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export const generateSelectedOnCurrentPage = ({
let newSelected =
!selected || "filter" in selected
? { groups: [] }
: cloneDeep(selected) ?? {};
: (cloneDeep(selected) ?? {});
newSelected.groups = newSelected.groups ?? [];
newSelected.items = newSelected.items ?? [];
groups?.forEach((group) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,16 @@ import { Label as APIKeyFormLabels } from "../APIKeyForm/APIKeyForm";
import { APIKeyAdd } from "./APIKeyAdd";

import type { RootState } from "@/app/store/root/types";
import * as factory from "@/testing/factories";
import { screen, renderWithBrowserRouter } from "@/testing/utils";

describe("APIKeyAdd", () => {
let state: RootState;

beforeEach(() => {
state = factory.rootState();
});

it("can render", () => {
renderWithBrowserRouter(<APIKeyAdd />, {
route: "/",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import * as factory from "@/testing/factories";
import { renderWithBrowserRouter, screen } from "@/testing/utils";

let state: RootState;
factory.rootState({
state = factory.rootState({
token: factory.tokenState({
items: [
factory.token({
Expand Down
56 changes: 28 additions & 28 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2487,10 +2487,10 @@
minimatch "^3.1.2"
strip-json-comments "^3.1.1"

"@eslint/js@8.57.0":
version "8.57.0"
resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.57.0.tgz#a5417ae8427873f1dd08b70b3574b453e67b5f7f"
integrity sha512-Ys+3g2TaW7gADOJzPt83SJtCDhMjndcDMFVQ/Tj9iA1BfJzFKD9mAUXT3OenpuPHbI6P/myECxRJrofUsDx/5g==
"@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==

"@fal-works/esbuild-plugin-global-externals@^2.1.2":
version "2.1.2"
Expand Down Expand Up @@ -2565,12 +2565,12 @@
commander "13.0.0"
handlebars "4.7.8"

"@humanwhocodes/config-array@^0.11.14":
version "0.11.14"
resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.11.14.tgz#d78e481a039f7566ecc9660b4ea7fe6b1fec442b"
integrity sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg==
"@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" "^2.0.2"
"@humanwhocodes/object-schema" "^2.0.3"
debug "^4.3.1"
minimatch "^3.0.5"

Expand All @@ -2579,7 +2579,7 @@
resolved "https://registry.yarnpkg.com/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz#af5b2691a22b44be847b0ca81641c5fb6ad0172c"
integrity sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==

"@humanwhocodes/object-schema@^2.0.2":
"@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==
Expand Down Expand Up @@ -8092,16 +8092,16 @@ eslint-visitor-keys@^3.4.1, eslint-visitor-keys@^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.57.0:
version "8.57.0"
resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.57.0.tgz#c786a6fd0e0b68941aaf624596fb987089195668"
integrity sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ==
eslint@8.57.1:
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.6.1"
"@eslint/eslintrc" "^2.1.4"
"@eslint/js" "8.57.0"
"@humanwhocodes/config-array" "^0.11.14"
"@eslint/js" "8.57.1"
"@humanwhocodes/config-array" "^0.13.0"
"@humanwhocodes/module-importer" "^1.0.1"
"@nodelib/fs.walk" "^1.2.8"
"@ungap/structured-clone" "^1.2.0"
Expand Down Expand Up @@ -10968,10 +10968,10 @@ node-releases@^2.0.14:
resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.14.tgz#2ffb053bceb8b2be8495ece1ab6ce600c4461b0b"
integrity sha512-y10wOWt8yZpqXmOgRo77WaHEmhYQYGNA6y421PKsKYWEK8aW+cqAphborZDhqfyKrbZEN92CN1X2KbafY2s7Yw==

nodemon@3.1.3:
version "3.1.3"
resolved "https://registry.yarnpkg.com/nodemon/-/nodemon-3.1.3.tgz#dcce9ee0aa7d19cd4dcd576ae9a0456d9078b286"
integrity sha512-m4Vqs+APdKzDFpuaL9F9EVOF85+h070FnkHVEoU4+rmT6Vw0bmNl7s61VEkY/cJkL7RCv1p4urnUDUMrS5rk2w==
nodemon@3.1.9:
version "3.1.9"
resolved "https://registry.yarnpkg.com/nodemon/-/nodemon-3.1.9.tgz#df502cdc3b120e1c3c0c6e4152349019efa7387b"
integrity sha512-hdr1oIb2p6ZSxu3PB2JWWYS7ZQ0qvaZsc3hK8DR8f02kRzc8rjYmxAIvdz+aYC+8F2IjNaB7HMcSDg8nQpJxyg==
dependencies:
chokidar "^3.5.2"
debug "^4"
Expand Down Expand Up @@ -11710,10 +11710,10 @@ prettier-linter-helpers@^1.0.0:
dependencies:
fast-diff "^1.1.2"

prettier@3.3.2:
version "3.3.2"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.3.2.tgz#03ff86dc7c835f2d2559ee76876a3914cec4a90a"
integrity sha512-rAVeHYMcv8ATV5d508CFdn+8/pHPpXeIid1DdrPwXnaAdH7cqjVbpJaT5eq4yRAFU/lsbwYwSF/n5iNrdJHPQA==
prettier@3.5.0:
version "3.5.0"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.5.0.tgz#50325a28887c6dfdf2ca3f8eaba02b66a8429ca7"
integrity sha512-quyMrVt6svPS7CjQ9gKb3GLEX/rl3BCL2oa/QkNcXv4YNVBC9olt3s+H7ukto06q7B1Qz46PbrKLO34PR6vXcA==

prettier@^2.8.0:
version "2.8.8"
Expand Down Expand Up @@ -13751,10 +13751,10 @@ typescript-tuple@^2.2.1:
dependencies:
typescript-compare "^0.0.2"

typescript@5.6.3:
version "5.6.3"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.6.3.tgz#5f3449e31c9d94febb17de03cc081dd56d81db5b"
integrity sha512-hjcS1mhfuyi4WW8IWtjP7brDrG2cuDZukyrYrSauoXGNgx0S7zceP07adYkJycEr56BOUTNPzbInooiN3fn1qw==
typescript@5.7.3:
version "5.7.3"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.7.3.tgz#919b44a7dbb8583a9b856d162be24a54bf80073e"
integrity sha512-84MVSjMEHP+FQRPy3pX9sTVV/INIex71s9TL2Gm5FG/WG1SqXeKyZ0k7/blY/4FdOzI12CBy1vGc4og/eus0fw==

ufo@^1.3.0:
version "1.3.1"
Expand Down

0 comments on commit e58af1e

Please sign in to comment.