diff --git a/packages/twoslash-vue/src/index.ts b/packages/twoslash-vue/src/index.ts index 160bfc8..a1b9395 100644 --- a/packages/twoslash-vue/src/index.ts +++ b/packages/twoslash-vue/src/index.ts @@ -170,6 +170,13 @@ export function createTwoslasher(createOptions: CreateTwoslashVueOptions = {}): }, handbookOptions: { ...handbookOptions, + /** + * Ignore ts 1184 error that declare keyword can't be used in function. + * + * https://github.com/vuejs/language-tools/pull/5090/files + * The following line should be removed when @vue/language-core@v2.2.1 is released + */ + errors: [...handbookOptions.errors ?? [], 1184], keepNotations: true, }, shouldGetHoverInfo(id) { diff --git a/packages/twoslash-vue/test/query.test.ts b/packages/twoslash-vue/test/query.test.ts index 6a75cb8..2ff079b 100644 --- a/packages/twoslash-vue/test/query.test.ts +++ b/packages/twoslash-vue/test/query.test.ts @@ -20,9 +20,9 @@ describe('basic', () => { .toMatchInlineSnapshot(` [ 94, - 291, - 1619, - 1787, + 162, + 997, + 1166, ] `) diff --git a/packages/twoslash-vue/test/results/renderer/example.raw.html b/packages/twoslash-vue/test/results/renderer/example.raw.html index f6ff071..f610d07 100644 --- a/packages/twoslash-vue/test/results/renderer/example.raw.html +++ b/packages/twoslash-vue/test/results/renderer/example.raw.html @@ -16,9 +16,37 @@ - export default await (async () => { -const {
const defineProps: {
+const const count: Ref<number, number>count = ref<number>(value: number): Ref<number, number> (+1 overload)
Takes an inner value and returns a reactive and mutable ref object, which +has a single property `.value` that points to the inner value.
@paramvalue - The object to wrap in the ref.@see{@link https://vuejs.org/api/reactivity-core.html#ref}
ref
(0)
+ +const
const double: ComputedRef<number>
double
= computed<number>(getter: ComputedGetter<number>, debugOptions?: DebuggerOptions): ComputedRef<number> (+1 overload)
Takes a getter function and returns a readonly reactive ref object for the +returned value from the getter. It can also take an object with get and set +functions to create a writable ref object.
@example```js +// Creating a readonly computed ref: +const count = ref(1) +const plusOne = computed(() => count.value + 1) + +console.log(plusOne.value) // 2 +plusOne.value++ // error +``` + +```js +// Creating a writable computed ref: +const count = ref(1) +const plusOne = computed({ + get: () => count.value + 1, + set: (val) => { + count.value = val - 1 + } +}) + +plusOne.value = 1 +console.log(count.value) // 0 +```@paramgetter - Function that produces the next value.@paramdebugOptions - For debugging. See {@link https://vuejs.org/guide/extras/reactivity-in-depth.html#computed-debugging}.@see{@link https://vuejs.org/api/reactivity-core.html#computed}
computed
(() => const count: Ref<number, number>count.Ref<number, number>.value: numbervalue * 2)
+ +;/* PartiallyEnd: #3632/scriptSetup.vue */ +declare const {
const defineProps: {
     <PropNames extends string = string>(props: PropNames[]): Prettify<Readonly<{ [key in PropNames]?: any; }>>;
     <PP extends ComponentObjectPropsOptions = ComponentObjectPropsOptions<...>>(props: PP): Prettify<Readonly<ExtractPropTypes<PP>>>;
     <TypeProps>(): DefineProps<LooseRequired<TypeProps>, BooleanKey<...>>;
@@ -128,83 +156,26 @@
 ```
 
 This is only usable inside `<script setup>`, is compiled away in the output
-and should **not** be actually called at runtime.withDefaults, } = await import('vue');
-const const count: Ref<number, number>count = ref<number>(value: number): Ref<number, number> (+1 overload)
Takes an inner value and returns a reactive and mutable ref object, which -has a single property `.value` that points to the inner value.
@paramvalue - The object to wrap in the ref.@see{@link https://vuejs.org/api/reactivity-core.html#ref}
ref
(0)
- -const
const double: ComputedRef<number>
double
= computed<number>(getter: ComputedGetter<number>, debugOptions?: DebuggerOptions): ComputedRef<number> (+1 overload)
Takes a getter function and returns a readonly reactive ref object for the -returned value from the getter. It can also take an object with get and set -functions to create a writable ref object.
@example```js -// Creating a readonly computed ref: -const count = ref(1) -const plusOne = computed(() => count.value + 1) - -console.log(plusOne.value) // 2 -plusOne.value++ // error -``` - -```js -// Creating a writable computed ref: -const count = ref(1) -const plusOne = computed({ - get: () => count.value + 1, - set: (val) => { - count.value = val - 1 - } -}) - -plusOne.value = 1 -console.log(count.value) // 0 -```@paramgetter - Function that produces the next value.@paramdebugOptions - For debugging. See {@link https://vuejs.org/guide/extras/reactivity-in-depth.html#computed-debugging}.@see{@link https://vuejs.org/api/reactivity-core.html#computed}
computed
(() => const count: Ref<number, number>count.Ref<number, number>.value: numbervalue * 2)
- -;/* PartiallyEnd: #3632/scriptSetup.vue */ -const __VLS_fnComponent = (await import('vue')).
function defineComponent<unknown, ComponentObjectPropsOptions<Data>, string, {}, {}, string, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, {}, string, ComponentProvideOptions, {}, {}, {}, any>(options: {
-    ...;
-} & ... 1 more ... & ThisType<...>): DefineComponent<...> (+2 overloads)
defineComponent
({
-}); -type __VLS_BuiltInPublicProps = import('vue').
type VNodeProps = {
-    key?: PropertyKey;
-    ref?: VNodeRef;
-    ref_for?: boolean;
-    ref_key?: string;
-    onVnodeBeforeMount?: VNodeMountHook | VNodeMountHook[];
-    ... 4 more ...;
-    onVnodeUnmounted?: VNodeMountHook | VNodeMountHook[];
-}
VNodeProps
- & import('vue').AllowedComponentProps - & import('vue').ComponentCustomProps;; -let __VLS_functionalComponentProps!: __VLS_OmitKeepDiscriminatedUnion<type InstanceType<T extends abstract new (...args: any) => any> = T extends abstract new (...args: any) => infer R ? R : any
Obtain the return type of a constructor function type
InstanceType
<typeof __VLS_fnComponent>['$props'], keyof __VLS_BuiltInPublicProps>;
-type __VLS_PublicProps = {}; +and should **not** be actually called at runtime.withDefaults, }: typeof import('vue');
Modifiers cannot appear here.
type __VLS_PublicProps = {}; function __VLS_template() { const __VLS_ctx = {} as type InstanceType<T extends abstract new (...args: any) => any> = T extends abstract new (...args: any) => infer R ? R : any
Obtain the return type of a constructor function type
InstanceType
<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
-const __VLS_localComponents = { -...{} as { - [function (type parameter) KK in 'HelloWorld']: typeof __VLS_self - & (new () => { - $slots: {}$slots: typeof __VLS_slots - }) - }, -...{} as type NonNullable<T> = T & {}
Exclude null and undefined from T
NonNullable
<typeof __VLS_self extends { components: Ccomponents: infer function (type parameter) CC } ? function (type parameter) CC : {}>,
-...__VLS_ctx, -}; -let __VLS_components!: typeof __VLS_localComponents & __VLS_GlobalComponents; -const __VLS_localDirectives = { -...{} as type NonNullable<T> = T & {}
Exclude null and undefined from T
NonNullable
<typeof __VLS_self extends { directives: Ddirectives: infer function (type parameter) DD } ? function (type parameter) DD : {}>,
-...__VLS_ctx, -}; -let __VLS_directives!: typeof __VLS_localDirectives & __VLS_GlobalDirectives; -let __VLS_styleScopedClasses!: {}; - -let __VLS_resolvedLocalAndGlobalComponents!: type Required<T> = { [P in keyof T]-?: T[P]; }
Make all properties in T required
Required
<{}>;
-__VLS_elementAsFunction(__VLS_intrinsicElements.button: ButtonHTMLAttributes & ReservedPropsbutton, __VLS_intrinsicElements.button: ButtonHTMLAttributes & ReservedPropsbutton)({...{
onClick?: ((payload: MouseEvent) => void) | undefined
onClick
: (...[$event: MouseEvent$event]) => {
+type __VLS_LocalComponents = & { [function (type parameter) KK in 'HelloWorld']: typeof __VLS_self & (new () => { $slots: {}$slots: typeof __VLS_slots }) } & typeof __VLS_ctx; +let __VLS_components!: __VLS_LocalComponents & __VLS_GlobalComponents; +type __VLS_LocalDirectives = & typeof __VLS_ctx; +let __VLS_directives!: __VLS_LocalDirectives & __VLS_GlobalDirectives; +type __VLS_StyleScopedClasses = {}; +__VLS_elementAsFunction(__VLS_intrinsicElements.button: ButtonHTMLAttributes & ReservedPropsbutton, __VLS_intrinsicElements.button: ButtonHTMLAttributes & ReservedPropsbutton)({ +...{
onClick?: ((payload: MouseEvent) => void) | undefined
onClick
: (...[$event: MouseEvent$event]) => {
__VLS_ctx.count: numbercount++; -}}, }); +}}, +}); ( __VLS_ctx.msg: stringmsg ); ( __VLS_ctx.count: numbercount ); - -var __VLS_slots!:{ +var __VLS_slots!: { }; -var __VLS_inheritedAttrs!: {}; +var function (local var) $slots: {}$slots!: typeof __VLS_slots; +let __VLS_inheritedAttrs!: {}; +var function (local var) $attrs: Partial<{}> & Record<string, unknown>$attrs!: type Partial<T> = { [P in keyof T]?: T[P] | undefined; }
Make all properties in T optional
Partial
<typeof __VLS_inheritedAttrs> & type Record<K extends keyof any, T> = { [P in K]: T; }
Construct a type with a set of properties K of type T
Record
<string, unknown>;
const __VLS_refs = { }; var function (local var) $refs: {}$refs!: typeof __VLS_refs; @@ -423,7 +394,4 @@ })() ;/* PartiallyEnd: #3632/script.vue */ ;/* PartiallyEnd: #4569/main.vue */ -type __VLS_OmitKeepDiscriminatedUnion<function (type parameter) T in type __VLS_OmitKeepDiscriminatedUnion<T, K extends keyof any>T, function (type parameter) K in type __VLS_OmitKeepDiscriminatedUnion<T, K extends keyof any>K extends keyof any> = function (type parameter) T in type __VLS_OmitKeepDiscriminatedUnion<T, K extends keyof any>T extends any - ? type Pick<T, K extends keyof T> = { [P in K]: T[P]; }
From T, pick a set of properties whose keys are in the union K
Pick
<function (type parameter) T in type __VLS_OmitKeepDiscriminatedUnion<T, K extends keyof any>T, type Exclude<T, U> = T extends U ? never : T
Exclude from T those types that are assignable to U
Exclude
<keyof function (type parameter) T in type __VLS_OmitKeepDiscriminatedUnion<T, K extends keyof any>T, function (type parameter) K in type __VLS_OmitKeepDiscriminatedUnion<T, K extends keyof any>K>>
- : never;
\ No newline at end of file diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6040b04..2817754 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -52,8 +52,8 @@ catalogs: specifier: 2.0.5 version: 2.0.5 '@vue/language-core': - specifier: ~2.1.10 - version: 2.1.10 + specifier: ~2.2.0 + version: 2.2.0 '@vueuse/core': specifier: ^12.2.0 version: 12.2.0 @@ -288,7 +288,7 @@ importers: version: 0.65.3(postcss@8.4.49)(rollup@4.29.1)(vite@6.0.6(@types/node@22.10.2)(jiti@2.4.2)(sass@1.83.0)(tsx@4.19.2)(yaml@2.6.1))(vue@3.5.13(typescript@5.7.2)) vitepress: specifier: 'catalog:' - version: 1.5.0(@algolia/client-search@5.17.1)(@types/node@22.10.2)(@types/react@18.3.10)(fuse.js@7.0.0)(idb-keyval@6.2.1)(jiti@2.4.2)(postcss@8.4.49)(react@18.3.1)(sass@1.83.0)(search-insights@2.14.0)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1) + version: 1.5.0(@algolia/client-search@5.18.0)(@types/node@22.10.2)(@types/react@18.3.10)(fuse.js@7.0.0)(idb-keyval@6.2.1)(jiti@2.4.2)(postcss@8.4.49)(react@18.3.1)(sass@1.83.0)(search-insights@2.14.0)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1) vue: specifier: ^3.5.13 version: 3.5.13(typescript@5.7.2) @@ -375,7 +375,7 @@ importers: dependencies: '@vue/language-core': specifier: 'catalog:' - version: 2.1.10(typescript@5.7.2) + version: 2.2.0(typescript@5.7.2) twoslash: specifier: workspace:* version: link:../twoslash @@ -424,6 +424,10 @@ packages: resolution: {integrity: sha512-5rb5+yPIie6912riAypTSyzbE23a7UM1UpESvD8GEPI4CcWQvA9DBlkRNx9qbq/nJ5pvv8VjZjUxJj7rFkzEAA==} engines: {node: '>= 14.0.0'} + '@algolia/client-common@5.18.0': + resolution: {integrity: sha512-X1WMSC+1ve2qlMsemyTF5bIjwipOT+m99Ng1Tyl36ZjQKTa54oajBKE0BrmM8LD8jGdtukAgkUhFoYOaRbMcmQ==} + engines: {node: '>= 14.0.0'} + '@algolia/client-insights@5.17.1': resolution: {integrity: sha512-nb/tfwBMn209TzFv1DDTprBKt/wl5btHVKoAww9fdEVdoKK02R2KAqxe5tuXLdEzAsS+LevRyOM/YjXuLmPtjQ==} engines: {node: '>= 14.0.0'} @@ -440,6 +444,10 @@ packages: resolution: {integrity: sha512-bd5JBUOP71kPsxwDcvOxqtqXXVo/706NFifZ/O5Rx5GB8ZNVAhg4l7aGoT6jBvEfgmrp2fqPbkdIZ6JnuOpGcw==} engines: {node: '>= 14.0.0'} + '@algolia/client-search@5.18.0': + resolution: {integrity: sha512-qI3LcFsVgtvpsBGR7aNSJYxhsR+Zl46+958ODzg8aCxIcdxiK7QEVLMJMZAR57jGqW0Lg/vrjtuLFDMfSE53qA==} + engines: {node: '>= 14.0.0'} + '@algolia/ingestion@1.17.1': resolution: {integrity: sha512-T18tvePi1rjRYcIKhd82oRukrPWHxG/Iy1qFGaxCplgRm9Im5z96qnYOq75MSKGOUHkFxaBKJOLmtn8xDR+Mcw==} engines: {node: '>= 14.0.0'} @@ -456,14 +464,26 @@ packages: resolution: {integrity: sha512-XpKgBfyczVesKgr7DOShNyPPu5kqlboimRRPjdqAw5grSyHhCmb8yoTIKy0TCqBABZeXRPMYT13SMruUVRXvHA==} engines: {node: '>= 14.0.0'} + '@algolia/requester-browser-xhr@5.18.0': + resolution: {integrity: sha512-1XFjW0C3pV0dS/9zXbV44cKI+QM4ZIz9cpatXpsjRlq6SUCpLID3DZHsXyE6sTb8IhyPaUjk78GEJT8/3hviqg==} + engines: {node: '>= 14.0.0'} + '@algolia/requester-fetch@5.17.1': resolution: {integrity: sha512-EhUomH+DZP5vb6DnEjT0GvXaXBSwzZnuU6hPGNU1EYKRXDouRjII/bIWpVjt7ycMgL2D2oQruqDh6rAWUhQwRw==} engines: {node: '>= 14.0.0'} + '@algolia/requester-fetch@5.18.0': + resolution: {integrity: sha512-0uodeNdAHz1YbzJh6C5xeQ4T6x5WGiUxUq3GOaT/R4njh5t78dq+Rb187elr7KtnjUmETVVuCvmEYaThfTHzNg==} + engines: {node: '>= 14.0.0'} + '@algolia/requester-node-http@5.17.1': resolution: {integrity: sha512-PSnENJtl4/wBWXlGyOODbLYm6lSiFqrtww7UpQRCJdsHXlJKF8XAP6AME8NxvbE0Qo/RJUxK0mvyEh9sQcx6bg==} engines: {node: '>= 14.0.0'} + '@algolia/requester-node-http@5.18.0': + resolution: {integrity: sha512-tZCqDrqJ2YE2I5ukCQrYN8oiF6u3JIdCxrtKq+eniuLkjkO78TKRnXrVcKZTmfFJyyDK8q47SfDcHzAA3nHi6w==} + engines: {node: '>= 14.0.0'} + '@ampproject/remapping@2.3.0': resolution: {integrity: sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==} engines: {node: '>=6.0.0'} @@ -1613,8 +1633,8 @@ packages: '@vue/devtools-shared@7.6.8': resolution: {integrity: sha512-9MBPO5Z3X1nYGFqTJyohl6Gmf/J7UNN1oicHdyzBVZP4jnhZ4c20MgtaHDIzWmHDHCMYVS5bwKxT3jxh7gOOKA==} - '@vue/language-core@2.1.10': - resolution: {integrity: sha512-DAI289d0K3AB5TUG3xDp9OuQ71CnrujQwJrQnfuZDwo6eGNf0UoRlPuaVNO+Zrn65PC3j0oB2i7mNmVPggeGeQ==} + '@vue/language-core@2.2.0': + resolution: {integrity: sha512-O1ZZFaaBGkKbsRfnVH1ifOK1/1BUkyK+3SQsfnh6PmMmD4qJcTU8godCeA96jjDRTL6zgnK7YzCHfaUlH2r0Mw==} peerDependencies: typescript: ^5.7.2 peerDependenciesMeta: @@ -1714,8 +1734,8 @@ packages: resolution: {integrity: sha512-3CcbT5yTWJDIcBe9ZHgsPi184SkT1kyZi3GWlQU5EFgvq1V73X2sqHRkPCQMe0RA/uvZbB+1sFeAk73eWygeLg==} engines: {node: '>= 14.0.0'} - alien-signals@0.2.2: - resolution: {integrity: sha512-cZIRkbERILsBOXTQmMrxc9hgpxglstn69zm+F1ARf4aPAzdAFYd6sBq87ErO0Fj3DV94tglcyHG5kQz9nDC/8A==} + alien-signals@0.4.9: + resolution: {integrity: sha512-piRGlMgQ65uRiY06mGU7I432AwPwAGf64TK1RXtM1Px4pPfLMTGI9TmsHTfioW1GukZRsNzkVQ/uHjhhd231Ow==} ansi-escapes@7.0.0: resolution: {integrity: sha512-GdYO7a61mR0fOlAsvC9/rIHf7L96sBc6dEWzeOu+KAea5bZyQRPIpojrVoI4AXGJS/ycu/fBTdLrUkA4ODrvjw==} @@ -4122,32 +4142,32 @@ snapshots: '@aashutoshrathi/word-wrap@1.2.6': {} - '@algolia/autocomplete-core@1.17.7(@algolia/client-search@5.17.1)(algoliasearch@5.17.1)(search-insights@2.14.0)': + '@algolia/autocomplete-core@1.17.7(@algolia/client-search@5.18.0)(algoliasearch@5.17.1)(search-insights@2.14.0)': dependencies: - '@algolia/autocomplete-plugin-algolia-insights': 1.17.7(@algolia/client-search@5.17.1)(algoliasearch@5.17.1)(search-insights@2.14.0) - '@algolia/autocomplete-shared': 1.17.7(@algolia/client-search@5.17.1)(algoliasearch@5.17.1) + '@algolia/autocomplete-plugin-algolia-insights': 1.17.7(@algolia/client-search@5.18.0)(algoliasearch@5.17.1)(search-insights@2.14.0) + '@algolia/autocomplete-shared': 1.17.7(@algolia/client-search@5.18.0)(algoliasearch@5.17.1) transitivePeerDependencies: - '@algolia/client-search' - algoliasearch - search-insights - '@algolia/autocomplete-plugin-algolia-insights@1.17.7(@algolia/client-search@5.17.1)(algoliasearch@5.17.1)(search-insights@2.14.0)': + '@algolia/autocomplete-plugin-algolia-insights@1.17.7(@algolia/client-search@5.18.0)(algoliasearch@5.17.1)(search-insights@2.14.0)': dependencies: - '@algolia/autocomplete-shared': 1.17.7(@algolia/client-search@5.17.1)(algoliasearch@5.17.1) + '@algolia/autocomplete-shared': 1.17.7(@algolia/client-search@5.18.0)(algoliasearch@5.17.1) search-insights: 2.14.0 transitivePeerDependencies: - '@algolia/client-search' - algoliasearch - '@algolia/autocomplete-preset-algolia@1.17.7(@algolia/client-search@5.17.1)(algoliasearch@5.17.1)': + '@algolia/autocomplete-preset-algolia@1.17.7(@algolia/client-search@5.18.0)(algoliasearch@5.17.1)': dependencies: - '@algolia/autocomplete-shared': 1.17.7(@algolia/client-search@5.17.1)(algoliasearch@5.17.1) - '@algolia/client-search': 5.17.1 + '@algolia/autocomplete-shared': 1.17.7(@algolia/client-search@5.18.0)(algoliasearch@5.17.1) + '@algolia/client-search': 5.18.0 algoliasearch: 5.17.1 - '@algolia/autocomplete-shared@1.17.7(@algolia/client-search@5.17.1)(algoliasearch@5.17.1)': + '@algolia/autocomplete-shared@1.17.7(@algolia/client-search@5.18.0)(algoliasearch@5.17.1)': dependencies: - '@algolia/client-search': 5.17.1 + '@algolia/client-search': 5.18.0 algoliasearch: 5.17.1 '@algolia/client-abtesting@5.17.1': @@ -4166,6 +4186,8 @@ snapshots: '@algolia/client-common@5.17.1': {} + '@algolia/client-common@5.18.0': {} + '@algolia/client-insights@5.17.1': dependencies: '@algolia/client-common': 5.17.1 @@ -4194,6 +4216,13 @@ snapshots: '@algolia/requester-fetch': 5.17.1 '@algolia/requester-node-http': 5.17.1 + '@algolia/client-search@5.18.0': + dependencies: + '@algolia/client-common': 5.18.0 + '@algolia/requester-browser-xhr': 5.18.0 + '@algolia/requester-fetch': 5.18.0 + '@algolia/requester-node-http': 5.18.0 + '@algolia/ingestion@1.17.1': dependencies: '@algolia/client-common': 5.17.1 @@ -4219,14 +4248,26 @@ snapshots: dependencies: '@algolia/client-common': 5.17.1 + '@algolia/requester-browser-xhr@5.18.0': + dependencies: + '@algolia/client-common': 5.18.0 + '@algolia/requester-fetch@5.17.1': dependencies: '@algolia/client-common': 5.17.1 + '@algolia/requester-fetch@5.18.0': + dependencies: + '@algolia/client-common': 5.18.0 + '@algolia/requester-node-http@5.17.1': dependencies: '@algolia/client-common': 5.17.1 + '@algolia/requester-node-http@5.18.0': + dependencies: + '@algolia/client-common': 5.18.0 + '@ampproject/remapping@2.3.0': dependencies: '@jridgewell/gen-mapping': 0.3.5 @@ -4405,9 +4446,9 @@ snapshots: '@docsearch/css@3.8.0': {} - '@docsearch/js@3.8.0(@algolia/client-search@5.17.1)(@types/react@18.3.10)(react@18.3.1)(search-insights@2.14.0)': + '@docsearch/js@3.8.0(@algolia/client-search@5.18.0)(@types/react@18.3.10)(react@18.3.1)(search-insights@2.14.0)': dependencies: - '@docsearch/react': 3.8.0(@algolia/client-search@5.17.1)(@types/react@18.3.10)(react@18.3.1)(search-insights@2.14.0) + '@docsearch/react': 3.8.0(@algolia/client-search@5.18.0)(@types/react@18.3.10)(react@18.3.1)(search-insights@2.14.0) preact: 10.25.4 transitivePeerDependencies: - '@algolia/client-search' @@ -4416,10 +4457,10 @@ snapshots: - react-dom - search-insights - '@docsearch/react@3.8.0(@algolia/client-search@5.17.1)(@types/react@18.3.10)(react@18.3.1)(search-insights@2.14.0)': + '@docsearch/react@3.8.0(@algolia/client-search@5.18.0)(@types/react@18.3.10)(react@18.3.1)(search-insights@2.14.0)': dependencies: - '@algolia/autocomplete-core': 1.17.7(@algolia/client-search@5.17.1)(algoliasearch@5.17.1)(search-insights@2.14.0) - '@algolia/autocomplete-preset-algolia': 1.17.7(@algolia/client-search@5.17.1)(algoliasearch@5.17.1) + '@algolia/autocomplete-core': 1.17.7(@algolia/client-search@5.18.0)(algoliasearch@5.17.1)(search-insights@2.14.0) + '@algolia/autocomplete-preset-algolia': 1.17.7(@algolia/client-search@5.18.0)(algoliasearch@5.17.1) '@docsearch/css': 3.8.0 algoliasearch: 5.17.1 optionalDependencies: @@ -5416,13 +5457,13 @@ snapshots: dependencies: rfdc: 1.4.1 - '@vue/language-core@2.1.10(typescript@5.7.2)': + '@vue/language-core@2.2.0(typescript@5.7.2)': dependencies: '@volar/language-core': 2.4.11 '@vue/compiler-dom': 3.5.13 '@vue/compiler-vue2': 2.7.16 '@vue/shared': 3.5.13 - alien-signals: 0.2.2 + alien-signals: 0.4.9 minimatch: 9.0.5 muggle-string: 0.4.1 path-browserify: 1.0.1 @@ -5531,7 +5572,7 @@ snapshots: '@algolia/requester-fetch': 5.17.1 '@algolia/requester-node-http': 5.17.1 - alien-signals@0.2.2: {} + alien-signals@0.4.9: {} ansi-escapes@7.0.0: dependencies: @@ -8080,10 +8121,10 @@ snapshots: tsx: 4.19.2 yaml: 2.6.1 - vitepress@1.5.0(@algolia/client-search@5.17.1)(@types/node@22.10.2)(@types/react@18.3.10)(fuse.js@7.0.0)(idb-keyval@6.2.1)(jiti@2.4.2)(postcss@8.4.49)(react@18.3.1)(sass@1.83.0)(search-insights@2.14.0)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1): + vitepress@1.5.0(@algolia/client-search@5.18.0)(@types/node@22.10.2)(@types/react@18.3.10)(fuse.js@7.0.0)(idb-keyval@6.2.1)(jiti@2.4.2)(postcss@8.4.49)(react@18.3.1)(sass@1.83.0)(search-insights@2.14.0)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1): dependencies: '@docsearch/css': 3.8.0 - '@docsearch/js': 3.8.0(@algolia/client-search@5.17.1)(@types/react@18.3.10)(react@18.3.1)(search-insights@2.14.0) + '@docsearch/js': 3.8.0(@algolia/client-search@5.18.0)(@types/react@18.3.10)(react@18.3.1)(search-insights@2.14.0) '@iconify-json/simple-icons': 1.2.17 '@shikijs/core': 1.24.4 '@shikijs/transformers': 1.24.4 diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index ab6fd0c..5b58722 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -19,7 +19,7 @@ catalog: '@typescript/vfs': ^1.6.0 '@unocss/reset': ^0.65.3 '@vitest/coverage-v8': 2.0.5 - '@vue/language-core': ~2.1.10 + '@vue/language-core': ~2.2.0 '@vueuse/core': ^12.2.0 bumpp: ^9.9.2 eslint: ^9.17.0