Skip to content

Commit 6174585

Browse files
authored
Merge pull request #1545 from privy-open-source/fix/node-22
ci: fix `punycode` deprecated warning
2 parents 9febbe1 + 8510cf5 commit 6174585

File tree

7 files changed

+1506
-2273
lines changed

7 files changed

+1506
-2273
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
}

packages/persona-icon/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
"webfont": "11.2.26"
6363
},
6464
"dependencies": {
65-
"@nuxt/kit": "3.13.2"
65+
"@nuxt/kit": "3.15.0"
6666
},
6767
"publishConfig": {
6868
"access": "public"

packages/persona-ilustration/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
"webfont": "11.2.26"
8282
},
8383
"dependencies": {
84-
"@nuxt/kit": "3.13.2"
84+
"@nuxt/kit": "3.15.0"
8585
},
8686
"publishConfig": {
8787
"access": "public"

packages/persona/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
"@floating-ui/dom": "1.6.12",
6262
"@jill64/universal-sanitizer": "1.3.4",
6363
"@juggle/resize-observer": "3.4.0",
64-
"@nuxt/kit": "3.13.2",
64+
"@nuxt/kit": "3.15.0",
6565
"@splidejs/splide": "4.1.4",
6666
"@testing-library/dom": "10.4.0",
6767
"@testing-library/user-event": "14.5.2",
@@ -122,13 +122,13 @@
122122
},
123123
"devDependencies": {
124124
"@nuxt/module-builder": "0.8.4",
125-
"@nuxt/schema": "3.13.2",
125+
"@nuxt/schema": "3.15.0",
126126
"@nuxtjs/tailwindcss": "6.12.2",
127127
"@privyid/browserslist-config": "workspace:^",
128128
"@privyid/tailwind-preset": "workspace:^",
129129
"@types/sanitize-html": "2.13.0",
130130
"browserslist-to-esbuild": "2.1.1",
131-
"nuxt": "3.13.2",
131+
"nuxt": "3.15.0",
132132
"postcss-custom-properties": "14.0.4",
133133
"postcss-hexrgba": "2.1.0",
134134
"postcss-lighten-darken": "0.9.0",

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)