nitro-nightly 3.0.1-20251216-225042-3c7b1a8f → 3.0.1-20251217-122734-23b1fd04
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/_build/rolldown.mjs +3 -3
- package/dist/_build/rollup.mjs +3 -3
- package/dist/_build/vite.build.mjs +2 -2
- package/dist/_build/vite.plugin.mjs +2 -2
- package/dist/_dev.mjs +1 -1
- package/dist/_libs/{@pi0 → @hiogawa}/vite-plugin-fullstack.mjs +237 -31
- package/dist/_libs/@jridgewell/gen-mapping.mjs +2 -166
- package/dist/_libs/@rollup/plugin-commonjs.mjs +9 -9
- package/dist/_libs/@rollup/plugin-inject.mjs +1 -1
- package/dist/_libs/@rollup/plugin-node-resolve.mjs +12 -12
- package/dist/_libs/@rollup/plugin-replace.mjs +1 -1
- package/dist/_libs/c12.mjs +2 -2
- package/dist/_libs/chokidar.mjs +238 -1790
- package/dist/_libs/giget.mjs +1 -1
- package/dist/_libs/unimport.mjs +1 -1
- package/dist/_libs/unwasm.mjs +1 -1
- package/dist/builder.mjs +1 -2
- package/dist/cli/_chunks/chokidar.mjs +3 -0
- package/dist/cli/_chunks/detect-acorn.mjs +1 -2
- package/dist/node_modules/unctx/package.json +16 -16
- package/dist/types/index.d.mts +30 -1
- package/dist/vite.mjs +2 -2
- package/package.json +11 -11
- package/dist/cli/_chunks/esm.mjs +0 -3
package/dist/_libs/giget.mjs
CHANGED
|
@@ -14,8 +14,8 @@ import Ds from "crypto";
|
|
|
14
14
|
import { defu } from "defu";
|
|
15
15
|
import { PassThrough, pipeline } from "node:stream";
|
|
16
16
|
import { spawn } from "node:child_process";
|
|
17
|
-
import nt from "events";
|
|
18
17
|
import j$1 from "assert";
|
|
18
|
+
import nt from "events";
|
|
19
19
|
import ot from "stream";
|
|
20
20
|
import ht from "string_decoder";
|
|
21
21
|
import P from "buffer";
|
package/dist/_libs/unimport.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as __toESM, n as __require, t as __commonJSMin } from "../_rolldown.mjs";
|
|
2
2
|
import { C as isAbsolute$1, D as parse$2, O as relative$1, T as normalize$2, b as basename$1, f as readPackageJSON, k as resolve$1, m as resolvePackageJSON, w as join$1, x as dirname$1 } from "./c12.mjs";
|
|
3
|
-
import { n as stripLiteral, r as MagicString } from "./@
|
|
3
|
+
import { n as stripLiteral, r as MagicString } from "./@hiogawa/vite-plugin-fullstack.mjs";
|
|
4
4
|
import { n as parse, t as Parser } from "./acorn.mjs";
|
|
5
5
|
import { a as findTypeExports, c as parseStaticImport, i as findStaticImports, l as resolve$2, n as detectSyntax, r as findExports, t as resolveModule, u as resolveModuleExportNames } from "./local-pkg.mjs";
|
|
6
6
|
import { c as require_picomatch } from "./@rollup/plugin-commonjs.mjs";
|
package/dist/_libs/unwasm.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { b as basename, h as resolveModulePath } from "./c12.mjs";
|
|
2
|
-
import { r as MagicString } from "./@
|
|
2
|
+
import { r as MagicString } from "./@hiogawa/vite-plugin-fullstack.mjs";
|
|
3
3
|
import { a as genString, i as genSafeVariableName, n as genObjectFromRaw, t as genImport } from "./knitwork.mjs";
|
|
4
4
|
import { existsSync, promises } from "node:fs";
|
|
5
5
|
import { fileURLToPath } from "node:url";
|
package/dist/builder.mjs
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import "./_rolldown.mjs";
|
|
2
2
|
import "./_libs/c12.mjs";
|
|
3
|
-
import "./_libs/@
|
|
4
|
-
import "./_libs/@pi0/vite-plugin-fullstack.mjs";
|
|
3
|
+
import "./_libs/@hiogawa/vite-plugin-fullstack.mjs";
|
|
5
4
|
import "./_libs/acorn.mjs";
|
|
6
5
|
import "./_libs/unimport.mjs";
|
|
7
6
|
import "./_libs/@rollup/plugin-commonjs.mjs";
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import "../../_rolldown.mjs";
|
|
2
2
|
import "../../_libs/c12.mjs";
|
|
3
|
-
import "../../_libs/@
|
|
4
|
-
import "../../_libs/@pi0/vite-plugin-fullstack.mjs";
|
|
3
|
+
import "../../_libs/@hiogawa/vite-plugin-fullstack.mjs";
|
|
5
4
|
import "../../_libs/acorn.mjs";
|
|
6
5
|
import { n as detectImportsAcorn, r as traveseScopes, t as createVirtualImportsAcronWalker } from "../../_libs/unimport.mjs";
|
|
7
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "unctx",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.5.0",
|
|
4
4
|
"description": "Composition-api in Vanilla js",
|
|
5
5
|
"repository": "unjs/unctx",
|
|
6
6
|
"license": "MIT",
|
|
@@ -45,23 +45,23 @@
|
|
|
45
45
|
"test:types": "tsc --noEmit"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"acorn": "^8.
|
|
48
|
+
"acorn": "^8.15.0",
|
|
49
49
|
"estree-walker": "^3.0.3",
|
|
50
|
-
"magic-string": "^0.30.
|
|
51
|
-
"unplugin": "^2.
|
|
50
|
+
"magic-string": "^0.30.21",
|
|
51
|
+
"unplugin": "^2.3.11"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@types/estree": "^1.0.
|
|
55
|
-
"@types/node": "^
|
|
56
|
-
"@vitest/coverage-v8": "^
|
|
57
|
-
"changelogen": "^0.
|
|
58
|
-
"eslint": "^9.
|
|
59
|
-
"eslint-config-unjs": "^0.
|
|
60
|
-
"jiti": "^2.
|
|
61
|
-
"prettier": "^3.4
|
|
62
|
-
"typescript": "^5.
|
|
63
|
-
"unbuild": "^3.
|
|
64
|
-
"vitest": "^
|
|
54
|
+
"@types/estree": "^1.0.8",
|
|
55
|
+
"@types/node": "^25.0.2",
|
|
56
|
+
"@vitest/coverage-v8": "^4.0.16",
|
|
57
|
+
"changelogen": "^0.6.2",
|
|
58
|
+
"eslint": "^9.39.2",
|
|
59
|
+
"eslint-config-unjs": "^0.5.0",
|
|
60
|
+
"jiti": "^2.6.1",
|
|
61
|
+
"prettier": "^3.7.4",
|
|
62
|
+
"typescript": "^5.9.3",
|
|
63
|
+
"unbuild": "^3.6.1",
|
|
64
|
+
"vitest": "^4.0.16"
|
|
65
65
|
},
|
|
66
|
-
"packageManager": "pnpm@
|
|
66
|
+
"packageManager": "pnpm@10.26.0"
|
|
67
67
|
}
|
package/dist/types/index.d.mts
CHANGED
|
@@ -218,6 +218,35 @@ interface TaskRunnerOptions {
|
|
|
218
218
|
buildDir?: string;
|
|
219
219
|
}
|
|
220
220
|
//#endregion
|
|
221
|
+
//#region src/types/runtime/client/assets.d.ts
|
|
222
|
+
// Based on https://github.com/hi-ogawa/vite-plugins/blob/main/packages/fullstack/types/query.d.ts
|
|
223
|
+
|
|
224
|
+
type ImportAssetsResult = ImportAssetsResultRaw & {
|
|
225
|
+
merge(...args: ImportAssetsResultRaw[]): ImportAssetsResult;
|
|
226
|
+
};
|
|
227
|
+
type ImportAssetsResultRaw = {
|
|
228
|
+
entry?: string;
|
|
229
|
+
js: {
|
|
230
|
+
href: string;
|
|
231
|
+
}[];
|
|
232
|
+
css: {
|
|
233
|
+
href: string;
|
|
234
|
+
"data-vite-dev-id"?: string;
|
|
235
|
+
}[];
|
|
236
|
+
};
|
|
237
|
+
declare module "*?assets" {
|
|
238
|
+
const assets: ImportAssetsResult;
|
|
239
|
+
export default assets;
|
|
240
|
+
}
|
|
241
|
+
declare module "*?assets=client" {
|
|
242
|
+
const assets: ImportAssetsResult;
|
|
243
|
+
export default assets;
|
|
244
|
+
}
|
|
245
|
+
declare module "*?assets=ssr" {
|
|
246
|
+
const assets: ImportAssetsResult;
|
|
247
|
+
export default assets;
|
|
248
|
+
}
|
|
249
|
+
//#endregion
|
|
221
250
|
//#region src/presets/aws-amplify/types.d.ts
|
|
222
251
|
type AmplifyImageSettings = {
|
|
223
252
|
/** Array of supported image widths */
|
|
@@ -3182,4 +3211,4 @@ declare module "srvx" {
|
|
|
3182
3211
|
}
|
|
3183
3212
|
}
|
|
3184
3213
|
//#endregion
|
|
3185
|
-
export { $Fetch, AssetMeta, AvailableRouterMethod, Base$Fetch, CacheEntry, CacheOptions, CachedEventHandlerOptions, CaptureError, CapturedErrorContext, CompressOptions, DatabaseConnectionConfig, DatabaseConnectionConfigs, DatabaseConnectionName, EnvRunner, EventHandlerFormat, ExtractedRouteMethod, FetchHandler, H3Event$Fetch, H3EventFetch, HTTPstatus, InternalApi, LoadConfigOptions, MatchedRouteRule, MatchedRouteRules, MatchedRoutes, MiddlewareOf, Nitro, NitroApp, NitroAppPlugin, NitroAsyncContext, NitroBuildInfo, NitroConfig, NitroDevEventHandler, NitroDynamicConfig, NitroErrorHandler, NitroEventHandler, NitroFetchOptions, NitroFetchRequest, NitroFrameworkInfo, NitroHooks, NitroImportMeta, NitroModule, NitroModuleInput, type NitroOpenAPIConfig, NitroOptions, NitroPreset, NitroPresetMeta, NitroRouteConfig, NitroRouteMeta, NitroRouteRules, NitroRuntimeConfig, NitroRuntimeConfigApp, NitroRuntimeHooks, NitroTypes, OXCOptions, PrerenderGenerateRoute, PrerenderRoute, PublicAsset, PublicAssetDir, RenderContext, RenderHandler, RenderResponse, ResponseCacheEntry, RollupConfig, RollupVirtualOptions, RunnerMessageListener, RunnerRPCHooks, Serialize, SerializeObject, SerializeTuple, ServerAssetDir, ServerAssetOptions, type ServerRequest, Simplify, StorageMounts, Task, TaskContext, TaskEvent, TaskMeta, TaskPayload, TaskResult, TaskRunnerOptions, TypedInternalResponse, UpgradeHandler, VirtualModule, WorkerAddress, WorkerHooks };
|
|
3214
|
+
export { $Fetch, AssetMeta, AvailableRouterMethod, Base$Fetch, CacheEntry, CacheOptions, CachedEventHandlerOptions, CaptureError, CapturedErrorContext, CompressOptions, DatabaseConnectionConfig, DatabaseConnectionConfigs, DatabaseConnectionName, EnvRunner, EventHandlerFormat, ExtractedRouteMethod, FetchHandler, H3Event$Fetch, H3EventFetch, HTTPstatus, ImportAssetsResult, ImportAssetsResultRaw, InternalApi, LoadConfigOptions, MatchedRouteRule, MatchedRouteRules, MatchedRoutes, MiddlewareOf, Nitro, NitroApp, NitroAppPlugin, NitroAsyncContext, NitroBuildInfo, NitroConfig, NitroDevEventHandler, NitroDynamicConfig, NitroErrorHandler, NitroEventHandler, NitroFetchOptions, NitroFetchRequest, NitroFrameworkInfo, NitroHooks, NitroImportMeta, NitroModule, NitroModuleInput, type NitroOpenAPIConfig, NitroOptions, NitroPreset, NitroPresetMeta, NitroRouteConfig, NitroRouteMeta, NitroRouteRules, NitroRuntimeConfig, NitroRuntimeConfigApp, NitroRuntimeHooks, NitroTypes, OXCOptions, PrerenderGenerateRoute, PrerenderRoute, PublicAsset, PublicAssetDir, RenderContext, RenderHandler, RenderResponse, ResponseCacheEntry, RollupConfig, RollupVirtualOptions, RunnerMessageListener, RunnerRPCHooks, Serialize, SerializeObject, SerializeTuple, ServerAssetDir, ServerAssetOptions, type ServerRequest, Simplify, StorageMounts, Task, TaskContext, TaskEvent, TaskMeta, TaskPayload, TaskResult, TaskRunnerOptions, TypedInternalResponse, UpgradeHandler, VirtualModule, WorkerAddress, WorkerHooks };
|
package/dist/vite.mjs
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import "./_rolldown.mjs";
|
|
2
2
|
import "./_libs/c12.mjs";
|
|
3
|
-
import "./_libs/@
|
|
4
|
-
import "./_libs/@pi0/vite-plugin-fullstack.mjs";
|
|
3
|
+
import "./_libs/@hiogawa/vite-plugin-fullstack.mjs";
|
|
5
4
|
import "./_libs/acorn.mjs";
|
|
6
5
|
import "./_libs/unimport.mjs";
|
|
7
6
|
import "./_libs/@rollup/plugin-commonjs.mjs";
|
|
@@ -16,6 +15,7 @@ import "./_libs/@rollup/plugin-alias.mjs";
|
|
|
16
15
|
import "./_libs/@rollup/plugin-inject.mjs";
|
|
17
16
|
import "./_nitro3.mjs";
|
|
18
17
|
import "./_libs/etag.mjs";
|
|
18
|
+
import "./_libs/@jridgewell/gen-mapping.mjs";
|
|
19
19
|
import "./_libs/@jridgewell/remapping.mjs";
|
|
20
20
|
import "./_libs/@rollup/plugin-replace.mjs";
|
|
21
21
|
import { t as nitro } from "./_build/vite.plugin.mjs";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nitro-nightly",
|
|
3
|
-
"version": "3.0.1-
|
|
3
|
+
"version": "3.0.1-20251217-122734-23b1fd04",
|
|
4
4
|
"description": "Build and Deploy Universal JavaScript Servers",
|
|
5
5
|
"homepage": "https://nitro.build",
|
|
6
6
|
"repository": "nitrojs/nitro",
|
|
@@ -76,9 +76,9 @@
|
|
|
76
76
|
"devDependencies": {
|
|
77
77
|
"@azure/functions": "^3.5.1",
|
|
78
78
|
"@azure/static-web-apps-cli": "^2.0.7",
|
|
79
|
-
"@cloudflare/workers-types": "^4.
|
|
79
|
+
"@cloudflare/workers-types": "^4.20251217.0",
|
|
80
80
|
"@deno/types": "^0.0.1",
|
|
81
|
-
"@hiogawa/vite-plugin-fullstack": "
|
|
81
|
+
"@hiogawa/vite-plugin-fullstack": "^0.0.8",
|
|
82
82
|
"@netlify/edge-functions": "^3.0.3",
|
|
83
83
|
"@netlify/functions": "^5.1.1",
|
|
84
84
|
"@rollup/plugin-alias": "^6.0.0",
|
|
@@ -93,13 +93,13 @@
|
|
|
93
93
|
"@types/etag": "^1.8.4",
|
|
94
94
|
"@types/fs-extra": "^11.0.4",
|
|
95
95
|
"@types/http-proxy": "^1.17.17",
|
|
96
|
-
"@types/node": "^25.0.
|
|
96
|
+
"@types/node": "^25.0.3",
|
|
97
97
|
"@types/node-fetch": "^2.6.13",
|
|
98
98
|
"@types/semver": "^7.7.1",
|
|
99
99
|
"@types/xml2js": "^0.4.14",
|
|
100
|
-
"@vitest/coverage-v8": "^4.0.
|
|
100
|
+
"@vitest/coverage-v8": "^4.0.16",
|
|
101
101
|
"automd": "^0.4.2",
|
|
102
|
-
"c12": "^3.3.
|
|
102
|
+
"c12": "^3.3.3",
|
|
103
103
|
"changelogen": "^0.6.2",
|
|
104
104
|
"chokidar": "^5.0.0",
|
|
105
105
|
"citty": "^0.1.6",
|
|
@@ -127,7 +127,7 @@
|
|
|
127
127
|
"knitwork": "^1.3.0",
|
|
128
128
|
"magic-string": "^0.30.21",
|
|
129
129
|
"mime": "^4.1.0",
|
|
130
|
-
"miniflare": "^4.
|
|
130
|
+
"miniflare": "^4.20251213.0",
|
|
131
131
|
"mlly": "^1.8.0",
|
|
132
132
|
"nf3": "^0.3.1",
|
|
133
133
|
"nypm": "^0.6.2",
|
|
@@ -153,16 +153,16 @@
|
|
|
153
153
|
"ufo": "^1.6.1",
|
|
154
154
|
"ultrahtml": "^1.6.0",
|
|
155
155
|
"uncrypto": "^0.1.3",
|
|
156
|
-
"unctx": "^2.
|
|
156
|
+
"unctx": "^2.5.0",
|
|
157
157
|
"unimport": "^5.6.0",
|
|
158
158
|
"untyped": "^2.0.0",
|
|
159
159
|
"unwasm": "^0.5.2",
|
|
160
160
|
"vite": "8.0.0-beta.2",
|
|
161
161
|
"vite7": "npm:vite@^7.3.0",
|
|
162
|
-
"vitest": "^4.0.
|
|
163
|
-
"wrangler": "^4.
|
|
162
|
+
"vitest": "^4.0.16",
|
|
163
|
+
"wrangler": "^4.55.0",
|
|
164
164
|
"xml2js": "^0.6.2",
|
|
165
|
-
"youch": "
|
|
165
|
+
"youch": "4.1.0-beta.13",
|
|
166
166
|
"youch-core": "^0.3.3"
|
|
167
167
|
},
|
|
168
168
|
"peerDependencies": {
|
package/dist/cli/_chunks/esm.mjs
DELETED