@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.
Files changed (91) hide show
  1. package/README.md +5 -3
  2. package/dist/THIRD-PARTY-LICENSES.md +3826 -0
  3. package/dist/_chunks/libs/@babel/parser.d.mts +1536 -0
  4. package/dist/_chunks/libs/@jridgewell/trace-mapping.d.mts +82 -0
  5. package/dist/_chunks/libs/@types/estree.d.mts +525 -0
  6. package/dist/_chunks/libs/@types/pug.d.mts +123 -0
  7. package/dist/_chunks/libs/@vitejs/plugin-vue-jsx.d.mts +17996 -0
  8. package/dist/_chunks/libs/@vitejs/plugin-vue.d.mts +83 -0
  9. package/dist/_chunks/libs/@volar/language-core.d.mts +56 -0
  10. package/dist/_chunks/libs/@volar/source-map.d.mts +10 -0
  11. package/dist/_chunks/libs/@vue/compiler-dom.d.mts +45 -0
  12. package/dist/_chunks/libs/@vue/language-core.d.mts +194 -0
  13. package/dist/_chunks/libs/autoprefixer.d.mts +83 -0
  14. package/dist/_chunks/libs/c12.d.mts +146 -0
  15. package/dist/_chunks/libs/compatx.d.mts +47 -0
  16. package/dist/_chunks/libs/css-minimizer-webpack-plugin.d.mts +9 -0
  17. package/dist/_chunks/libs/esbuild-loader.d.mts +16 -0
  18. package/dist/_chunks/libs/mini-css-extract-plugin.d.mts +1 -0
  19. package/dist/_chunks/libs/mlly.d.mts +57 -0
  20. package/dist/_chunks/libs/ofetch.d.mts +870 -0
  21. package/dist/_chunks/libs/open.d.mts +1 -0
  22. package/dist/_chunks/libs/oxc-transform.d.mts +422 -0
  23. package/dist/_chunks/libs/rollup-plugin-visualizer.d.mts +90 -0
  24. package/dist/_chunks/libs/scule.d.mts +15 -0
  25. package/dist/_chunks/libs/unimport.d.mts +386 -0
  26. package/dist/_chunks/libs/untyped.d.mts +44 -0
  27. package/dist/_chunks/libs/vue-loader.d.mts +31 -0
  28. package/dist/_chunks/libs/vue-router.d.mts +1413 -0
  29. package/dist/_chunks/libs/webpack-dev-middleware.d.mts +2 -0
  30. package/dist/_chunks/rolldown-runtime.mjs +12 -0
  31. package/dist/index.d.mts +3418 -43
  32. package/dist/index.mjs +677 -742
  33. package/dist/runtime/handlers/{error.d.ts → error.d.mts} +1 -1
  34. package/dist/runtime/handlers/error.mjs +78 -0
  35. package/dist/runtime/handlers/island.d.mts +2 -0
  36. package/dist/runtime/handlers/island.mjs +123 -0
  37. package/dist/runtime/handlers/renderer.d.mts +2 -0
  38. package/dist/runtime/handlers/renderer.mjs +306 -0
  39. package/dist/runtime/middleware/no-ssr.d.mts +2 -0
  40. package/dist/runtime/middleware/no-ssr.mjs +7 -0
  41. package/dist/runtime/plugins/dev-server-logs.d.mts +2 -0
  42. package/dist/runtime/plugins/dev-server-logs.mjs +94 -0
  43. package/dist/runtime/templates/{error-500.d.ts → error-500.d.mts} +1 -1
  44. package/dist/runtime/templates/error-500.mjs +15 -0
  45. package/dist/runtime/utils/cache.d.mts +5 -0
  46. package/dist/runtime/utils/cache.mjs +20 -0
  47. package/dist/runtime/utils/config.d.mts +1 -0
  48. package/dist/runtime/utils/{dev.d.ts → dev.d.mts} +1 -1
  49. package/dist/runtime/utils/dev.mjs +985 -0
  50. package/dist/runtime/utils/error.d.mts +6 -0
  51. package/dist/runtime/utils/error.mjs +15 -0
  52. package/dist/runtime/utils/paths.mjs +19 -0
  53. package/dist/runtime/utils/renderer/{app.d.ts → app.d.mts} +4 -4
  54. package/dist/runtime/utils/renderer/app.mjs +38 -0
  55. package/dist/runtime/utils/renderer/build-files.d.mts +16 -0
  56. package/dist/runtime/utils/renderer/build-files.mjs +100 -0
  57. package/dist/runtime/utils/renderer/{inline-styles.d.ts → inline-styles.d.mts} +1 -1
  58. package/dist/runtime/utils/renderer/inline-styles.mjs +13 -0
  59. package/dist/runtime/utils/renderer/{islands.d.ts → islands.d.mts} +5 -5
  60. package/dist/runtime/utils/renderer/islands.mjs +87 -0
  61. package/dist/runtime/utils/renderer/payload.d.mts +24 -0
  62. package/dist/runtime/utils/renderer/payload.mjs +64 -0
  63. package/package.json +20 -18
  64. package/dist/index.d.ts +0 -47
  65. package/dist/runtime/handlers/error.js +0 -64
  66. package/dist/runtime/handlers/island.d.ts +0 -4
  67. package/dist/runtime/handlers/island.js +0 -102
  68. package/dist/runtime/handlers/renderer.d.ts +0 -8
  69. package/dist/runtime/handlers/renderer.js +0 -238
  70. package/dist/runtime/middleware/no-ssr.d.ts +0 -2
  71. package/dist/runtime/middleware/no-ssr.js +0 -7
  72. package/dist/runtime/plugins/dev-server-logs.d.ts +0 -3
  73. package/dist/runtime/plugins/dev-server-logs.js +0 -82
  74. package/dist/runtime/templates/error-500.js +0 -6
  75. package/dist/runtime/utils/cache-driver.d.ts +0 -6
  76. package/dist/runtime/utils/cache.d.ts +0 -8
  77. package/dist/runtime/utils/cache.js +0 -19
  78. package/dist/runtime/utils/config.d.ts +0 -1
  79. package/dist/runtime/utils/dev.js +0 -334
  80. package/dist/runtime/utils/error.d.ts +0 -6
  81. package/dist/runtime/utils/error.js +0 -11
  82. package/dist/runtime/utils/paths.js +0 -16
  83. package/dist/runtime/utils/renderer/app.js +0 -33
  84. package/dist/runtime/utils/renderer/build-files.d.ts +0 -22
  85. package/dist/runtime/utils/renderer/build-files.js +0 -85
  86. package/dist/runtime/utils/renderer/inline-styles.js +0 -13
  87. package/dist/runtime/utils/renderer/islands.js +0 -82
  88. package/dist/runtime/utils/renderer/payload.d.ts +0 -37
  89. package/dist/runtime/utils/renderer/payload.js +0 -67
  90. /package/dist/runtime/utils/{config.js → config.mjs} +0 -0
  91. /package/dist/runtime/utils/{paths.d.ts → paths.d.mts} +0 -0
@@ -0,0 +1,9 @@
1
+ import "child_process";
2
+ import "buffer";
3
+ import "http";
4
+ import "https";
5
+ import "inspector";
6
+ import "net";
7
+ import "url";
8
+ import "vm";
9
+ import "worker_threads";
@@ -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 };