Skip to content

Commit 8510cf5

Browse files
committed
ci: fix punycode deprecated warning
1 parent 1a7180b commit 8510cf5

File tree

4 files changed

+90
-172
lines changed

4 files changed

+90
-172
lines changed

package.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@
5050
"@vitest/browser": "0.25.8",
5151
"@vitest/coverage-c8": "0.24.5",
5252
"@vue/eslint-config-typescript": "13.0.0",
53+
"@vue/server-renderer": "^3.5.13",
54+
"@vue/test-utils": "^2.4.6",
5355
"autoprefixer": "10.4.20",
5456
"browserslist-to-esbuild": "2.1.1",
5557
"eslint": "8.57.0",
@@ -129,6 +131,7 @@
129131
"scroll-into-view": "^1.16.2",
130132
"tabbable": "6.2.0",
131133
"tiptap-extension-font-size": "^1.2.0",
134+
"vue": "3.5.13",
132135
"vue-collapsed": "^1.2.5",
133136
"vue-content-loader": "^2.0.1",
134137
"vue-demi": "0.14.10",
@@ -144,5 +147,8 @@
144147
},
145148
"workspaces": [
146149
"packages/*"
147-
]
150+
],
151+
"resolutions": {
152+
"whatwg-url": "13.0.0"
153+
}
148154
}

src/components/nav/Nav.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ const props = defineProps({
6464
default: undefined,
6565
},
6666
titleActionUrl: {
67-
type : String,
67+
type : [String, Object] as PropType<RouteLocationRaw>,
6868
default: undefined,
6969
},
7070
condensed: {

src/components/nav/NavItem.vue

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -100,12 +100,8 @@ const navItemClass = computed(() => {
100100
})
101101
102102
const link = computed(() => {
103-
let permalink: string | undefined
104-
105103
if (!props.disabled)
106-
permalink = props.href
107-
108-
return permalink
104+
return props.href
109105
})
110106
</script>
111107

0 commit comments

Comments
 (0)