chore: bump to Vue 3.4 beta

pull/3276/head
Evan You 1 year ago
parent 93122eee20
commit bddf74e379

@ -93,7 +93,7 @@
"@docsearch/css": "^3.5.2",
"@docsearch/js": "^3.5.2",
"@types/markdown-it": "^13.0.7",
"@vitejs/plugin-vue": "^4.5.2",
"@vitejs/plugin-vue": "^5.0.0-beta.1",
"@vue/devtools-api": "^6.5.1",
"@vueuse/core": "^10.7.0",
"@vueuse/integrations": "^10.7.0",
@ -104,7 +104,7 @@
"shikiji": "^0.9.7",
"shikiji-transformers": "^0.9.7",
"vite": "^5.0.10",
"vue": "^3.3.12"
"vue": "^3.4.0-beta.4"
},
"peerDependencies": {
"markdown-it-mathjax3": "^4.3.2",

@ -21,17 +21,17 @@ importers:
specifier: ^13.0.7
version: 13.0.7
'@vitejs/plugin-vue':
specifier: ^4.5.2
version: 4.5.2(vite@5.0.10)(vue@3.3.12)
specifier: ^5.0.0-beta.1
version: 5.0.0-beta.1(vite@5.0.10)(vue@3.4.0-beta.4)
'@vue/devtools-api':
specifier: ^6.5.1
version: 6.5.1
'@vueuse/core':
specifier: ^10.7.0
version: 10.7.0(vue@3.3.12)
version: 10.7.0(vue@3.4.0-beta.4)
'@vueuse/integrations':
specifier: ^10.7.0
version: 10.7.0(focus-trap@7.5.4)(vue@3.3.12)
version: 10.7.0(focus-trap@7.5.4)(vue@3.4.0-beta.4)
focus-trap:
specifier: ^7.5.4
version: 7.5.4
@ -54,8 +54,8 @@ importers:
specifier: ^5.0.10
version: 5.0.10(@types/node@20.10.4)
vue:
specifier: ^3.3.12
version: 3.3.12(typescript@5.3.3)
specifier: ^3.4.0-beta.4
version: 3.4.0-beta.4(typescript@5.3.3)
devDependencies:
'@clack/prompts':
specifier: ^0.7.0
@ -1282,15 +1282,15 @@ packages:
resolution: {integrity: sha512-g9gZnnXVq7gM7v3tJCWV/qw7w+KeOlSHAhgF9RytFyifW6AF61hdT2ucrYhPq9hLs5JIryeupHV3qGk95dH9ow==}
dev: false
/@vitejs/plugin-vue@4.5.2(vite@5.0.10)(vue@3.3.12):
resolution: {integrity: sha512-UGR3DlzLi/SaVBPX0cnSyE37vqxU3O6chn8l0HJNzQzDia6/Au2A4xKv+iIJW8w2daf80G7TYHhi1pAUjdZ0bQ==}
engines: {node: ^14.18.0 || >=16.0.0}
/@vitejs/plugin-vue@5.0.0-beta.1(vite@5.0.10)(vue@3.4.0-beta.4):
resolution: {integrity: sha512-zFAHH6RJH2w/LQlFyqrml96yjYmT8n8e3O4esRxHzCn250uOlkuc0IAqFJWqdxLmQquEM4q5/ECnQJRGsKjoIw==}
engines: {node: ^18.0.0 || >=20.0.0}
peerDependencies:
vite: ^4.0.0 || ^5.0.0
vite: ^5.0.0
vue: ^3.2.25
dependencies:
vite: 5.0.10(@types/node@20.10.4)
vue: 3.3.12(typescript@5.3.3)
vue: 3.4.0-beta.4(typescript@5.3.3)
dev: false
/@vitest/expect@1.0.4:
@ -1350,40 +1350,58 @@ packages:
path-browserify: 1.0.1
dev: true
/@vue/compiler-core@3.3.12:
resolution: {integrity: sha512-qAtjyG3GBLG0chzp5xGCyRLLe6wFCHmjI82aGzwuGKyznNP+GJJMxjc0wOYWDB2YKfho7niJFdoFpo0CZZQg9w==}
/@vue/compiler-core@3.3.13:
resolution: {integrity: sha512-bwi9HShGu7uaZLOErZgsH2+ojsEdsjerbf2cMXPwmvcgZfVPZ2BVZzCVnwZBxTAYd6Mzbmf6izcUNDkWnBBQ6A==}
dependencies:
'@babel/parser': 7.23.6
'@vue/shared': 3.3.12
'@vue/shared': 3.3.13
estree-walker: 2.0.2
source-map-js: 1.0.2
dev: true
/@vue/compiler-core@3.4.0-beta.4:
resolution: {integrity: sha512-rVf38F8fSLp3rIEAKKkO3f3UDEqpLMUXU2RsJLelLGVQX/yt0O2/c2NHtFJkU53YJZZ+27880FMKP9hZHcS/ew==}
dependencies:
'@babel/parser': 7.23.6
'@vue/shared': 3.4.0-beta.4
entities: 4.5.0
estree-walker: 2.0.2
source-map-js: 1.0.2
dev: false
/@vue/compiler-dom@3.3.13:
resolution: {integrity: sha512-EYRDpbLadGtNL0Gph+HoKiYqXLqZ0xSSpR5Dvnu/Ep7ggaCbjRDIus1MMxTS2Qm0koXED4xSlvTZaTnI8cYAsw==}
dependencies:
'@vue/compiler-core': 3.3.13
'@vue/shared': 3.3.13
dev: true
/@vue/compiler-dom@3.3.12:
resolution: {integrity: sha512-RdJU9oEYaoPKUdGXCy0l+i4clesdDeLmbvRlszoc9iagsnBnMmQtYfCPVQ5BHB6o7K4SCucDdJM2Dh3oXB0D6g==}
/@vue/compiler-dom@3.4.0-beta.4:
resolution: {integrity: sha512-zZMQgqdCQ/4k7vQewrWUOy5Yp1h8NtwSJfA4lIzhfqR5BHkl1l0eh9ijSDElsoYZuVOvp4AEM2QfZZgjpVNNZw==}
dependencies:
'@vue/compiler-core': 3.3.12
'@vue/shared': 3.3.12
'@vue/compiler-core': 3.4.0-beta.4
'@vue/shared': 3.4.0-beta.4
dev: false
/@vue/compiler-sfc@3.3.12:
resolution: {integrity: sha512-yy5b9e7b79dsGbMmglCe/YnhCQgBkHO7Uf6JfjWPSf2/5XH+MKn18LhzhHyxbHdJgnA4lZCqtXzLaJz8Pd8lMw==}
/@vue/compiler-sfc@3.4.0-beta.4:
resolution: {integrity: sha512-+nJh3aEWw6iEp1JWy52b+XWJasFgmquHfr87OAu5SDqyTWozNsP1GFy898kqG4b8aisu2UQAj/fBQxwK5nkIqg==}
dependencies:
'@babel/parser': 7.23.6
'@vue/compiler-core': 3.3.12
'@vue/compiler-dom': 3.3.12
'@vue/compiler-ssr': 3.3.12
'@vue/reactivity-transform': 3.3.12
'@vue/shared': 3.3.12
'@vue/compiler-core': 3.4.0-beta.4
'@vue/compiler-dom': 3.4.0-beta.4
'@vue/compiler-ssr': 3.4.0-beta.4
'@vue/shared': 3.4.0-beta.4
estree-walker: 2.0.2
magic-string: 0.30.5
postcss: 8.4.32
source-map-js: 1.0.2
dev: false
/@vue/compiler-ssr@3.3.12:
resolution: {integrity: sha512-adCiMJPznfWcQyk/9HSuXGja859IaMV+b8UNSVzDatqv7h0PvT9BEeS22+gjkWofDiSg5d78/ZLls3sLA+cn3A==}
/@vue/compiler-ssr@3.4.0-beta.4:
resolution: {integrity: sha512-GJDnt3n23g4PsdW2tF28w90KRyp59yWfKG+yM9vf4ek1ImQfA/u2vZPolxiNmHKB3vNu3Pmb+gCsTyrGh5GQzA==}
dependencies:
'@vue/compiler-dom': 3.3.12
'@vue/shared': 3.3.12
'@vue/compiler-dom': 3.4.0-beta.4
'@vue/shared': 3.4.0-beta.4
dev: false
/@vue/devtools-api@6.5.1:
@ -1400,8 +1418,8 @@ packages:
dependencies:
'@volar/language-core': 1.11.1
'@volar/source-map': 1.11.1
'@vue/compiler-dom': 3.3.12
'@vue/shared': 3.3.12
'@vue/compiler-dom': 3.3.13
'@vue/shared': 3.3.13
computeds: 0.0.1
minimatch: 9.0.3
muggle-string: 0.3.1
@ -1410,63 +1428,62 @@ packages:
vue-template-compiler: 2.7.15
dev: true
/@vue/reactivity-transform@3.3.12:
resolution: {integrity: sha512-g5TijmML7FyKkLt6QnpqNmA4KD7K/T5SbXa88Bhq+hydNQEkzA8veVXWAQuNqg9rjaFYD0rPf0a9NofKA0ENgg==}
dependencies:
'@babel/parser': 7.23.6
'@vue/compiler-core': 3.3.12
'@vue/shared': 3.3.12
estree-walker: 2.0.2
magic-string: 0.30.5
dev: false
/@vue/reactivity@3.3.12:
resolution: {integrity: sha512-vOJORzO8DlIx88cgTnMLIf2GlLYpoXAKsuoQsK6SGdaqODjxO129pVPTd2s/N/Mb6KKZEFIHIEwWGmtN4YPs+g==}
/@vue/reactivity@3.4.0-beta.4:
resolution: {integrity: sha512-gZOoZ44PrWaMD4ficYNqBaQaFZd1ht7IxSsbLgDSziNAHlPOPJrzWF8vKjX5tGNrY9WyJo3yPubBLMsrpB5k3g==}
dependencies:
'@vue/shared': 3.3.12
'@vue/shared': 3.4.0-beta.4
dev: false
/@vue/runtime-core@3.3.12:
resolution: {integrity: sha512-5iL4w7MZrSGKEZU2wFAYhDZdZmgn+s//73EfgDXW1M+ZUOl36md7tlWp1QFK/ladiq4FvQ82shVjo0KiPDPr0A==}
/@vue/runtime-core@3.4.0-beta.4:
resolution: {integrity: sha512-iVEUlxKQ1HxMuSHP88nCFrHN0vTOYCTKUb+CayuqRWmYW1NVYtUtnwjjuBOuSlA0OEswUIpNKer5OZWiijTybw==}
dependencies:
'@vue/reactivity': 3.3.12
'@vue/shared': 3.3.12
'@vue/reactivity': 3.4.0-beta.4
'@vue/shared': 3.4.0-beta.4
dev: false
/@vue/runtime-dom@3.3.12:
resolution: {integrity: sha512-8mMzqiIdl+IYa/OXwKwk6/4ebLq7cYV1pUcwCSwBK2KerUa6cwGosen5xrCL9f8o2DJ9TfPFwbPEvH7OXzUpoA==}
/@vue/runtime-dom@3.4.0-beta.4:
resolution: {integrity: sha512-c7rzT9PNBbtUyQD9Kl2ojXRsnrIYKTPdOwvmvtMlXBSHCrlTmy5KInEDHdu3jGqBC8BeHuKxqIc96Xy4/YX9uQ==}
dependencies:
'@vue/runtime-core': 3.3.12
'@vue/shared': 3.3.12
'@vue/runtime-core': 3.4.0-beta.4
'@vue/shared': 3.4.0-beta.4
csstype: 3.1.3
dev: false
/@vue/server-renderer@3.3.12(vue@3.3.12):
resolution: {integrity: sha512-OZ0IEK5TU5GXb5J8/wSplyxvGGdIcwEmS8EIO302Vz8K6fGSgSJTU54X0Sb6PaefzZdiN3vHsLXO8XIeF8crQQ==}
/@vue/server-renderer@3.4.0-beta.4(vue@3.4.0-beta.4):
resolution: {integrity: sha512-FE9h3OgICUMtoQVG/7S3w49t0XdvtO28rjZvZmymB+QIYljvsNdc0Dxt3zcj/pr/ZTDp23I2DqlxBSOwcsPfpQ==}
peerDependencies:
vue: 3.3.12
vue: 3.4.0-beta.4
dependencies:
'@vue/compiler-ssr': 3.3.12
'@vue/shared': 3.3.12
vue: 3.3.12(typescript@5.3.3)
'@vue/compiler-ssr': 3.4.0-beta.4
'@vue/shared': 3.4.0-beta.4
vue: 3.4.0-beta.4(typescript@5.3.3)
dev: false
/@vue/shared@3.3.12:
resolution: {integrity: sha512-6p0Yin0pclvnER7BLNOQuod9Z+cxSYh8pSh7CzHnWNjAIP6zrTlCdHRvSCb1aYEx6i3Q3kvfuWU7nG16CgG1ag==}
dev: true
/@vue/shared@3.3.13:
resolution: {integrity: sha512-/zYUwiHD8j7gKx2argXEMCUXVST6q/21DFU0sTfNX0URJroCe3b1UF6vLJ3lQDfLNIiiRl2ONp7Nh5UVWS6QnA==}
dev: true
/@vueuse/core@10.7.0(vue@3.3.12):
/@vue/shared@3.4.0-beta.4:
resolution: {integrity: sha512-DLNOxXC6D5VcZvm0/p3wy/c3GmjAv6fi0pxlTe5JXXn+NCdO8seD4bwwJ2/uPvNAQfd5L+6NIiP2JZLgzTzkfQ==}
dev: false
/@vueuse/core@10.7.0(vue@3.4.0-beta.4):
resolution: {integrity: sha512-4EUDESCHtwu44ZWK3Gc/hZUVhVo/ysvdtwocB5vcauSV4B7NiGY5972WnsojB3vRNdxvAt7kzJWE2h9h7C9d5w==}
dependencies:
'@types/web-bluetooth': 0.0.20
'@vueuse/metadata': 10.7.0
'@vueuse/shared': 10.7.0(vue@3.3.12)
vue-demi: 0.14.6(vue@3.3.12)
'@vueuse/shared': 10.7.0(vue@3.4.0-beta.4)
vue-demi: 0.14.6(vue@3.4.0-beta.4)
transitivePeerDependencies:
- '@vue/composition-api'
- vue
dev: false
/@vueuse/integrations@10.7.0(focus-trap@7.5.4)(vue@3.3.12):
/@vueuse/integrations@10.7.0(focus-trap@7.5.4)(vue@3.4.0-beta.4):
resolution: {integrity: sha512-rxiMYgS+91n93qXpHZF9NbHhppWY6IJyVTDxt4acyChL0zZVx7P8FAAfpF1qVK8e4wfjerhpEiMJ0IZ1GWUZ2A==}
peerDependencies:
async-validator: '*'
@ -1507,10 +1524,10 @@ packages:
universal-cookie:
optional: true
dependencies:
'@vueuse/core': 10.7.0(vue@3.3.12)
'@vueuse/shared': 10.7.0(vue@3.3.12)
'@vueuse/core': 10.7.0(vue@3.4.0-beta.4)
'@vueuse/shared': 10.7.0(vue@3.4.0-beta.4)
focus-trap: 7.5.4
vue-demi: 0.14.6(vue@3.3.12)
vue-demi: 0.14.6(vue@3.4.0-beta.4)
transitivePeerDependencies:
- '@vue/composition-api'
- vue
@ -1520,10 +1537,10 @@ packages:
resolution: {integrity: sha512-GlaH7tKP2iBCZ3bHNZ6b0cl9g0CJK8lttkBNUX156gWvNYhTKEtbweWLm9rxCPIiwzYcr/5xML6T8ZUEt+DkvA==}
dev: false
/@vueuse/shared@10.7.0(vue@3.3.12):
/@vueuse/shared@10.7.0(vue@3.4.0-beta.4):
resolution: {integrity: sha512-kc00uV6CiaTdc3i1CDC4a3lBxzaBE9AgYNtFN87B5OOscqeWElj/uza8qVDmk7/U8JbqoONLbtqiLJ5LGRuqlw==}
dependencies:
vue-demi: 0.14.6(vue@3.3.12)
vue-demi: 0.14.6(vue@3.4.0-beta.4)
transitivePeerDependencies:
- '@vue/composition-api'
- vue
@ -2254,7 +2271,6 @@ packages:
/entities@4.5.0:
resolution: {integrity: sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==}
engines: {node: '>=0.12'}
dev: true
/error-ex@1.3.2:
resolution: {integrity: sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==}
@ -4581,7 +4597,7 @@ packages:
- terser
dev: true
/vue-demi@0.14.6(vue@3.3.12):
/vue-demi@0.14.6(vue@3.4.0-beta.4):
resolution: {integrity: sha512-8QA7wrYSHKaYgUxDA5ZC24w+eHm3sYCbp0EzcDwKqN3p6HqtTCGR/GVsPyZW92unff4UlcSh++lmqDWN3ZIq4w==}
engines: {node: '>=12'}
hasBin: true
@ -4593,7 +4609,7 @@ packages:
'@vue/composition-api':
optional: true
dependencies:
vue: 3.3.12(typescript@5.3.3)
vue: 3.4.0-beta.4(typescript@5.3.3)
dev: false
/vue-template-compiler@2.7.15:
@ -4615,19 +4631,19 @@ packages:
typescript: 5.3.3
dev: true
/vue@3.3.12(typescript@5.3.3):
resolution: {integrity: sha512-jYNv2QmET2OTHsFzfWHMnqgCfqL4zfo97QwofdET+GBRCHhSCHuMTTvNIgeSn0/xF3JRT5OGah6MDwUFN7MPlg==}
/vue@3.4.0-beta.4(typescript@5.3.3):
resolution: {integrity: sha512-zH9wiG9RAc9mIFLzn1jgQT+Jt4N6G26psPS0UUgQwTOvchNlTSVQauH+Mca5FMjO2BcTU0tz/6MXTFsbOEpxcA==}
peerDependencies:
typescript: '*'
peerDependenciesMeta:
typescript:
optional: true
dependencies:
'@vue/compiler-dom': 3.3.12
'@vue/compiler-sfc': 3.3.12
'@vue/runtime-dom': 3.3.12
'@vue/server-renderer': 3.3.12(vue@3.3.12)
'@vue/shared': 3.3.12
'@vue/compiler-dom': 3.4.0-beta.4
'@vue/compiler-sfc': 3.4.0-beta.4
'@vue/runtime-dom': 3.4.0-beta.4
'@vue/server-renderer': 3.4.0-beta.4(vue@3.4.0-beta.4)
'@vue/shared': 3.4.0-beta.4
typescript: 5.3.3
dev: false

@ -42,7 +42,11 @@ async function update() {
}
function initialize(userOptions: DefaultTheme.AlgoliaSearchOptions) {
const options = Object.assign<{}, {}, DocSearchProps>({}, userOptions, {
const options = Object.assign<
{},
DefaultTheme.AlgoliaSearchOptions,
Partial<DocSearchProps>
>({}, userOptions, {
container: '#docsearch',
navigator: {
@ -69,7 +73,6 @@ function initialize(userOptions: DefaultTheme.AlgoliaSearchOptions) {
})
},
// @ts-expect-error vue-tsc thinks this should return Vue JSX but it returns the required React one
hitComponent({ hit, children }) {
return {
__v: null,
@ -80,7 +83,7 @@ function initialize(userOptions: DefaultTheme.AlgoliaSearchOptions) {
props: { href: hit.url, children }
}
}
})
}) as DocSearchProps
docsearch(options)
}

Loading…
Cancel
Save