From 0bd86621d8a748053efd77266940c1609c209e08 Mon Sep 17 00:00:00 2001 From: Heb Date: Fri, 21 Jul 2023 16:47:02 +0800 Subject: [PATCH 1/4] fix(prerender): skip redirects (#1448) --- src/prerender.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/prerender.ts b/src/prerender.ts index 9920422d69..d3e9e2ad5c 100644 --- a/src/prerender.ts +++ b/src/prerender.ts @@ -168,7 +168,9 @@ export async function prerender(nitro: Nitro) { _route.data = new TextEncoder().encode(value); }, }); - if (res.status !== 200) { + // https://developer.mozilla.org/en-US/docs/Web/HTTP/Redirections + const redirectCodes = [301, 302, 303, 304, 307, 308]; + if (![200, ...redirectCodes].includes(res.status)) { _route.error = new Error(`[${res.status}] ${res.statusText}`) as any; _route.error.statusCode = res.status; _route.error.statusMessage = res.statusText; From 7b8475c63a478efb3ebd665e35bd719ee1d39551 Mon Sep 17 00:00:00 2001 From: Harlan Wilton Date: Fri, 21 Jul 2023 13:59:31 +0300 Subject: [PATCH 2/4] fix(aws-lambda,netlify): base64 encode binary responses (#1274) Co-authored-by: Pooya Parsa --- src/runtime/entries/aws-lambda.ts | 5 +++-- src/runtime/entries/netlify-lambda.ts | 3 ++- src/runtime/entries/stormkit.ts | 3 ++- src/runtime/utils.lambda.ts | 31 +++++++++++++++++++++++++++ test/fixture/routes/icon.png.ts | 15 +++++++------ test/tests.ts | 21 ++++++++++++++++++ 6 files changed, 67 insertions(+), 11 deletions(-) diff --git a/src/runtime/entries/aws-lambda.ts b/src/runtime/entries/aws-lambda.ts index 0300636684..221d06e4dc 100644 --- a/src/runtime/entries/aws-lambda.ts +++ b/src/runtime/entries/aws-lambda.ts @@ -10,6 +10,7 @@ import { withQuery } from "ufo"; import { nitroApp } from "../app"; import { normalizeLambdaIncomingHeaders, + normalizeLambdaOutgoingBody, normalizeLambdaOutgoingHeaders, } from "../utils.lambda"; @@ -64,13 +65,13 @@ export async function handler( cookies, statusCode: r.status, headers: normalizeLambdaOutgoingHeaders(r.headers, true), - body: r.body.toString(), + body: normalizeLambdaOutgoingBody(r.body, r.headers), }; } return { statusCode: r.status, headers: normalizeLambdaOutgoingHeaders(r.headers), - body: r.body.toString(), + body: normalizeLambdaOutgoingBody(r.body, r.headers), }; } diff --git a/src/runtime/entries/netlify-lambda.ts b/src/runtime/entries/netlify-lambda.ts index a318742f9d..3a8fa9ca84 100644 --- a/src/runtime/entries/netlify-lambda.ts +++ b/src/runtime/entries/netlify-lambda.ts @@ -9,6 +9,7 @@ import { splitCookiesString } from "h3"; import { nitroApp } from "../app"; import { normalizeLambdaIncomingHeaders, + normalizeLambdaOutgoingBody, normalizeLambdaOutgoingHeaders, } from "../utils.lambda"; import { normalizeCookieHeader } from "../utils"; @@ -40,7 +41,7 @@ export async function lambda( return { statusCode: r.status, headers: normalizeLambdaOutgoingHeaders(r.headers, true), - body: r.body.toString(), + body: normalizeLambdaOutgoingBody(r.body, r.headers), multiValueHeaders: { ...(cookies.length > 0 ? { "set-cookie": cookies } : {}), }, diff --git a/src/runtime/entries/stormkit.ts b/src/runtime/entries/stormkit.ts index b90ac547ca..3fc360fccf 100644 --- a/src/runtime/entries/stormkit.ts +++ b/src/runtime/entries/stormkit.ts @@ -1,6 +1,7 @@ import type { Handler } from "aws-lambda"; import "#internal/nitro/virtual/polyfill"; import { nitroApp } from "../app"; +import { normalizeLambdaOutgoingBody } from "#internal/nitro/utils.lambda"; interface StormkitEvent { url: string; // e.g. /my/path, /my/path?with=query @@ -38,7 +39,7 @@ export const handler: Handler = async function ( return { statusCode: r.status, headers: normalizeOutgoingHeaders(r.headers), - body: r.body.toString(), + body: normalizeLambdaOutgoingBody(r.body, r.headers), }; }; diff --git a/src/runtime/utils.lambda.ts b/src/runtime/utils.lambda.ts index 680efac9ae..86a311f65e 100644 --- a/src/runtime/utils.lambda.ts +++ b/src/runtime/utils.lambda.ts @@ -24,3 +24,34 @@ export function normalizeLambdaOutgoingHeaders( entries.map(([k, v]) => [k, Array.isArray(v) ? v.join(",") : v]) ); } + +// AWS Lambda proxy integrations requires base64 encoded buffers +// binaryMediaTypes should be */* +// see https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-payload-encodings.html +export function normalizeLambdaOutgoingBody( + body: BodyInit, + headers: HeadersObject +): string { + if (typeof body === "string") { + return body; + } + if (!body) { + return ""; + } + if (Buffer.isBuffer(body)) { + const contentType = (headers["content-type"] as string) || ""; + if (isTextType(contentType)) { + return body.toString("utf8"); + } + return body.toString("base64"); + } + throw new Error(`Unsupported body type: ${typeof body}`); +} + +// -- Internal -- + +const TEXT_TYPE_RE = /^text\/|\/(json|xml)|utf-?8/; + +function isTextType(contentType = "") { + return TEXT_TYPE_RE.test(contentType); +} diff --git a/test/fixture/routes/icon.png.ts b/test/fixture/routes/icon.png.ts index 0fef54dbda..5f413f9dc1 100644 --- a/test/fixture/routes/icon.png.ts +++ b/test/fixture/routes/icon.png.ts @@ -1,12 +1,13 @@ -const LOGO_BASE64 = - "iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAT9JREFUOE+t081KAlEUwPH/nRkn0pmgZWQgFLTpBYqQVkFUmgTRNnqKkFrZop7Blm4KQq02rVqYr1AILaKPZYIzGY46ExdRNMWP6u4ul/O759x7jggli0fgxQGd0ZYD4liEkh+VXwQ3r3Ik4DV3igBVQNXtnYomQB65rQjoALbndE7DAfZvbe5eq11KJmKSeqxwXnBaZ13ASThAyfHYTJd4sztTGQrYWxjjueQybSjsXFs4bcbQwO6NTSZqkn+vcZgvt9IdGthIW8xPqlxGTOK5MumnRs0jATIgNquTWPYTy1oUivXRAYkklvwsTmlEsxapNWPwL8hHlCU0l67CxbrJi+0yYyqkHgZ8409AQkFD4WprAsMniN9/9u+DXoBEVoI+zlYNDnJ9AE0Bn4Cveu9WHtcabV5r643/GKa/jfM3OT68lZwxK8oAAAAASUVORK5CYII="; - -export default eventHandler((event) => { - const buff = base64ToArray(LOGO_BASE64); - event.res.end(buff); +export default defineEventHandler((event) => { + setHeader(event, "Content-Type", "image/png"); + return Buffer.from(_base64ToArray(_getLogoBase64())); }); -function base64ToArray(base64: string) { +function _getLogoBase64() { + return "iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAT9JREFUOE+t081KAlEUwPH/nRkn0pmgZWQgFLTpBYqQVkFUmgTRNnqKkFrZop7Blm4KQq02rVqYr1AILaKPZYIzGY46ExdRNMWP6u4ul/O759x7jggli0fgxQGd0ZYD4liEkh+VXwQ3r3Ik4DV3igBVQNXtnYomQB65rQjoALbndE7DAfZvbe5eq11KJmKSeqxwXnBaZ13ASThAyfHYTJd4sztTGQrYWxjjueQybSjsXFs4bcbQwO6NTSZqkn+vcZgvt9IdGthIW8xPqlxGTOK5MumnRs0jATIgNquTWPYTy1oUivXRAYkklvwsTmlEsxapNWPwL8hHlCU0l67CxbrJi+0yYyqkHgZ8409AQkFD4WprAsMniN9/9u+DXoBEVoI+zlYNDnJ9AE0Bn4Cveu9WHtcabV5r643/GKa/jfM3OT68lZwxK8oAAAAASUVORK5CYII="; +} + +function _base64ToArray(base64: string) { const str = atob(base64); const bytes = new Uint8Array(str.length); for (let i = 0; i < str.length; i++) { diff --git a/test/tests.ts b/test/tests.ts index 48cd869f84..094fb746df 100644 --- a/test/tests.ts +++ b/test/tests.ts @@ -185,6 +185,27 @@ export function testNitro( expect(obj.headers.location).toBe("https://nitro.unjs.io/"); }); + // aws lambda requires buffer responses to be base 64 + const LambdaPresets = ["netlify", "aws-lambda"]; + it.runIf(LambdaPresets.includes(ctx.preset))( + "buffer image responses", + async () => { + const { data } = await callHandler({ url: "/icon.png" }); + expect(typeof data).toBe("string"); + const buffer = Buffer.from(data, "base64"); + // check if buffer is a png + function isBufferPng(buffer: Buffer) { + return ( + buffer[0] === 0x89 && + buffer[1] === 0x50 && + buffer[2] === 0x4e && + buffer[3] === 0x47 + ); + } + expect(isBufferPng(buffer)).toBe(true); + } + ); + it("render JSX", async () => { const { data } = await callHandler({ url: "/jsx" }); expect(data).toMatch("

Hello JSX!

"); From 2f114e531c7c29eca2f49124e00e4a9138ca2338 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Fri, 21 Jul 2023 12:44:05 +0100 Subject: [PATCH 3/4] refactor(prerender): improve console formatting for failed routes (#1471) Co-authored-by: Pooya Parsa --- src/prerender.ts | 56 +++++++++++++++++++++----------- test/fixture/routes/prerender.ts | 1 + 2 files changed, 38 insertions(+), 19 deletions(-) diff --git a/src/prerender.ts b/src/prerender.ts index d3e9e2ad5c..c367d165a6 100644 --- a/src/prerender.ts +++ b/src/prerender.ts @@ -12,6 +12,8 @@ import { compressPublicAssets } from "./compress"; const allowedExtensions = new Set(["", ".json"]); +const linkParents = new Map>(); + export async function prerender(nitro: Nitro) { if (nitro.options.noPublicDir) { console.warn( @@ -235,20 +237,7 @@ export async function prerender(nitro: Nitro) { } await nitro.hooks.callHook("prerender:route", _route); - - if (_route.error) { - nitro.logger.log( - chalk[_route.error.statusCode === 404 ? "yellow" : "red"]( - ` ├─ ${_route.route} (${ - _route.generateTimeMS - }ms) ${`(${_route.error})`}` - ) - ); - } else { - nitro.logger.log( - chalk.gray(` ├─ ${_route.route} (${_route.generateTimeMS}ms)`) - ); - } + nitro.logger.log(formatPrerenderRoute(_route)); } await runParallel(routes, processRoute, { @@ -259,11 +248,13 @@ export async function prerender(nitro: Nitro) { if (nitro.options.prerender.failOnError && erroredRoutes.size > 0) { nitro.logger.log("\nErrors prerendering:"); for (const route of erroredRoutes) { - nitro.logger.log( - chalk[route.error.statusCode === 404 ? "yellow" : "red"]( - ` ├─ ${route.route} (${route.error.statusCode})` - ) - ); + const parents = linkParents.get(route.route); + const parentsText = parents?.size + ? `\n${[...parents.values()] + .map((link) => chalk.gray(` │ └── Linked from ${link}`)) + .join("\n")}` + : ""; + nitro.logger.log(formatPrerenderRoute(route)); } nitro.logger.log(""); throw new Error("Exiting due to prerender errors."); @@ -350,6 +341,14 @@ function extractLinks( } links.push(pathname); } + for (const link of links) { + const _parents = linkParents.get(link); + if (_parents) { + _parents.add(from); + } else { + linkParents.set(link, new Set([from])); + } + } return links; } @@ -359,3 +358,22 @@ function getExtension(link: string): string { const pathname = parseURL(link).pathname; return (pathname.match(EXT_REGEX) || [])[0] || ""; } + +function formatPrerenderRoute(route: PrerenderGenerateRoute) { + let str = ` ├─ ${route.route} (${route.generateTimeMS}ms)`; + + if (route.error) { + const parents = linkParents.get(route.route); + const errorColor = chalk[route.error.statusCode === 404 ? "yellow" : "red"]; + const errorLead = parents?.size ? "├──" : "└──"; + str += `\n │ ${errorLead} ${errorColor(route.error)}`; + + if (parents?.size) { + str += `\n${[...parents.values()] + .map((link) => ` │ └── Linked from ${link}`) + .join("\n")}`; + } + } + + return chalk.gray(str); +} diff --git a/test/fixture/routes/prerender.ts b/test/fixture/routes/prerender.ts index f2beeef66a..0c4953c5e2 100644 --- a/test/fixture/routes/prerender.ts +++ b/test/fixture/routes/prerender.ts @@ -2,6 +2,7 @@ import { appendHeader } from "h3"; export default defineEventHandler((event) => { const links = [ + "/404", "https://about.google/products/", "/api/hello", "/api/hello?bar=baz", From fddf57e50ed4bd4863a23d80c86645bcea79b884 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 24 Jul 2023 11:13:26 +0200 Subject: [PATCH 4/4] chore(deps): update all non-major dependencies (#1476) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- docs/package.json | 2 +- docs/pnpm-lock.yaml | 106 +++++++++++++------- package.json | 16 +-- pnpm-lock.yaml | 233 +++++++++++++++++++++++--------------------- 4 files changed, 198 insertions(+), 159 deletions(-) diff --git a/docs/package.json b/docs/package.json index 29c33d1b4e..31667dc792 100644 --- a/docs/package.json +++ b/docs/package.json @@ -9,6 +9,6 @@ "devDependencies": { "@nuxt-themes/docus": "^1.14.3", "@nuxtjs/plausible": "^0.2.1", - "nuxt": "3.6.3" + "nuxt": "3.6.5" } } diff --git a/docs/pnpm-lock.yaml b/docs/pnpm-lock.yaml index 782a80e3d6..a8b6d902ca 100644 --- a/docs/pnpm-lock.yaml +++ b/docs/pnpm-lock.yaml @@ -10,13 +10,13 @@ importers: devDependencies: '@nuxt-themes/docus': specifier: ^1.14.3 - version: 1.14.3(nuxt@3.6.3)(postcss@8.4.24)(rollup@3.25.3)(vue-component-type-helpers@1.3.12)(vue@3.3.4) + version: 1.14.3(nuxt@3.6.5)(postcss@8.4.24)(rollup@3.25.3)(vue-component-type-helpers@1.3.12)(vue@3.3.4) '@nuxtjs/plausible': specifier: ^0.2.1 version: 0.2.1(rollup@3.25.3) nuxt: - specifier: 3.6.3 - version: 3.6.3(@types/node@18.16.0)(rollup@3.25.3)(typescript@5.0.4) + specifier: 3.6.5 + version: 3.6.5(@types/node@18.16.0)(rollup@3.25.3)(typescript@5.0.4) packages: @@ -860,7 +860,7 @@ packages: fastq: 1.15.0 dev: true - /@nuxt-themes/docus@1.14.3(nuxt@3.6.3)(postcss@8.4.24)(rollup@3.25.3)(vue-component-type-helpers@1.3.12)(vue@3.3.4): + /@nuxt-themes/docus@1.14.3(nuxt@3.6.5)(postcss@8.4.24)(rollup@3.25.3)(vue-component-type-helpers@1.3.12)(vue@3.3.4): resolution: {integrity: sha512-GNTyyZSvNjWK7y0efIME7xY9YfV7kkDM8uWqeq5rCwHVUoYtwNFmhKEuBbCssmaGwx0kl031PuQOkLnUMdC2Dg==} dependencies: '@nuxt-themes/elements': 0.9.4(postcss@8.4.24)(rollup@3.25.3)(vue@3.3.4) @@ -869,7 +869,7 @@ packages: '@nuxt/content': 2.7.0(rollup@3.25.3) '@nuxthq/studio': 0.13.4(rollup@3.25.3)(vue-component-type-helpers@1.3.12) '@vueuse/integrations': 10.2.1(focus-trap@7.5.2)(fuse.js@6.6.2)(vue@3.3.4) - '@vueuse/nuxt': 10.2.1(nuxt@3.6.3)(rollup@3.25.3)(vue@3.3.4) + '@vueuse/nuxt': 10.2.1(nuxt@3.6.5)(rollup@3.25.3)(vue@3.3.4) focus-trap: 7.5.2 fuse.js: 6.6.2 transitivePeerDependencies: @@ -1087,6 +1087,32 @@ packages: - supports-color dev: true + /@nuxt/kit@3.6.5(rollup@3.25.3): + resolution: {integrity: sha512-uBI5I2Zx6sk+vRHU+nBmifwxg/nyXCGZ1g5hUKrUfgv1ZfiKB8JkN5T9iRoduDOaqbwM6XSnEl1ja73iloDcrw==} + engines: {node: ^14.18.0 || >=16.10.0} + dependencies: + '@nuxt/schema': 3.6.5(rollup@3.25.3) + c12: 1.4.2 + consola: 3.2.3 + defu: 6.1.2 + globby: 13.2.2 + hash-sum: 2.0.0 + ignore: 5.2.4 + jiti: 1.19.1 + knitwork: 1.0.0 + mlly: 1.4.0 + pathe: 1.1.1 + pkg-types: 1.0.3 + scule: 1.0.0 + semver: 7.5.3 + unctx: 2.3.1 + unimport: 3.0.14(rollup@3.25.3) + untyped: 1.3.2 + transitivePeerDependencies: + - rollup + - supports-color + dev: true + /@nuxt/schema@3.4.3(rollup@3.25.3): resolution: {integrity: sha512-8bv0/mRDw6THQguSz+cKG5FzDZc2XBkjcc5VZ7yET84r4aWzW9/R274cjlEagFKrw9BDaPEQhnkwpg+kZnpOUA==} engines: {node: ^14.18.0 || >=16.10.0} @@ -1141,11 +1167,29 @@ packages: - supports-color dev: true + /@nuxt/schema@3.6.5(rollup@3.25.3): + resolution: {integrity: sha512-UPUnMB0W5TZ/Pi1fiF71EqIsPlj8LGZqzhSf8wOeh538KHwxbA9r7cuvEUU92eXRksOZaylbea3fJxZWhOITVw==} + engines: {node: ^14.18.0 || >=16.10.0} + dependencies: + defu: 6.1.2 + hookable: 5.5.3 + pathe: 1.1.1 + pkg-types: 1.0.3 + postcss-import-resolver: 2.0.0 + std-env: 3.3.3 + ufo: 1.1.2 + unimport: 3.0.14(rollup@3.25.3) + untyped: 1.3.2 + transitivePeerDependencies: + - rollup + - supports-color + dev: true + /@nuxt/telemetry@2.3.1(rollup@3.25.3): resolution: {integrity: sha512-7kr2VDirYIXqyTHqaiWCrfQLgUjAa4qAHzykJOspMCFJWalHU9SVfnv+cTOKGqoXQ4TWOCd09tEd7sLlMFTEqw==} hasBin: true dependencies: - '@nuxt/kit': 3.6.3(rollup@3.25.3) + '@nuxt/kit': 3.6.5(rollup@3.25.3) chalk: 5.3.0 ci-info: 3.8.0 consola: 3.2.3 @@ -1173,13 +1217,13 @@ packages: resolution: {integrity: sha512-MSZza7dxccNb/p7nuzGF8/m4POaFpHzVhNdR7f4xahOpH7Ja02lFeYR+rHtoHIJC0yym4qriqv0mQ+Qf/R61bQ==} dev: true - /@nuxt/vite-builder@3.6.3(@types/node@18.16.0)(rollup@3.25.3)(typescript@5.0.4)(vue@3.3.4): - resolution: {integrity: sha512-VWxuZ/GKp3IYMSW34yl+K8rEiDjb6gFt2avU1y9oNjkW/ONBLtBP5P7SFVtlzqs3Oxlk9zWAQc8D1dubBC3fEQ==} + /@nuxt/vite-builder@3.6.5(@types/node@18.16.0)(rollup@3.25.3)(typescript@5.0.4)(vue@3.3.4): + resolution: {integrity: sha512-pwSpt257ApCp3XWUs8vrC7X9QHeHUv5PbbIR3+5w0n5f95XPNOQWDJa2fTPX/H6oaRJCPYAsBPqiQhQ7qW/NZQ==} engines: {node: ^14.18.0 || >=16.10.0} peerDependencies: vue: ^3.3.4 dependencies: - '@nuxt/kit': 3.6.3(rollup@3.25.3) + '@nuxt/kit': 3.6.5(rollup@3.25.3) '@rollup/plugin-replace': 5.0.2(rollup@3.25.3) '@vitejs/plugin-vue': 4.2.3(vite@4.3.9)(vue@3.3.4) '@vitejs/plugin-vue-jsx': 3.0.1(vite@4.3.9)(vue@3.3.4) @@ -1254,7 +1298,7 @@ packages: /@nuxtjs/color-mode@3.2.0(rollup@3.25.3): resolution: {integrity: sha512-isDR01yfadopiHQ/VEVUpyNSPrk5PCjUHS4t1qYRZwuRGefU4s9Iaxf6H9nmr1QFzoMgTm+3T0r/54jLwtpZbA==} dependencies: - '@nuxt/kit': 3.6.2(rollup@3.25.3) + '@nuxt/kit': 3.6.3(rollup@3.25.3) lodash.template: 4.5.0 pathe: 1.1.1 transitivePeerDependencies: @@ -1825,7 +1869,7 @@ packages: resolution: {integrity: sha512-gdU7TKNAUVlXXLbaF+ZCfte8BjRJQWPCa2J55+7/h+yDtzw3vOoGQDRXzI6pyKyo6bXFT5/QoPE4hAknExjRLQ==} dev: true - /@vueuse/nuxt@10.2.1(nuxt@3.6.3)(rollup@3.25.3)(vue@3.3.4): + /@vueuse/nuxt@10.2.1(nuxt@3.6.5)(rollup@3.25.3)(vue@3.3.4): resolution: {integrity: sha512-01iDXnjZFDaGZnEL0nvlmSTNV0EG6WY+VSFyWnBji9lbxdQwOn4DHvLou3ePe8ipaoQVtY58WcL0OHIFa4+fBA==} peerDependencies: nuxt: ^3.0.0 @@ -1834,7 +1878,7 @@ packages: '@vueuse/core': 10.2.1(vue@3.3.4) '@vueuse/metadata': 10.2.1 local-pkg: 0.4.3 - nuxt: 3.6.3(@types/node@18.16.0)(rollup@3.25.3)(typescript@5.0.4) + nuxt: 3.6.5(@types/node@18.16.0)(rollup@3.25.3)(typescript@5.0.4) vue-demi: 0.14.5(vue@3.3.4) transitivePeerDependencies: - '@vue/composition-api' @@ -3236,18 +3280,6 @@ packages: duplexer: 0.1.2 dev: true - /h3@1.7.0: - resolution: {integrity: sha512-iJJz2Pn2rC0j8CB3rkFMs0K269W7hDVOC7eL3qne5Joy4JZX1W7id7PBFV593GboHDOx0PzgO6ocqsynrIvdxw==} - dependencies: - cookie-es: 1.0.0 - defu: 6.1.2 - destr: 2.0.0 - iron-webcrypto: 0.7.0 - radix3: 1.0.1 - ufo: 1.1.2 - uncrypto: 0.1.3 - dev: true - /h3@1.7.1: resolution: {integrity: sha512-A9V2NEDNHet7v1gCg7CMwerSigLi0SRbhTy7C3lGb0N4YKIpPmLDjedTUopqp4dnn7COHfqUjjaz3zbtz4QduA==} dependencies: @@ -4668,8 +4700,8 @@ packages: boolbase: 1.0.0 dev: true - /nuxi@3.6.3: - resolution: {integrity: sha512-UVokD+9Pq0EoPp2nmkS5K96g/P1BWYEpYCmtX4XW5oZqvkPlEBBdellOWPEb9wgSCBjWYVNpxA2uIRb4yhg1Nw==} + /nuxi@3.6.5: + resolution: {integrity: sha512-4XEXYz71UiWWiKC1/cJCzqRSUEImYRmjcvKpSsBKMU58ALYVSx5KIoas5SwLO8tEKO5BS4DAe4u7MYix7hfuHQ==} engines: {node: ^14.18.0 || >=16.10.0} hasBin: true optionalDependencies: @@ -4679,7 +4711,7 @@ packages: /nuxt-component-meta@0.5.1(rollup@3.25.3)(vue-component-type-helpers@1.3.12): resolution: {integrity: sha512-vwx5wySyVX+QbFrNb3wLYNMPlADho8E66MO45d5i5fTlEkmhopVpQ9YXwlAvM3pLCPjupxG3R3D5rKpLDeitkw==} dependencies: - '@nuxt/kit': 3.6.2(rollup@3.25.3) + '@nuxt/kit': 3.6.3(rollup@3.25.3) scule: 1.0.0 typescript: 5.0.4 vue-component-meta: 1.4.4(typescript@5.0.4)(vue-component-type-helpers@1.3.12) @@ -4692,7 +4724,7 @@ packages: /nuxt-config-schema@0.4.6(rollup@3.25.3): resolution: {integrity: sha512-kHLWJFynj5QrxVZ1MjY2xmDaTSN1BCMLGExA+hMMLoCb3wn9TJlDVqnE/nSdUJPMRkNn/NQ5WP9NLA9vlAXRUw==} dependencies: - '@nuxt/kit': 3.6.2(rollup@3.25.3) + '@nuxt/kit': 3.6.3(rollup@3.25.3) defu: 6.1.2 jiti: 1.19.1 pathe: 1.1.1 @@ -4706,7 +4738,7 @@ packages: resolution: {integrity: sha512-KdhJAigBGTP8/YIFZ3orwetk40AgLq6VQ5HRYuDLmv5hiDptor9Ro+WIdZggHw7nciRxZvDdQkEwi9B5G/jrkQ==} dependencies: '@iconify/vue': 4.1.1(vue@3.3.4) - '@nuxt/kit': 3.6.2(rollup@3.25.3) + '@nuxt/kit': 3.6.3(rollup@3.25.3) nuxt-config-schema: 0.4.6(rollup@3.25.3) transitivePeerDependencies: - rollup @@ -4714,8 +4746,8 @@ packages: - vue dev: true - /nuxt@3.6.3(@types/node@18.16.0)(rollup@3.25.3)(typescript@5.0.4): - resolution: {integrity: sha512-FiD2Ok81wPvQjNBO61h1fA7aqL0EloNspDC05eoQZl13kCthn7103esJNS+KAZNlPcXOYruEe3rGt066Sb/TwA==} + /nuxt@3.6.5(@types/node@18.16.0)(rollup@3.25.3)(typescript@5.0.4): + resolution: {integrity: sha512-0A7V8B1HrIXX9IlqPc2w+5ZPXi+7MYa9QVhtuGYuLvjRKoSFANhCoMPRP6pKdoxigM1MBxhLue2VmHA/VbtJCw==} engines: {node: ^14.18.0 || >=16.10.0} hasBin: true peerDependencies: @@ -4726,11 +4758,11 @@ packages: optional: true dependencies: '@nuxt/devalue': 2.0.2 - '@nuxt/kit': 3.6.3(rollup@3.25.3) - '@nuxt/schema': 3.6.3(rollup@3.25.3) + '@nuxt/kit': 3.6.5(rollup@3.25.3) + '@nuxt/schema': 3.6.5(rollup@3.25.3) '@nuxt/telemetry': 2.3.1(rollup@3.25.3) '@nuxt/ui-templates': 1.2.0 - '@nuxt/vite-builder': 3.6.3(@types/node@18.16.0)(rollup@3.25.3)(typescript@5.0.4)(vue@3.3.4) + '@nuxt/vite-builder': 3.6.5(@types/node@18.16.0)(rollup@3.25.3)(typescript@5.0.4)(vue@3.3.4) '@types/node': 18.16.0 '@unhead/ssr': 1.1.30 '@unhead/vue': 1.1.30(vue@3.3.4) @@ -4756,7 +4788,7 @@ packages: magic-string: 0.30.1 mlly: 1.4.0 nitropack: 2.5.2 - nuxi: 3.6.3 + nuxi: 3.6.5 nypm: 0.2.2 ofetch: 1.1.1 ohash: 1.1.2 @@ -6396,7 +6428,7 @@ packages: /unplugin@1.3.1: resolution: {integrity: sha512-h4uUTIvFBQRxUKS2Wjys6ivoeofGhxzTe2sRWlooyjHXVttcVfV/JiavNd3d4+jty0SVV0dxGw9AkY9MwiaCEw==} dependencies: - acorn: 8.9.0 + acorn: 8.10.0 chokidar: 3.5.3 webpack-sources: 3.2.3 webpack-virtual-modules: 0.5.0 @@ -6446,7 +6478,7 @@ packages: anymatch: 3.1.3 chokidar: 3.5.3 destr: 2.0.0 - h3: 1.7.0 + h3: 1.7.1 ioredis: 5.3.2 listhen: 1.0.4 lru-cache: 10.0.0 diff --git a/package.json b/package.json index 9a0fc1b92b..4e1ebd9369 100644 --- a/package.json +++ b/package.json @@ -73,7 +73,7 @@ "defu": "^6.1.2", "destr": "^2.0.0", "dot-prop": "^7.2.0", - "esbuild": "^0.18.13", + "esbuild": "^0.18.16", "escape-string-regexp": "^5.0.0", "etag": "^1.8.1", "fs-extra": "^11.1.1", @@ -87,7 +87,7 @@ "jiti": "^1.19.1", "klona": "^2.0.6", "knitwork": "^1.0.0", - "listhen": "^1.0.4", + "listhen": "^1.1.2", "magic-string": "^0.30.1", "mime": "^3.0.0", "mlly": "^1.4.0", @@ -95,11 +95,11 @@ "node-fetch-native": "^1.2.0", "ofetch": "^1.1.1", "ohash": "^1.1.2", - "openapi-typescript": "^6.3.4", + "openapi-typescript": "^6.3.7", "pathe": "^1.1.1", "perfect-debounce": "^1.0.0", "pkg-types": "^1.0.3", - "pretty-bytes": "^6.1.0", + "pretty-bytes": "^6.1.1", "radix3": "^1.0.1", "rollup": "^3.26.3", "rollup-plugin-visualizer": "^5.9.2", @@ -112,12 +112,12 @@ "ufo": "^1.1.2", "uncrypto": "^0.1.3", "unenv": "^1.5.2", - "unimport": "^3.0.14", + "unimport": "^3.1.0", "unstorage": "^1.8.0" }, "devDependencies": { "@azure/functions": "^3.5.1", - "@cloudflare/workers-types": "^4.20230710.1", + "@cloudflare/workers-types": "^4.20230717.1", "@types/aws-lambda": "^8.10.119", "@types/etag": "^1.8.1", "@types/fs-extra": "^11.0.1", @@ -126,7 +126,7 @@ "@types/serve-static": "^1.15.2", "@vitest/coverage-v8": "^0.33.0", "changelogen": "^0.5.4", - "edge-runtime": "^2.4.4", + "edge-runtime": "^2.4.5", "eslint": "^8.45.0", "eslint-config-unjs": "^0.2.1", "execa": "^7.1.1", @@ -139,7 +139,7 @@ "undici": "^5.22.1", "vitest": "^0.33.0" }, - "packageManager": "pnpm@8.6.7", + "packageManager": "pnpm@8.6.10", "engines": { "node": "^14.16.0 || ^16.11.0 || >=17.0.0" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 30ce077f34..1477448868 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -82,8 +82,8 @@ importers: specifier: ^7.2.0 version: 7.2.0 esbuild: - specifier: ^0.18.13 - version: 0.18.13 + specifier: ^0.18.16 + version: 0.18.16 escape-string-regexp: specifier: ^5.0.0 version: 5.0.0 @@ -124,8 +124,8 @@ importers: specifier: ^1.0.0 version: 1.0.0 listhen: - specifier: ^1.0.4 - version: 1.0.4 + specifier: ^1.1.2 + version: 1.1.2 magic-string: specifier: ^0.30.1 version: 0.30.1 @@ -148,8 +148,8 @@ importers: specifier: ^1.1.2 version: 1.1.2 openapi-typescript: - specifier: ^6.3.4 - version: 6.3.4 + specifier: ^6.3.7 + version: 6.3.7 pathe: specifier: ^1.1.1 version: 1.1.1 @@ -160,8 +160,8 @@ importers: specifier: ^1.0.3 version: 1.0.3 pretty-bytes: - specifier: ^6.1.0 - version: 6.1.0 + specifier: ^6.1.1 + version: 6.1.1 radix3: specifier: ^1.0.1 version: 1.0.1 @@ -199,8 +199,8 @@ importers: specifier: ^1.5.2 version: 1.5.2 unimport: - specifier: ^3.0.14 - version: 3.0.14(rollup@3.26.3) + specifier: ^3.1.0 + version: 3.1.0(rollup@3.26.3) unstorage: specifier: ^1.8.0 version: 1.8.0 @@ -209,8 +209,8 @@ importers: specifier: ^3.5.1 version: 3.5.1 '@cloudflare/workers-types': - specifier: ^4.20230710.1 - version: 4.20230710.1 + specifier: ^4.20230717.1 + version: 4.20230717.1 '@types/aws-lambda': specifier: ^8.10.119 version: 8.10.119 @@ -236,8 +236,8 @@ importers: specifier: ^0.5.4 version: 0.5.4 edge-runtime: - specifier: ^2.4.4 - version: 2.4.4 + specifier: ^2.4.5 + version: 2.4.5 eslint: specifier: ^8.45.0 version: 8.45.0 @@ -495,6 +495,7 @@ packages: /@babel/highlight@7.22.5: resolution: {integrity: sha512-BSKlD1hgnedS5XRnGOljZawtag7H1yPfQp0tdNJCHoH6AZ+Pcm9VvkrK59/Yy593Ypg0zMxH2BxD1VPYUQ7UIw==} engines: {node: '>=6.9.0'} + requiresBuild: true dependencies: '@babel/helper-validator-identifier': 7.22.5 chalk: 2.4.2 @@ -560,8 +561,8 @@ packages: mime: 3.0.0 dev: false - /@cloudflare/workers-types@4.20230710.1: - resolution: {integrity: sha512-VqEY/ZqyHKBn6ivdePSWebpqojwbCXVEuwLkMYHs0UoOAqcGylkVcabdZYdQJKeNxXcOUZ9UBId/x9UsPUm2XQ==} + /@cloudflare/workers-types@4.20230717.1: + resolution: {integrity: sha512-JmtYqsn/rc0gq83rlgItGsh/aJsTQh6ebJTDbq794kGOH7ym6MlpLtbCJj/Qz+hCPgdqoHDOLTlQQguARLi78A==} dev: true /@edge-runtime/format@2.1.0: @@ -569,16 +570,16 @@ packages: engines: {node: '>=14'} dev: true - /@edge-runtime/primitives@3.0.3: - resolution: {integrity: sha512-YnfMWMRQABAH8IsnFMJWMW+SyB4ZeYBPnR7V0aqdnew7Pq60cbH5DyFjS/FhiLwvHQk9wBREmXD7PP0HooEQ1A==} + /@edge-runtime/primitives@3.0.4: + resolution: {integrity: sha512-ZisWDavCpjroNbXZ1FZ2qHqlNfTXjIcQx+7aRdC+n6DVsTShUW7S+urGj2Wags5CH0oICWRoksYX5GngW7SZzw==} engines: {node: '>=14'} dev: true - /@edge-runtime/vm@3.0.3: - resolution: {integrity: sha512-SPfI1JeIRNs/4EEE2Oc0X6gG3RqjD1TnKu2lwmwFXq0435xgZGKhc3UiKkYAdoMn2dNFD73nlabMKHBRoMRpxg==} + /@edge-runtime/vm@3.0.4: + resolution: {integrity: sha512-/QvVIn2+nO48dO3cl5tD3cjoF/xJ7WfTKBIs/oKgfmmWbEQ4EixKlOTJEpcBdOni0E8FCHIc7yxoJGq1qcLdCg==} engines: {node: '>=14'} dependencies: - '@edge-runtime/primitives': 3.0.3 + '@edge-runtime/primitives': 3.0.4 dev: true /@esbuild/android-arm64@0.17.19: @@ -590,8 +591,8 @@ packages: dev: true optional: true - /@esbuild/android-arm64@0.18.13: - resolution: {integrity: sha512-j7NhycJUoUAG5kAzGf4fPWfd17N6SM3o1X6MlXVqfHvs2buFraCJzos9vbeWjLxOyBKHyPOnuCuipbhvbYtTAg==} + /@esbuild/android-arm64@0.18.16: + resolution: {integrity: sha512-wsCqSPqLz+6Ov+OM4EthU43DyYVVyfn15S4j1bJzylDpc1r1jZFFfJQNfDuT8SlgwuqpmpJXK4uPlHGw6ve7eA==} engines: {node: '>=12'} cpu: [arm64] os: [android] @@ -607,8 +608,8 @@ packages: dev: true optional: true - /@esbuild/android-arm@0.18.13: - resolution: {integrity: sha512-KwqFhxRFMKZINHzCqf8eKxE0XqWlAVPRxwy6rc7CbVFxzUWB2sA/s3hbMZeemPdhN3fKBkqOaFhTbS8xJXYIWQ==} + /@esbuild/android-arm@0.18.16: + resolution: {integrity: sha512-gCHjjQmA8L0soklKbLKA6pgsLk1byULuHe94lkZDzcO3/Ta+bbeewJioEn1Fr7kgy9NWNFy/C+MrBwC6I/WCug==} engines: {node: '>=12'} cpu: [arm] os: [android] @@ -624,8 +625,8 @@ packages: dev: true optional: true - /@esbuild/android-x64@0.18.13: - resolution: {integrity: sha512-M2eZkRxR6WnWfVELHmv6MUoHbOqnzoTVSIxgtsyhm/NsgmL+uTmag/VVzdXvmahak1I6sOb1K/2movco5ikDJg==} + /@esbuild/android-x64@0.18.16: + resolution: {integrity: sha512-ldsTXolyA3eTQ1//4DS+E15xl0H/3DTRJaRL0/0PgkqDsI0fV/FlOtD+h0u/AUJr+eOTlZv4aC9gvfppo3C4sw==} engines: {node: '>=12'} cpu: [x64] os: [android] @@ -641,8 +642,8 @@ packages: dev: true optional: true - /@esbuild/darwin-arm64@0.18.13: - resolution: {integrity: sha512-f5goG30YgR1GU+fxtaBRdSW3SBG9pZW834Mmhxa6terzcboz7P2R0k4lDxlkP7NYRIIdBbWp+VgwQbmMH4yV7w==} + /@esbuild/darwin-arm64@0.18.16: + resolution: {integrity: sha512-aBxruWCII+OtluORR/KvisEw0ALuw/qDQWvkoosA+c/ngC/Kwk0lLaZ+B++LLS481/VdydB2u6tYpWxUfnLAIw==} engines: {node: '>=12'} cpu: [arm64] os: [darwin] @@ -658,8 +659,8 @@ packages: dev: true optional: true - /@esbuild/darwin-x64@0.18.13: - resolution: {integrity: sha512-RIrxoKH5Eo+yE5BtaAIMZaiKutPhZjw+j0OCh8WdvKEKJQteacq0myZvBDLU+hOzQOZWJeDnuQ2xgSScKf1Ovw==} + /@esbuild/darwin-x64@0.18.16: + resolution: {integrity: sha512-6w4Dbue280+rp3LnkgmriS1icOUZDyPuZo/9VsuMUTns7SYEiOaJ7Ca1cbhu9KVObAWfmdjUl4gwy9TIgiO5eA==} engines: {node: '>=12'} cpu: [x64] os: [darwin] @@ -675,8 +676,8 @@ packages: dev: true optional: true - /@esbuild/freebsd-arm64@0.18.13: - resolution: {integrity: sha512-AfRPhHWmj9jGyLgW/2FkYERKmYR+IjYxf2rtSLmhOrPGFh0KCETFzSjx/JX/HJnvIqHt/DRQD/KAaVsUKoI3Xg==} + /@esbuild/freebsd-arm64@0.18.16: + resolution: {integrity: sha512-x35fCebhe9s979DGKbVAwXUOcTmCIE32AIqB9CB1GralMIvxdnMLAw5CnID17ipEw9/3MvDsusj/cspYt2ZLNQ==} engines: {node: '>=12'} cpu: [arm64] os: [freebsd] @@ -692,8 +693,8 @@ packages: dev: true optional: true - /@esbuild/freebsd-x64@0.18.13: - resolution: {integrity: sha512-pGzWWZJBInhIgdEwzn8VHUBang8UvFKsvjDkeJ2oyY5gZtAM6BaxK0QLCuZY+qoj/nx/lIaItH425rm/hloETA==} + /@esbuild/freebsd-x64@0.18.16: + resolution: {integrity: sha512-YM98f+PeNXF3GbxIJlUsj+McUWG1irguBHkszCIwfr3BXtXZsXo0vqybjUDFfu9a8Wr7uUD/YSmHib+EeGAFlg==} engines: {node: '>=12'} cpu: [x64] os: [freebsd] @@ -709,8 +710,8 @@ packages: dev: true optional: true - /@esbuild/linux-arm64@0.18.13: - resolution: {integrity: sha512-hCzZbVJEHV7QM77fHPv2qgBcWxgglGFGCxk6KfQx6PsVIdi1u09X7IvgE9QKqm38OpkzaAkPnnPqwRsltvLkIQ==} + /@esbuild/linux-arm64@0.18.16: + resolution: {integrity: sha512-XIqhNUxJiuy+zsR77+H5Z2f7s4YRlriSJKtvx99nJuG5ATuJPjmZ9n0ANgnGlPCpXGSReFpgcJ7O3SMtzIFeiQ==} engines: {node: '>=12'} cpu: [arm64] os: [linux] @@ -726,8 +727,8 @@ packages: dev: true optional: true - /@esbuild/linux-arm@0.18.13: - resolution: {integrity: sha512-4iMxLRMCxGyk7lEvkkvrxw4aJeC93YIIrfbBlUJ062kilUUnAiMb81eEkVvCVoh3ON283ans7+OQkuy1uHW+Hw==} + /@esbuild/linux-arm@0.18.16: + resolution: {integrity: sha512-b5ABb+5Ha2C9JkeZXV+b+OruR1tJ33ePmv9ZwMeETSEKlmu/WJ45XTTG+l6a2KDsQtJJ66qo/hbSGBtk0XVLHw==} engines: {node: '>=12'} cpu: [arm] os: [linux] @@ -743,8 +744,8 @@ packages: dev: true optional: true - /@esbuild/linux-ia32@0.18.13: - resolution: {integrity: sha512-I3OKGbynl3AAIO6onXNrup/ttToE6Rv2XYfFgLK/wnr2J+1g+7k4asLrE+n7VMhaqX+BUnyWkCu27rl+62Adug==} + /@esbuild/linux-ia32@0.18.16: + resolution: {integrity: sha512-no+pfEpwnRvIyH+txbBAWtjxPU9grslmTBfsmDndj7bnBmr55rOo/PfQmRfz7Qg9isswt1FP5hBbWb23fRWnow==} engines: {node: '>=12'} cpu: [ia32] os: [linux] @@ -760,8 +761,8 @@ packages: dev: true optional: true - /@esbuild/linux-loong64@0.18.13: - resolution: {integrity: sha512-8pcKDApAsKc6WW51ZEVidSGwGbebYw2qKnO1VyD8xd6JN0RN6EUXfhXmDk9Vc4/U3Y4AoFTexQewQDJGsBXBpg==} + /@esbuild/linux-loong64@0.18.16: + resolution: {integrity: sha512-Zbnczs9ZXjmo0oZSS0zbNlJbcwKXa/fcNhYQjahDs4Xg18UumpXG/lwM2lcSvHS3mTrRyCYZvJbmzYc4laRI1g==} engines: {node: '>=12'} cpu: [loong64] os: [linux] @@ -777,8 +778,8 @@ packages: dev: true optional: true - /@esbuild/linux-mips64el@0.18.13: - resolution: {integrity: sha512-6GU+J1PLiVqWx8yoCK4Z0GnfKyCGIH5L2KQipxOtbNPBs+qNDcMJr9euxnyJ6FkRPyMwaSkjejzPSISD9hb+gg==} + /@esbuild/linux-mips64el@0.18.16: + resolution: {integrity: sha512-YMF7hih1HVR/hQVa/ot4UVffc5ZlrzEb3k2ip0nZr1w6fnYypll9td2qcoMLvd3o8j3y6EbJM3MyIcXIVzXvQQ==} engines: {node: '>=12'} cpu: [mips64el] os: [linux] @@ -794,8 +795,8 @@ packages: dev: true optional: true - /@esbuild/linux-ppc64@0.18.13: - resolution: {integrity: sha512-pfn/OGZ8tyR8YCV7MlLl5hAit2cmS+j/ZZg9DdH0uxdCoJpV7+5DbuXrR+es4ayRVKIcfS9TTMCs60vqQDmh+w==} + /@esbuild/linux-ppc64@0.18.16: + resolution: {integrity: sha512-Wkz++LZ29lDwUyTSEnzDaaP5OveOgTU69q9IyIw9WqLRxM4BjTBjz9un4G6TOvehWpf/J3gYVFN96TjGHrbcNQ==} engines: {node: '>=12'} cpu: [ppc64] os: [linux] @@ -811,8 +812,8 @@ packages: dev: true optional: true - /@esbuild/linux-riscv64@0.18.13: - resolution: {integrity: sha512-aIbhU3LPg0lOSCfVeGHbmGYIqOtW6+yzO+Nfv57YblEK01oj0mFMtvDJlOaeAZ6z0FZ9D13oahi5aIl9JFphGg==} + /@esbuild/linux-riscv64@0.18.16: + resolution: {integrity: sha512-LFMKZ30tk78/mUv1ygvIP+568bwf4oN6reG/uczXnz6SvFn4e2QUFpUpZY9iSJT6Qpgstrhef/nMykIXZtZWGQ==} engines: {node: '>=12'} cpu: [riscv64] os: [linux] @@ -828,8 +829,8 @@ packages: dev: true optional: true - /@esbuild/linux-s390x@0.18.13: - resolution: {integrity: sha512-Pct1QwF2sp+5LVi4Iu5Y+6JsGaV2Z2vm4O9Dd7XZ5tKYxEHjFtb140fiMcl5HM1iuv6xXO8O1Vrb1iJxHlv8UA==} + /@esbuild/linux-s390x@0.18.16: + resolution: {integrity: sha512-3ZC0BgyYHYKfZo3AV2/66TD/I9tlSBaW7eWTEIkrQQKfJIifKMMttXl9FrAg+UT0SGYsCRLI35Gwdmm96vlOjg==} engines: {node: '>=12'} cpu: [s390x] os: [linux] @@ -845,8 +846,8 @@ packages: dev: true optional: true - /@esbuild/linux-x64@0.18.13: - resolution: {integrity: sha512-zTrIP0KzYP7O0+3ZnmzvUKgGtUvf4+piY8PIO3V8/GfmVd3ZyHJGz7Ht0np3P1wz+I8qJ4rjwJKqqEAbIEPngA==} + /@esbuild/linux-x64@0.18.16: + resolution: {integrity: sha512-xu86B3647DihHJHv/wx3NCz2Dg1gjQ8bbf9cVYZzWKY+gsvxYmn/lnVlqDRazObc3UMwoHpUhNYaZset4X8IPA==} engines: {node: '>=12'} cpu: [x64] os: [linux] @@ -862,8 +863,8 @@ packages: dev: true optional: true - /@esbuild/netbsd-x64@0.18.13: - resolution: {integrity: sha512-I6zs10TZeaHDYoGxENuksxE1sxqZpCp+agYeW039yqFwh3MgVvdmXL5NMveImOC6AtpLvE4xG5ujVic4NWFIDQ==} + /@esbuild/netbsd-x64@0.18.16: + resolution: {integrity: sha512-uVAgpimx9Ffw3xowtg/7qQPwHFx94yCje+DoBx+LNm2ePDpQXHrzE+Sb0Si2VBObYz+LcRps15cq+95YM7gkUw==} engines: {node: '>=12'} cpu: [x64] os: [netbsd] @@ -879,8 +880,8 @@ packages: dev: true optional: true - /@esbuild/openbsd-x64@0.18.13: - resolution: {integrity: sha512-W5C5nczhrt1y1xPG5bV+0M12p2vetOGlvs43LH8SopQ3z2AseIROu09VgRqydx5qFN7y9qCbpgHLx0kb0TcW7g==} + /@esbuild/openbsd-x64@0.18.16: + resolution: {integrity: sha512-6OjCQM9wf7z8/MBi6BOWaTL2AS/SZudsZtBziXMtNI8r/U41AxS9x7jn0ATOwVy08OotwkPqGRMkpPR2wcTJXA==} engines: {node: '>=12'} cpu: [x64] os: [openbsd] @@ -896,8 +897,8 @@ packages: dev: true optional: true - /@esbuild/sunos-x64@0.18.13: - resolution: {integrity: sha512-X/xzuw4Hzpo/yq3YsfBbIsipNgmsm8mE/QeWbdGdTTeZ77fjxI2K0KP3AlhZ6gU3zKTw1bKoZTuKLnqcJ537qw==} + /@esbuild/sunos-x64@0.18.16: + resolution: {integrity: sha512-ZoNkruFYJp9d1LbUYCh8awgQDvB9uOMZqlQ+gGEZR7v6C+N6u7vPr86c+Chih8niBR81Q/bHOSKGBK3brJyvkQ==} engines: {node: '>=12'} cpu: [x64] os: [sunos] @@ -913,8 +914,8 @@ packages: dev: true optional: true - /@esbuild/win32-arm64@0.18.13: - resolution: {integrity: sha512-4CGYdRQT/ILd+yLLE5i4VApMPfGE0RPc/wFQhlluDQCK09+b4JDbxzzjpgQqTPrdnP7r5KUtGVGZYclYiPuHrw==} + /@esbuild/win32-arm64@0.18.16: + resolution: {integrity: sha512-+j4anzQ9hrs+iqO+/wa8UE6TVkKua1pXUb0XWFOx0FiAj6R9INJ+WE//1/Xo6FG1vB5EpH3ko+XcgwiDXTxcdw==} engines: {node: '>=12'} cpu: [arm64] os: [win32] @@ -930,8 +931,8 @@ packages: dev: true optional: true - /@esbuild/win32-ia32@0.18.13: - resolution: {integrity: sha512-D+wKZaRhQI+MUGMH+DbEr4owC2D7XnF+uyGiZk38QbgzLcofFqIOwFs7ELmIeU45CQgfHNy9Q+LKW3cE8g37Kg==} + /@esbuild/win32-ia32@0.18.16: + resolution: {integrity: sha512-5PFPmq3sSKTp9cT9dzvI67WNfRZGvEVctcZa1KGjDDu4n3H8k59Inbk0du1fz0KrAbKKNpJbdFXQMDUz7BG4rQ==} engines: {node: '>=12'} cpu: [ia32] os: [win32] @@ -947,8 +948,8 @@ packages: dev: true optional: true - /@esbuild/win32-x64@0.18.13: - resolution: {integrity: sha512-iVl6lehAfJS+VmpF3exKpNQ8b0eucf5VWfzR8S7xFve64NBNz2jPUgx1X93/kfnkfgP737O+i1k54SVQS7uVZA==} + /@esbuild/win32-x64@0.18.16: + resolution: {integrity: sha512-sCIVrrtcWN5Ua7jYXNG1xD199IalrbfV2+0k/2Zf2OyV2FtnQnMgdzgpRAbi4AWlKJj1jkX+M+fEGPQj6BQB4w==} engines: {node: '>=12'} cpu: [x64] os: [win32] @@ -1814,6 +1815,7 @@ packages: /ansi-styles@3.2.1: resolution: {integrity: sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==} engines: {node: '>=4'} + requiresBuild: true dependencies: color-convert: 1.9.3 dev: true @@ -2109,6 +2111,7 @@ packages: /chalk@2.4.2: resolution: {integrity: sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==} engines: {node: '>=4'} + requiresBuild: true dependencies: ansi-styles: 3.2.1 escape-string-regexp: 1.0.5 @@ -2215,6 +2218,7 @@ packages: /color-convert@1.9.3: resolution: {integrity: sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==} + requiresBuild: true dependencies: color-name: 1.1.3 dev: true @@ -2227,6 +2231,7 @@ packages: /color-name@1.1.3: resolution: {integrity: sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==} + requiresBuild: true dev: true /color-name@1.1.4: @@ -2491,13 +2496,13 @@ packages: resolution: {integrity: sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg==} dev: false - /edge-runtime@2.4.4: - resolution: {integrity: sha512-uq1YdIxkMDsBYLdSSp/w62PciCL46ic4m1Z/2G6N8RcAPI8p35O8u6hJQT83j28Dnt4U5iyvmwFMYouHMK51uA==} + /edge-runtime@2.4.5: + resolution: {integrity: sha512-SavsXBll1aPBbD1wu1bHVdk2hxbmRhWe0GfeShwjrdKmFu/TUBWo1712Yk68YVhAfsaBSAqtcAF1ei7qLDKzPA==} engines: {node: '>=14'} hasBin: true dependencies: '@edge-runtime/format': 2.1.0 - '@edge-runtime/vm': 3.0.3 + '@edge-runtime/vm': 3.0.4 async-listen: 3.0.0 mri: 1.2.0 picocolors: 1.0.0 @@ -2639,34 +2644,34 @@ packages: '@esbuild/win32-x64': 0.17.19 dev: true - /esbuild@0.18.13: - resolution: {integrity: sha512-vhg/WR/Oiu4oUIkVhmfcc23G6/zWuEQKFS+yiosSHe4aN6+DQRXIfeloYGibIfVhkr4wyfuVsGNLr+sQU1rWWw==} + /esbuild@0.18.16: + resolution: {integrity: sha512-1xLsOXrDqwdHxyXb/x/SOyg59jpf/SH7YMvU5RNSU7z3TInaASNJWNFJ6iRvLvLETZMasF3d1DdZLg7sgRimRQ==} engines: {node: '>=12'} hasBin: true requiresBuild: true optionalDependencies: - '@esbuild/android-arm': 0.18.13 - '@esbuild/android-arm64': 0.18.13 - '@esbuild/android-x64': 0.18.13 - '@esbuild/darwin-arm64': 0.18.13 - '@esbuild/darwin-x64': 0.18.13 - '@esbuild/freebsd-arm64': 0.18.13 - '@esbuild/freebsd-x64': 0.18.13 - '@esbuild/linux-arm': 0.18.13 - '@esbuild/linux-arm64': 0.18.13 - '@esbuild/linux-ia32': 0.18.13 - '@esbuild/linux-loong64': 0.18.13 - '@esbuild/linux-mips64el': 0.18.13 - '@esbuild/linux-ppc64': 0.18.13 - '@esbuild/linux-riscv64': 0.18.13 - '@esbuild/linux-s390x': 0.18.13 - '@esbuild/linux-x64': 0.18.13 - '@esbuild/netbsd-x64': 0.18.13 - '@esbuild/openbsd-x64': 0.18.13 - '@esbuild/sunos-x64': 0.18.13 - '@esbuild/win32-arm64': 0.18.13 - '@esbuild/win32-ia32': 0.18.13 - '@esbuild/win32-x64': 0.18.13 + '@esbuild/android-arm': 0.18.16 + '@esbuild/android-arm64': 0.18.16 + '@esbuild/android-x64': 0.18.16 + '@esbuild/darwin-arm64': 0.18.16 + '@esbuild/darwin-x64': 0.18.16 + '@esbuild/freebsd-arm64': 0.18.16 + '@esbuild/freebsd-x64': 0.18.16 + '@esbuild/linux-arm': 0.18.16 + '@esbuild/linux-arm64': 0.18.16 + '@esbuild/linux-ia32': 0.18.16 + '@esbuild/linux-loong64': 0.18.16 + '@esbuild/linux-mips64el': 0.18.16 + '@esbuild/linux-ppc64': 0.18.16 + '@esbuild/linux-riscv64': 0.18.16 + '@esbuild/linux-s390x': 0.18.16 + '@esbuild/linux-x64': 0.18.16 + '@esbuild/netbsd-x64': 0.18.16 + '@esbuild/openbsd-x64': 0.18.16 + '@esbuild/sunos-x64': 0.18.16 + '@esbuild/win32-arm64': 0.18.16 + '@esbuild/win32-ia32': 0.18.16 + '@esbuild/win32-x64': 0.18.16 /escalade@3.1.1: resolution: {integrity: sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==} @@ -3439,6 +3444,7 @@ packages: /has-flag@3.0.0: resolution: {integrity: sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==} engines: {node: '>=4'} + requiresBuild: true dev: true /has-flag@4.0.0: @@ -3625,11 +3631,6 @@ packages: - supports-color dev: false - /ip-regex@5.0.0: - resolution: {integrity: sha512-fOCG6lhoKKakwv+C6KdsOnGvgXnmgfmp0myi3bcNwj3qfwPAxRKWEuFhvEFF7ceYIz6+1jRZ+yguLFAmUNPEfw==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - dev: false - /iron-webcrypto@0.7.1: resolution: {integrity: sha512-K/UmlEhPCPXEHV5hAtH5C0tI5JnFuOrv4yO/j7ODPl3HaiiHBLbOLTde+ieUaAyfCATe4LoAnclyF+hmSCOVmQ==} dev: false @@ -3867,6 +3868,7 @@ packages: /js-tokens@4.0.0: resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} + requiresBuild: true dev: true /js-yaml@4.1.0: @@ -3960,16 +3962,20 @@ packages: resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==} dev: true - /listhen@1.0.4: - resolution: {integrity: sha512-r94k7kmXHb8e8wpv7+UP/qqhhD+j/9TgX19QKim2cEJuWCLwlTw+5BkCFmYyjhQ7Bt8KdVun/2DcD7MF2Fe3+g==} + /listhen@1.1.2: + resolution: {integrity: sha512-rLX5V57oonazmc6zoZ2LzfbSOfGzDOLdQ/eTEh/d3f1xYMACH1yIU8nr0YGl2WiR+l31o3QCN4/VH2dUNyYvTA==} + hasBin: true dependencies: + citty: 0.1.2 clipboardy: 3.0.0 - colorette: 2.0.20 + consola: 3.2.3 defu: 6.1.2 get-port-please: 3.0.1 http-shutdown: 1.2.2 - ip-regex: 5.0.0 + jiti: 1.19.1 + mlly: 1.4.0 node-forge: 1.3.1 + pathe: 1.1.1 ufo: 1.1.2 dev: false @@ -4435,8 +4441,8 @@ packages: is-wsl: 2.2.0 dev: true - /openapi-typescript@6.3.4: - resolution: {integrity: sha512-icWb7WBBFr8+RxX7NZC5ez0WkTSQAScLnI33vHRLvWxkpOGKLlp94C0wcicZWzh85EoIoFjO+tujcQxo7zeZdA==} + /openapi-typescript@6.3.7: + resolution: {integrity: sha512-hZKa43Ii/N8tbz1fc0cyyyWBEY4CARXeEmmUwI7D5Z+pfwQz1oei94IRJH3D/ZhGTHn74ETXZWmRO5AJI0cKuA==} hasBin: true dependencies: ansi-colors: 4.1.3 @@ -4610,8 +4616,8 @@ packages: engines: {node: '>=6'} dev: true - /pretty-bytes@6.1.0: - resolution: {integrity: sha512-Rk753HI8f4uivXi4ZCIYdhmG1V+WKzvRMg/X+M42a6t7D07RcmopXJMDNk6N++7Bl75URRGsb40ruvg7Hcp2wQ==} + /pretty-bytes@6.1.1: + resolution: {integrity: sha512-mQUvGU6aUFQ+rNvTIAcZuWGRT9a6f6Yrg9bHs4ImKF+HZCEK+plBvnAZYSIQztknZF2qnzNtr6F8s0+IuptdlQ==} engines: {node: ^14.13.1 || >=16.0.0} /pretty-format@29.6.1: @@ -5158,6 +5164,7 @@ packages: /supports-color@5.5.0: resolution: {integrity: sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==} engines: {node: '>=4'} + requiresBuild: true dependencies: has-flag: 3.0.0 dev: true @@ -5402,7 +5409,7 @@ packages: mri: 1.2.0 pathe: 1.1.1 pkg-types: 1.0.3 - pretty-bytes: 6.1.0 + pretty-bytes: 6.1.1 rollup: 3.26.3 rollup-plugin-dts: 5.3.0(rollup@3.26.3)(typescript@5.1.6) scule: 1.0.0 @@ -5433,8 +5440,8 @@ packages: pathe: 1.1.1 dev: false - /unimport@3.0.14(rollup@3.26.3): - resolution: {integrity: sha512-67Rh/sGpEuVqdHWkXaZ6NOq+I7sKt86o+DUtKeGB6dh4Hk1A8AQrzyVGg2+LaVEYotStH7HwvV9YSaRjyT7Uqg==} + /unimport@3.1.0(rollup@3.26.3): + resolution: {integrity: sha512-ybK3NVWh30MdiqSyqakrrQOeiXyu5507tDA0tUf7VJHrsq4DM6S43gR7oAsZaFojM32hzX982Lqw02D3yf2aiA==} dependencies: '@rollup/pluginutils': 5.0.2(rollup@3.26.3) escape-string-regexp: 5.0.0 @@ -5446,7 +5453,7 @@ packages: pkg-types: 1.0.3 scule: 1.0.0 strip-literal: 1.0.1 - unplugin: 1.3.2 + unplugin: 1.4.0 transitivePeerDependencies: - rollup dev: false @@ -5455,8 +5462,8 @@ packages: resolution: {integrity: sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==} engines: {node: '>= 10.0.0'} - /unplugin@1.3.2: - resolution: {integrity: sha512-Lh7/2SryjXe/IyWqx9K7IKwuKhuOFZEhotiBquOODsv2IVyDkI9lv/XhgfjdXf/xdbv32txmnBNnC/JVTDJlsA==} + /unplugin@1.4.0: + resolution: {integrity: sha512-5x4eIEL6WgbzqGtF9UV8VEC/ehKptPXDS6L2b0mv4FRMkJxRtjaJfOWDd6a8+kYbqsjklix7yWP0N3SUepjXcg==} dependencies: acorn: 8.10.0 chokidar: 3.5.3 @@ -5501,7 +5508,7 @@ packages: destr: 2.0.0 h3: 1.7.1 ioredis: 5.3.2 - listhen: 1.0.4 + listhen: 1.1.2 lru-cache: 10.0.0 mri: 1.2.0 node-fetch-native: 1.2.0 @@ -5635,7 +5642,7 @@ packages: optional: true dependencies: '@types/node': 20.4.2 - esbuild: 0.18.13 + esbuild: 0.18.16 postcss: 8.4.26 rollup: 3.26.3 optionalDependencies: