diff --git a/package.json b/package.json index be0def5..8c97515 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "prepare": "nuxi prepare playground" }, "dependencies": { - "@nuxt/kit": "3.0.0-rc.8", + "@nuxt/kit": "3.0.0-rc.9", "@trpc/client": "^9.27.1", "@trpc/server": "^9.27.1", "dedent": "^0.7.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c56f89d..d630a23 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -6,7 +6,7 @@ importers: specifiers: '@antfu/eslint-config': ^0.23.1 '@antfu/ni': ^0.16.2 - '@nuxt/kit': 3.0.0-rc.8 + '@nuxt/kit': 3.0.0-rc.9 '@nuxt/module-builder': ^0.1.7 '@trpc/client': ^9.27.1 '@trpc/server': ^9.27.1 @@ -24,7 +24,7 @@ importers: ufo: ^0.8.5 zod: ^3.16.0 dependencies: - '@nuxt/kit': 3.0.0-rc.8 + '@nuxt/kit': 3.0.0-rc.9 '@trpc/client': 9.27.1_@trpc+server@9.27.1 '@trpc/server': 9.27.1 dedent: 0.7.0 @@ -171,6 +171,12 @@ packages: /@babel/compat-data/7.18.8: resolution: {integrity: sha512-HSmX4WZPPK3FUxYp7g2T6EyO8j96HlZJlxmKPSh6KAcqwyDrfx7hKjXpAW/0FhFfTJsR0Yt4lAjLI2coMptIHQ==} engines: {node: '>=6.9.0'} + dev: true + + /@babel/compat-data/7.19.0: + resolution: {integrity: sha512-y5rqgTTPTmaF5e2nVhOxw+Ur9HDJLsWb6U/KpgUzRZEdPfE6VOubXBKLdbcUTijzRptednSBDQbYZBOSqJxpJw==} + engines: {node: '>=6.9.0'} + dev: false /@babel/core/7.18.10: resolution: {integrity: sha512-JQM6k6ENcBFKVtWvLavlvi/mPcpYZ3+R+2EySDEMSMbp7Mn4FexlbbJVrx2R7Ijhr01T8gyqrOaABWIOgxeUyw==} @@ -193,6 +199,30 @@ packages: semver: 6.3.0 transitivePeerDependencies: - supports-color + dev: true + + /@babel/core/7.19.0: + resolution: {integrity: sha512-reM4+U7B9ss148rh2n1Qs9ASS+w94irYXga7c2jaQv9RVzpS7Mv1a9rnYYwuDa45G+DkORt9g6An2k/V4d9LbQ==} + engines: {node: '>=6.9.0'} + dependencies: + '@ampproject/remapping': 2.2.0 + '@babel/code-frame': 7.18.6 + '@babel/generator': 7.19.0 + '@babel/helper-compilation-targets': 7.19.0_@babel+core@7.19.0 + '@babel/helper-module-transforms': 7.19.0 + '@babel/helpers': 7.19.0 + '@babel/parser': 7.19.0 + '@babel/template': 7.18.10 + '@babel/traverse': 7.19.0 + '@babel/types': 7.19.0 + convert-source-map: 1.8.0 + debug: 4.3.4 + gensync: 1.0.0-beta.2 + json5: 2.2.1 + semver: 6.3.0 + transitivePeerDependencies: + - supports-color + dev: false /@babel/generator/7.18.12: resolution: {integrity: sha512-dfQ8ebCN98SvyL7IxNMCUtZQSq5R7kxgN+r8qYTGDmmSion1hX2C0zq2yo1bsCDhXixokv1SAWTZUMYbO/V5zg==} @@ -201,6 +231,16 @@ packages: '@babel/types': 7.18.10 '@jridgewell/gen-mapping': 0.3.2 jsesc: 2.5.2 + dev: true + + /@babel/generator/7.19.0: + resolution: {integrity: sha512-S1ahxf1gZ2dpoiFgA+ohK9DIpz50bJ0CWs7Zlzb54Z4sG8qmdIrGrVqmy1sAtTVRb+9CU6U8VqT9L0Zj7hxHVg==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/types': 7.19.0 + '@jridgewell/gen-mapping': 0.3.2 + jsesc: 2.5.2 + dev: false /@babel/helper-annotate-as-pure/7.18.6: resolution: {integrity: sha512-duORpUiYrEpzKIop6iNbjnwKLAKnJ47csTyRACyEmWj0QdUrm5aqNJGHSSEQSUAvNW0ojX0dOmK9dZduvkfeXA==} @@ -220,6 +260,20 @@ packages: '@babel/helper-validator-option': 7.18.6 browserslist: 4.21.3 semver: 6.3.0 + dev: true + + /@babel/helper-compilation-targets/7.19.0_@babel+core@7.19.0: + resolution: {integrity: sha512-Ai5bNWXIvwDvWM7njqsG3feMlL9hCVQsPYXodsZyLwshYkZVJt59Gftau4VrE8S9IT9asd2uSP1hG6wCNw+sXA==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0 + dependencies: + '@babel/compat-data': 7.19.0 + '@babel/core': 7.19.0 + '@babel/helper-validator-option': 7.18.6 + browserslist: 4.21.3 + semver: 6.3.0 + dev: false /@babel/helper-create-class-features-plugin/7.18.6_@babel+core@7.18.10: resolution: {integrity: sha512-YfDzdnoxHGV8CzqHGyCbFvXg5QESPFkXlHtvdCkesLjjVMT2Adxe4FGUR5ChIb3DxSaXO12iIOCWoXdsUVwnqw==} @@ -249,6 +303,15 @@ packages: dependencies: '@babel/template': 7.18.10 '@babel/types': 7.18.10 + dev: true + + /@babel/helper-function-name/7.19.0: + resolution: {integrity: sha512-WAwHBINyrpqywkUH0nTnNgI5ina5TFn85HKS0pbPDfxFfhyR/aNQEn4hGi1P1JyT//I0t4OgXUlofzWILRvS5w==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/template': 7.18.10 + '@babel/types': 7.19.0 + dev: false /@babel/helper-hoist-variables/7.18.6: resolution: {integrity: sha512-UlJQPkFqFULIcyW5sbzgbkxn2FKRgwWiRexcuaR8RNJRy8+LLveqPjwZV/bwrLZCN0eUHD/x8D0heK1ozuoo6Q==} @@ -283,6 +346,23 @@ packages: '@babel/types': 7.18.10 transitivePeerDependencies: - supports-color + dev: true + + /@babel/helper-module-transforms/7.19.0: + resolution: {integrity: sha512-3HBZ377Fe14RbLIA+ac3sY4PTgpxHVkFrESaWhoI5PuyXPBBX8+C34qblV9G89ZtycGJCmCI/Ut+VUDK4bltNQ==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/helper-environment-visitor': 7.18.9 + '@babel/helper-module-imports': 7.18.6 + '@babel/helper-simple-access': 7.18.6 + '@babel/helper-split-export-declaration': 7.18.6 + '@babel/helper-validator-identifier': 7.18.6 + '@babel/template': 7.18.10 + '@babel/traverse': 7.19.0 + '@babel/types': 7.19.0 + transitivePeerDependencies: + - supports-color + dev: false /@babel/helper-optimise-call-expression/7.18.6: resolution: {integrity: sha512-HP59oD9/fEHQkdcbgFCnbmgH5vIQTJbxh2yf+CdM89/glUNnuzr87Q8GIjGEnOktTROemO0Pe0iPAYbqZuOUiA==} @@ -342,6 +422,18 @@ packages: '@babel/types': 7.18.10 transitivePeerDependencies: - supports-color + dev: true + + /@babel/helpers/7.19.0: + resolution: {integrity: sha512-DRBCKGwIEdqY3+rPJgG/dKfQy9+08rHIAJx8q2p+HSWP87s2HCrQmaAMMyMll2kIXKCW0cO1RdQskx15Xakftg==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/template': 7.18.10 + '@babel/traverse': 7.19.0 + '@babel/types': 7.19.0 + transitivePeerDependencies: + - supports-color + dev: false /@babel/highlight/7.18.6: resolution: {integrity: sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g==} @@ -358,6 +450,14 @@ packages: dependencies: '@babel/types': 7.18.10 + /@babel/parser/7.19.0: + resolution: {integrity: sha512-74bEXKX2h+8rrfQUfsBfuZZHzsEs6Eql4pqy/T4Nn6Y9wNPggQOqD6z6pn5Bl8ZfysKouFZT/UXEH94ummEeQw==} + engines: {node: '>=6.0.0'} + hasBin: true + dependencies: + '@babel/types': 7.19.0 + dev: false + /@babel/plugin-syntax-import-meta/7.10.4_@babel+core@7.18.10: resolution: {integrity: sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==} peerDependencies: @@ -411,6 +511,12 @@ packages: /@babel/standalone/7.18.12: resolution: {integrity: sha512-wDh3K5IUJiSMAY0MLYBFoCaj2RCZwvDz5BHn2uHat9KOsGWEVDFgFQFIOO+81Js2phFKNppLC45iOCsZVfJniw==} engines: {node: '>=6.9.0'} + dev: true + + /@babel/standalone/7.19.0: + resolution: {integrity: sha512-P8lYynBl10MYpgkhGEV1fOsGDE/6lQSYp+e2YvqUPMWHT4JaQrOkM49FizjswrRzJ6KZTgG6ZY90/1GYvAR3/Q==} + engines: {node: '>=6.9.0'} + dev: false /@babel/template/7.18.10: resolution: {integrity: sha512-TI+rCtooWHr3QJ27kJxfjutghu44DLnasDMwpDqCXVTal9RLp3RSYNh4NdBrRP2cQAoG9A8juOQl6P6oZG4JxA==} @@ -436,6 +542,25 @@ packages: globals: 11.12.0 transitivePeerDependencies: - supports-color + dev: true + + /@babel/traverse/7.19.0: + resolution: {integrity: sha512-4pKpFRDh+utd2mbRC8JLnlsMUii3PMHjpL6a0SZ4NMZy7YFP9aXORxEhdMVOc9CpWtDF09IkciQLEhK7Ml7gRA==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/code-frame': 7.18.6 + '@babel/generator': 7.19.0 + '@babel/helper-environment-visitor': 7.18.9 + '@babel/helper-function-name': 7.19.0 + '@babel/helper-hoist-variables': 7.18.6 + '@babel/helper-split-export-declaration': 7.18.6 + '@babel/parser': 7.19.0 + '@babel/types': 7.19.0 + debug: 4.3.4 + globals: 11.12.0 + transitivePeerDependencies: + - supports-color + dev: false /@babel/types/7.18.10: resolution: {integrity: sha512-MJvnbEiiNkpjo+LknnmRrqbY1GPUUggjv+wQVjetM/AONoupqRALB7I6jGqNUAZsKcRIEu2J6FRFvsczljjsaQ==} @@ -452,6 +577,15 @@ packages: '@babel/helper-validator-identifier': 7.18.6 to-fast-properties: 2.0.0 + /@babel/types/7.19.0: + resolution: {integrity: sha512-YuGopBq3ke25BVSiS6fgF49Ul9gH1x70Bcr6bqRLjWCkcX8Hre1/5+z+IiWOIerRMSSEfGZVB9z9kyq7wVs9YA==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/helper-string-parser': 7.18.10 + '@babel/helper-validator-identifier': 7.18.6 + to-fast-properties: 2.0.0 + dev: false + /@cloudflare/kv-asset-handler/0.2.0: resolution: {integrity: sha512-MVbXLbTcAotOPUj0pAMhVtJ+3/kFkwJqc5qNOleOZTv6QkZZABDMS21dSrSlVswEHwrpWC03e4fWytjqKvuE2A==} dependencies: @@ -666,6 +800,7 @@ packages: - supports-color - vite - webpack + dev: true /@nuxt/kit/3.0.0-rc.8_xe55hlu5qzidff2nekbcnfipbi: resolution: {integrity: sha512-FkbO7DPkJxuLqeiWEMUI8OWXaQ4qzmreIjslIPrc9buYdB9nbJqVVzQRicxcKzF09R7VwpJTiG6onIZq6iGuDQ==} @@ -697,6 +832,36 @@ packages: - webpack dev: true + /@nuxt/kit/3.0.0-rc.9: + resolution: {integrity: sha512-Y+db0iw/1pKiLMEG7L/6HCq8O9xsbVJT/ksePY1Q8o3fV40Q9gCWI0YumCIzVdBiAFFEOCNASsxmGj7kPSdpCA==} + engines: {node: ^14.16.0 || ^16.11.0 || ^17.0.0 || ^18.0.0} + dependencies: + '@nuxt/schema': 3.0.0-rc.9 + c12: 0.2.11 + consola: 2.15.3 + defu: 6.1.0 + globby: 13.1.2 + hash-sum: 2.0.0 + ignore: 5.2.0 + jiti: 1.14.0 + knitwork: 0.1.2 + lodash.template: 4.5.0 + mlly: 0.5.14 + pathe: 0.3.7 + pkg-types: 0.3.5 + scule: 0.3.2 + semver: 7.3.7 + unctx: 2.0.2 + unimport: 0.6.7 + untyped: 0.4.7 + transitivePeerDependencies: + - esbuild + - rollup + - supports-color + - vite + - webpack + dev: false + /@nuxt/module-builder/0.1.7: resolution: {integrity: sha512-ueTrJhXrKKxGp6VAe2C/nOqTeRoy0qfq9RH2QVl0kq0duDyQHCe1e8dw8yBbYjTlSvfqBPYaraxpX8i2zis2cw==} hasBin: true @@ -729,6 +894,7 @@ packages: - rollup - vite - webpack + dev: true /@nuxt/schema/3.0.0-rc.8_xe55hlu5qzidff2nekbcnfipbi: resolution: {integrity: sha512-ODl9cmjH8fupvXjzITIvYT4OzapNvLrvWq9QUUgLhgv3Uxl2iX2J03oLj2aCQgfhte4mJhgHsBrtXvDLF/1GwA==} @@ -751,6 +917,27 @@ packages: - webpack dev: true + /@nuxt/schema/3.0.0-rc.9: + resolution: {integrity: sha512-oxrsJE3v7WC8tqTPxutK4LFxR/6u00Zt2PfPm1XTWwx8fojDk4C5iCv5mxydHwXffsIp5JeP5hddd/oqnbDSpQ==} + engines: {node: ^14.16.0 || ^16.11.0 || ^17.0.0 || ^18.0.0} + dependencies: + c12: 0.2.11 + create-require: 1.1.1 + defu: 6.1.0 + jiti: 1.14.0 + pathe: 0.3.7 + postcss-import-resolver: 2.0.0 + scule: 0.3.2 + std-env: 3.2.1 + ufo: 0.8.5 + unimport: 0.6.7 + transitivePeerDependencies: + - esbuild + - rollup + - vite + - webpack + dev: false + /@nuxt/telemetry/2.1.4: resolution: {integrity: sha512-Yq/WJiuRbQOWWZe9aCsGts2hAjr0r6io3LT23ULzcUod4U6pBQWk3XhSLMWrjRpkvPqSe6oqDVv0WhdSKaFI8g==} hasBin: true @@ -1638,6 +1825,19 @@ packages: semver: 7.3.7 dev: true + /c12/0.2.11: + resolution: {integrity: sha512-DOy85AO8HN66IgqCDUmMrLb+r4/z8f8Cu8oUIfERbzi/vxZ/GS99SU7lIMz0EQgJktZp6FtcisuiyCdQ6VaTTQ==} + dependencies: + defu: 6.1.0 + dotenv: 16.0.2 + gittar: 0.1.1 + jiti: 1.15.0 + mlly: 0.5.14 + pathe: 0.3.7 + pkg-types: 0.3.5 + rc9: 1.2.2 + dev: false + /c12/0.2.9: resolution: {integrity: sha512-6jYdexgAKr+3kYoTmvC5eDtDHUg7GmFQSdeQqZzAKiPlFAN1heGUoXDbAYYwUCfefZy+WgVJbmAej5TTQpp3jA==} dependencies: @@ -1648,6 +1848,7 @@ packages: mlly: 0.5.12 pathe: 0.3.4 rc9: 1.2.2 + dev: true /call-bind/1.0.2: resolution: {integrity: sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==} @@ -2103,6 +2304,10 @@ packages: /defu/6.0.0: resolution: {integrity: sha512-t2MZGLf1V2rV4VBZbWIaXKdX/mUcYW0n2znQZoADBkGGxYL8EWqCuCZBmJPJ/Yy9fofJkyuuSuo5GSwo0XdEgw==} + /defu/6.1.0: + resolution: {integrity: sha512-pOFYRTIhoKujrmbTRhcW5lYQLBXw/dlTwfI8IguF1QCDJOcJzNH1w+YFjxqy6BAuJrClTy6MUE8q+oKJ2FLsIw==} + dev: false + /delegates/1.0.0: resolution: {integrity: sha512-bd2L678uiWATM6m5Z1VzNCErI3jiGzt6HGY8OVICs40JQq/HALfbyNJmp0UDakEY4pMMaN0Ly5om/B1VI/+xfQ==} dev: true @@ -2187,6 +2392,12 @@ packages: /dotenv/16.0.1: resolution: {integrity: sha512-1K6hR6wtk2FviQ4kEiSjFiH5rpzEVi8WW0x96aztHVMhEspNpc4DVOUTEHtEva5VThQ8IaBX1Pe4gSzpVVUsKQ==} engines: {node: '>=12'} + dev: true + + /dotenv/16.0.2: + resolution: {integrity: sha512-JvpYKUmzQhYoIFgK2MOnF3bciIZoItIIoryihy0rIA+H4Jy0FmgyKYAHCTN98P5ybGSJcIFbh6QKeJdtZd1qhA==} + engines: {node: '>=12'} + dev: false /duplexer/0.1.2: resolution: {integrity: sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg==} @@ -3931,6 +4142,11 @@ packages: resolution: {integrity: sha512-4IwstlaKQc9vCTC+qUXLM1hajy2ImiL9KnLvVYiaHOtS/v3wRjhLlGl121AmgDgx/O43uKmxownJghS5XMya2A==} hasBin: true + /jiti/1.15.0: + resolution: {integrity: sha512-cClBkETOCVIpPMjX3ULlivuBvmt8l2Xtz+SHrULO06OqdtV0QFR2cuhc4FJnXByjUUX4CY0pl1nph0aFh9D3yA==} + hasBin: true + dev: false + /joycon/3.1.1: resolution: {integrity: sha512-34wB/Y7MW7bzjKRjUKTa46I2Z7eV62Rkhva+KkopW7Qvv/OSWBqvkSY7vusOPrNuZcUG3tApvdVgNB8POj3SPw==} engines: {node: '>=10'} @@ -3988,6 +4204,9 @@ packages: /jsonc-parser/3.1.0: resolution: {integrity: sha512-DRf0QjnNeCUds3xTjKlQQ3DpJD51GvDjJfnxUVWg6PZTo2otSm+slzNAxU/35hF8/oJIKoG9slq30JYOsF2azg==} + /jsonc-parser/3.2.0: + resolution: {integrity: sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==} + /jsonfile/6.1.0: resolution: {integrity: sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==} dependencies: @@ -4317,7 +4536,7 @@ packages: hasBin: true dev: true - /mkdist/0.3.13_typescript@4.7.4: + /mkdist/0.3.13_typescript@4.8.2: resolution: {integrity: sha512-+eCPpkr8l2X630y5PIlkts2tzYEsb+aGIgXdrQv9ZGtWE2bLlD6kVIFfI6FJwFpjjw4dPPyorxQc6Uhm/oXlvg==} hasBin: true peerDependencies: @@ -4333,7 +4552,7 @@ packages: jiti: 1.14.0 mri: 1.2.0 pathe: 0.2.0 - typescript: 4.7.4 + typescript: 4.8.2 dev: true /mlly/0.3.19: @@ -4352,6 +4571,14 @@ packages: pkg-types: 0.3.3 ufo: 0.8.5 + /mlly/0.5.14: + resolution: {integrity: sha512-DgRgNUSX9NIxxCxygX4Xeg9C7GX7OUx1wuQ8cXx9o9LE0e9wrH+OZ9fcnrlEedsC/rtqry3ZhUddC759XD/L0w==} + dependencies: + acorn: 8.8.0 + pathe: 0.3.7 + pkg-types: 0.3.5 + ufo: 0.8.5 + /mri/1.2.0: resolution: {integrity: sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==} engines: {node: '>=4'} @@ -4895,6 +5122,9 @@ packages: /pathe/0.3.4: resolution: {integrity: sha512-YWgqEdxf36R6vcsyj0A+yT/rDRPe0wui4J9gRR7T4whjU5Lx/jZOr75ckEgTNaLVQABAwsrlzHRpIKcCdXAQ5A==} + /pathe/0.3.7: + resolution: {integrity: sha512-yz7GK+kSsS27x727jtXpd5VT4dDfP/JDIQmaowfxyWCnFjOWtE1VIh7i6TzcSfzW0n4+bRQztj1VdKnITNq/MA==} + /perfect-debounce/0.1.3: resolution: {integrity: sha512-NOT9AcKiDGpnV/HBhI22Str++XWcErO/bALvHCuhv33owZW/CjH8KAFLZDCmu3727sihe0wTxpDhyGc6M8qacQ==} dev: true @@ -4918,6 +5148,13 @@ packages: mlly: 0.5.12 pathe: 0.3.4 + /pkg-types/0.3.5: + resolution: {integrity: sha512-VkxCBFVgQhNHYk9subx+HOhZ4jzynH11ah63LZsprTKwPCWG9pfWBlkElWFbvkP9BVR0dP1jS9xPdhaHQNK74Q==} + dependencies: + jsonc-parser: 3.2.0 + mlly: 0.5.14 + pathe: 0.3.7 + /pluralize/8.0.0: resolution: {integrity: sha512-Nc3IT5yHzflTfbjgqWcCPpo7DaKy4FnpB0l/zCAW0Tc7jxAiuqSxHasntB3D7887LSrA93kDJ9IXovxJYxyLCA==} engines: {node: '>=4'} @@ -5484,7 +5721,7 @@ packages: glob: 7.2.3 dev: true - /rollup-plugin-dts/4.2.2_nm5mlcuxlwr6samvke7b2fz27i: + /rollup-plugin-dts/4.2.2_zgp7njzk6jt7kcnb7uh2rcfqmy: resolution: {integrity: sha512-A3g6Rogyko/PXeKoUlkjxkP++8UDVpgA7C+Tdl77Xj4fgEaIjPSnxRmR53EzvoYy97VMVwLAOcWJudaVAuxneQ==} engines: {node: '>=v12.22.11'} peerDependencies: @@ -5493,7 +5730,7 @@ packages: dependencies: magic-string: 0.26.2 rollup: 2.78.0 - typescript: 4.7.4 + typescript: 4.8.2 optionalDependencies: '@babel/code-frame': 7.18.6 dev: true @@ -6092,8 +6329,8 @@ packages: engines: {node: '>=12.20'} dev: true - /typescript/4.7.4: - resolution: {integrity: sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ==} + /typescript/4.8.2: + resolution: {integrity: sha512-C0I1UsrrDHo2fYI5oaCGbSejwX4ch+9Y5jTQELvovfmFkK3HHSZJB8MSJcWLmCUBzQBchCrZ9rMRV6GuNrvGtw==} engines: {node: '>=4.2.0'} hasBin: true dev: true @@ -6133,7 +6370,7 @@ packages: jiti: 1.14.0 magic-string: 0.25.9 mkdirp: 1.0.4 - mkdist: 0.3.13_typescript@4.7.4 + mkdist: 0.3.13_typescript@4.8.2 mlly: 0.4.3 mri: 1.2.0 pathe: 0.2.0 @@ -6141,10 +6378,10 @@ packages: pretty-bytes: 5.6.0 rimraf: 3.0.2 rollup: 2.78.0 - rollup-plugin-dts: 4.2.2_nm5mlcuxlwr6samvke7b2fz27i + rollup-plugin-dts: 4.2.2_zgp7njzk6jt7kcnb7uh2rcfqmy rollup-plugin-esbuild: 4.9.2_2yhceorlees6ev364fcurqi67q scule: 0.2.1 - typescript: 4.7.4 + typescript: 4.8.2 untyped: 0.3.0 transitivePeerDependencies: - supports-color @@ -6176,6 +6413,7 @@ packages: - rollup - vite - webpack + dev: true /unctx/2.0.1_xe55hlu5qzidff2nekbcnfipbi: resolution: {integrity: sha512-4VkJKSG+lh1yYkvdI0Xd3Gm7y7PU6F0mG5SoJqCI1j2jtIaHvTLAdBfbhDjbHxT93BsRkzcaxaeBtu8W/mX1Sg==} @@ -6191,6 +6429,20 @@ packages: - webpack dev: true + /unctx/2.0.2: + resolution: {integrity: sha512-3lcXTlDoOaguRVC1GqG3mrawy17yoycSAQDDnUayQYZ17v9to+Gn6Zyssroc/GD2ppJ0wF5V8adOcKkrNKVWow==} + dependencies: + acorn: 8.8.0 + estree-walker: 3.0.1 + magic-string: 0.26.2 + unplugin: 0.9.5 + transitivePeerDependencies: + - esbuild + - rollup + - vite + - webpack + dev: false + /undici/5.7.0: resolution: {integrity: sha512-ORgxwDkiPS+gK2VxE7iyVeR7JliVn5DqhZ4LgQqYLBXsuK+lwOEmnJ66dhvlpLM0tC3fC7eYF1Bti2frbw2eAA==} engines: {node: '>=12.18'} @@ -6213,8 +6465,8 @@ packages: fast-glob: 3.2.11 local-pkg: 0.4.2 magic-string: 0.26.2 - mlly: 0.5.12 - pathe: 0.3.4 + mlly: 0.5.14 + pathe: 0.3.7 scule: 0.2.1 strip-literal: 0.4.0 unplugin: 0.7.2 @@ -6361,6 +6613,7 @@ packages: chokidar: 3.5.3 webpack-sources: 3.2.3 webpack-virtual-modules: 0.4.4 + dev: true /unplugin/0.8.1_xe55hlu5qzidff2nekbcnfipbi: resolution: {integrity: sha512-o7rUZoPLG1fH4LKinWgb77gDtTE6mw/iry0Pq0Z5UPvZ9+HZ1/4+7fic7t58s8/CGkPrDpGq+RltO+DmswcR4g==} @@ -6461,6 +6714,29 @@ packages: webpack-virtual-modules: 0.4.4 dev: true + /unplugin/0.9.5: + resolution: {integrity: sha512-luraheyfxwtvkvHpsOvMNv7IjLdORTWKZp0gWYNHGLi2ImON3iIZOj464qEyyEwLA/EMt12fC415HW9zRpOfTg==} + peerDependencies: + esbuild: '>=0.13' + rollup: ^2.50.0 + vite: ^2.3.0 || ^3.0.0-0 + webpack: 4 || 5 + peerDependenciesMeta: + esbuild: + optional: true + rollup: + optional: true + vite: + optional: true + webpack: + optional: true + dependencies: + acorn: 8.8.0 + chokidar: 3.5.3 + webpack-sources: 3.2.3 + webpack-virtual-modules: 0.4.4 + dev: false + /unstorage/0.5.6: resolution: {integrity: sha512-TUm1ZyLkVamRfM+uWmWtavlzri3XS0ajYXKhlrAZ8aCChMwH29lufOfAP0bsMaBHuciIVfycaGgNhHeyLONpdA==} dependencies: @@ -6493,6 +6769,18 @@ packages: scule: 0.3.2 transitivePeerDependencies: - supports-color + dev: true + + /untyped/0.4.7: + resolution: {integrity: sha512-hBgCv7fnqIRzAagn2cUZxxVmhTE7NcMAgI8CfQelFVacG4O55VrurigpK0G504ph4sQSqVsGEo52O5EKFCnJ9g==} + dependencies: + '@babel/core': 7.19.0 + '@babel/standalone': 7.19.0 + '@babel/types': 7.19.0 + scule: 0.3.2 + transitivePeerDependencies: + - supports-color + dev: false /update-browserslist-db/1.0.5_browserslist@4.21.3: resolution: {integrity: sha512-dteFFpCyvuDdr9S/ff1ISkKt/9YZxKjI9WlRR99c180GaztJtRa/fn18FdxGVKVsnPY7/a/FDN68mcvUmP4U7Q==} diff --git a/src/module.ts b/src/module.ts index 104a37c..f34eb3c 100644 --- a/src/module.ts +++ b/src/module.ts @@ -3,7 +3,7 @@ import { join, resolve } from 'pathe' import { defu } from 'defu' import dedent from 'dedent' -import { addAutoImport, addPlugin, addServerHandler, addTemplate, defineNuxtModule } from '@nuxt/kit' +import { addImports, addPlugin, addServerHandler, addTemplate, defineNuxtModule } from '@nuxt/kit' export interface ModuleOptions { baseURL: string @@ -32,7 +32,7 @@ export default defineNuxtModule({ endpoint: options.endpoint, }) - addAutoImport([ + addImports([ { name: 'useClient', from: join(runtimeDir, 'client') }, { name: 'useAsyncQuery', from: join(runtimeDir, 'client') }, { name: 'useClientHeaders', from: join(runtimeDir, 'client') },