@nuxt/nitro-server 3.20.2 → 3.21.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -3
- package/dist/THIRD-PARTY-LICENSES.md +3826 -0
- package/dist/_chunks/libs/@babel/parser.d.mts +1536 -0
- package/dist/_chunks/libs/@jridgewell/trace-mapping.d.mts +82 -0
- package/dist/_chunks/libs/@types/estree.d.mts +525 -0
- package/dist/_chunks/libs/@types/pug.d.mts +123 -0
- package/dist/_chunks/libs/@vitejs/plugin-vue-jsx.d.mts +17996 -0
- package/dist/_chunks/libs/@vitejs/plugin-vue.d.mts +83 -0
- package/dist/_chunks/libs/@volar/language-core.d.mts +56 -0
- package/dist/_chunks/libs/@volar/source-map.d.mts +10 -0
- package/dist/_chunks/libs/@vue/compiler-dom.d.mts +45 -0
- package/dist/_chunks/libs/@vue/language-core.d.mts +194 -0
- package/dist/_chunks/libs/autoprefixer.d.mts +83 -0
- package/dist/_chunks/libs/c12.d.mts +146 -0
- package/dist/_chunks/libs/compatx.d.mts +47 -0
- package/dist/_chunks/libs/css-minimizer-webpack-plugin.d.mts +9 -0
- package/dist/_chunks/libs/esbuild-loader.d.mts +16 -0
- package/dist/_chunks/libs/mini-css-extract-plugin.d.mts +1 -0
- package/dist/_chunks/libs/mlly.d.mts +57 -0
- package/dist/_chunks/libs/ofetch.d.mts +870 -0
- package/dist/_chunks/libs/open.d.mts +1 -0
- package/dist/_chunks/libs/oxc-transform.d.mts +422 -0
- package/dist/_chunks/libs/rollup-plugin-visualizer.d.mts +90 -0
- package/dist/_chunks/libs/scule.d.mts +15 -0
- package/dist/_chunks/libs/unimport.d.mts +386 -0
- package/dist/_chunks/libs/untyped.d.mts +44 -0
- package/dist/_chunks/libs/vue-loader.d.mts +31 -0
- package/dist/_chunks/libs/vue-router.d.mts +1413 -0
- package/dist/_chunks/libs/webpack-dev-middleware.d.mts +2 -0
- package/dist/_chunks/rolldown-runtime.mjs +12 -0
- package/dist/index.d.mts +3418 -43
- package/dist/index.mjs +677 -742
- package/dist/runtime/handlers/{error.d.ts → error.d.mts} +1 -1
- package/dist/runtime/handlers/error.mjs +78 -0
- package/dist/runtime/handlers/island.d.mts +2 -0
- package/dist/runtime/handlers/island.mjs +123 -0
- package/dist/runtime/handlers/renderer.d.mts +2 -0
- package/dist/runtime/handlers/renderer.mjs +306 -0
- package/dist/runtime/middleware/no-ssr.d.mts +2 -0
- package/dist/runtime/middleware/no-ssr.mjs +7 -0
- package/dist/runtime/plugins/dev-server-logs.d.mts +2 -0
- package/dist/runtime/plugins/dev-server-logs.mjs +94 -0
- package/dist/runtime/templates/{error-500.d.ts → error-500.d.mts} +1 -1
- package/dist/runtime/templates/error-500.mjs +15 -0
- package/dist/runtime/utils/cache.d.mts +5 -0
- package/dist/runtime/utils/cache.mjs +20 -0
- package/dist/runtime/utils/config.d.mts +1 -0
- package/dist/runtime/utils/{dev.d.ts → dev.d.mts} +1 -1
- package/dist/runtime/utils/dev.mjs +985 -0
- package/dist/runtime/utils/error.d.mts +6 -0
- package/dist/runtime/utils/error.mjs +15 -0
- package/dist/runtime/utils/paths.mjs +19 -0
- package/dist/runtime/utils/renderer/{app.d.ts → app.d.mts} +4 -4
- package/dist/runtime/utils/renderer/app.mjs +38 -0
- package/dist/runtime/utils/renderer/build-files.d.mts +16 -0
- package/dist/runtime/utils/renderer/build-files.mjs +100 -0
- package/dist/runtime/utils/renderer/{inline-styles.d.ts → inline-styles.d.mts} +1 -1
- package/dist/runtime/utils/renderer/inline-styles.mjs +13 -0
- package/dist/runtime/utils/renderer/{islands.d.ts → islands.d.mts} +5 -5
- package/dist/runtime/utils/renderer/islands.mjs +87 -0
- package/dist/runtime/utils/renderer/payload.d.mts +24 -0
- package/dist/runtime/utils/renderer/payload.mjs +64 -0
- package/package.json +20 -18
- package/dist/index.d.ts +0 -47
- package/dist/runtime/handlers/error.js +0 -64
- package/dist/runtime/handlers/island.d.ts +0 -4
- package/dist/runtime/handlers/island.js +0 -102
- package/dist/runtime/handlers/renderer.d.ts +0 -8
- package/dist/runtime/handlers/renderer.js +0 -238
- package/dist/runtime/middleware/no-ssr.d.ts +0 -2
- package/dist/runtime/middleware/no-ssr.js +0 -7
- package/dist/runtime/plugins/dev-server-logs.d.ts +0 -3
- package/dist/runtime/plugins/dev-server-logs.js +0 -82
- package/dist/runtime/templates/error-500.js +0 -6
- package/dist/runtime/utils/cache-driver.d.ts +0 -6
- package/dist/runtime/utils/cache.d.ts +0 -8
- package/dist/runtime/utils/cache.js +0 -19
- package/dist/runtime/utils/config.d.ts +0 -1
- package/dist/runtime/utils/dev.js +0 -334
- package/dist/runtime/utils/error.d.ts +0 -6
- package/dist/runtime/utils/error.js +0 -11
- package/dist/runtime/utils/paths.js +0 -16
- package/dist/runtime/utils/renderer/app.js +0 -33
- package/dist/runtime/utils/renderer/build-files.d.ts +0 -22
- package/dist/runtime/utils/renderer/build-files.js +0 -85
- package/dist/runtime/utils/renderer/inline-styles.js +0 -13
- package/dist/runtime/utils/renderer/islands.js +0 -82
- package/dist/runtime/utils/renderer/payload.d.ts +0 -37
- package/dist/runtime/utils/renderer/payload.js +0 -67
- /package/dist/runtime/utils/{config.js → config.mjs} +0 -0
- /package/dist/runtime/utils/{paths.d.ts → paths.d.mts} +0 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { bi as TransformOptions, xi as transform } from "./@vitejs/plugin-vue-jsx.mjs";
|
|
2
|
+
|
|
3
|
+
//#region ../../node_modules/.pnpm/esbuild-loader@4.4.2_webpack@5.105.0_esbuild@0.27.3_/node_modules/esbuild-loader/dist/index.d.cts
|
|
4
|
+
type Implementation = {
|
|
5
|
+
transform: typeof transform;
|
|
6
|
+
};
|
|
7
|
+
type Except<ObjectType, Properties> = { [Key in keyof ObjectType as (Key extends Properties ? never : Key)]: ObjectType[Key] };
|
|
8
|
+
type LoaderOptions = Except<TransformOptions, 'sourcemap' | 'sourcefile'> & {
|
|
9
|
+
/** Pass a custom esbuild implementation */implementation?: Implementation;
|
|
10
|
+
/**
|
|
11
|
+
* Path to tsconfig.json file
|
|
12
|
+
*/
|
|
13
|
+
tsconfig?: string;
|
|
14
|
+
};
|
|
15
|
+
//#endregion
|
|
16
|
+
export { LoaderOptions as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
//#region ../../node_modules/.pnpm/mlly@1.8.0/node_modules/mlly/dist/index.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* Represents a general structure for ECMAScript module exports.
|
|
4
|
+
*/
|
|
5
|
+
interface ESMExport {
|
|
6
|
+
/**
|
|
7
|
+
* Optional explicit type for complex scenarios, often used internally.
|
|
8
|
+
* @optional
|
|
9
|
+
*/
|
|
10
|
+
_type?: "declaration" | "named" | "default" | "star";
|
|
11
|
+
/**
|
|
12
|
+
* The type of export (declaration, named, default or star).
|
|
13
|
+
*/
|
|
14
|
+
type: "declaration" | "named" | "default" | "star";
|
|
15
|
+
/**
|
|
16
|
+
* The specific type of declaration being exported, if applicable.
|
|
17
|
+
* @optional
|
|
18
|
+
*/
|
|
19
|
+
declarationType?: "let" | "var" | "const" | "enum" | "const enum" | "class" | "function" | "async function";
|
|
20
|
+
/**
|
|
21
|
+
* The full code snippet of the export statement.
|
|
22
|
+
*/
|
|
23
|
+
code: string;
|
|
24
|
+
/**
|
|
25
|
+
* The starting position (index) of the export declaration in the source code.
|
|
26
|
+
*/
|
|
27
|
+
start: number;
|
|
28
|
+
/**
|
|
29
|
+
* The end position (index) of the export declaration in the source code.
|
|
30
|
+
*/
|
|
31
|
+
end: number;
|
|
32
|
+
/**
|
|
33
|
+
* The name of the variable, function or class being exported, if given explicitly.
|
|
34
|
+
* @optional
|
|
35
|
+
*/
|
|
36
|
+
name?: string;
|
|
37
|
+
/**
|
|
38
|
+
* The name used for default exports when a specific identifier isn't given.
|
|
39
|
+
* @optional
|
|
40
|
+
*/
|
|
41
|
+
defaultName?: string;
|
|
42
|
+
/**
|
|
43
|
+
* An array of names to export, applicable to named and destructured exports.
|
|
44
|
+
*/
|
|
45
|
+
names: string[];
|
|
46
|
+
/**
|
|
47
|
+
* The module specifier, if any, from which exports are being re-exported.
|
|
48
|
+
* @optional
|
|
49
|
+
*/
|
|
50
|
+
specifier?: string;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Represents a declaration export within an ECMAScript module.
|
|
54
|
+
* Extends {@link ESMExport}.
|
|
55
|
+
*/
|
|
56
|
+
//#endregion
|
|
57
|
+
export { ESMExport as t };
|