@nuxt/nitro-server-nightly 3.21.2-29531082.8a456afa → 3.21.2-29532005.4df85b25
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/dist/_chunks/libs/@jridgewell/source-map.d.mts +1 -0
- package/dist/_chunks/libs/@types/json-schema.d.mts +1 -0
- package/dist/_chunks/libs/@vitejs/plugin-vue-jsx.d.mts +43 -43
- package/dist/_chunks/libs/@vitejs/plugin-vue.d.mts +1 -1
- package/dist/_chunks/libs/@volar/language-core.d.mts +11 -2
- package/dist/_chunks/libs/@vue/compiler-dom.d.mts +1 -1
- package/dist/_chunks/libs/@vue/language-core.d.mts +4 -6
- package/dist/_chunks/libs/acorn.d.mts +1 -0
- package/dist/_chunks/libs/ajv.d.mts +1 -0
- package/dist/_chunks/libs/c12.d.mts +1 -2
- package/dist/_chunks/libs/css-minimizer-webpack-plugin.d.mts +1 -9
- package/dist/_chunks/libs/cssnano.d.mts +1 -0
- package/dist/_chunks/libs/ignore.d.mts +1 -0
- package/dist/_chunks/libs/js-tokens.d.mts +1 -0
- package/dist/_chunks/libs/ofetch.d.mts +0 -3
- package/dist/_chunks/libs/open.d.mts +0 -2
- package/dist/_chunks/libs/oxc-transform.d.mts +1 -1
- package/dist/_chunks/libs/rollup-plugin-visualizer.d.mts +3 -3
- package/dist/_chunks/libs/strip-literal.d.mts +1 -0
- package/dist/_chunks/libs/vue-loader.d.mts +1 -1
- package/dist/_chunks/libs/vue-router.d.mts +2 -2
- package/dist/_chunks/libs/webpack-dev-middleware.d.mts +1 -2
- package/dist/_chunks/rolldown-runtime.mjs +0 -1
- package/dist/index.d.mts +13 -1
- package/dist/index.mjs +1 -1
- package/dist/runtime/handlers/island.d.mts +3 -2
- package/dist/runtime/handlers/island.mjs +2 -1
- package/dist/runtime/handlers/renderer.d.mts +3 -2
- package/dist/runtime/handlers/renderer.mjs +2 -1
- package/dist/runtime/middleware/no-ssr.d.mts +3 -2
- package/dist/runtime/middleware/no-ssr.mjs +2 -1
- package/dist/runtime/plugins/dev-server-logs.d.mts +2 -1
- package/dist/runtime/utils/cache.d.mts +11 -5
- package/dist/runtime/utils/config.d.mts +1 -1
- package/dist/runtime/utils/error.d.mts +1 -1
- package/dist/runtime/utils/error.mjs +1 -1
- package/dist/runtime/utils/renderer/build-files.d.mts +2 -2
- package/package.json +10 -10
- package/dist/_chunks/libs/@volar/source-map.d.mts +0 -10
- /package/dist/_chunks/libs/@jridgewell/{trace-mapping.d.mts → gen-mapping.d.mts} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
2
|
import { i as Program$1, n as Expression$1, r as Node$3, t as BaseNode } from "../@types/estree.mjs";
|
|
3
|
-
import { t as SectionedSourceMapInput } from "../@jridgewell/
|
|
3
|
+
import { t as SectionedSourceMapInput } from "../@jridgewell/gen-mapping.mjs";
|
|
4
4
|
import { a as Node$4, c as Statement$1, i as Identifier$1, l as SwitchCase, n as BlockStatement$1, o as ObjectProperty, r as Function$1, s as Program$2, t as PluginConfig } from "../@babel/parser.mjs";
|
|
5
5
|
import { URL as URL$1 } from "node:url";
|
|
6
6
|
import * as fs from "node:fs";
|
|
@@ -20,7 +20,7 @@ import Stylus from "stylus";
|
|
|
20
20
|
import Lightningcss from "lightningcss";
|
|
21
21
|
import { PatchFlags, generateCodeFrame } from "@vue/shared";
|
|
22
22
|
|
|
23
|
-
//#region ../../node_modules/.pnpm/vite@7.3.1_@types+node@24.10.
|
|
23
|
+
//#region ../../node_modules/.pnpm/vite@7.3.1_@types+node@24.10.13_jiti@2.6.1_terser@5.44.1_yaml@2.8.2/node_modules/vite/types/hmrPayload.d.ts
|
|
24
24
|
type HotPayload = ConnectedPayload | PingPayload | UpdatePayload | FullReloadPayload | CustomPayload | ErrorPayload | PrunePayload;
|
|
25
25
|
interface ConnectedPayload {
|
|
26
26
|
type: 'connected';
|
|
@@ -79,7 +79,7 @@ interface ErrorPayload {
|
|
|
79
79
|
};
|
|
80
80
|
}
|
|
81
81
|
//#endregion
|
|
82
|
-
//#region ../../node_modules/.pnpm/vite@7.3.1_@types+node@24.10.
|
|
82
|
+
//#region ../../node_modules/.pnpm/vite@7.3.1_@types+node@24.10.13_jiti@2.6.1_terser@5.44.1_yaml@2.8.2/node_modules/vite/dist/node/chunks/moduleRunnerTransport.d.ts
|
|
83
83
|
//#region src/shared/invokeMethods.d.ts
|
|
84
84
|
interface FetchFunctionOptions {
|
|
85
85
|
cached?: boolean;
|
|
@@ -132,7 +132,7 @@ interface ViteFetchResult {
|
|
|
132
132
|
invalidate: boolean;
|
|
133
133
|
}
|
|
134
134
|
//#endregion
|
|
135
|
-
//#region ../../node_modules/.pnpm/vite@7.3.1_@types+node@24.10.
|
|
135
|
+
//#region ../../node_modules/.pnpm/vite@7.3.1_@types+node@24.10.13_jiti@2.6.1_terser@5.44.1_yaml@2.8.2/node_modules/vite/types/customEvent.d.ts
|
|
136
136
|
interface CustomEventMap {
|
|
137
137
|
// client events
|
|
138
138
|
'vite:beforeUpdate': UpdatePayload;
|
|
@@ -166,7 +166,7 @@ interface InvalidatePayload {
|
|
|
166
166
|
*/
|
|
167
167
|
type InferCustomEventPayload<T extends string> = T extends keyof CustomEventMap ? CustomEventMap[T] : any;
|
|
168
168
|
//#endregion
|
|
169
|
-
//#region ../../node_modules/.pnpm/rollup@4.
|
|
169
|
+
//#region ../../node_modules/.pnpm/rollup@4.59.0/node_modules/rollup/dist/rollup.d.ts
|
|
170
170
|
declare module 'estree' {
|
|
171
171
|
export interface Decorator extends BaseNode {
|
|
172
172
|
type: 'Decorator';
|
|
@@ -577,7 +577,7 @@ interface OutputPlugin extends Partial<{ [K in OutputPluginHooks]: PluginHooks[K
|
|
|
577
577
|
name: string;
|
|
578
578
|
version?: string | undefined;
|
|
579
579
|
}
|
|
580
|
-
interface Plugin$
|
|
580
|
+
interface Plugin$4<A = any> extends OutputPlugin, Partial<PluginHooks> {
|
|
581
581
|
// for inter-plugin communication
|
|
582
582
|
api?: A | undefined;
|
|
583
583
|
}
|
|
@@ -634,7 +634,7 @@ type ModuleSideEffectsOption = boolean | 'no-external' | string[] | HasModuleSid
|
|
|
634
634
|
type PreserveEntrySignaturesOption = false | 'strict' | 'allow-extension' | 'exports-only';
|
|
635
635
|
type SourcemapPathTransformOption = (relativeSourcePath: string, sourcemapPath: string) => string;
|
|
636
636
|
type SourcemapIgnoreListOption = (relativeSourcePath: string, sourcemapPath: string) => boolean;
|
|
637
|
-
type InputPluginOption = MaybePromise<Plugin$
|
|
637
|
+
type InputPluginOption = MaybePromise<Plugin$4 | NullValue | false | InputPluginOption[]>;
|
|
638
638
|
interface InputOptions {
|
|
639
639
|
cache?: boolean | RollupCache | undefined;
|
|
640
640
|
context?: string | undefined;
|
|
@@ -674,7 +674,7 @@ interface NormalizedInputOptions {
|
|
|
674
674
|
moduleContext: (id: string) => string;
|
|
675
675
|
onLog: LogHandler;
|
|
676
676
|
perf: boolean;
|
|
677
|
-
plugins: Plugin$
|
|
677
|
+
plugins: Plugin$4[];
|
|
678
678
|
preserveEntrySignatures: PreserveEntrySignaturesOption;
|
|
679
679
|
preserveSymlinks: boolean;
|
|
680
680
|
shimMissingExports: boolean;
|
|
@@ -1229,7 +1229,7 @@ interface BuildOptions$2 extends CommonOptions {
|
|
|
1229
1229
|
/** Documentation: https://esbuild.github.io/api/#stdin */
|
|
1230
1230
|
stdin?: StdinOptions;
|
|
1231
1231
|
/** Documentation: https://esbuild.github.io/plugins/ */
|
|
1232
|
-
plugins?: Plugin$
|
|
1232
|
+
plugins?: Plugin$3[];
|
|
1233
1233
|
/** Documentation: https://esbuild.github.io/api/#working-directory */
|
|
1234
1234
|
absWorkingDir?: string;
|
|
1235
1235
|
/** Documentation: https://esbuild.github.io/api/#node-paths */
|
|
@@ -1333,7 +1333,7 @@ interface TransformResult$1<ProvidedOptions extends TransformOptions$2 = Transfo
|
|
|
1333
1333
|
/** Only when "legalComments" is "external" */
|
|
1334
1334
|
legalComments: string | (ProvidedOptions['legalComments'] extends 'external' ? never : undefined);
|
|
1335
1335
|
}
|
|
1336
|
-
interface Plugin$
|
|
1336
|
+
interface Plugin$3 {
|
|
1337
1337
|
name: string;
|
|
1338
1338
|
setup: (build: PluginBuild) => (void | Promise<void>);
|
|
1339
1339
|
}
|
|
@@ -1821,7 +1821,7 @@ interface FormatOptions {
|
|
|
1821
1821
|
semicolons?: boolean;
|
|
1822
1822
|
shebang?: boolean;
|
|
1823
1823
|
shorthand?: boolean;
|
|
1824
|
-
source_map?: SourceMapOptions$
|
|
1824
|
+
source_map?: SourceMapOptions$3;
|
|
1825
1825
|
webkit?: boolean;
|
|
1826
1826
|
width?: number;
|
|
1827
1827
|
wrap_iife?: boolean;
|
|
@@ -1848,10 +1848,10 @@ interface MinifyOptions {
|
|
|
1848
1848
|
output?: FormatOptions;
|
|
1849
1849
|
parse?: ParseOptions;
|
|
1850
1850
|
safari10?: boolean;
|
|
1851
|
-
sourceMap?: boolean | SourceMapOptions$
|
|
1851
|
+
sourceMap?: boolean | SourceMapOptions$3;
|
|
1852
1852
|
toplevel?: boolean;
|
|
1853
1853
|
}
|
|
1854
|
-
interface SourceMapOptions$
|
|
1854
|
+
interface SourceMapOptions$3 {
|
|
1855
1855
|
/** Source map object, 'inline' or source map file content */
|
|
1856
1856
|
content?: SectionedSourceMapInput | string;
|
|
1857
1857
|
includeSources?: boolean;
|
|
@@ -1861,11 +1861,11 @@ interface SourceMapOptions$2 {
|
|
|
1861
1861
|
url?: string | 'inline';
|
|
1862
1862
|
}
|
|
1863
1863
|
//#endregion
|
|
1864
|
-
//#region ../../node_modules/.pnpm/vite@7.3.1_@types+node@24.10.
|
|
1864
|
+
//#region ../../node_modules/.pnpm/vite@7.3.1_@types+node@24.10.13_jiti@2.6.1_terser@5.44.1_yaml@2.8.2/node_modules/vite/types/internal/terserOptions.d.ts
|
|
1865
1865
|
/* eslint-enable @typescript-eslint/ban-ts-comment */
|
|
1866
1866
|
type TerserMinifyOptions = MinifyOptions;
|
|
1867
1867
|
//#endregion
|
|
1868
|
-
//#region ../../node_modules/.pnpm/vite@7.3.1_@types+node@24.10.
|
|
1868
|
+
//#region ../../node_modules/.pnpm/vite@7.3.1_@types+node@24.10.13_jiti@2.6.1_terser@5.44.1_yaml@2.8.2/node_modules/vite/types/internal/cssPreprocessorOptions.d.ts
|
|
1869
1869
|
/* eslint-enable @typescript-eslint/ban-ts-comment */
|
|
1870
1870
|
// https://github.com/type-challenges/type-challenges/issues/29285
|
|
1871
1871
|
type IsAny<T> = boolean extends (T extends never ? true : false) ? true : false;
|
|
@@ -1884,12 +1884,12 @@ declare global {
|
|
|
1884
1884
|
interface HTMLLinkElement {}
|
|
1885
1885
|
}
|
|
1886
1886
|
//#endregion
|
|
1887
|
-
//#region ../../node_modules/.pnpm/vite@7.3.1_@types+node@24.10.
|
|
1887
|
+
//#region ../../node_modules/.pnpm/vite@7.3.1_@types+node@24.10.13_jiti@2.6.1_terser@5.44.1_yaml@2.8.2/node_modules/vite/types/internal/lightningcssOptions.d.ts
|
|
1888
1888
|
/* eslint-enable @typescript-eslint/ban-ts-comment */
|
|
1889
1889
|
type LightningCSSOptions = Omit<Lightningcss.BundleAsyncOptions<Lightningcss.CustomAtRules>, 'filename' | 'resolver' | 'minify' | 'sourceMap' | 'analyzeDependencies' // properties not overridden by Vite, but does not make sense to set by end users
|
|
1890
1890
|
| 'inputSourceMap' | 'projectRoot'>;
|
|
1891
1891
|
//#endregion
|
|
1892
|
-
//#region ../../node_modules/.pnpm/vite@7.3.1_@types+node@24.10.
|
|
1892
|
+
//#region ../../node_modules/.pnpm/vite@7.3.1_@types+node@24.10.13_jiti@2.6.1_terser@5.44.1_yaml@2.8.2/node_modules/vite/types/importGlob.d.ts
|
|
1893
1893
|
/**
|
|
1894
1894
|
* Declare Worker in case DOM is not added to the tsconfig lib causing
|
|
1895
1895
|
* Worker interface is not defined. For developers with DOM lib added,
|
|
@@ -1900,7 +1900,7 @@ declare global {
|
|
|
1900
1900
|
interface Worker {}
|
|
1901
1901
|
}
|
|
1902
1902
|
//#endregion
|
|
1903
|
-
//#region ../../node_modules/.pnpm/vite@7.3.1_@types+node@24.10.
|
|
1903
|
+
//#region ../../node_modules/.pnpm/vite@7.3.1_@types+node@24.10.13_jiti@2.6.1_terser@5.44.1_yaml@2.8.2/node_modules/vite/types/metadata.d.ts
|
|
1904
1904
|
interface ChunkMetadata {
|
|
1905
1905
|
importedAssets: Set<string>;
|
|
1906
1906
|
importedCss: Set<string>;
|
|
@@ -1931,7 +1931,7 @@ declare module 'rollup' {
|
|
|
1931
1931
|
}
|
|
1932
1932
|
}
|
|
1933
1933
|
//#endregion
|
|
1934
|
-
//#region ../../node_modules/.pnpm/vite@7.3.1_@types+node@24.10.
|
|
1934
|
+
//#region ../../node_modules/.pnpm/vite@7.3.1_@types+node@24.10.13_jiti@2.6.1_terser@5.44.1_yaml@2.8.2/node_modules/vite/dist/node/index.d.ts
|
|
1935
1935
|
//#region rolldown:runtime
|
|
1936
1936
|
//#endregion
|
|
1937
1937
|
//#region src/types/alias.d.ts
|
|
@@ -2578,7 +2578,7 @@ declare class PartialEnvironment {
|
|
|
2578
2578
|
constructor(name: string, topLevelConfig: ResolvedConfig, options?: ResolvedEnvironmentOptions);
|
|
2579
2579
|
}
|
|
2580
2580
|
declare class BaseEnvironment extends PartialEnvironment {
|
|
2581
|
-
get plugins(): readonly Plugin[];
|
|
2581
|
+
get plugins(): readonly Plugin$1[];
|
|
2582
2582
|
constructor(name: string, config: ResolvedConfig, options?: ResolvedEnvironmentOptions);
|
|
2583
2583
|
}
|
|
2584
2584
|
/**
|
|
@@ -4039,7 +4039,7 @@ type Environment = DevEnvironment | BuildEnvironment | ScanEnvironment | Unknown
|
|
|
4039
4039
|
type SkipInformation = {
|
|
4040
4040
|
id: string;
|
|
4041
4041
|
importer: string | undefined;
|
|
4042
|
-
plugin: Plugin;
|
|
4042
|
+
plugin: Plugin$1;
|
|
4043
4043
|
called?: boolean;
|
|
4044
4044
|
};
|
|
4045
4045
|
declare class EnvironmentPluginContainer<Env extends Environment = Environment> {
|
|
@@ -4068,7 +4068,7 @@ declare class EnvironmentPluginContainer<Env extends Environment = Environment>
|
|
|
4068
4068
|
resolveId(rawId: string, importer?: string | undefined, options?: {
|
|
4069
4069
|
attributes?: Record<string, string>;
|
|
4070
4070
|
custom?: CustomPluginOptions; /** @deprecated use `skipCalls` instead */
|
|
4071
|
-
skip?: Set<Plugin>;
|
|
4071
|
+
skip?: Set<Plugin$1>;
|
|
4072
4072
|
skipCalls?: readonly SkipInformation[];
|
|
4073
4073
|
isEntry?: boolean;
|
|
4074
4074
|
}): Promise<PartialResolvedId | null>;
|
|
@@ -4114,7 +4114,7 @@ declare class PluginContainer {
|
|
|
4114
4114
|
resolveId(rawId: string, importer?: string, options?: {
|
|
4115
4115
|
attributes?: Record<string, string>;
|
|
4116
4116
|
custom?: CustomPluginOptions; /** @deprecated use `skipCalls` instead */
|
|
4117
|
-
skip?: Set<Plugin>;
|
|
4117
|
+
skip?: Set<Plugin$1>;
|
|
4118
4118
|
skipCalls?: readonly SkipInformation[];
|
|
4119
4119
|
ssr?: boolean;
|
|
4120
4120
|
isEntry?: boolean;
|
|
@@ -4489,7 +4489,7 @@ declare module "rollup" {
|
|
|
4489
4489
|
* Environment Plugins are closer to regular rollup plugins. They can't define
|
|
4490
4490
|
* app level hooks (like config, configResolved, configureServer, etc).
|
|
4491
4491
|
*/
|
|
4492
|
-
interface Plugin<A = any> extends Plugin$
|
|
4492
|
+
interface Plugin$1<A = any> extends Plugin$4<A> {
|
|
4493
4493
|
/**
|
|
4494
4494
|
* Perform custom handling of HMR updates.
|
|
4495
4495
|
* The handler receives an options containing changed filename, timestamp, a
|
|
@@ -4680,10 +4680,10 @@ interface Plugin<A = any> extends Plugin$3<A> {
|
|
|
4680
4680
|
handleHotUpdate?: ObjectHook<(this: MinimalPluginContextWithoutEnvironment, ctx: HmrContext) => Array<ModuleNode> | void | Promise<Array<ModuleNode> | void>>;
|
|
4681
4681
|
}
|
|
4682
4682
|
type HookHandler<T$1> = T$1 extends ObjectHook<infer H> ? H : T$1;
|
|
4683
|
-
type PluginWithRequiredHook<K$1 extends keyof Plugin> = Plugin & { [P in K$1]: NonNullable<Plugin[P]> };
|
|
4683
|
+
type PluginWithRequiredHook<K$1 extends keyof Plugin$1> = Plugin$1 & { [P in K$1]: NonNullable<Plugin$1[P]> };
|
|
4684
4684
|
type Thenable<T$1> = T$1 | Promise<T$1>;
|
|
4685
4685
|
type FalsyPlugin = false | null | undefined;
|
|
4686
|
-
type PluginOption = Thenable<Plugin | FalsyPlugin | PluginOption[]>;
|
|
4686
|
+
type PluginOption = Thenable<Plugin$1 | FalsyPlugin | PluginOption[]>;
|
|
4687
4687
|
/**
|
|
4688
4688
|
* @experimental
|
|
4689
4689
|
*/
|
|
@@ -4723,7 +4723,7 @@ interface CSSOptions {
|
|
|
4723
4723
|
* @default true
|
|
4724
4724
|
*/
|
|
4725
4725
|
preprocessorMaxWorkers?: number | true;
|
|
4726
|
-
postcss?: string | (ProcessOptions & {
|
|
4726
|
+
postcss?: string | (ProcessOptions$1 & {
|
|
4727
4727
|
plugins?: AcceptedPlugin[];
|
|
4728
4728
|
});
|
|
4729
4729
|
/**
|
|
@@ -4954,7 +4954,7 @@ type ResolvedEnvironmentOptions = {
|
|
|
4954
4954
|
optimizeDeps: DepOptimizationOptions;
|
|
4955
4955
|
dev: ResolvedDevEnvironmentOptions;
|
|
4956
4956
|
build: ResolvedBuildEnvironmentOptions;
|
|
4957
|
-
plugins: readonly Plugin[];
|
|
4957
|
+
plugins: readonly Plugin$1[];
|
|
4958
4958
|
};
|
|
4959
4959
|
type DefaultEnvironmentOptions = Omit<EnvironmentOptions, "consumer" | "resolve" | "keepProcessEnv"> & {
|
|
4960
4960
|
resolve?: AllResolveOptions;
|
|
@@ -5203,7 +5203,7 @@ interface ResolvedConfig extends Readonly<Omit<UserConfig, "plugins" | "css" | "
|
|
|
5203
5203
|
resolve: Required<ResolveOptions> & {
|
|
5204
5204
|
alias: Alias[];
|
|
5205
5205
|
};
|
|
5206
|
-
plugins: readonly Plugin[];
|
|
5206
|
+
plugins: readonly Plugin$1[];
|
|
5207
5207
|
css: ResolvedCSSOptions;
|
|
5208
5208
|
json: Required<JsonOptions>;
|
|
5209
5209
|
esbuild: ESBuildOptions | false;
|
|
@@ -5245,8 +5245,8 @@ interface ResolvedConfig extends Readonly<Omit<UserConfig, "plugins" | "css" | "
|
|
|
5245
5245
|
webSocketToken: string;
|
|
5246
5246
|
} & PluginHookUtils> {}
|
|
5247
5247
|
interface PluginHookUtils {
|
|
5248
|
-
getSortedPlugins: <K$1 extends keyof Plugin>(hookName: K$1) => PluginWithRequiredHook<K$1>[];
|
|
5249
|
-
getSortedPluginHooks: <K$1 extends keyof Plugin>(hookName: K$1) => NonNullable<HookHandler<Plugin[K$1]>>[];
|
|
5248
|
+
getSortedPlugins: <K$1 extends keyof Plugin$1>(hookName: K$1) => PluginWithRequiredHook<K$1>[];
|
|
5249
|
+
getSortedPluginHooks: <K$1 extends keyof Plugin$1>(hookName: K$1) => NonNullable<HookHandler<Plugin$1[K$1]>>[];
|
|
5250
5250
|
}
|
|
5251
5251
|
type ResolveFn = (id: string, importer?: string, aliasOnly?: boolean, ssr?: boolean) => Promise<string | undefined>;
|
|
5252
5252
|
//#endregion
|
|
@@ -5256,7 +5256,7 @@ type ResolveFn = (id: string, importer?: string, aliasOnly?: boolean, ssr?: bool
|
|
|
5256
5256
|
*/
|
|
5257
5257
|
type FilterPattern = ReadonlyArray<string | RegExp> | string | RegExp | null;
|
|
5258
5258
|
//#endregion
|
|
5259
|
-
//#region ../../node_modules/.pnpm/@vue+compiler-core@3.5.
|
|
5259
|
+
//#region ../../node_modules/.pnpm/@vue+compiler-core@3.5.28/node_modules/@vue/compiler-core/dist/compiler-core.d.ts
|
|
5260
5260
|
declare const FRAGMENT: unique symbol;
|
|
5261
5261
|
declare const TELEPORT: unique symbol;
|
|
5262
5262
|
declare const SUSPENSE: unique symbol;
|
|
@@ -5459,11 +5459,11 @@ interface Node$1 {
|
|
|
5459
5459
|
loc: SourceLocation;
|
|
5460
5460
|
}
|
|
5461
5461
|
interface SourceLocation {
|
|
5462
|
-
start: Position;
|
|
5463
|
-
end: Position;
|
|
5462
|
+
start: Position$1;
|
|
5463
|
+
end: Position$1;
|
|
5464
5464
|
source: string;
|
|
5465
5465
|
}
|
|
5466
|
-
interface Position {
|
|
5466
|
+
interface Position$1 {
|
|
5467
5467
|
offset: number;
|
|
5468
5468
|
line: number;
|
|
5469
5469
|
column: number;
|
|
@@ -6288,8 +6288,8 @@ declare const isMemberExpression: (exp: ExpressionNode, context: TransformContex
|
|
|
6288
6288
|
declare const isFnExpressionBrowser: (exp: ExpressionNode) => boolean;
|
|
6289
6289
|
declare const isFnExpressionNode: (exp: ExpressionNode, context: TransformContext) => boolean;
|
|
6290
6290
|
declare const isFnExpression: (exp: ExpressionNode, context: TransformContext) => boolean;
|
|
6291
|
-
declare function advancePositionWithClone(pos: Position, source: string, numberOfCharacters?: number): Position;
|
|
6292
|
-
declare function advancePositionWithMutation(pos: Position, source: string, numberOfCharacters?: number): Position;
|
|
6291
|
+
declare function advancePositionWithClone(pos: Position$1, source: string, numberOfCharacters?: number): Position$1;
|
|
6292
|
+
declare function advancePositionWithMutation(pos: Position$1, source: string, numberOfCharacters?: number): Position$1;
|
|
6293
6293
|
declare function assert(condition: boolean, msg?: string): void;
|
|
6294
6294
|
declare function findDir(node: ElementNode, name: string | RegExp, allowEmpty?: boolean): DirectiveNode | undefined;
|
|
6295
6295
|
declare function findProp(node: ElementNode, name: string, dynamicOnly?: boolean, allowEmpty?: boolean): ElementNode['props'][0] | undefined;
|
|
@@ -6353,7 +6353,7 @@ declare function processSlotOutlet(node: SlotOutletNode, context: TransformConte
|
|
|
6353
6353
|
declare function getConstantType(node: TemplateChildNode | SimpleExpressionNode | CacheExpression, context: TransformContext): ConstantTypes;
|
|
6354
6354
|
//#endregion
|
|
6355
6355
|
//#region ../../node_modules/.pnpm/magic-string@0.30.21/node_modules/magic-string/dist/magic-string.es.d.mts
|
|
6356
|
-
interface SourceMapOptions {
|
|
6356
|
+
interface SourceMapOptions$1 {
|
|
6357
6357
|
/**
|
|
6358
6358
|
* Whether the mapping should be high-resolution.
|
|
6359
6359
|
* Hi-res mappings map every single character, meaning (for example) your devtools will always
|
|
@@ -6454,12 +6454,12 @@ declare class MagicString {
|
|
|
6454
6454
|
/**
|
|
6455
6455
|
* Generates a version 3 sourcemap.
|
|
6456
6456
|
*/
|
|
6457
|
-
generateMap(options?: SourceMapOptions): SourceMap;
|
|
6457
|
+
generateMap(options?: SourceMapOptions$1): SourceMap;
|
|
6458
6458
|
/**
|
|
6459
6459
|
* Generates a sourcemap object with raw mappings in array form, rather than encoded as a string.
|
|
6460
6460
|
* Useful if you need to manipulate the sourcemap further, but most of the time you will use `generateMap` instead.
|
|
6461
6461
|
*/
|
|
6462
|
-
generateDecodedMap(options?: SourceMapOptions): DecodedSourceMap;
|
|
6462
|
+
generateDecodedMap(options?: SourceMapOptions$1): DecodedSourceMap;
|
|
6463
6463
|
getIndentString(): string;
|
|
6464
6464
|
/**
|
|
6465
6465
|
* Prefixes each line of the string with prefix.
|
|
@@ -17762,7 +17762,7 @@ declare namespace ts {
|
|
|
17762
17762
|
function transform<T extends Node>(source: T | T[], transformers: TransformerFactory<T>[], compilerOptions?: CompilerOptions): TransformationResult<T>;
|
|
17763
17763
|
}
|
|
17764
17764
|
//#endregion
|
|
17765
|
-
//#region ../../node_modules/.pnpm/@vue+compiler-sfc@3.5.
|
|
17765
|
+
//#region ../../node_modules/.pnpm/@vue+compiler-sfc@3.5.28/node_modules/@vue/compiler-sfc/dist/compiler-sfc.d.ts
|
|
17766
17766
|
interface AssetURLTagConfig {
|
|
17767
17767
|
[name: string]: string[];
|
|
17768
17768
|
}
|
|
@@ -17977,7 +17977,7 @@ interface VueJSXPluginOptions {
|
|
|
17977
17977
|
} //#endregion
|
|
17978
17978
|
//#region src/index.d.ts
|
|
17979
17979
|
//#endregion
|
|
17980
|
-
//#region ../../node_modules/.pnpm/@vitejs+plugin-vue-jsx@5.1.4_vite@7.3.1_@types+node@24.10.
|
|
17980
|
+
//#region ../../node_modules/.pnpm/@vitejs+plugin-vue-jsx@5.1.4_vite@7.3.1_@types+node@24.10.13_jiti@2.6.1_terser@5.44.1_y_52ff833c84065a745135b553545e8130/node_modules/@vitejs/plugin-vue-jsx/dist/index.d.mts
|
|
17981
17981
|
//#region src/types.d.ts
|
|
17982
17982
|
interface FilterOptions {
|
|
17983
17983
|
include?: FilterPattern;
|
|
@@ -17993,4 +17993,4 @@ interface Options extends VueJSXPluginOptions, FilterOptions {
|
|
|
17993
17993
|
} //#endregion
|
|
17994
17994
|
//#region src/index.d.ts
|
|
17995
17995
|
//#endregion
|
|
17996
|
-
export { FRAGMENT as $, createSequenceExpression as $n, stringifyExpression as $r, SimpleExpressionNode as $t, CodegenSourceMapGenerator as A, baseCompile as An, isMemberExpression as Ar, ObjectExpression as At, CoreCompilerError as B, createCacheExpression as Bn, isTemplateNode as Br, RENDER_SLOT as Bt, CREATE_TEXT as C, VNodeCall as Cn, isCoreComponent as Cr, NORMALIZE_STYLE as Ct, CodegenContext as D, advancePositionWithClone as Dn, isFunctionType as Dr, NodeTransform as Dt, CallExpression$1 as E, WITH_MEMO as En, isFnExpressionNode as Er, Node$1 as Et, ComponentNode as F, checkCompatEnabled as Fn, isSlotOutlet as Fr, PlainElementNode as Ft, DynamicSlotEntries as G, createForLoopParams as Gn, locStub as Gr, RawSourceMap as Gt, DirectiveArguments as H, createCompilerError as Hn, isVPre as Hr, RESOLVE_DIRECTIVE as Ht, CompoundExpressionNode as I, convertToBlock as In, isStaticArgOf as Ir, Position as It, DynamicSlotsExpression as J, createInterpolation as Jn, processFor as Jr, RootNode as Jt, DynamicSlotFnProperty as K, createFunctionExpression as Kn, noopDirectiveTransform as Kr, RenderSlotCall as Kt, ConditionalDynamicSlotNode as L, createArrayExpression as Ln, isStaticExp as Lr, Property as Lt, CompilerDeprecationTypes as M, buildDirectiveArgs as Mn, isMemberExpressionNode as Mr, PUSH_SCOPE_ID as Mt, CompilerError as N, buildProps as Nn, isReferencedIdentifier as Nr, ParentNode as Nt, CodegenOptions as O, advancePositionWithMutation as On, isInDestructureAssignment as Or, NodeTypes as Ot, CompilerOptions$1 as P, buildSlots as Pn, isSimpleIdentifier as Pr, ParserOptions as Pt, ExpressionNode as Q, createRoot as Qn, resolveComponentType as Qr, SequenceExpression as Qt, ConditionalExpression$1 as R, createAssignmentExpression as Rn, isStaticProperty as Rr, PropsExpression as Rt, CREATE_STATIC as S, UNREF as Sn, isCommentOrWhitespace as Sr, NORMALIZE_PROPS as St, CacheExpression as T, WITH_DIRECTIVES as Tn, isFnExpressionBrowser as Tr, Namespaces as Tt, DirectiveNode as U, createCompoundExpression as Un, isVSlot as Ur, RESOLVE_DYNAMIC_COMPONENT as Ut, DirectiveArgumentNode as V, createCallExpression as Vn, isText as Vr, RESOLVE_COMPONENT as Vt, DirectiveTransform as W, createConditionalExpression as Wn, isWhitespaceText as Wr, RESOLVE_FILTER as Wt, ElementTypes as X, createObjectProperty as Xn, processSlotOutlet as Xr, SSRCodegenNode as Xt, ElementNode as Y, createObjectExpression as Yn, processIf as Yr, SET_BLOCK_TRACKING as Yt, ErrorCodes as Z, createReturnStatement as Zn, registerRuntimeHelpers as Zr, SUSPENSE as Zt, CREATE_BLOCK as _, ServerOptions$1$1 as _i, TextCallNode as _n, hasDynamicKeyVBind as _r, ListDynamicSlotIterator as _t, MagicString as a, transformElement as ai, SlotsObjectProperty as an, errorMessages as ar, FunctionExpression$1 as at, CREATE_ELEMENT_VNODE as b, TransformOptions$2 as bi, TransformOptions as bn, injectProp as br, MemoExpression as bt, AttributeNode as c, transformOn as ci, TELEPORT as cn, findProp as cr, IS_MEMO_SAME as ct, BindingMetadata as d, unwrapTSNode as di, TO_HANDLER_KEY as dn, generateCodeFrame as dr, IfConditionalExpression as dt, toValidAssetId as ei, SlotFnBuilder as en, createSimpleExpression as er, ForCodegenNode as et, BindingTypes as f, validFirstIdentCharRE as fi, TS_NODE_TYPES as fn, getBaseTransformPreset as fr, IfNode as ft, CAPITALIZE as g, warnDeprecation as gi, TemplateTextChildNode as gn, getVNodeHelper as gr, KEEP_ALIVE as gt, CAMELIZE as h, walkIdentifiers as hi, TemplateNode as hn, getVNodeBlockHelper as hr, JSChildNode as ht, typescript_d_exports as i, transformBind as ii, SlotsObjectExpression as in, createVNodeCall as ir, ForRenderListExpression as it, CommentNode as j, baseParse as jn, isMemberExpressionBrowser as jr, POP_SCOPE_ID as jt, CodegenResult as k, assert as kn, isInNewExpression as kr, OPEN_BLOCK as kt, BASE_TRANSITION as l, transformVBindShorthand as li, TO_DISPLAY_STRING as ln, forAliasRE as lr, IS_REF as lt, BlockStatement as m, walkFunctionParams as mi, TemplateLiteral$1 as mn, getMemoedVNodeCall as mr, InterpolationNode as mt, AssetURLTagConfig as n, trackVForSlotScopes as ni, SlotOutletNode as nn, createTemplateLiteral as nr, ForNode as nt, ArrayExpression as o, transformExpression as oi, SourceLocation as on, extractIdentifiers as or, GUARD_REACTIVE_PROPS as ot, BlockCodegenNode as p, walkBlockDeclarations as pi, TemplateChildNode as pn, getConstantType as pr, IfStatement$1 as pt, DynamicSlotNode as q, createIfStatement as qn, processExpression as qr, ReturnStatement$1 as qt, SFCParseResult as r, transform as ri, SlotsExpression as rn, createTransformContext as rr, ForParseResult as rt, AssignmentExpression$1 as s, transformModel as si, StructuralDirectiveTransform as sn, findDir as sr, HoistTransform as st, Options as t, trackSlotScopes as ti, SlotFunctionExpression as tn, createStructuralDirectiveTransform as tr, ForIteratorExpression as tt, BaseElementNode as u, traverseNode as ui, TO_HANDLERS as un, generate as ur, IfBranchNode as ut, CREATE_COMMENT as v, UserConfig as vi, TextNode as vn, hasScopeRef as vr, ListDynamicSlotNode as vt, CREATE_VNODE as w, WITH_CTX as wn, isFnExpression as wr, Namespace as wt, CREATE_SLOTS as x, transform$1 as xi, TransformPreset as xn, isAllWhitespace as xr, NORMALIZE_CLASS as xt, CREATE_ELEMENT_BLOCK as y, ViteDevServer as yi, TransformContext as yn, helperNameMap as yr, MERGE_PROPS as yt, ConstantTypes as z, createBlockStatement as zn, isStaticPropertyKey as zr, RENDER_LIST as zt };
|
|
17996
|
+
export { FRAGMENT as $, createSequenceExpression as $n, stringifyExpression as $r, SimpleExpressionNode as $t, CodegenSourceMapGenerator as A, baseCompile as An, isMemberExpression as Ar, ObjectExpression as At, CoreCompilerError as B, createCacheExpression as Bn, isTemplateNode as Br, RENDER_SLOT as Bt, CREATE_TEXT as C, VNodeCall as Cn, isCoreComponent as Cr, NORMALIZE_STYLE as Ct, CodegenContext as D, advancePositionWithClone as Dn, isFunctionType as Dr, NodeTransform as Dt, CallExpression$1 as E, WITH_MEMO as En, isFnExpressionNode as Er, Node$1 as Et, ComponentNode as F, checkCompatEnabled as Fn, isSlotOutlet as Fr, PlainElementNode as Ft, DynamicSlotEntries as G, createForLoopParams as Gn, locStub as Gr, RawSourceMap as Gt, DirectiveArguments as H, createCompilerError as Hn, isVPre as Hr, RESOLVE_DIRECTIVE as Ht, CompoundExpressionNode as I, convertToBlock as In, isStaticArgOf as Ir, Position$1 as It, DynamicSlotsExpression as J, createInterpolation as Jn, processFor as Jr, RootNode as Jt, DynamicSlotFnProperty as K, createFunctionExpression as Kn, noopDirectiveTransform as Kr, RenderSlotCall as Kt, ConditionalDynamicSlotNode as L, createArrayExpression as Ln, isStaticExp as Lr, Property as Lt, CompilerDeprecationTypes as M, buildDirectiveArgs as Mn, isMemberExpressionNode as Mr, PUSH_SCOPE_ID as Mt, CompilerError as N, buildProps as Nn, isReferencedIdentifier as Nr, ParentNode as Nt, CodegenOptions as O, advancePositionWithMutation as On, isInDestructureAssignment as Or, NodeTypes as Ot, CompilerOptions$1 as P, buildSlots as Pn, isSimpleIdentifier as Pr, ParserOptions as Pt, ExpressionNode as Q, createRoot as Qn, resolveComponentType as Qr, SequenceExpression as Qt, ConditionalExpression$1 as R, createAssignmentExpression as Rn, isStaticProperty as Rr, PropsExpression as Rt, CREATE_STATIC as S, UNREF as Sn, isCommentOrWhitespace as Sr, NORMALIZE_PROPS as St, CacheExpression as T, WITH_DIRECTIVES as Tn, isFnExpressionBrowser as Tr, Namespaces as Tt, DirectiveNode as U, createCompoundExpression as Un, isVSlot as Ur, RESOLVE_DYNAMIC_COMPONENT as Ut, DirectiveArgumentNode as V, createCallExpression as Vn, isText as Vr, RESOLVE_COMPONENT as Vt, DirectiveTransform as W, createConditionalExpression as Wn, isWhitespaceText as Wr, RESOLVE_FILTER as Wt, ElementTypes as X, createObjectProperty as Xn, processSlotOutlet as Xr, SSRCodegenNode as Xt, ElementNode as Y, createObjectExpression as Yn, processIf as Yr, SET_BLOCK_TRACKING as Yt, ErrorCodes as Z, createReturnStatement as Zn, registerRuntimeHelpers as Zr, SUSPENSE as Zt, CREATE_BLOCK as _, ServerOptions$1$1 as _i, TextCallNode as _n, hasDynamicKeyVBind as _r, ListDynamicSlotIterator as _t, MagicString as a, transformElement as ai, SlotsObjectProperty as an, errorMessages as ar, FunctionExpression$1 as at, CREATE_ELEMENT_VNODE as b, TransformOptions$2 as bi, TransformOptions as bn, injectProp as br, MemoExpression as bt, AttributeNode as c, transformOn as ci, TELEPORT as cn, findProp as cr, IS_MEMO_SAME as ct, BindingMetadata as d, unwrapTSNode as di, TO_HANDLER_KEY as dn, generateCodeFrame as dr, IfConditionalExpression as dt, toValidAssetId as ei, SlotFnBuilder as en, createSimpleExpression as er, ForCodegenNode as et, BindingTypes as f, validFirstIdentCharRE as fi, TS_NODE_TYPES as fn, getBaseTransformPreset as fr, IfNode as ft, CAPITALIZE as g, warnDeprecation as gi, TemplateTextChildNode as gn, getVNodeHelper as gr, KEEP_ALIVE as gt, CAMELIZE as h, walkIdentifiers as hi, TemplateNode as hn, getVNodeBlockHelper as hr, JSChildNode as ht, typescript_d_exports as i, transformBind as ii, SlotsObjectExpression as in, createVNodeCall as ir, ForRenderListExpression as it, CommentNode as j, baseParse as jn, isMemberExpressionBrowser as jr, POP_SCOPE_ID as jt, CodegenResult as k, assert as kn, isInNewExpression as kr, OPEN_BLOCK as kt, BASE_TRANSITION as l, transformVBindShorthand as li, TO_DISPLAY_STRING as ln, forAliasRE as lr, IS_REF as lt, BlockStatement as m, walkFunctionParams as mi, TemplateLiteral$1 as mn, getMemoedVNodeCall as mr, InterpolationNode as mt, AssetURLTagConfig as n, trackVForSlotScopes as ni, SlotOutletNode as nn, createTemplateLiteral as nr, ForNode as nt, ArrayExpression as o, transformExpression as oi, SourceLocation as on, extractIdentifiers as or, GUARD_REACTIVE_PROPS as ot, BlockCodegenNode as p, walkBlockDeclarations as pi, TemplateChildNode as pn, getConstantType as pr, IfStatement$1 as pt, DynamicSlotNode as q, createIfStatement as qn, processExpression as qr, ReturnStatement$1 as qt, SFCParseResult as r, transform as ri, SlotsExpression as rn, createTransformContext as rr, ForParseResult as rt, AssignmentExpression$1 as s, transformModel as si, StructuralDirectiveTransform as sn, findDir as sr, HoistTransform as st, Options as t, trackSlotScopes as ti, SlotFunctionExpression as tn, createStructuralDirectiveTransform as tr, ForIteratorExpression as tt, BaseElementNode as u, traverseNode as ui, TO_HANDLERS as un, generate as ur, IfBranchNode as ut, CREATE_COMMENT as v, UserConfig as vi, TextNode as vn, hasScopeRef as vr, ListDynamicSlotNode as vt, CREATE_VNODE as w, WITH_CTX as wn, isFnExpression as wr, Namespace as wt, CREATE_SLOTS as x, transform$1 as xi, TransformPreset as xn, isAllWhitespace as xr, NORMALIZE_CLASS as xt, CREATE_ELEMENT_BLOCK as y, ViteDevServer as yi, TransformContext as yn, helperNameMap as yr, MERGE_PROPS as yt, ConstantTypes as z, createBlockStatement as zn, isStaticPropertyKey as zr, RENDER_LIST as zt };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _compiler from "vue/compiler-sfc";
|
|
2
2
|
import { SFCScriptCompileOptions, SFCStyleCompileOptions, SFCTemplateCompileOptions } from "vue/compiler-sfc";
|
|
3
3
|
|
|
4
|
-
//#region ../../node_modules/.pnpm/@vitejs+plugin-vue@6.0.4_vite@7.3.1_@types+node@24.10.
|
|
4
|
+
//#region ../../node_modules/.pnpm/@vitejs+plugin-vue@6.0.4_vite@7.3.1_@types+node@24.10.13_jiti@2.6.1_terser@5.44.1_yaml@_be1308aa25f924b347535f762c6597fe/node_modules/@vitejs/plugin-vue/dist/index.d.mts
|
|
5
5
|
//#endregion
|
|
6
6
|
//#region src/index.d.ts
|
|
7
7
|
interface Options {
|
|
@@ -1,4 +1,13 @@
|
|
|
1
|
-
//#region ../../node_modules/.pnpm/@volar+
|
|
1
|
+
//#region ../../node_modules/.pnpm/@volar+source-map@2.4.28/node_modules/@volar/source-map/lib/sourceMap.d.ts
|
|
2
|
+
interface Mapping<Data = unknown> {
|
|
3
|
+
sourceOffsets: number[];
|
|
4
|
+
generatedOffsets: number[];
|
|
5
|
+
lengths: number[];
|
|
6
|
+
generatedLengths?: number[];
|
|
7
|
+
data: Data;
|
|
8
|
+
}
|
|
9
|
+
//#endregion
|
|
10
|
+
//#region ../../node_modules/.pnpm/@volar+language-core@2.4.28/node_modules/@volar/language-core/lib/types.d.ts
|
|
2
11
|
/**
|
|
3
12
|
* CodeInformation is a configuration object attached to each CodeMapping (between source code and generated code,
|
|
4
13
|
* e.g. between the template code in a .vue file and the type-checkable TS code generated from it) that
|
|
@@ -53,4 +62,4 @@ interface CodeInformation {
|
|
|
53
62
|
format?: boolean;
|
|
54
63
|
}
|
|
55
64
|
//#endregion
|
|
56
|
-
export { CodeInformation as t };
|
|
65
|
+
export { Mapping as n, CodeInformation as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { $ as FRAGMENT, $n as createSequenceExpression, $r as stringifyExpression, $t as SimpleExpressionNode, A as CodegenSourceMapGenerator, An as baseCompile, Ar as isMemberExpression, At as ObjectExpression, B as CoreCompilerError, Bn as createCacheExpression, Br as isTemplateNode, Bt as RENDER_SLOT, C as CREATE_TEXT, Cn as VNodeCall, Cr as isCoreComponent, Ct as NORMALIZE_STYLE, D as CodegenContext, Dn as advancePositionWithClone, Dr as isFunctionType, Dt as NodeTransform, E as CallExpression, En as WITH_MEMO, Er as isFnExpressionNode, Et as Node, F as ComponentNode, Fn as checkCompatEnabled, Fr as isSlotOutlet, Ft as PlainElementNode, G as DynamicSlotEntries, Gn as createForLoopParams, Gr as locStub, Gt as RawSourceMap, H as DirectiveArguments, Hn as createCompilerError, Hr as isVPre, Ht as RESOLVE_DIRECTIVE, I as CompoundExpressionNode, In as convertToBlock, Ir as isStaticArgOf, It as Position, J as DynamicSlotsExpression, Jn as createInterpolation, Jr as processFor, Jt as RootNode, K as DynamicSlotFnProperty, Kn as createFunctionExpression, Kr as noopDirectiveTransform, Kt as RenderSlotCall, L as ConditionalDynamicSlotNode, Ln as createArrayExpression, Lr as isStaticExp, Lt as Property, M as CompilerDeprecationTypes, Mn as buildDirectiveArgs, Mr as isMemberExpressionNode, Mt as PUSH_SCOPE_ID, N as CompilerError, Nn as buildProps, Nr as isReferencedIdentifier, Nt as ParentNode, O as CodegenOptions, On as advancePositionWithMutation, Or as isInDestructureAssignment, Ot as NodeTypes, P as CompilerOptions, Pn as buildSlots, Pr as isSimpleIdentifier, Pt as ParserOptions, Q as ExpressionNode, Qn as createRoot, Qr as resolveComponentType, Qt as SequenceExpression, R as ConditionalExpression, Rn as createAssignmentExpression, Rr as isStaticProperty, Rt as PropsExpression, S as CREATE_STATIC, Sn as UNREF, Sr as isCommentOrWhitespace, St as NORMALIZE_PROPS, T as CacheExpression, Tn as WITH_DIRECTIVES, Tr as isFnExpressionBrowser, Tt as Namespaces, U as DirectiveNode, Un as createCompoundExpression, Ur as isVSlot, Ut as RESOLVE_DYNAMIC_COMPONENT, V as DirectiveArgumentNode, Vn as createCallExpression, Vr as isText, Vt as RESOLVE_COMPONENT, W as DirectiveTransform, Wn as createConditionalExpression, Wr as isWhitespaceText, Wt as RESOLVE_FILTER, X as ElementTypes, Xn as createObjectProperty, Xr as processSlotOutlet, Xt as SSRCodegenNode, Y as ElementNode, Yn as createObjectExpression, Yr as processIf, Yt as SET_BLOCK_TRACKING, Z as ErrorCodes, Zn as createReturnStatement, Zr as registerRuntimeHelpers, Zt as SUSPENSE, _ as CREATE_BLOCK, _n as TextCallNode, _r as hasDynamicKeyVBind, _t as ListDynamicSlotIterator, ai as transformElement, an as SlotsObjectProperty, ar as errorMessages, at as FunctionExpression, b as CREATE_ELEMENT_VNODE, bn as TransformOptions, br as injectProp, bt as MemoExpression, c as AttributeNode, ci as transformOn, cn as TELEPORT, cr as findProp, ct as IS_MEMO_SAME, d as BindingMetadata, di as unwrapTSNode, dn as TO_HANDLER_KEY, dr as generateCodeFrame, dt as IfConditionalExpression, ei as toValidAssetId, en as SlotFnBuilder, er as createSimpleExpression, et as ForCodegenNode, f as BindingTypes, fi as validFirstIdentCharRE, fn as TS_NODE_TYPES, fr as getBaseTransformPreset, ft as IfNode, g as CAPITALIZE, gi as warnDeprecation, gn as TemplateTextChildNode, gr as getVNodeHelper, gt as KEEP_ALIVE, h as CAMELIZE, hi as walkIdentifiers, hn as TemplateNode, hr as getVNodeBlockHelper, ht as JSChildNode, ii as transformBind, in as SlotsObjectExpression, ir as createVNodeCall, it as ForRenderListExpression, j as CommentNode, jn as baseParse, jr as isMemberExpressionBrowser, jt as POP_SCOPE_ID, k as CodegenResult, kn as assert, kr as isInNewExpression, kt as OPEN_BLOCK, l as BASE_TRANSITION, li as transformVBindShorthand, ln as TO_DISPLAY_STRING, lr as forAliasRE, lt as IS_REF, m as BlockStatement, mi as walkFunctionParams, mn as TemplateLiteral, mr as getMemoedVNodeCall, mt as InterpolationNode, ni as trackVForSlotScopes, nn as SlotOutletNode, nr as createTemplateLiteral, nt as ForNode, o as ArrayExpression, oi as transformExpression, on as SourceLocation, or as extractIdentifiers, ot as GUARD_REACTIVE_PROPS, p as BlockCodegenNode, pi as walkBlockDeclarations, pn as TemplateChildNode, pr as getConstantType, pt as IfStatement, q as DynamicSlotNode, qn as createIfStatement, qr as processExpression, qt as ReturnStatement, ri as transform, rn as SlotsExpression, rr as createTransformContext, rt as ForParseResult, s as AssignmentExpression, si as transformModel, sn as StructuralDirectiveTransform, sr as findDir, st as HoistTransform, ti as trackSlotScopes, tn as SlotFunctionExpression, tr as createStructuralDirectiveTransform, tt as ForIteratorExpression, u as BaseElementNode, ui as traverseNode, un as TO_HANDLERS, ur as generate, ut as IfBranchNode, v as CREATE_COMMENT, vn as TextNode, vr as hasScopeRef, vt as ListDynamicSlotNode, w as CREATE_VNODE, wn as WITH_CTX, wr as isFnExpression, wt as Namespace, x as CREATE_SLOTS, xn as TransformPreset, xr as isAllWhitespace, xt as NORMALIZE_CLASS, y as CREATE_ELEMENT_BLOCK, yn as TransformContext, yr as helperNameMap, yt as MERGE_PROPS, z as ConstantTypes, zn as createBlockStatement, zr as isStaticPropertyKey, zt as RENDER_LIST } from "../@vitejs/plugin-vue-jsx.mjs";
|
|
2
2
|
|
|
3
|
-
//#region ../../node_modules/.pnpm/@vue+compiler-dom@3.5.
|
|
3
|
+
//#region ../../node_modules/.pnpm/@vue+compiler-dom@3.5.28/node_modules/@vue/compiler-dom/dist/compiler-dom.d.ts
|
|
4
4
|
declare namespace compiler_dom_d_exports {
|
|
5
5
|
export { ArrayExpression, AssignmentExpression, AttributeNode, BASE_TRANSITION, BaseElementNode, BindingMetadata, BindingTypes, BlockCodegenNode, BlockStatement, CAMELIZE, CAPITALIZE, CREATE_BLOCK, CREATE_COMMENT, CREATE_ELEMENT_BLOCK, CREATE_ELEMENT_VNODE, CREATE_SLOTS, CREATE_STATIC, CREATE_TEXT, CREATE_VNODE, CacheExpression, CallExpression, CodegenContext, CodegenOptions, CodegenResult, CodegenSourceMapGenerator, CommentNode, CompilerDeprecationTypes, CompilerError, CompilerOptions, ComponentNode, CompoundExpressionNode, ConditionalDynamicSlotNode, ConditionalExpression, ConstantTypes, CoreCompilerError, DOMDirectiveTransforms, DOMErrorCodes, DOMErrorMessages, DOMNodeTransforms, DirectiveArgumentNode, DirectiveArguments, DirectiveNode, DirectiveTransform, DynamicSlotEntries, DynamicSlotFnProperty, DynamicSlotNode, DynamicSlotsExpression, ElementNode, ElementTypes, ErrorCodes, ExpressionNode, FRAGMENT, ForCodegenNode, ForIteratorExpression, ForNode, ForParseResult, ForRenderListExpression, FunctionExpression, GUARD_REACTIVE_PROPS, HoistTransform, IS_MEMO_SAME, IS_REF, IfBranchNode, IfConditionalExpression, IfNode, IfStatement, InterpolationNode, JSChildNode, KEEP_ALIVE, ListDynamicSlotIterator, ListDynamicSlotNode, MERGE_PROPS, MemoExpression, NORMALIZE_CLASS, NORMALIZE_PROPS, NORMALIZE_STYLE, Namespace, Namespaces, Node, NodeTransform, NodeTypes, OPEN_BLOCK, ObjectExpression, POP_SCOPE_ID, PUSH_SCOPE_ID, ParentNode, ParserOptions, PlainElementNode, Position, Property, PropsExpression, RENDER_LIST, RENDER_SLOT, RESOLVE_COMPONENT, RESOLVE_DIRECTIVE, RESOLVE_DYNAMIC_COMPONENT, RESOLVE_FILTER, RawSourceMap, RenderSlotCall, ReturnStatement, RootNode, SET_BLOCK_TRACKING, SSRCodegenNode, SUSPENSE, SequenceExpression, SimpleExpressionNode, SlotFnBuilder, SlotFunctionExpression, SlotOutletNode, SlotsExpression, SlotsObjectExpression, SlotsObjectProperty, SourceLocation, StructuralDirectiveTransform, TELEPORT, TO_DISPLAY_STRING, TO_HANDLERS, TO_HANDLER_KEY, TRANSITION, TRANSITION_GROUP, TS_NODE_TYPES, TemplateChildNode, TemplateLiteral, TemplateNode, TemplateTextChildNode, TextCallNode, TextNode, TransformContext, TransformOptions, TransformPreset, UNREF, VNodeCall, V_MODEL_CHECKBOX, V_MODEL_DYNAMIC, V_MODEL_RADIO, V_MODEL_SELECT, V_MODEL_TEXT, V_ON_WITH_KEYS, V_ON_WITH_MODIFIERS, V_SHOW, WITH_CTX, WITH_DIRECTIVES, WITH_MEMO, advancePositionWithClone, advancePositionWithMutation, assert, baseCompile, baseParse, buildDirectiveArgs, buildProps, buildSlots, checkCompatEnabled, compile, convertToBlock, createArrayExpression, createAssignmentExpression, createBlockStatement, createCacheExpression, createCallExpression, createCompilerError, createCompoundExpression, createConditionalExpression, createDOMCompilerError, createForLoopParams, createFunctionExpression, createIfStatement, createInterpolation, createObjectExpression, createObjectProperty, createReturnStatement, createRoot, createSequenceExpression, createSimpleExpression, createStructuralDirectiveTransform, createTemplateLiteral, createTransformContext, createVNodeCall, errorMessages, extractIdentifiers, findDir, findProp, forAliasRE, generate, generateCodeFrame, getBaseTransformPreset, getConstantType, getMemoedVNodeCall, getVNodeBlockHelper, getVNodeHelper, hasDynamicKeyVBind, hasScopeRef, helperNameMap, injectProp, isAllWhitespace, isCommentOrWhitespace, isCoreComponent, isFnExpression, isFnExpressionBrowser, isFnExpressionNode, isFunctionType, isInDestructureAssignment, isInNewExpression, isMemberExpression, isMemberExpressionBrowser, isMemberExpressionNode, isReferencedIdentifier, isSimpleIdentifier, isSlotOutlet, isStaticArgOf, isStaticExp, isStaticProperty, isStaticPropertyKey, isTemplateNode, isText, isVPre, isVSlot, isWhitespaceText, locStub, noopDirectiveTransform, parse, parserOptions, processExpression, processFor, processIf, processSlotOutlet, registerRuntimeHelpers, resolveComponentType, stringifyExpression, toValidAssetId, trackSlotScopes, trackVForSlotScopes, transform, transformBind, transformElement, transformExpression, transformModel, transformOn, transformStyle, transformVBindShorthand, traverseNode, unwrapTSNode, validFirstIdentCharRE, walkBlockDeclarations, walkFunctionParams, walkIdentifiers, warnDeprecation };
|
|
6
6
|
}
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
import { Jt as RootNode, N as CompilerError, P as CompilerOptions, i as typescript_d_exports, k as CodegenResult, r as SFCParseResult } from "../@vitejs/plugin-vue-jsx.mjs";
|
|
2
2
|
import { t as compiler_dom_d_exports } from "./compiler-dom.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import { t as CodeInformation } from "../@volar/language-core.mjs";
|
|
5
|
-
import "@vue/shared";
|
|
3
|
+
import { n as Mapping, t as CodeInformation } from "../@volar/language-core.mjs";
|
|
6
4
|
|
|
7
5
|
//#region ../../node_modules/.pnpm/muggle-string@0.4.1/node_modules/muggle-string/out/types.d.ts
|
|
8
6
|
declare const NO_DATA_SYMBOL: unique symbol;
|
|
9
7
|
type Segment<T = typeof NO_DATA_SYMBOL> = string | (T extends typeof NO_DATA_SYMBOL ? [text: string, source: string | undefined, sourceOffset: number] : [text: string, source: string | undefined, sourceOffset: number, data: T]);
|
|
10
8
|
//#endregion
|
|
11
|
-
//#region ../../node_modules/.pnpm/@vue+language-core@3.2.
|
|
9
|
+
//#region ../../node_modules/.pnpm/@vue+language-core@3.2.5/node_modules/@vue/language-core/lib/virtualCode/embeddedCodes.d.ts
|
|
12
10
|
declare class VueEmbeddedCode {
|
|
13
11
|
id: string;
|
|
14
12
|
lang: string;
|
|
@@ -19,7 +17,7 @@ declare class VueEmbeddedCode {
|
|
|
19
17
|
constructor(id: string, lang: string, content: Code[]);
|
|
20
18
|
}
|
|
21
19
|
//#endregion
|
|
22
|
-
//#region ../../node_modules/.pnpm/@vue+language-core@3.2.
|
|
20
|
+
//#region ../../node_modules/.pnpm/@vue+language-core@3.2.5/node_modules/@vue/language-core/lib/types.d.ts
|
|
23
21
|
type RawVueCompilerOptions = Partial<Omit<VueCompilerOptions, 'target' | 'plugins'>> & {
|
|
24
22
|
strictTemplates?: boolean;
|
|
25
23
|
target?: 'auto' | 3 | 3.3 | 3.5 | 3.6 | 99 | number;
|
|
@@ -184,7 +182,7 @@ declare module '@vue/compiler-sfc' {
|
|
|
184
182
|
}
|
|
185
183
|
}
|
|
186
184
|
//#endregion
|
|
187
|
-
//#region ../../node_modules/.pnpm/@vue+language-core@3.2.
|
|
185
|
+
//#region ../../node_modules/.pnpm/@vue+language-core@3.2.5/node_modules/@vue/language-core/lib/utils/parseSfc.d.ts
|
|
188
186
|
declare module '@vue/compiler-sfc' {
|
|
189
187
|
interface SFCDescriptor {
|
|
190
188
|
comments: string[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Stats } from "node:fs";
|
|
2
2
|
import { EventEmitter } from "node:events";
|
|
3
3
|
import { Readable } from "node:stream";
|
|
4
|
-
import "ohash/utils";
|
|
5
4
|
|
|
6
5
|
//#region ../../node_modules/.pnpm/chokidar@5.0.0/node_modules/chokidar/index.d.ts
|
|
7
6
|
type AWF = {
|
|
@@ -63,7 +62,7 @@ interface DownloadTemplateOptions {
|
|
|
63
62
|
silent?: boolean;
|
|
64
63
|
}
|
|
65
64
|
//#endregion
|
|
66
|
-
//#region ../../node_modules/.pnpm/c12@3.3.3_magicast@0.5.
|
|
65
|
+
//#region ../../node_modules/.pnpm/c12@3.3.3_magicast@0.5.2/node_modules/c12/dist/index.d.mts
|
|
67
66
|
//#region src/dotenv.d.ts
|
|
68
67
|
interface DotenvOptions {
|
|
69
68
|
/**
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -5,9 +5,6 @@ import { IpcNetConnectOpts, Socket, TcpNetConnectOpts } from "node:net";
|
|
|
5
5
|
import { Duplex, Readable, Writable } from "node:stream";
|
|
6
6
|
import { ConnectionOptions, TLSSocket } from "node:tls";
|
|
7
7
|
import { Blob as Blob$1, File } from "node:buffer";
|
|
8
|
-
import "node:stream/web";
|
|
9
|
-
import "node:dns";
|
|
10
|
-
import "node:worker_threads";
|
|
11
8
|
|
|
12
9
|
//#region ../../node_modules/.pnpm/undici@7.21.0/node_modules/undici/types/utility.d.ts
|
|
13
10
|
type AutocompletePrimitiveBaseType<T> = T extends string ? string : T extends number ? number : T extends boolean ? boolean : never;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region ../../node_modules/.pnpm/oxc-transform@0.
|
|
1
|
+
//#region ../../node_modules/.pnpm/oxc-transform@0.115.0/node_modules/oxc-transform/index.d.ts
|
|
2
2
|
interface CompilerAssumptions {
|
|
3
3
|
ignoreFunctionLength?: boolean;
|
|
4
4
|
noDocumentAll?: boolean;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { t as Options } from "./open.mjs";
|
|
2
2
|
|
|
3
|
-
//#region ../../node_modules/.pnpm/rollup-plugin-visualizer@7.0.0_rolldown@1.0.0-rc.
|
|
3
|
+
//#region ../../node_modules/.pnpm/rollup-plugin-visualizer@7.0.0_rolldown@1.0.0-rc.5_rollup@4.59.0/node_modules/rollup-plugin-visualizer/dist/plugin/template-types.d.ts
|
|
4
4
|
type TemplateType = "sunburst" | "treemap" | "network" | "raw-data" | "list" | "markdown" | "flamegraph";
|
|
5
5
|
//#endregion
|
|
6
|
-
//#region ../../node_modules/.pnpm/rollup-plugin-visualizer@7.0.0_rolldown@1.0.0-rc.
|
|
6
|
+
//#region ../../node_modules/.pnpm/rollup-plugin-visualizer@7.0.0_rolldown@1.0.0-rc.5_rollup@4.59.0/node_modules/rollup-plugin-visualizer/dist/shared/create-filter.d.ts
|
|
7
7
|
type Filter = {
|
|
8
8
|
bundle?: string | null | undefined;
|
|
9
9
|
file?: string | null | undefined;
|
|
10
10
|
};
|
|
11
11
|
//#endregion
|
|
12
|
-
//#region ../../node_modules/.pnpm/rollup-plugin-visualizer@7.0.0_rolldown@1.0.0-rc.
|
|
12
|
+
//#region ../../node_modules/.pnpm/rollup-plugin-visualizer@7.0.0_rolldown@1.0.0-rc.5_rollup@4.59.0/node_modules/rollup-plugin-visualizer/dist/plugin/index.d.ts
|
|
13
13
|
interface PluginVisualizerOptions {
|
|
14
14
|
/**
|
|
15
15
|
* The path to the template file to use. Or just a name of a file.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CompilerOptions, SFCScriptCompileOptions, SFCTemplateCompileOptions, TemplateCompiler } from "vue/compiler-sfc";
|
|
2
2
|
|
|
3
|
-
//#region ../../node_modules/.pnpm/vue-loader@17.4.2_@vue+compiler-sfc@3.5.
|
|
3
|
+
//#region ../../node_modules/.pnpm/vue-loader@17.4.2_@vue+compiler-sfc@3.5.28_vue@3.5.28_typescript@5.9.3__webpack@5.105.2_esbuild@0.27.3_/node_modules/vue-loader/dist/index.d.ts
|
|
4
4
|
interface VueLoaderOptions {
|
|
5
5
|
babelParserPlugins?: SFCScriptCompileOptions['babelParserPlugins'];
|
|
6
6
|
transformAssetUrls?: SFCTemplateCompileOptions['transformAssetUrls'];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AllowedComponentProps, AnchorHTMLAttributes, App, Component as Component$1, ComponentCustomProps, ComponentPublicInstance, ComputedRef, DefineComponent, MaybeRef, ShallowRef, UnwrapRef, VNode, VNodeProps } from "vue";
|
|
2
2
|
|
|
3
|
-
//#region ../../node_modules/.pnpm/vue-router@4.6.4_vue@3.5.
|
|
3
|
+
//#region ../../node_modules/.pnpm/vue-router@4.6.4_vue@3.5.28_typescript@5.9.3_/node_modules/vue-router/dist/router-CWoNjPRp.d.mts
|
|
4
4
|
/*!
|
|
5
5
|
* vue-router v4.6.4
|
|
6
6
|
* (c) 2025 Eduardo San Martin Morote
|
|
@@ -1172,7 +1172,7 @@ interface EXPERIMENTAL_Router_Base<TRecord> {
|
|
|
1172
1172
|
install(app: App): void;
|
|
1173
1173
|
}
|
|
1174
1174
|
//#endregion
|
|
1175
|
-
//#region ../../node_modules/.pnpm/vue-router@4.6.4_vue@3.5.
|
|
1175
|
+
//#region ../../node_modules/.pnpm/vue-router@4.6.4_vue@3.5.28_typescript@5.9.3_/node_modules/vue-router/dist/vue-router.d.mts
|
|
1176
1176
|
//#endregion
|
|
1177
1177
|
//#region src/router.d.ts
|
|
1178
1178
|
/**
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import "fs";
|
|
1
|
+
export { };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,17 +1,26 @@
|
|
|
1
|
-
import "./_chunks/rolldown-runtime.mjs";
|
|
2
1
|
import { P as CompilerOptions, _i as ServerOptions$1, bi as TransformOptions, n as AssetURLTagConfig, t as Options$5, vi as UserConfig, yi as ViteDevServer } from "./_chunks/libs/@vitejs/plugin-vue-jsx.mjs";
|
|
2
|
+
import "./_chunks/libs/@types/estree.mjs";
|
|
3
|
+
import "./_chunks/libs/@jridgewell/gen-mapping.mjs";
|
|
4
|
+
import "./_chunks/libs/@jridgewell/source-map.mjs";
|
|
3
5
|
import { t as Options$6 } from "./_chunks/libs/@vitejs/plugin-vue.mjs";
|
|
6
|
+
import "./_chunks/libs/@babel/parser.mjs";
|
|
4
7
|
import { n as SchemaDefinition, t as Schema } from "./_chunks/libs/untyped.mjs";
|
|
5
8
|
import { t as SnakeCase } from "./_chunks/libs/scule.mjs";
|
|
6
9
|
import { i as ChokidarOptions, n as ResolvedConfig, r as SourceOptions, t as DotenvOptions } from "./_chunks/libs/c12.mjs";
|
|
7
10
|
import "./_chunks/libs/open.mjs";
|
|
8
11
|
import { t as PluginVisualizerOptions } from "./_chunks/libs/rollup-plugin-visualizer.mjs";
|
|
9
12
|
import { t as CompatibilityDateSpec } from "./_chunks/libs/compatx.mjs";
|
|
13
|
+
import "./_chunks/libs/ignore.mjs";
|
|
10
14
|
import { t as FetchOptions } from "./_chunks/libs/ofetch.mjs";
|
|
11
15
|
import "./_chunks/libs/autoprefixer.mjs";
|
|
16
|
+
import "./_chunks/libs/cssnano.mjs";
|
|
12
17
|
import "./_chunks/libs/@vue/compiler-dom.mjs";
|
|
18
|
+
import "./_chunks/libs/@volar/language-core.mjs";
|
|
13
19
|
import { t as RawVueCompilerOptions } from "./_chunks/libs/@vue/language-core.mjs";
|
|
20
|
+
import "./_chunks/libs/@types/json-schema.mjs";
|
|
21
|
+
import "./_chunks/libs/ajv.mjs";
|
|
14
22
|
import "./_chunks/libs/css-minimizer-webpack-plugin.mjs";
|
|
23
|
+
import "./_chunks/libs/acorn.mjs";
|
|
15
24
|
import "./_chunks/libs/mini-css-extract-plugin.mjs";
|
|
16
25
|
import { t as LoaderOptions } from "./_chunks/libs/esbuild-loader.mjs";
|
|
17
26
|
import "./_chunks/libs/@types/pug.mjs";
|
|
@@ -19,7 +28,10 @@ import { t as VueLoaderOptions } from "./_chunks/libs/vue-loader.mjs";
|
|
|
19
28
|
import "./_chunks/libs/webpack-dev-middleware.mjs";
|
|
20
29
|
import { t as TransformOptions$1 } from "./_chunks/libs/oxc-transform.mjs";
|
|
21
30
|
import { i as RouterHistory, n as RouteLocationRaw, r as RouteRecordRaw, t as RouterOptions$1 } from "./_chunks/libs/vue-router.mjs";
|
|
31
|
+
import "./_chunks/libs/mlly.mjs";
|
|
22
32
|
import { i as UnimportOptions, n as InlinePreset, r as Unimport, t as Import } from "./_chunks/libs/unimport.mjs";
|
|
33
|
+
import "./_chunks/libs/js-tokens.mjs";
|
|
34
|
+
import "./_chunks/libs/strip-literal.mjs";
|
|
23
35
|
import { TSConfig } from "pkg-types";
|
|
24
36
|
import { Defu } from "defu";
|
|
25
37
|
import { CorsOptions, EventHandler, H3CorsOptions, H3Event } from "h3";
|
package/dist/index.mjs
CHANGED
|
@@ -19,7 +19,7 @@ import { isWindows } from "std-env";
|
|
|
19
19
|
import { ImpoundPlugin } from "impound";
|
|
20
20
|
import { resolveModulePath } from "exsolve";
|
|
21
21
|
import { runtimeDependencies } from "nitropack/runtime/meta";
|
|
22
|
-
var version = "3.21.2-
|
|
22
|
+
var version = "3.21.2-29532005.4df85b25";
|
|
23
23
|
function toArray(value) {
|
|
24
24
|
return Array.isArray(value) ? value : [value];
|
|
25
25
|
}
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import type { EventHandler } from "h3";
|
|
2
|
+
declare const handler: EventHandler;
|
|
3
|
+
export default handler;
|
|
@@ -10,7 +10,7 @@ import { getSSRRenderer } from "../utils/renderer/build-files.mjs";
|
|
|
10
10
|
import { renderInlineStyles } from "../utils/renderer/inline-styles.mjs";
|
|
11
11
|
import { getClientIslandResponse, getServerComponentHTML, getSlotIslandResponse } from "../utils/renderer/islands.mjs";
|
|
12
12
|
const ISLAND_SUFFIX_RE = /\.json(?:\?.*)?$/;
|
|
13
|
-
|
|
13
|
+
const handler = defineEventHandler(async (event) => {
|
|
14
14
|
const nitroApp = useNitroApp();
|
|
15
15
|
setResponseHeaders(event, {
|
|
16
16
|
"content-type": "application/json;charset=utf-8",
|
|
@@ -98,6 +98,7 @@ export default defineEventHandler(async (event) => {
|
|
|
98
98
|
}
|
|
99
99
|
return islandResponse;
|
|
100
100
|
});
|
|
101
|
+
export default handler;
|
|
101
102
|
async function getIslandContext(event) {
|
|
102
103
|
// TODO: Strict validation for url
|
|
103
104
|
let url = event.path || "";
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import type { EventHandler } from "h3";
|
|
2
|
+
declare const handler: EventHandler;
|
|
3
|
+
export default handler;
|
|
@@ -38,7 +38,7 @@ const APP_TELEPORT_CLOSE_TAG = HAS_APP_TELEPORTS ? `</${appTeleportTag}>` : "";
|
|
|
38
38
|
const PAYLOAD_URL_RE = NUXT_JSON_PAYLOADS ? /^[^?]*\/_payload.json(?:\?.*)?$/ : /^[^?]*\/_payload.js(?:\?.*)?$/;
|
|
39
39
|
const PAYLOAD_FILENAME = NUXT_JSON_PAYLOADS ? "_payload.json" : "_payload.js";
|
|
40
40
|
let entryPath;
|
|
41
|
-
|
|
41
|
+
const handler = defineRenderHandler(async (event) => {
|
|
42
42
|
const nitroApp = useNitroApp();
|
|
43
43
|
// Whether we're rendering an error page
|
|
44
44
|
const ssrError = event.path.startsWith("/__nuxt_error") ? getQuery(event) : null;
|
|
@@ -282,6 +282,7 @@ export default defineRenderHandler(async (event) => {
|
|
|
282
282
|
}
|
|
283
283
|
};
|
|
284
284
|
});
|
|
285
|
+
export default handler;
|
|
285
286
|
function normalizeChunks(chunks) {
|
|
286
287
|
const result = [];
|
|
287
288
|
for (const _chunk of chunks) {
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import type { EventHandler } from "h3";
|
|
2
|
+
declare const handler: EventHandler;
|
|
3
|
+
export default handler;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { defineEventHandler, getRequestHeader } from "h3";
|
|
2
|
-
|
|
2
|
+
const handler = defineEventHandler((event) => {
|
|
3
3
|
if (getRequestHeader(event, "x-nuxt-no-ssr")) {
|
|
4
4
|
event.context.nuxt ||= {};
|
|
5
5
|
event.context.nuxt.noSSR = true;
|
|
6
6
|
}
|
|
7
7
|
});
|
|
8
|
+
export default handler;
|
|
@@ -1,5 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const
|
|
3
|
-
export declare const
|
|
4
|
-
export declare const
|
|
5
|
-
export declare const
|
|
1
|
+
import type { Storage } from "unstorage";
|
|
2
|
+
export declare const payloadCache: Storage | null;
|
|
3
|
+
export declare const islandCache: Storage | null;
|
|
4
|
+
export declare const islandPropCache: Storage | null;
|
|
5
|
+
export declare const sharedPrerenderPromises: Map<string, Promise<any>> | null;
|
|
6
|
+
interface SharedPrerenderCache {
|
|
7
|
+
get<T = unknown>(key: string): Promise<T> | undefined;
|
|
8
|
+
set<T>(key: string, value: Promise<T>): Promise<void>;
|
|
9
|
+
}
|
|
10
|
+
export declare const sharedPrerenderCache: SharedPrerenderCache | null;
|
|
11
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const defineAppConfig:
|
|
1
|
+
export declare const defineAppConfig: (config: any) => any;
|
|
@@ -3,4 +3,4 @@ import type { H3Event } from "h3";
|
|
|
3
3
|
* Nitro internal functions extracted from https://github.com/nitrojs/nitro/blob/v2/src/runtime/internal/utils.ts
|
|
4
4
|
*/
|
|
5
5
|
export declare function isJsonRequest(event: H3Event): boolean;
|
|
6
|
-
export declare function hasReqHeader(event: H3Event, name: string, includes: string);
|
|
6
|
+
export declare function hasReqHeader(event: H3Event, name: string, includes: string): boolean;
|
|
@@ -11,5 +11,5 @@ export function isJsonRequest(event) {
|
|
|
11
11
|
}
|
|
12
12
|
export function hasReqHeader(event, name, includes) {
|
|
13
13
|
const value = getRequestHeader(event, name);
|
|
14
|
-
return value && typeof value === "string" && value.toLowerCase().includes(includes);
|
|
14
|
+
return !!(value && typeof value === "string" && value.toLowerCase().includes(includes));
|
|
15
15
|
}
|
|
@@ -10,7 +10,7 @@ interface Renderer {
|
|
|
10
10
|
renderScripts: () => string;
|
|
11
11
|
}>;
|
|
12
12
|
}
|
|
13
|
-
export declare const getSSRRenderer:
|
|
13
|
+
export declare const getSSRRenderer: () => Promise<Renderer>;
|
|
14
14
|
export declare function getRenderer(ssrContext: NuxtSSRContext): Promise<Renderer>;
|
|
15
|
-
export declare const getSSRStyles:
|
|
15
|
+
export declare const getSSRStyles: () => Promise<Record<string, () => Promise<string[]>>>;
|
|
16
16
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuxt/nitro-server-nightly",
|
|
3
|
-
"version": "3.21.2-
|
|
3
|
+
"version": "3.21.2-29532005.4df85b25",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/nuxt/nuxt.git",
|
|
@@ -19,13 +19,13 @@
|
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@nuxt/devalue": "^2.0.2",
|
|
22
|
-
"@nuxt/kit": "npm:@nuxt/kit-nightly@3.21.2-
|
|
23
|
-
"@unhead/vue": "^2.1.
|
|
24
|
-
"@vue/shared": "^3.5.
|
|
22
|
+
"@nuxt/kit": "npm:@nuxt/kit-nightly@3.21.2-29532005.4df85b25",
|
|
23
|
+
"@unhead/vue": "^2.1.4",
|
|
24
|
+
"@vue/shared": "^3.5.28",
|
|
25
25
|
"consola": "^3.4.2",
|
|
26
26
|
"defu": "^6.1.4",
|
|
27
27
|
"destr": "^2.0.5",
|
|
28
|
-
"devalue": "^5.6.
|
|
28
|
+
"devalue": "^5.6.3",
|
|
29
29
|
"errx": "^0.1.0",
|
|
30
30
|
"escape-string-regexp": "^5.0.0",
|
|
31
31
|
"exsolve": "^1.0.8",
|
|
@@ -42,17 +42,17 @@
|
|
|
42
42
|
"ufo": "^1.6.3",
|
|
43
43
|
"unctx": "^2.5.0",
|
|
44
44
|
"unstorage": "^1.17.4",
|
|
45
|
-
"vue": "^3.5.
|
|
45
|
+
"vue": "^3.5.28",
|
|
46
46
|
"vue-bundle-renderer": "^2.2.0",
|
|
47
47
|
"vue-devtools-stub": "^0.1.0"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
|
-
"nuxt": "npm:nuxt-nightly@3.21.2-
|
|
50
|
+
"nuxt": "npm:nuxt-nightly@3.21.2-29532005.4df85b25"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@nuxt/schema": "npm:@nuxt/schema-nightly@3.21.2-
|
|
54
|
-
"nuxt": "npm:nuxt-nightly@3.21.2-
|
|
55
|
-
"obuild": "0.4.
|
|
53
|
+
"@nuxt/schema": "npm:@nuxt/schema-nightly@3.21.2-29532005.4df85b25",
|
|
54
|
+
"nuxt": "npm:nuxt-nightly@3.21.2-29532005.4df85b25",
|
|
55
|
+
"obuild": "0.4.31",
|
|
56
56
|
"vitest": "4.0.18"
|
|
57
57
|
},
|
|
58
58
|
"engines": {
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
//#region ../../node_modules/.pnpm/@volar+source-map@2.4.27/node_modules/@volar/source-map/lib/sourceMap.d.ts
|
|
2
|
-
interface Mapping<Data = unknown> {
|
|
3
|
-
sourceOffsets: number[];
|
|
4
|
-
generatedOffsets: number[];
|
|
5
|
-
lengths: number[];
|
|
6
|
-
generatedLengths?: number[];
|
|
7
|
-
data: Data;
|
|
8
|
-
}
|
|
9
|
-
//#endregion
|
|
10
|
-
export { Mapping as t };
|
|
File without changes
|