Skip to content

Commit 449da94

Browse files
Merge pull request #824 from PathfinderHonorManager/develop
chore(deps): update dependencies and reorder navbar
2 parents 8c81eeb + fda5c32 commit 449da94

File tree

10 files changed

+593
-1159
lines changed

10 files changed

+593
-1159
lines changed

package.json

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -20,52 +20,52 @@
2020
"semantic-release": "semantic-release"
2121
},
2222
"dependencies": {
23-
"@auth0/auth0-vue": "^2.3.2",
23+
"@auth0/auth0-vue": "^2.5.0",
2424
"@fortawesome/fontawesome-svg-core": "^7.1.0",
2525
"@fortawesome/free-solid-svg-icons": "^7.1.0",
26-
"@fortawesome/vue-fontawesome": "^3.0.6",
27-
"@microsoft/applicationinsights-web": "^3.3.2",
26+
"@fortawesome/vue-fontawesome": "^3.1.3",
27+
"@microsoft/applicationinsights-web": "^3.3.11",
2828
"@vue/tsconfig": "^0.8.1",
29-
"axios": "^1.12.0",
29+
"axios": "^1.13.2",
3030
"fontawesome": "^5.6.3",
3131
"jwt-decode": "^4.0.0",
3232
"pinia": "3.0.4",
33-
"pinia-plugin-persistedstate": "^4.3.0",
34-
"prettier": "^3.2.5",
35-
"vue": "^3.3.4",
36-
"vue-router": "^4.2.5",
33+
"pinia-plugin-persistedstate": "^4.7.1",
34+
"prettier": "^3.8.1",
35+
"vue": "^3.5.27",
36+
"vue-router": "^4.6.4",
3737
"vue3-simple-typeahead": "^1.0.11"
3838
},
3939
"devDependencies": {
40-
"@pinia/testing": "^1.0.2",
41-
"@rushstack/eslint-patch": "^1.5.1",
40+
"@pinia/testing": "^1.0.3",
41+
"@rushstack/eslint-patch": "^1.15.0",
4242
"@semantic-release/changelog": "^6.0.3",
4343
"@semantic-release/commit-analyzer": "^13.0.0",
4444
"@semantic-release/git": "^10.0.1",
4545
"@semantic-release/github": "^12.0.2",
4646
"@semantic-release/npm": "^13.1.3",
47-
"@semantic-release/release-notes-generator": "^14.0.1",
47+
"@semantic-release/release-notes-generator": "^14.1.0",
4848
"@types/jsdom": "^27.0.0",
49-
"@types/lodash": "^4.17.18",
50-
"@types/node": "^25.0.3",
49+
"@types/lodash": "^4.17.23",
50+
"@types/node": "^25.0.10",
5151
"@vitejs/plugin-vue": "^6.0.3",
52-
"@vitest/coverage-v8": "^4.0.16",
53-
"@vue/eslint-config-prettier": "^10.1.0",
54-
"@vue/eslint-config-typescript": "^14.1.4",
52+
"@vitest/coverage-v8": "^4.0.18",
53+
"@vue/eslint-config-prettier": "^10.2.0",
54+
"@vue/eslint-config-typescript": "^14.6.0",
5555
"@vue/test-utils": "^2.4.2",
56-
"eslint": "^9.13.0",
57-
"eslint-config-prettier": "^10.0.1",
56+
"eslint": "^9.39.2",
57+
"eslint-config-prettier": "^10.1.8",
5858
"eslint-formatter-compact": "^9.0.1",
59-
"eslint-plugin-prettier": "^5.1.3",
60-
"eslint-plugin-vue": "^10.0.0",
59+
"eslint-plugin-prettier": "^5.5.5",
60+
"eslint-plugin-vue": "^10.7.0",
6161
"flush-promises": "^1.0.2",
6262
"jsdom": "^27.4.0",
6363
"msw": "^2.12.7",
6464
"semantic-release": "^25.0.2",
6565
"typescript": "~5.9.3",
6666
"vite": "^7.3.0",
67-
"vitest": "^4.0.16",
68-
"vue-tsc": "^3.2.2"
67+
"vitest": "^4.0.18",
68+
"vue-tsc": "^3.2.3"
6969
},
7070
"engines": {
7171
"node": ">=22.0.0"

src/App.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,15 +74,15 @@ const canUpdatePathfinder = computed(() =>
7474
</router-link>
7575
<router-link
7676
v-if="canUpdatePathfinder"
77-
:to="{ name: 'Investiture' }"
77+
:to="{ name: 'AchievementClasses' }"
7878
>
79-
Investiture
79+
Achievements
8080
</router-link>
8181
<router-link
8282
v-if="canUpdatePathfinder"
83-
:to="{ name: 'AchievementClasses' }"
83+
:to="{ name: 'Investiture' }"
8484
>
85-
Achievements
85+
Investiture
8686
</router-link>
8787

8888
<SidebarVersionInfo />

src/components/__tests__/ManageHonorsComponent.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import ManageHonorsComponent from '../ManageHonorsComponent.vue'
66
import { ref, computed } from 'vue'
77
import type { IHonor } from '@/stores/honors'
88
import flushPromises from 'flush-promises'
9-
import type { Url } from 'url'
9+
import type { Url } from 'node:url'
1010

1111
const mockHonors: IHonor[] = [
1212
{

src/components/__tests__/PathfinderHonorsDisplay.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const PathfinderHonorStub = defineComponent({
1111
name: { type: String, required: true },
1212
status: { type: String, required: true },
1313
display: { type: Boolean, required: true },
14-
image: { type: String, required: false },
14+
image: { type: String, required: false, default: "" },
1515
canUpdatePathfinder: { type: Boolean, required: true }
1616
},
1717
template: "<div class=\"honor-stub\" />"

src/components/__tests__/PathfinderList.spec.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* eslint-disable vue/one-component-per-file */
12
import { describe, it, expect } from "vitest";
23
import { mount } from "@vue/test-utils";
34
import { defineComponent } from "vue";
@@ -9,7 +10,11 @@ const FontAwesomeIconStub = defineComponent({
910
});
1011

1112
const PathfinderHonorsDisplayStub = defineComponent({
12-
props: ["pathfinderHonors", "pathfinderId", "canUpdatePathfinder"],
13+
props: {
14+
pathfinderHonors: { type: Array, required: true },
15+
pathfinderId: { type: String, required: true },
16+
canUpdatePathfinder: { type: Boolean, required: true }
17+
},
1318
template: "<div class=\"honors-display\" />"
1419
});
1520

src/router/__tests__/guards.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { describe, it, expect, vi, beforeEach, afterEach } from 'vitest'
1+
import { describe, it, expect, vi, afterEach } from 'vitest'
22
import type { RouteLocationNormalized, NavigationGuardNext } from 'vue-router'
33
import type { Ref } from 'vue'
44
import { handleAuthNavigation } from '../index'

src/stores/__tests__/honors.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import {
1010
} from '@/utils/test-helpers'
1111
import type { IHonor } from '@/stores/honors'
1212
import type { SelectionType } from '@/stores/selectionStore'
13-
import type { Url } from 'url'
13+
import type { Url } from 'node:url'
1414

1515
vi.mock('@/api/honors')
1616

src/stores/honors.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { defineStore } from "pinia";
22
import api from "@/api/honors";
3-
import type { Url } from "url";
3+
import type { Url } from "node:url";
44
import { useSelectionStore, type SelectionType } from "./selectionStore";
55

66
export interface IHonor {

src/utils/test-helpers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { expect } from 'vitest'
22
import type { AxiosResponse, AxiosRequestConfig } from 'axios'
3-
import type { Url } from 'url'
3+
import type { Url } from 'node:url'
44

55
export function mockApiResponse<T>(data: T, status = 200): AxiosResponse<T> {
66
return {

0 commit comments

Comments
 (0)