fork of hey-api/openapi-ts because I need some additional things

feat: bundle nuxt client

Lubos ​ b43e9173 39eee4a8

+100 -559
+12 -27
docs/openapi-ts/clients/nuxt.md
··· 13 13 14 14 [Nuxt](https://nuxt.com) is an open source framework that makes web development intuitive and powerful. 15 15 16 - ::: tip 17 - You might be interested in the [Nuxt module](https://www.npmjs.com/package/@hey-api/nuxt) instead. It offers all the features mentioned in this guide in a more familiar way. 18 - ::: 19 - 20 16 <!-- <button class="buttonLink" @click="(event) => embedProject('hey-api-client-fetch-example')(event)"> 21 17 Launch demo 22 18 </button> --> ··· 33 29 34 30 ## Installation 35 31 36 - Start by adding `@hey-api/client-nuxt` to your dependencies. 32 + Start by adding `@hey-api/nuxt` to your dependencies. 37 33 38 34 ::: code-group 39 35 40 36 ```sh [npm] 41 - npm install @hey-api/client-nuxt 37 + npm install @hey-api/nuxt 42 38 ``` 43 39 44 40 ```sh [pnpm] 45 - pnpm add @hey-api/client-nuxt 41 + pnpm add @hey-api/nuxt 46 42 ``` 47 43 48 44 ```sh [yarn] 49 - yarn add @hey-api/client-nuxt 45 + yarn add @hey-api/nuxt 50 46 ``` 51 47 52 48 ```sh [bun] 53 - bun add @hey-api/client-nuxt 49 + bun add @hey-api/nuxt 54 50 ``` 55 51 56 52 ::: ··· 73 69 -o src/client \ 74 70 -c @hey-api/client-nuxt # [!code ++] 75 71 ``` 72 + 73 + ::: 74 + 75 + ::: tip 76 + 77 + If you add `@hey-api/nuxt` to your Nuxt modules, this step is not needed. 76 78 77 79 ::: 78 80 ··· 135 137 You can also create your own client instance. You can use it to manually send requests or point it to a different domain. 136 138 137 139 ```js 138 - import { createClient } from '@hey-api/client-nuxt'; 140 + import { createClient } from './client/client'; 139 141 140 142 const myClient = createClient({ 141 143 baseURL: 'https://example.com', ··· 228 230 url: '/foo/{fooId}', 229 231 }); 230 232 console.log(url); // prints '/foo/1?bar=baz' 231 - ``` 232 - 233 - ## Bundling 234 - 235 - Sometimes, you may not want to declare client packages as a dependency. This scenario is common if you're using Hey API to generate output that is repackaged and published for other consumers under your own brand. For such cases, our clients support bundling through the `client.bundle` configuration option. 236 - 237 - ```js 238 - export default { 239 - input: 'https://get.heyapi.dev/hey-api/backend', 240 - output: 'src/client', 241 - plugins: [ 242 - { 243 - bundle: true, // [!code ++] 244 - name: '@hey-api/client-nuxt', 245 - }, 246 - ], 247 - }; 248 233 ``` 249 234 250 235 <!--@include: ../../examples.md-->
-7
examples/openapi-ts-nuxt/nuxt.config.ts
··· 27 27 ], 28 28 }, 29 29 }, 30 - imports: { 31 - transform: { 32 - // Build was throwing an error. 33 - // see https://github.com/nuxt/nuxt/issues/18823#issuecomment-1419704343 34 - exclude: [/\bclient-nuxt\b/], 35 - }, 36 - }, 37 30 modules: ['@hey-api/nuxt'], 38 31 });
-1
package.json
··· 47 47 "@changesets/cli": "2.27.8", 48 48 "@config/vite-base": "workspace:*", 49 49 "@hey-api/client-custom": "workspace:*", 50 - "@hey-api/client-nuxt": "workspace:*", 51 50 "@types/node": "22.10.5", 52 51 "@typescript-eslint/eslint-plugin": "8.29.1", 53 52 "@vitest/coverage-v8": "3.1.1",
-107
packages/client-nuxt/CHANGELOG.md
··· 1 - # @hey-api/client-nuxt 2 - 3 - ## 0.4.2 4 - 5 - ### Patch Changes 6 - 7 - - [#2066](https://github.com/hey-api/openapi-ts/pull/2066) [`96cd12c`](https://github.com/hey-api/openapi-ts/commit/96cd12c87ca11a396e0df47771ceb1f9f20860d7) Thanks [@alexanderhorner](https://github.com/alexanderhorner)! - fix(client-nuxt): fixed an issue where key was stripped from options 8 - 9 - ## 0.4.1 10 - 11 - ### Patch Changes 12 - 13 - - [#2039](https://github.com/hey-api/openapi-ts/pull/2039) [`565e0b8`](https://github.com/hey-api/openapi-ts/commit/565e0b89fbab4556ecdc63dfe08250942681140e) Thanks [@Le0Developer](https://github.com/Le0Developer)! - fix(clients): fix query string encoding with empty lists/objects 14 - 15 - ## 0.4.0 16 - 17 - ### Minor Changes 18 - 19 - - [#1889](https://github.com/hey-api/openapi-ts/pull/1889) [`67c385b`](https://github.com/hey-api/openapi-ts/commit/67c385bf6289a79726b0cdd85fd81ca501cf2248) Thanks [@mrlubos](https://github.com/mrlubos)! - fix: add @hey-api/openapi-ts to peer dependencies 20 - 21 - ## 0.3.1 22 - 23 - ### Patch Changes 24 - 25 - - [#1850](https://github.com/hey-api/openapi-ts/pull/1850) [`fe43b88`](https://github.com/hey-api/openapi-ts/commit/fe43b889c20a2001f56e259f93f64851a1caa1d1) Thanks [@kelnos](https://github.com/kelnos)! - feat: add support for cookies auth 26 - 27 - ## 0.3.0 28 - 29 - ### Minor Changes 30 - 31 - - [#1800](https://github.com/hey-api/openapi-ts/pull/1800) [`d80f835`](https://github.com/hey-api/openapi-ts/commit/d80f835b46775a01451f02f832ceb288c2b561d2) Thanks [@mrlubos](https://github.com/mrlubos)! - feat: drop cjs support 32 - 33 - ## 0.2.4 34 - 35 - ### Patch Changes 36 - 37 - - [#1774](https://github.com/hey-api/openapi-ts/pull/1774) [`c0b36b9`](https://github.com/hey-api/openapi-ts/commit/c0b36b95645d484034c3af145c5554867568979b) Thanks [@mrlubos](https://github.com/mrlubos)! - docs: announce Hey API platform 38 - 39 - ## 0.2.3 40 - 41 - ### Patch Changes 42 - 43 - - [#1753](https://github.com/hey-api/openapi-ts/pull/1753) [`b8cc9f8`](https://github.com/hey-api/openapi-ts/commit/b8cc9f8a5eaf4f4ff345abc49c14c6b96744c2ea) Thanks [@LinuCC](https://github.com/LinuCC)! - fix: dropping Content-Type header with falsey but valid json body 44 - 45 - ## 0.2.2 46 - 47 - ### Patch Changes 48 - 49 - - [#1701](https://github.com/hey-api/openapi-ts/pull/1701) [`e86629b`](https://github.com/hey-api/openapi-ts/commit/e86629bfa9ae2a47131d3a9a240a6aa2a4f67911) Thanks [@mrlubos](https://github.com/mrlubos)! - fix: correctly type default value for Nuxt client 50 - 51 - ## 0.2.1 52 - 53 - ### Patch Changes 54 - 55 - - [#1674](https://github.com/hey-api/openapi-ts/pull/1674) [`7f0f4a7`](https://github.com/hey-api/openapi-ts/commit/7f0f4a76b06c8fafb33581b522faf8efc6fd85ac) Thanks [@ale18V](https://github.com/ale18V)! - Return a string from urlSearchParamsBodySerializer instead of a URLSearchParams object. 56 - This is due to some runtimes not being able to handle the URLSearchParams object as fetch body. 57 - 58 - ## 0.2.0 59 - 60 - ### Minor Changes 61 - 62 - - [#1661](https://github.com/hey-api/openapi-ts/pull/1661) [`bb6d46a`](https://github.com/hey-api/openapi-ts/commit/bb6d46ae119ce4e7e3a2ab3fded74ac4fb4cdff2) Thanks [@mrlubos](https://github.com/mrlubos)! - fix: make createConfig, CreateClientConfig, and Config accept ClientOptions generic 63 - 64 - ### Added `ClientOptions` interface 65 - 66 - The `Config` interface now accepts an optional generic extending `ClientOptions` instead of `boolean` type `ThrowOnError`. 67 - 68 - ```ts 69 - type Foo = Config<false>; // [!code --] 70 - type Foo = Config<{ throwOnError: false }>; // [!code ++] 71 - ``` 72 - 73 - ## 0.1.3 74 - 75 - ### Patch Changes 76 - 77 - - [#1637](https://github.com/hey-api/openapi-ts/pull/1637) [`2dc380e`](https://github.com/hey-api/openapi-ts/commit/2dc380eabc17c723654beb04ecd7bce6d33d3b49) Thanks [@mrlubos](https://github.com/mrlubos)! - fix: update keywords in package.json 78 - 79 - - [#1649](https://github.com/hey-api/openapi-ts/pull/1649) [`603541e`](https://github.com/hey-api/openapi-ts/commit/603541e307dc2953da7dddd300176865629b50bb) Thanks [@mrlubos](https://github.com/mrlubos)! - fix: do not run validator and transformer when response is not ok 80 - 81 - - [#1649](https://github.com/hey-api/openapi-ts/pull/1649) [`603541e`](https://github.com/hey-api/openapi-ts/commit/603541e307dc2953da7dddd300176865629b50bb) Thanks [@mrlubos](https://github.com/mrlubos)! - fix: handle BigInt in JSON body serializer 82 - 83 - - [#1646](https://github.com/hey-api/openapi-ts/pull/1646) [`2cbffeb`](https://github.com/hey-api/openapi-ts/commit/2cbffeb2cdd6c6143cd68cac68369584879dda31) Thanks [@mrlubos](https://github.com/mrlubos)! - fix: remove client from Options interface 84 - 85 - - [#1646](https://github.com/hey-api/openapi-ts/pull/1646) [`2cbffeb`](https://github.com/hey-api/openapi-ts/commit/2cbffeb2cdd6c6143cd68cac68369584879dda31) Thanks [@mrlubos](https://github.com/mrlubos)! - fix: export TDataShape interface 86 - 87 - - [#1649](https://github.com/hey-api/openapi-ts/pull/1649) [`603541e`](https://github.com/hey-api/openapi-ts/commit/603541e307dc2953da7dddd300176865629b50bb) Thanks [@mrlubos](https://github.com/mrlubos)! - fix: handle reactive refs in Nuxt client body 88 - 89 - ## 0.1.2 90 - 91 - ### Patch Changes 92 - 93 - - [#1626](https://github.com/hey-api/openapi-ts/pull/1626) [`8eba19d`](https://github.com/hey-api/openapi-ts/commit/8eba19d4092fc0903572ab9fdadf0b4c26928ba2) Thanks [@mrlubos](https://github.com/mrlubos)! - fix: export CreateClientConfig type 94 - 95 - ## 0.1.1 96 - 97 - ### Patch Changes 98 - 99 - - [#1600](https://github.com/hey-api/openapi-ts/pull/1600) [`0432418`](https://github.com/hey-api/openapi-ts/commit/0432418d72c94ef94865f8216ed2f723ad5191f9) Thanks [@mrlubos](https://github.com/mrlubos)! - fix: bundle clients from compiled index file 100 - 101 - - [#1596](https://github.com/hey-api/openapi-ts/pull/1596) [`4784727`](https://github.com/hey-api/openapi-ts/commit/47847276e8bc854045044dd414382080270dd779) Thanks [@mrlubos](https://github.com/mrlubos)! - fix: add null to valid bodySerializer types 102 - 103 - ## 0.1.0 104 - 105 - ### Minor Changes 106 - 107 - - [#1519](https://github.com/hey-api/openapi-ts/pull/1519) [`14d3c4c`](https://github.com/hey-api/openapi-ts/commit/14d3c4ce0393d543e2d3aaebbfcf8f0cf32483b0) Thanks [@mrlubos](https://github.com/mrlubos)! - feat: initial release
-21
packages/client-nuxt/LICENSE.md
··· 1 - MIT License 2 - 3 - Copyright (c) Hey API 4 - 5 - Permission is hereby granted, free of charge, to any person obtaining a copy 6 - of this software and associated documentation files (the "Software"), to deal 7 - in the Software without restriction, including without limitation the rights 8 - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 - copies of the Software, and to permit persons to whom the Software is 10 - furnished to do so, subject to the following conditions: 11 - 12 - The above copyright notice and this permission notice shall be included in all 13 - copies or substantial portions of the Software. 14 - 15 - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 - SOFTWARE.
-102
packages/client-nuxt/README.md
··· 1 - <div align="center"> 2 - <img alt="Hey API logo" height="150" src="https://heyapi.dev/images/logo-300w.png" width="150"> 3 - <h1 align="center"><b>Nuxt Client</b></h1> 4 - <p align="center">🚀 Nuxt client for `@hey-api/openapi-ts` codegen.</p> 5 - </div> 6 - 7 - <!-- TODO: add working example once StackBlitz updates their Node version --> 8 - <!-- [Live demo](https://stackblitz.com/edit/hey-api-client-nuxt-example?file=openapi-ts.config.ts,src%2Fclient%2Fschemas.gen.ts,src%2Fclient%2Fsdk.gen.ts,src%2Fclient%2Ftypes.gen.ts,src%2Fcomponents%home.vue) --> 9 - 10 - ## Features 11 - 12 - - seamless integration with `@hey-api/openapi-ts` ecosystem 13 - - type-safe response data and errors 14 - - response data validation and transformation 15 - - access to the original request and response 16 - - granular request and response customization options 17 - - minimal learning curve thanks to extending the underlying technology 18 - - support bundling inside the generated output 19 - - [platform](https://heyapi.dev/openapi-ts/integrations) for automating codegen builds 20 - 21 - ## Dashboard 22 - 23 - Hey API is an ecosystem of products helping you build better APIs. Superpower your codegen and APIs with our platform. 24 - 25 - [Sign In](https://app.heyapi.dev) to Hey API platform. 26 - 27 - ## Documentation 28 - 29 - Please visit our [website](https://heyapi.dev) for documentation, guides, migrating, and more. 30 - 31 - ## Sponsors 32 - 33 - Love Hey API? Become our [sponsor](https://github.com/sponsors/hey-api). 34 - 35 - <h3 align="center">Gold</h3> 36 - 37 - <table align="center" style="justify-content: center;align-items: center;display: flex;"> 38 - <tbody> 39 - <tr> 40 - <td align="center"> 41 - <p></p> 42 - <p> 43 - <a href="https://kutt.it/pkEZyc" target="_blank"> 44 - <picture height="50px"> 45 - <source media="(prefers-color-scheme: dark)" srcset="https://heyapi.dev/images/stainless-logo-wordmark-480w.jpeg"> 46 - <img alt="Stainless logo" height="50px" src="https://heyapi.dev/images/stainless-logo-wordmark-480w.jpeg"> 47 - </picture> 48 - </a> 49 - <br/> 50 - Generate best-in-class SDKs. 51 - <br/> 52 - <a href="https://kutt.it/pkEZyc" style="text-decoration:none;" target="_blank"> 53 - stainless.com 54 - </a> 55 - </p> 56 - <p></p> 57 - </td> 58 - </tr> 59 - </tbody> 60 - </table> 61 - 62 - <h3 align="center">Silver</h3> 63 - 64 - <table align="center" style="justify-content: center;align-items: center;display: flex;"> 65 - <tbody> 66 - <tr> 67 - <td align="center"> 68 - <a href="https://kutt.it/skQUVd" target="_blank"> 69 - <picture height="40px"> 70 - <source media="(prefers-color-scheme: dark)" srcset="https://heyapi.dev/images/scalar-logo-wordmark-480w.jpeg"> 71 - <img alt="Scalar logo" height="40px" src="https://heyapi.dev/images/scalar-logo-wordmark-480w.jpeg"> 72 - </picture> 73 - </a> 74 - <br/> 75 - <a href="https://kutt.it/skQUVd" style="text-decoration:none;" target="_blank"> 76 - scalar.com 77 - </a> 78 - </td> 79 - </tr> 80 - </tbody> 81 - </table> 82 - 83 - <h3 align="center">Bronze</h3> 84 - 85 - <table align="center" style="justify-content: center;align-items: center;display: flex;"> 86 - <tbody> 87 - <tr> 88 - <td align="center"> 89 - <a href="https://kutt.it/YpaKsX" target="_blank"> 90 - <picture height="34px"> 91 - <source media="(prefers-color-scheme: dark)" srcset="https://heyapi.dev/images/kinde-logo-wordmark-dark-480w.webp"> 92 - <img alt="Kinde logo" height="34px" src="https://heyapi.dev/images/kinde-logo-wordmark-480w.jpeg"> 93 - </picture> 94 - </a> 95 - </td> 96 - </tr> 97 - </tbody> 98 - </table> 99 - 100 - ## Migration Guides 101 - 102 - [OpenAPI Typescript Codegen](https://heyapi.dev/openapi-ts/migrating#openapi-typescript-codegen)
-75
packages/client-nuxt/package.json
··· 1 - { 2 - "name": "@hey-api/client-nuxt", 3 - "version": "0.4.2", 4 - "description": "🚀 Nuxt client for `@hey-api/openapi-ts` codegen.", 5 - "homepage": "https://heyapi.dev/", 6 - "repository": { 7 - "type": "git", 8 - "url": "git+https://github.com/hey-api/openapi-ts.git" 9 - }, 10 - "bugs": { 11 - "url": "https://github.com/hey-api/openapi-ts/issues" 12 - }, 13 - "license": "MIT", 14 - "author": { 15 - "email": "lubos@heyapi.dev", 16 - "name": "Hey API", 17 - "url": "https://heyapi.dev" 18 - }, 19 - "funding": "https://github.com/sponsors/hey-api", 20 - "keywords": [ 21 - "client", 22 - "codegen", 23 - "fetch", 24 - "http", 25 - "javascript", 26 - "nuxt", 27 - "openapi", 28 - "rest", 29 - "swagger", 30 - "typescript", 31 - "vue" 32 - ], 33 - "type": "module", 34 - "main": "./dist/index.js", 35 - "exports": { 36 - ".": "./dist/index.js", 37 - "./package.json": "./package.json" 38 - }, 39 - "typesVersions": { 40 - "*": { 41 - ".": [ 42 - "./dist/index.d.ts" 43 - ] 44 - } 45 - }, 46 - "sideEffects": false, 47 - "files": [ 48 - "dist", 49 - "LICENSE.md", 50 - "src" 51 - ], 52 - "scripts": { 53 - "build": "tsup && rollup -c && pnpm check-exports", 54 - "check-exports": "attw --ignore-rules cjs-resolves-to-esm --pack .", 55 - "dev": "tsup --watch", 56 - "prepublishOnly": "pnpm build", 57 - "test:coverage": "vitest run --coverage", 58 - "test:update": "vitest watch --update", 59 - "test:watch": "vitest watch", 60 - "test": "vitest run", 61 - "typecheck": "vitest --typecheck --watch=false" 62 - }, 63 - "peerDependencies": { 64 - "@hey-api/openapi-ts": "< 2", 65 - "nuxt": ">= 3.0.0 < 4", 66 - "vue": ">= 3.5.13 < 4" 67 - }, 68 - "devDependencies": { 69 - "@config/vite-base": "workspace:*", 70 - "@hey-api/openapi-ts": "workspace:*", 71 - "@nuxt/test-utils": "3.17.2", 72 - "vite": "6.2.7", 73 - "vitest": "3.1.1" 74 - } 75 - }
-30
packages/client-nuxt/rollup.config.mjs
··· 1 - import path from 'node:path'; 2 - 3 - import { defineConfig } from 'rollup'; 4 - import dts from 'rollup-plugin-dts'; 5 - 6 - const files = ['index.d.ts']; 7 - 8 - export default files.map((file) => 9 - defineConfig({ 10 - external: (id) => { 11 - const normalizedId = id.split(path.sep).join('/'); 12 - if (normalizedId === '@hey-api/client-core') { 13 - return false; 14 - } 15 - return ( 16 - !normalizedId.startsWith('/') && !/^[a-zA-Z]:\//.test(normalizedId) 17 - ); 18 - }, 19 - input: `./dist/${file}`, 20 - output: { 21 - file: `./dist/${file}`, 22 - format: 'es', 23 - }, 24 - plugins: [ 25 - dts({ 26 - respectExternal: true, 27 - }), 28 - ], 29 - }), 30 - );
+1 -1
packages/client-nuxt/src/__tests__/client.test.ts packages/openapi-ts/src/plugins/@hey-api/client-nuxt/__tests__/client.test.ts
··· 1 1 import { describe, expect, it } from 'vitest'; 2 2 3 - import { createClient } from '../client'; 3 + import { createClient } from '../bundle/client'; 4 4 5 5 describe('buildUrl', () => { 6 6 const client = createClient();
+2 -2
packages/client-nuxt/src/__tests__/utils.test.ts packages/openapi-ts/src/plugins/@hey-api/client-nuxt/__tests__/utils.test.ts
··· 1 - import type { Auth } from '@hey-api/client-core'; 2 1 import { describe, expect, it, vi } from 'vitest'; 3 2 4 - import { mergeInterceptors, setAuthParams } from '../utils'; 3 + import type { Auth } from '../../client-core/bundle/auth'; 4 + import { mergeInterceptors, setAuthParams } from '../bundle/utils'; 5 5 6 6 describe('mergeInterceptors', () => { 7 7 it('handles no arguments', () => {
packages/client-nuxt/src/client.ts packages/openapi-ts/src/plugins/@hey-api/client-nuxt/bundle/client.ts
-21
packages/client-nuxt/src/index.ts
··· 1 - export { createClient } from './client'; 2 - export type { 3 - Client, 4 - ClientOptions, 5 - Composable, 6 - Config, 7 - CreateClientConfig, 8 - Options, 9 - OptionsLegacyParser, 10 - RequestOptions, 11 - RequestResult, 12 - TDataShape, 13 - } from './types'; 14 - export { createConfig } from './utils'; 15 - export type { Auth, QuerySerializerOptions } from '@hey-api/client-core'; 16 - export { 17 - buildClientParams, 18 - formDataBodySerializer, 19 - jsonBodySerializer, 20 - urlSearchParamsBodySerializer, 21 - } from '@hey-api/client-core';
+7 -6
packages/client-nuxt/src/types.ts packages/openapi-ts/src/plugins/@hey-api/client-nuxt/bundle/types.ts
··· 1 - import type { 2 - Auth, 3 - Client as CoreClient, 4 - Config as CoreConfig, 5 - QuerySerializerOptions, 6 - } from '@hey-api/client-core'; 7 1 import type { 8 2 AsyncDataOptions, 9 3 useAsyncData, ··· 13 7 useLazyFetch, 14 8 } from 'nuxt/app'; 15 9 import type { Ref } from 'vue'; 10 + 11 + import type { Auth } from '../../client-core/bundle/auth'; 12 + import type { QuerySerializerOptions } from '../../client-core/bundle/bodySerializer'; 13 + import type { 14 + Client as CoreClient, 15 + Config as CoreConfig, 16 + } from '../../client-core/bundle/types'; 16 17 17 18 export type ArraySeparatorStyle = ArrayStyle | MatrixStyle; 18 19 type ArrayStyle = 'form' | 'spaceDelimited' | 'pipeDelimited';
+7 -7
packages/client-nuxt/src/utils.ts packages/openapi-ts/src/plugins/@hey-api/client-nuxt/bundle/utils.ts
··· 1 - import type { QuerySerializerOptions } from '@hey-api/client-core'; 1 + import type { ComputedRef, Ref } from 'vue'; 2 + import { isRef, toValue, unref } from 'vue'; 3 + 4 + import { getAuthToken } from '../../client-core/bundle/auth'; 5 + import type { QuerySerializerOptions } from '../../client-core/bundle/bodySerializer'; 6 + import { jsonBodySerializer } from '../../client-core/bundle/bodySerializer'; 2 7 import { 3 - getAuthToken, 4 - jsonBodySerializer, 5 8 serializeArrayParam, 6 9 serializeObjectParam, 7 10 serializePrimitiveParam, 8 - } from '@hey-api/client-core'; 9 - import type { ComputedRef, Ref } from 'vue'; 10 - import { isRef, toValue, unref } from 'vue'; 11 - 11 + } from '../../client-core/bundle/pathSerializer'; 12 12 import type { 13 13 ArraySeparatorStyle, 14 14 BuildUrlOptions,
-14
packages/client-nuxt/tsconfig.base.json
··· 1 - { 2 - "compilerOptions": { 3 - "declaration": true, 4 - "esModuleInterop": true, 5 - "module": "ESNext", 6 - "moduleResolution": "Bundler", 7 - "noImplicitOverride": true, 8 - "noUncheckedIndexedAccess": true, 9 - "noUnusedLocals": true, 10 - "strict": true, 11 - "target": "ES2022", 12 - "useUnknownInCatchVariables": false 13 - } 14 - }
-7
packages/client-nuxt/tsconfig.json
··· 1 - { 2 - "extends": "./tsconfig.base.json", 3 - "compilerOptions": { 4 - "declaration": false, 5 - "esModuleInterop": true 6 - } 7 - }
-12
packages/client-nuxt/tsup.config.ts
··· 1 - import { defineConfig } from 'tsup'; 2 - 3 - export default defineConfig((options) => ({ 4 - clean: true, 5 - dts: true, 6 - entry: ['src/index.ts'], 7 - format: ['esm'], 8 - minify: !options.watch, 9 - shims: false, 10 - sourcemap: true, 11 - treeshake: true, 12 - }));
-20
packages/client-nuxt/vitest.config.ts
··· 1 - import { fileURLToPath } from 'node:url'; 2 - 3 - import { defineVitestConfig } from '@nuxt/test-utils/config'; 4 - 5 - export default defineVitestConfig({ 6 - test: { 7 - coverage: { 8 - exclude: ['dist', 'src/**/*.d.ts'], 9 - include: ['src/**/*.ts'], 10 - provider: 'v8', 11 - }, 12 - environment: 'nuxt', 13 - environmentOptions: { 14 - nuxt: { 15 - domEnvironment: 'jsdom', 16 - }, 17 - }, 18 - root: fileURLToPath(new URL('./', import.meta.url)), 19 - }, 20 - });
-1
packages/nuxt/package.json
··· 53 53 "prepublishOnly": "pnpm build" 54 54 }, 55 55 "dependencies": { 56 - "@hey-api/client-nuxt": "workspace:*", 57 56 "@nuxt/kit": "3.15.4", 58 57 "defu": "6.1.4", 59 58 "mlly": "1.7.4"
+1 -3
packages/nuxt/src/module.ts
··· 42 42 async setup(options) { 43 43 const nuxt = useNuxt(); 44 44 45 - nuxt.options.build.transpile.push('@hey-api/client-nuxt'); 46 - 47 45 const config = defu(options.config, { 48 46 output: { 49 47 path: path.join(nuxt.options.buildDir, 'client'), ··· 115 113 } 116 114 } 117 115 }, 118 - }); 116 + }) as any;
-1
packages/openapi-ts-tests/package.json
··· 31 31 "@angular/router": "19.2.0", 32 32 "@config/vite-base": "workspace:*", 33 33 "@hey-api/client-custom": "workspace:*", 34 - "@hey-api/client-nuxt": "workspace:*", 35 34 "@hey-api/openapi-ts": "workspace:*", 36 35 "@tanstack/angular-query-experimental": "5.73.3", 37 36 "@tanstack/react-query": "5.73.3",
+1 -1
packages/openapi-ts-tests/test/openapi-ts.config.ts
··· 97 97 { 98 98 // baseUrl: false, 99 99 // exportFromIndex: true, 100 - name: '@hey-api/client-next', 100 + name: '@hey-api/client-nuxt', 101 101 // name: 'legacy/fetch', 102 102 // strictBaseUrl: true, 103 103 },
+2
packages/openapi-ts/package.json
··· 109 109 "express": "4.21.0", 110 110 "glob": "10.4.3", 111 111 "node-fetch": "3.3.2", 112 + "nuxt": "3.14.1592", 112 113 "prettier": "3.4.2", 113 114 "ts-node": "10.9.2", 114 115 "tslib": "2.8.1", 115 116 "typescript": "5.8.3", 117 + "vue": "3.5.13", 116 118 "yaml": "2.8.0" 117 119 } 118 120 }
+1 -4
packages/openapi-ts/src/generate/client.ts
··· 116 116 117 117 const indexJsFile = 118 118 clientModulePathComponents[clientModulePathComponents.length - 1]; 119 - const distFiles = [indexJsFile!, 'index.d.ts']; 120 - if (plugin.name !== '@hey-api/client-nuxt') { 121 - distFiles.push('index.d.cts'); 122 - } 119 + const distFiles = [indexJsFile!, 'index.d.ts', 'index.d.cts']; 123 120 for (const file of distFiles) { 124 121 fs.copyFileSync( 125 122 path.resolve(clientDistPath, file),
+22
packages/openapi-ts/src/plugins/@hey-api/client-nuxt/bundle/index.ts
··· 1 + export type { Auth } from '../../client-core/bundle/auth'; 2 + export type { QuerySerializerOptions } from '../../client-core/bundle/bodySerializer'; 3 + export { 4 + formDataBodySerializer, 5 + jsonBodySerializer, 6 + urlSearchParamsBodySerializer, 7 + } from '../../client-core/bundle/bodySerializer'; 8 + export { buildClientParams } from '../../client-core/bundle/params'; 9 + export { createClient } from './client'; 10 + export type { 11 + Client, 12 + ClientOptions, 13 + Composable, 14 + Config, 15 + CreateClientConfig, 16 + Options, 17 + OptionsLegacyParser, 18 + RequestOptions, 19 + RequestResult, 20 + TDataShape, 21 + } from './types'; 22 + export { createConfig } from './utils';
+1 -1
packages/openapi-ts/tsup.config.ts
··· 37 37 'client-core', 38 38 'client-fetch', 39 39 'client-next', 40 - // 'client-nuxt', 40 + 'client-nuxt', 41 41 ]; 42 42 43 43 for (const pluginName of pluginNames) {
+43 -88
pnpm-lock.yaml
··· 23 23 '@hey-api/client-custom': 24 24 specifier: workspace:* 25 25 version: link:packages/client-custom 26 - '@hey-api/client-nuxt': 27 - specifier: workspace:* 28 - version: link:packages/client-nuxt 29 26 '@types/node': 30 27 specifier: 22.10.5 31 28 version: 22.10.5 ··· 728 725 specifier: workspace:* 729 726 version: link:../openapi-ts 730 727 731 - packages/client-nuxt: 732 - dependencies: 733 - nuxt: 734 - specifier: '>= 3.0.0 < 4' 735 - version: 3.14.1592(@parcel/watcher@2.5.1)(@types/node@22.10.5)(db0@0.3.1)(encoding@0.1.13)(eslint@9.17.0(jiti@2.4.2))(ioredis@5.6.0)(less@4.2.2)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.41.1)(sass@1.85.0)(terser@5.39.0)(typescript@5.8.3)(vite@6.2.7(@types/node@22.10.5)(jiti@2.4.2)(less@4.2.2)(sass@1.85.0)(terser@5.39.0)(yaml@2.8.0)) 736 - vue: 737 - specifier: '>= 3.5.13 < 4' 738 - version: 3.5.13(typescript@5.8.3) 739 - devDependencies: 740 - '@config/vite-base': 741 - specifier: workspace:* 742 - version: link:../config-vite-base 743 - '@hey-api/openapi-ts': 744 - specifier: workspace:* 745 - version: link:../openapi-ts 746 - '@nuxt/test-utils': 747 - specifier: 3.17.2 748 - version: 3.17.2(@types/node@22.10.5)(@vue/test-utils@2.4.6)(jiti@2.4.2)(jsdom@23.0.0)(less@4.2.2)(magicast@0.3.5)(sass@1.85.0)(terser@5.39.0)(typescript@5.8.3)(vitest@3.1.1(@types/node@22.10.5)(jiti@2.4.2)(jsdom@23.0.0)(less@4.2.2)(sass@1.85.0)(terser@5.39.0)(yaml@2.8.0))(yaml@2.8.0) 749 - vite: 750 - specifier: 6.2.7 751 - version: 6.2.7(@types/node@22.10.5)(jiti@2.4.2)(less@4.2.2)(sass@1.85.0)(terser@5.39.0)(yaml@2.8.0) 752 - vitest: 753 - specifier: 3.1.1 754 - version: 3.1.1(@types/node@22.10.5)(jiti@2.4.2)(jsdom@23.0.0)(less@4.2.2)(sass@1.85.0)(terser@5.39.0)(yaml@2.8.0) 755 - 756 728 packages/config-vite-base: 757 729 dependencies: 758 730 vite: ··· 768 740 769 741 packages/nuxt: 770 742 dependencies: 771 - '@hey-api/client-nuxt': 772 - specifier: workspace:* 773 - version: link:../client-nuxt 774 743 '@nuxt/kit': 775 744 specifier: 3.15.4 776 745 version: 3.15.4(magicast@0.3.5) ··· 857 826 node-fetch: 858 827 specifier: 3.3.2 859 828 version: 3.3.2 829 + nuxt: 830 + specifier: 3.14.1592 831 + version: 3.14.1592(@parcel/watcher@2.5.1)(@types/node@22.10.5)(db0@0.3.1)(encoding@0.1.13)(eslint@9.17.0(jiti@2.4.2))(ioredis@5.6.0)(less@4.2.2)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.41.1)(sass@1.85.0)(terser@5.39.0)(typescript@5.8.3)(vite@6.2.7(@types/node@22.10.5)(jiti@2.4.2)(less@4.2.2)(sass@1.85.0)(terser@5.39.0)(yaml@2.8.0)) 860 832 prettier: 861 833 specifier: 3.4.2 862 834 version: 3.4.2 ··· 869 841 typescript: 870 842 specifier: 5.8.3 871 843 version: 5.8.3 844 + vue: 845 + specifier: 3.5.13 846 + version: 3.5.13(typescript@5.8.3) 872 847 yaml: 873 848 specifier: 2.8.0 874 849 version: 2.8.0 ··· 914 889 '@hey-api/client-custom': 915 890 specifier: workspace:* 916 891 version: link:../client-custom 917 - '@hey-api/client-nuxt': 918 - specifier: workspace:* 919 - version: link:../client-nuxt 920 892 '@hey-api/openapi-ts': 921 893 specifier: workspace:* 922 894 version: link:../openapi-ts ··· 9766 9738 resolution: {integrity: sha512-MjOadfU3Ys9KYoX0AdkBlFEF1Vx37uCCeN4ZHnmwm9FfpbsGWMZeBLMmmpY+6Ocqod7mkdZ0DT31OlbsFrLlkA==} 9767 9739 engines: {node: ^10 || ^12 || >=14} 9768 9740 9769 - postcss@8.5.3: 9770 - resolution: {integrity: sha512-dle9A3yYxlBSrt8Fu+IpjGT8SY8hN0mlaA6GY8t0P5PjIOZemULz/E2Bnm/2dcUOena75OTNkHI76uZBNUUq3A==} 9771 - engines: {node: ^10 || ^12 || >=14} 9772 - 9773 9741 postcss@8.5.4: 9774 9742 resolution: {integrity: sha512-QSa9EBe+uwlGTFmHsPKokv3B/oEMQZxfqW0QqNCyhpa6mB1afzulwn8hihglqAb2pOw+BJgNlmXQ8la2VeHB7w==} 9775 9743 engines: {node: ^10 || ^12 || >=14} ··· 11977 11945 engines: {node: '>= 14'} 11978 11946 hasBin: true 11979 11947 11980 - yaml@2.7.0: 11981 - resolution: {integrity: sha512-+hSoy/QHluxmC9kCIJyL/uyFmLmc+e5CFR5Wa+bpIhIj85LVb9ZH2nVnqrHoSvKogwODv0ClqZkmiSSaIH5LTA==} 11982 - engines: {node: '>= 14'} 11983 - hasBin: true 11984 - 11985 11948 yaml@2.8.0: 11986 11949 resolution: {integrity: sha512-4lLa/EcQCB0cJkyts+FpIRx5G/llPxfP6VQU5KByHEhLxY3IJCH0f0Hy1MHI8sClTvsIb8qwRJ6R/ZdlDJ/leQ==} 11987 11950 engines: {node: '>= 14.6'} ··· 14404 14367 14405 14368 '@mapbox/node-pre-gyp@2.0.0(encoding@0.1.13)': 14406 14369 dependencies: 14407 - consola: 3.4.0 14370 + consola: 3.4.2 14408 14371 detect-libc: 2.0.3 14409 14372 https-proxy-agent: 7.0.6(supports-color@9.4.0) 14410 14373 node-fetch: 2.7.0(encoding@0.1.13) ··· 14637 14600 14638 14601 '@nuxt/devtools-wizard@1.7.0': 14639 14602 dependencies: 14640 - consola: 3.4.0 14603 + consola: 3.4.2 14641 14604 diff: 7.0.0 14642 14605 execa: 7.2.0 14643 14606 global-directory: 4.0.1 ··· 14657 14620 '@vue/devtools-core': 7.6.8(vite@6.2.7(@types/node@22.10.5)(jiti@2.4.2)(less@4.2.2)(sass@1.85.0)(terser@5.39.0)(yaml@2.8.0))(vue@3.5.13(typescript@5.8.3)) 14658 14621 '@vue/devtools-kit': 7.6.8 14659 14622 birpc: 0.2.19 14660 - consola: 3.4.0 14623 + consola: 3.4.2 14661 14624 cronstrue: 2.56.0 14662 14625 destr: 2.0.3 14663 14626 error-stack-parser-es: 0.1.5 ··· 14704 14667 '@vue/devtools-core': 7.6.8(vite@6.2.7(@types/node@22.10.5)(jiti@2.4.2)(less@4.2.2)(sass@1.85.0)(terser@5.39.0)(yaml@2.8.0))(vue@3.5.13(typescript@5.8.3)) 14705 14668 '@vue/devtools-kit': 7.6.8 14706 14669 birpc: 0.2.19 14707 - consola: 3.4.0 14670 + consola: 3.4.2 14708 14671 cronstrue: 2.56.0 14709 14672 destr: 2.0.3 14710 14673 error-stack-parser-es: 0.1.5 ··· 14746 14709 dependencies: 14747 14710 '@nuxt/schema': 3.14.1592(magicast@0.3.5)(rollup@3.29.5) 14748 14711 c12: 2.0.1(magicast@0.3.5) 14749 - consola: 3.4.0 14712 + consola: 3.4.2 14750 14713 defu: 6.1.4 14751 14714 destr: 2.0.3 14752 14715 globby: 14.1.0 ··· 14773 14736 dependencies: 14774 14737 '@nuxt/schema': 3.14.1592(magicast@0.3.5)(rollup@4.41.1) 14775 14738 c12: 2.0.1(magicast@0.3.5) 14776 - consola: 3.4.0 14739 + consola: 3.4.2 14777 14740 defu: 6.1.4 14778 14741 destr: 2.0.3 14779 14742 globby: 14.1.0 ··· 14872 14835 dependencies: 14873 14836 c12: 2.0.1(magicast@0.3.5) 14874 14837 compatx: 0.1.8 14875 - consola: 3.4.0 14838 + consola: 3.4.2 14876 14839 defu: 6.1.4 14877 14840 hookable: 5.5.3 14878 14841 pathe: 1.1.2 ··· 14892 14855 dependencies: 14893 14856 c12: 2.0.1(magicast@0.3.5) 14894 14857 compatx: 0.1.8 14895 - consola: 3.4.0 14858 + consola: 3.4.2 14896 14859 defu: 6.1.4 14897 14860 hookable: 5.5.3 14898 14861 pathe: 1.1.2 ··· 14919 14882 dependencies: 14920 14883 '@nuxt/kit': 3.15.4(magicast@0.3.5) 14921 14884 citty: 0.1.6 14922 - consola: 3.4.0 14885 + consola: 3.4.2 14923 14886 destr: 2.0.3 14924 14887 dotenv: 16.4.7 14925 14888 git-url-parse: 16.0.1 ··· 14989 14952 '@vitejs/plugin-vue-jsx': 4.1.1(vite@5.4.19(@types/node@22.10.5)(less@4.2.2)(sass@1.85.0)(terser@5.39.0))(vue@3.5.13(typescript@5.8.3)) 14990 14953 autoprefixer: 10.4.20(postcss@8.5.4) 14991 14954 clear: 0.1.0 14992 - consola: 3.4.0 14955 + consola: 3.4.2 14993 14956 cssnano: 7.0.6(postcss@8.5.4) 14994 14957 defu: 6.1.4 14995 14958 esbuild: 0.24.2 ··· 15049 15012 '@vitejs/plugin-vue-jsx': 4.1.1(vite@5.4.19(@types/node@22.10.5)(less@4.2.2)(sass@1.85.0)(terser@5.39.0))(vue@3.5.13(typescript@5.8.3)) 15050 15013 autoprefixer: 10.4.20(postcss@8.5.4) 15051 15014 clear: 0.1.0 15052 - consola: 3.4.0 15015 + consola: 3.4.2 15053 15016 cssnano: 7.0.6(postcss@8.5.4) 15054 15017 defu: 6.1.4 15055 15018 esbuild: 0.24.2 ··· 16519 16482 '@types/eslint-scope@3.7.7': 16520 16483 dependencies: 16521 16484 '@types/eslint': 9.6.0 16522 - '@types/estree': 1.0.6 16485 + '@types/estree': 1.0.7 16523 16486 16524 16487 '@types/eslint@9.6.0': 16525 16488 dependencies: ··· 17013 16976 '@vue/shared': 3.5.13 17014 16977 estree-walker: 2.0.2 17015 16978 magic-string: 0.30.17 17016 - postcss: 8.5.3 16979 + postcss: 8.5.4 17017 16980 source-map-js: 1.2.1 17018 16981 17019 16982 '@vue/compiler-ssr@3.5.13': ··· 17909 17872 17910 17873 citty@0.1.6: 17911 17874 dependencies: 17912 - consola: 3.4.0 17875 + consola: 3.4.2 17913 17876 17914 17877 cjs-module-lexer@1.4.3: {} 17915 17878 ··· 19165 19128 19166 19129 estree-walker@3.0.3: 19167 19130 dependencies: 19168 - '@types/estree': 1.0.6 19131 + '@types/estree': 1.0.7 19169 19132 19170 19133 esutils@2.0.3: {} 19171 19134 ··· 19645 19608 giget@2.0.0: 19646 19609 dependencies: 19647 19610 citty: 0.1.6 19648 - consola: 3.4.0 19611 + consola: 3.4.2 19649 19612 defu: 6.1.4 19650 19613 node-fetch-native: 1.6.6 19651 19614 nypm: 0.6.0 ··· 19985 19948 mlly: 1.7.4 19986 19949 mocked-exports: 0.1.1 19987 19950 pathe: 2.0.3 19988 - unplugin: 2.2.0 19951 + unplugin: 2.3.2 19989 19952 transitivePeerDependencies: 19990 19953 - rollup 19991 19954 ··· 19995 19958 mlly: 1.7.4 19996 19959 mocked-exports: 0.1.1 19997 19960 pathe: 2.0.3 19998 - unplugin: 2.2.0 19961 + unplugin: 2.3.2 19999 19962 transitivePeerDependencies: 20000 19963 - rollup 20001 19964 ··· 20608 20571 '@parcel/watcher-wasm': 2.5.1 20609 20572 citty: 0.1.6 20610 20573 clipboardy: 4.0.0 20611 - consola: 3.4.0 20574 + consola: 3.4.2 20612 20575 crossws: 0.3.4 20613 20576 defu: 6.1.4 20614 20577 get-port-please: 3.1.2 ··· 21124 21087 citty: 0.1.6 21125 21088 compatx: 0.1.8 21126 21089 confbox: 0.2.1 21127 - consola: 3.4.0 21090 + consola: 3.4.2 21128 21091 cookie-es: 2.0.0 21129 21092 croner: 9.0.0 21130 21093 crossws: 0.3.4 ··· 21174 21137 uncrypto: 0.1.3 21175 21138 unctx: 2.4.1 21176 21139 unenv: 2.0.0-rc.14 21177 - unimport: 4.1.2 21140 + unimport: 4.2.0 21178 21141 unplugin-utils: 0.2.4 21179 21142 unstorage: 1.15.0(db0@0.3.1)(ioredis@5.6.0) 21180 21143 untyped: 2.0.0 ··· 21366 21329 c12: 2.0.1(magicast@0.3.5) 21367 21330 chokidar: 4.0.3 21368 21331 compatx: 0.1.8 21369 - consola: 3.4.0 21332 + consola: 3.4.2 21370 21333 cookie-es: 1.2.2 21371 21334 defu: 6.1.4 21372 21335 destr: 2.0.3 ··· 21486 21449 c12: 2.0.1(magicast@0.3.5) 21487 21450 chokidar: 4.0.3 21488 21451 compatx: 0.1.8 21489 - consola: 3.4.0 21452 + consola: 3.4.2 21490 21453 cookie-es: 1.2.2 21491 21454 defu: 6.1.4 21492 21455 destr: 2.0.3 ··· 21594 21557 nypm@0.3.12: 21595 21558 dependencies: 21596 21559 citty: 0.1.6 21597 - consola: 3.4.0 21560 + consola: 3.4.2 21598 21561 execa: 8.0.1 21599 21562 pathe: 1.1.2 21600 21563 pkg-types: 1.3.1 ··· 21603 21566 nypm@0.4.1: 21604 21567 dependencies: 21605 21568 citty: 0.1.6 21606 - consola: 3.4.0 21569 + consola: 3.4.2 21607 21570 pathe: 1.1.2 21608 21571 pkg-types: 1.3.1 21609 21572 tinyexec: 0.3.2 ··· 21612 21575 nypm@0.5.4: 21613 21576 dependencies: 21614 21577 citty: 0.1.6 21615 - consola: 3.4.0 21578 + consola: 3.4.2 21616 21579 pathe: 2.0.3 21617 21580 pkg-types: 1.3.1 21618 21581 tinyexec: 0.3.2 ··· 21621 21584 nypm@0.6.0: 21622 21585 dependencies: 21623 21586 citty: 0.1.6 21624 - consola: 3.4.0 21587 + consola: 3.4.2 21625 21588 pathe: 2.0.3 21626 21589 pkg-types: 2.1.0 21627 21590 tinyexec: 0.3.2 ··· 22290 22253 postcss@8.5.2: 22291 22254 dependencies: 22292 22255 nanoid: 3.3.9 22293 - picocolors: 1.1.1 22294 - source-map-js: 1.2.1 22295 - 22296 - postcss@8.5.3: 22297 - dependencies: 22298 - nanoid: 3.3.11 22299 22256 picocolors: 1.1.1 22300 22257 source-map-js: 1.2.1 22301 22258 ··· 23904 23861 '@rollup/pluginutils': 5.1.4(rollup@3.29.5) 23905 23862 chalk: 5.4.1 23906 23863 citty: 0.1.6 23907 - consola: 3.4.0 23864 + consola: 3.4.2 23908 23865 defu: 6.1.4 23909 23866 esbuild: 0.19.12 23910 23867 globby: 13.2.2 ··· 23936 23893 23937 23894 unctx@2.4.1: 23938 23895 dependencies: 23939 - acorn: 8.14.0 23896 + acorn: 8.14.1 23940 23897 estree-walker: 3.0.3 23941 23898 magic-string: 0.30.17 23942 - unplugin: 2.2.0 23899 + unplugin: 2.3.2 23943 23900 23944 23901 undici-types@6.20.0: {} 23945 23902 23946 23903 unenv@1.10.0: 23947 23904 dependencies: 23948 - consola: 3.4.0 23905 + consola: 3.4.2 23949 23906 defu: 6.1.4 23950 23907 mime: 3.0.0 23951 23908 node-fetch-native: 1.6.6 ··· 23984 23941 unimport@3.14.6(rollup@3.29.5): 23985 23942 dependencies: 23986 23943 '@rollup/pluginutils': 5.1.4(rollup@3.29.5) 23987 - acorn: 8.14.0 23944 + acorn: 8.14.1 23988 23945 escape-string-regexp: 5.0.0 23989 23946 estree-walker: 3.0.3 23990 23947 fast-glob: 3.3.3 ··· 24003 23960 unimport@3.14.6(rollup@4.41.1): 24004 23961 dependencies: 24005 23962 '@rollup/pluginutils': 5.1.4(rollup@4.41.1) 24006 - acorn: 8.14.0 23963 + acorn: 8.14.1 24007 23964 escape-string-regexp: 5.0.0 24008 23965 estree-walker: 3.0.3 24009 23966 fast-glob: 3.3.3 ··· 24033 23990 scule: 1.3.0 24034 23991 strip-literal: 3.0.0 24035 23992 tinyglobby: 0.2.12 24036 - unplugin: 2.2.0 23993 + unplugin: 2.3.2 24037 23994 unplugin-utils: 0.2.4 24038 23995 24039 23996 unimport@4.2.0: ··· 24112 24069 pathe: 1.1.2 24113 24070 scule: 1.3.0 24114 24071 unplugin: 2.0.0-beta.1 24115 - yaml: 2.7.0 24072 + yaml: 2.8.0 24116 24073 optionalDependencies: 24117 24074 vue-router: 4.5.0(vue@3.5.13(typescript@5.8.3)) 24118 24075 transitivePeerDependencies: ··· 24134 24091 pathe: 1.1.2 24135 24092 scule: 1.3.0 24136 24093 unplugin: 2.0.0-beta.1 24137 - yaml: 2.7.0 24094 + yaml: 2.8.0 24138 24095 optionalDependencies: 24139 24096 vue-router: 4.5.0(vue@3.5.13(typescript@5.8.3)) 24140 24097 transitivePeerDependencies: ··· 24179 24136 untun@0.1.3: 24180 24137 dependencies: 24181 24138 citty: 0.1.6 24182 - consola: 3.4.0 24139 + consola: 3.4.2 24183 24140 pathe: 1.1.2 24184 24141 24185 24142 untyped@1.5.2: ··· 24927 24884 yaml@1.10.2: {} 24928 24885 24929 24886 yaml@2.6.1: {} 24930 - 24931 - yaml@2.7.0: {} 24932 24887 24933 24888 yaml@2.8.0: {} 24934 24889