nitropack-nightly 2.11.0-20250218-113619.4a57c822 → 2.11.0-20250221-151704.a7feefae
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/core/index.mjs +1 -1
- package/dist/kit/index.d.mts +1 -1
- package/dist/kit/index.d.ts +1 -1
- package/dist/meta/index.d.mts +1 -1
- package/dist/meta/index.d.ts +1 -1
- package/dist/meta/index.mjs +1 -1
- package/dist/shared/{nitro.BYXEt1mT.d.mts → nitro.CkNr_mO9.d.mts} +2 -2
- package/dist/shared/{nitro.BYXEt1mT.d.ts → nitro.CkNr_mO9.d.ts} +2 -2
- package/dist/types/index.d.mts +2 -2
- package/dist/types/index.d.ts +2 -2
- package/package.json +22 -22
package/dist/core/index.mjs
CHANGED
|
@@ -1441,7 +1441,7 @@ async function watchDev(nitro, rollupConfig) {
|
|
|
1441
1441
|
const watchPatterns = nitro.options.scanDirs.flatMap((dir) => [
|
|
1442
1442
|
join(dir, nitro.options.apiDir || "api"),
|
|
1443
1443
|
join(dir, nitro.options.routesDir || "routes"),
|
|
1444
|
-
join(dir, "middleware"
|
|
1444
|
+
join(dir, "middleware"),
|
|
1445
1445
|
join(dir, "plugins"),
|
|
1446
1446
|
join(dir, "modules")
|
|
1447
1447
|
]);
|
package/dist/kit/index.d.mts
CHANGED
package/dist/kit/index.d.ts
CHANGED
package/dist/meta/index.d.mts
CHANGED
package/dist/meta/index.d.ts
CHANGED
package/dist/meta/index.mjs
CHANGED
|
@@ -6,7 +6,7 @@ import { Unimport } from 'unimport';
|
|
|
6
6
|
import { BuiltinDriverName, Storage } from 'unstorage';
|
|
7
7
|
import { RollupCommonJSOptions } from '@rollup/plugin-commonjs';
|
|
8
8
|
import { C12InputConfig, ResolvedConfig, ConfigWatcher, WatchConfigOptions } from 'c12';
|
|
9
|
-
import { FSWatcher,
|
|
9
|
+
import { FSWatcher, ChokidarOptions } from 'chokidar';
|
|
10
10
|
import { DateString, CompatibilityDateSpec, CompatibilityDates } from 'compatx';
|
|
11
11
|
import { ConnectorName } from 'db0';
|
|
12
12
|
import { ProxyServerOptions } from 'httpxy';
|
|
@@ -457,7 +457,7 @@ interface NitroOptions extends PresetOptions {
|
|
|
457
457
|
ignore: string[];
|
|
458
458
|
dev: boolean;
|
|
459
459
|
devServer: DevServerOptions;
|
|
460
|
-
watchOptions:
|
|
460
|
+
watchOptions: ChokidarOptions;
|
|
461
461
|
devProxy: Record<string, string | ProxyServerOptions>;
|
|
462
462
|
logging: {
|
|
463
463
|
compressedSizes: boolean;
|
|
@@ -6,7 +6,7 @@ import { Unimport } from 'unimport';
|
|
|
6
6
|
import { BuiltinDriverName, Storage } from 'unstorage';
|
|
7
7
|
import { RollupCommonJSOptions } from '@rollup/plugin-commonjs';
|
|
8
8
|
import { C12InputConfig, ResolvedConfig, ConfigWatcher, WatchConfigOptions } from 'c12';
|
|
9
|
-
import { FSWatcher,
|
|
9
|
+
import { FSWatcher, ChokidarOptions } from 'chokidar';
|
|
10
10
|
import { DateString, CompatibilityDateSpec, CompatibilityDates } from 'compatx';
|
|
11
11
|
import { ConnectorName } from 'db0';
|
|
12
12
|
import { ProxyServerOptions } from 'httpxy';
|
|
@@ -457,7 +457,7 @@ interface NitroOptions extends PresetOptions {
|
|
|
457
457
|
ignore: string[];
|
|
458
458
|
dev: boolean;
|
|
459
459
|
devServer: DevServerOptions;
|
|
460
|
-
watchOptions:
|
|
460
|
+
watchOptions: ChokidarOptions;
|
|
461
461
|
devProxy: Record<string, string | ProxyServerOptions>;
|
|
462
462
|
logging: {
|
|
463
463
|
compressedSizes: boolean;
|
package/dist/types/index.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { App, Router, H3Event, RouterMethod } from 'h3';
|
|
2
2
|
import { FetchRequest, FetchOptions, FetchResponse } from 'ofetch';
|
|
3
|
-
import { a as NitroOptions, b as NitroConfig, N as NitroModule } from '../shared/nitro.
|
|
4
|
-
export { A as AppConfig, C as CacheEntry, c as CacheOptions, d as CachedEventHandlerOptions, e as CompressOptions, g as DatabaseConnectionConfig, h as DatabaseConnectionConfigs, D as DatabaseConnectionName, l as DevServerOptions, I as EsbuildOptions, O as HTTPStatusCode, L as LoadConfigOptions, u as Nitro, y as NitroBuildInfo, q as NitroDevEventHandler, n as NitroDevServer, v as NitroDynamicConfig, r as NitroErrorHandler, p as NitroEventHandler, x as NitroFrameworkInfo, s as NitroHooks, t as NitroModuleInput, k as NitroOpenAPIConfig, E as NitroPreset, F as NitroPresetMeta, Q as NitroRouteConfig, o as NitroRouteMeta, T as NitroRouteRules, j as NitroRuntimeConfig, i as NitroRuntimeConfigApp, w as NitroTypes, m as NitroWorker, J as NodeExternalsOptions, B as PrerenderGenerateRoute, z as PrerenderRoute, P as PublicAssetDir, M as RawOptions, R as ResponseCacheEntry, G as RollupConfig, H as RollupVirtualOptions, S as ServerAssetDir, K as ServerAssetOptions, f as StorageMounts, V as VirtualModule } from '../shared/nitro.
|
|
3
|
+
import { a as NitroOptions, b as NitroConfig, N as NitroModule } from '../shared/nitro.CkNr_mO9.mjs';
|
|
4
|
+
export { A as AppConfig, C as CacheEntry, c as CacheOptions, d as CachedEventHandlerOptions, e as CompressOptions, g as DatabaseConnectionConfig, h as DatabaseConnectionConfigs, D as DatabaseConnectionName, l as DevServerOptions, I as EsbuildOptions, O as HTTPStatusCode, L as LoadConfigOptions, u as Nitro, y as NitroBuildInfo, q as NitroDevEventHandler, n as NitroDevServer, v as NitroDynamicConfig, r as NitroErrorHandler, p as NitroEventHandler, x as NitroFrameworkInfo, s as NitroHooks, t as NitroModuleInput, k as NitroOpenAPIConfig, E as NitroPreset, F as NitroPresetMeta, Q as NitroRouteConfig, o as NitroRouteMeta, T as NitroRouteRules, j as NitroRuntimeConfig, i as NitroRuntimeConfigApp, w as NitroTypes, m as NitroWorker, J as NodeExternalsOptions, B as PrerenderGenerateRoute, z as PrerenderRoute, P as PublicAssetDir, M as RawOptions, R as ResponseCacheEntry, G as RollupConfig, H as RollupVirtualOptions, S as ServerAssetDir, K as ServerAssetOptions, f as StorageMounts, V as VirtualModule } from '../shared/nitro.CkNr_mO9.mjs';
|
|
5
5
|
import { Hookable } from 'hookable';
|
|
6
6
|
import { NitroRuntimeHooks as NitroRuntimeHooks$1 } from 'nitropack';
|
|
7
7
|
import { AbstractRequest, AbstractResponse } from 'node-mock-http';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { App, Router, H3Event, RouterMethod } from 'h3';
|
|
2
2
|
import { FetchRequest, FetchOptions, FetchResponse } from 'ofetch';
|
|
3
|
-
import { a as NitroOptions, b as NitroConfig, N as NitroModule } from '../shared/nitro.
|
|
4
|
-
export { A as AppConfig, C as CacheEntry, c as CacheOptions, d as CachedEventHandlerOptions, e as CompressOptions, g as DatabaseConnectionConfig, h as DatabaseConnectionConfigs, D as DatabaseConnectionName, l as DevServerOptions, I as EsbuildOptions, O as HTTPStatusCode, L as LoadConfigOptions, u as Nitro, y as NitroBuildInfo, q as NitroDevEventHandler, n as NitroDevServer, v as NitroDynamicConfig, r as NitroErrorHandler, p as NitroEventHandler, x as NitroFrameworkInfo, s as NitroHooks, t as NitroModuleInput, k as NitroOpenAPIConfig, E as NitroPreset, F as NitroPresetMeta, Q as NitroRouteConfig, o as NitroRouteMeta, T as NitroRouteRules, j as NitroRuntimeConfig, i as NitroRuntimeConfigApp, w as NitroTypes, m as NitroWorker, J as NodeExternalsOptions, B as PrerenderGenerateRoute, z as PrerenderRoute, P as PublicAssetDir, M as RawOptions, R as ResponseCacheEntry, G as RollupConfig, H as RollupVirtualOptions, S as ServerAssetDir, K as ServerAssetOptions, f as StorageMounts, V as VirtualModule } from '../shared/nitro.
|
|
3
|
+
import { a as NitroOptions, b as NitroConfig, N as NitroModule } from '../shared/nitro.CkNr_mO9.js';
|
|
4
|
+
export { A as AppConfig, C as CacheEntry, c as CacheOptions, d as CachedEventHandlerOptions, e as CompressOptions, g as DatabaseConnectionConfig, h as DatabaseConnectionConfigs, D as DatabaseConnectionName, l as DevServerOptions, I as EsbuildOptions, O as HTTPStatusCode, L as LoadConfigOptions, u as Nitro, y as NitroBuildInfo, q as NitroDevEventHandler, n as NitroDevServer, v as NitroDynamicConfig, r as NitroErrorHandler, p as NitroEventHandler, x as NitroFrameworkInfo, s as NitroHooks, t as NitroModuleInput, k as NitroOpenAPIConfig, E as NitroPreset, F as NitroPresetMeta, Q as NitroRouteConfig, o as NitroRouteMeta, T as NitroRouteRules, j as NitroRuntimeConfig, i as NitroRuntimeConfigApp, w as NitroTypes, m as NitroWorker, J as NodeExternalsOptions, B as PrerenderGenerateRoute, z as PrerenderRoute, P as PublicAssetDir, M as RawOptions, R as ResponseCacheEntry, G as RollupConfig, H as RollupVirtualOptions, S as ServerAssetDir, K as ServerAssetOptions, f as StorageMounts, V as VirtualModule } from '../shared/nitro.CkNr_mO9.js';
|
|
5
5
|
import { Hookable } from 'hookable';
|
|
6
6
|
import { NitroRuntimeHooks as NitroRuntimeHooks$1 } from 'nitropack';
|
|
7
7
|
import { AbstractRequest, AbstractResponse } from 'node-mock-http';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nitropack-nightly",
|
|
3
|
-
"version": "2.11.0-
|
|
3
|
+
"version": "2.11.0-20250221-151704.a7feefae",
|
|
4
4
|
"description": "Build and Deploy Universal JavaScript Servers",
|
|
5
5
|
"repository": "nitrojs/nitro",
|
|
6
6
|
"license": "MIT",
|
|
@@ -105,19 +105,19 @@
|
|
|
105
105
|
"@rollup/plugin-node-resolve": "^16.0.0",
|
|
106
106
|
"@rollup/plugin-replace": "^6.0.2",
|
|
107
107
|
"@rollup/plugin-terser": "^0.4.4",
|
|
108
|
-
"@types/http-proxy": "^1.17.
|
|
109
|
-
"@vercel/nft": "^0.29.
|
|
108
|
+
"@types/http-proxy": "^1.17.16",
|
|
109
|
+
"@vercel/nft": "^0.29.2",
|
|
110
110
|
"archiver": "^7.0.1",
|
|
111
111
|
"c12": "^2.0.2",
|
|
112
|
-
"chokidar": "^
|
|
112
|
+
"chokidar": "^4.0.3",
|
|
113
113
|
"citty": "^0.1.6",
|
|
114
114
|
"compatx": "^0.1.8",
|
|
115
115
|
"confbox": "^0.1.8",
|
|
116
116
|
"consola": "^3.4.0",
|
|
117
117
|
"cookie-es": "^1.2.2",
|
|
118
118
|
"croner": "^9.0.0",
|
|
119
|
-
"crossws": "^0.3.
|
|
120
|
-
"db0": "^0.2.
|
|
119
|
+
"crossws": "^0.3.4",
|
|
120
|
+
"db0": "^0.2.4",
|
|
121
121
|
"defu": "^6.1.4",
|
|
122
122
|
"destr": "^2.0.3",
|
|
123
123
|
"dot-prop": "^9.0.0",
|
|
@@ -125,12 +125,12 @@
|
|
|
125
125
|
"escape-string-regexp": "^5.0.0",
|
|
126
126
|
"etag": "^1.8.1",
|
|
127
127
|
"fs-extra": "^11.3.0",
|
|
128
|
-
"globby": "^14.0
|
|
128
|
+
"globby": "^14.1.0",
|
|
129
129
|
"gzip-size": "^7.0.0",
|
|
130
130
|
"h3": "npm:h3-nightly@latest",
|
|
131
131
|
"hookable": "^5.5.3",
|
|
132
132
|
"httpxy": "^0.1.7",
|
|
133
|
-
"ioredis": "^5.
|
|
133
|
+
"ioredis": "^5.5.0",
|
|
134
134
|
"jiti": "^2.4.2",
|
|
135
135
|
"klona": "^2.0.6",
|
|
136
136
|
"knitwork": "^1.2.0",
|
|
@@ -143,16 +143,16 @@
|
|
|
143
143
|
"node-mock-http": "^1.0.0",
|
|
144
144
|
"ofetch": "^1.4.1",
|
|
145
145
|
"ohash": "^1.1.4",
|
|
146
|
-
"openapi-typescript": "^7.6.
|
|
147
|
-
"pathe": "^2.0.
|
|
146
|
+
"openapi-typescript": "^7.6.1",
|
|
147
|
+
"pathe": "^2.0.3",
|
|
148
148
|
"perfect-debounce": "^1.0.0",
|
|
149
149
|
"pkg-types": "^1.3.1",
|
|
150
150
|
"pretty-bytes": "^6.1.1",
|
|
151
151
|
"radix3": "^1.1.2",
|
|
152
|
-
"rollup": "^4.
|
|
152
|
+
"rollup": "^4.34.8",
|
|
153
153
|
"rollup-plugin-visualizer": "^5.14.0",
|
|
154
154
|
"scule": "^1.3.0",
|
|
155
|
-
"semver": "^7.
|
|
155
|
+
"semver": "^7.7.1",
|
|
156
156
|
"serve-placeholder": "^2.0.2",
|
|
157
157
|
"serve-static": "^1.16.2",
|
|
158
158
|
"source-map": "^0.7.4",
|
|
@@ -162,9 +162,9 @@
|
|
|
162
162
|
"uncrypto": "^0.1.3",
|
|
163
163
|
"unctx": "^2.4.1",
|
|
164
164
|
"unenv": "2.0.0-rc.6",
|
|
165
|
-
"unimport": "^4.
|
|
166
|
-
"unplugin-utils": "^0.2.
|
|
167
|
-
"unstorage": "^1.
|
|
165
|
+
"unimport": "^4.1.2",
|
|
166
|
+
"unplugin-utils": "^0.2.4",
|
|
167
|
+
"unstorage": "^1.15.0",
|
|
168
168
|
"untyped": "^1.5.2",
|
|
169
169
|
"unwasm": "^0.3.9",
|
|
170
170
|
"youch": "4.1.0-beta.4",
|
|
@@ -172,11 +172,11 @@
|
|
|
172
172
|
},
|
|
173
173
|
"devDependencies": {
|
|
174
174
|
"@azure/functions": "^3.5.1",
|
|
175
|
-
"@azure/static-web-apps-cli": "^
|
|
176
|
-
"@cloudflare/workers-types": "^4.
|
|
175
|
+
"@azure/static-web-apps-cli": "^2.0.4",
|
|
176
|
+
"@cloudflare/workers-types": "^4.20250214.0",
|
|
177
177
|
"@deno/types": "^0.0.1",
|
|
178
178
|
"@netlify/edge-functions": "^2.11.1",
|
|
179
|
-
"@scalar/api-reference": "^1.25.
|
|
179
|
+
"@scalar/api-reference": "^1.25.122",
|
|
180
180
|
"@types/archiver": "^6.0.3",
|
|
181
181
|
"@types/aws-lambda": "^8.10.147",
|
|
182
182
|
"@types/estree": "^1.0.6",
|
|
@@ -186,7 +186,7 @@
|
|
|
186
186
|
"@types/semver": "^7.5.8",
|
|
187
187
|
"@types/serve-static": "^1.15.7",
|
|
188
188
|
"@types/xml2js": "^0.4.14",
|
|
189
|
-
"@vitest/coverage-v8": "^3.0.
|
|
189
|
+
"@vitest/coverage-v8": "^3.0.6",
|
|
190
190
|
"automd": "^0.3.12",
|
|
191
191
|
"better-sqlite3": "^11.8.1",
|
|
192
192
|
"changelogen": "^0.5.7",
|
|
@@ -198,12 +198,12 @@
|
|
|
198
198
|
"firebase-admin": "^12.7.0",
|
|
199
199
|
"firebase-functions": "^4.9.0",
|
|
200
200
|
"get-port-please": "^3.1.2",
|
|
201
|
-
"miniflare": "^3.
|
|
202
|
-
"prettier": "^3.5.
|
|
201
|
+
"miniflare": "^3.20250214.0",
|
|
202
|
+
"prettier": "^3.5.1",
|
|
203
203
|
"typescript": "^5.7.3",
|
|
204
204
|
"unbuild": "^3.3.1",
|
|
205
205
|
"undici": "^7.3.0",
|
|
206
|
-
"vitest": "^3.0.
|
|
206
|
+
"vitest": "^3.0.6",
|
|
207
207
|
"xml2js": "^0.6.2"
|
|
208
208
|
},
|
|
209
209
|
"peerDependencies": {
|