nitro-nightly 3.0.1-20260113-190618-a765d98d → 3.0.1-20260115-125729-d5f91791

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.
@@ -38,7 +38,7 @@ function escapeRegex(str) {
38
38
  }
39
39
 
40
40
  //#endregion
41
- //#region node_modules/.pnpm/@hiogawa+vite-plugin-fullstack@0.0.11_vite@8.0.0-beta.7_@types+node@25.0.8_jiti@2.6.1_tsx@4.21.0_yaml@2.8.2_/node_modules/@hiogawa/vite-plugin-fullstack/dist/plugin-B4MlD0Bd.js
41
+ //#region node_modules/.pnpm/@hiogawa+vite-plugin-fullstack@0.0.11_vite@8.0.0-beta.8_@types+node@25.0.8_esbuild@0.27_c7b61f1240074f2672d85ebadca4e361/node_modules/@hiogawa/vite-plugin-fullstack/dist/plugin-B4MlD0Bd.js
42
42
  function parseIdQuery(id) {
43
43
  if (!id.includes("?")) return {
44
44
  filename: id,
@@ -623,7 +623,7 @@ function assetsURLDev(url, config) {
623
623
  }
624
624
 
625
625
  //#endregion
626
- //#region node_modules/.pnpm/@hiogawa+vite-plugin-fullstack@0.0.11_vite@8.0.0-beta.7_@types+node@25.0.8_jiti@2.6.1_tsx@4.21.0_yaml@2.8.2_/node_modules/@hiogawa/vite-plugin-fullstack/dist/runtime.js
626
+ //#region node_modules/.pnpm/@hiogawa+vite-plugin-fullstack@0.0.11_vite@8.0.0-beta.8_@types+node@25.0.8_esbuild@0.27_c7b61f1240074f2672d85ebadca4e361/node_modules/@hiogawa/vite-plugin-fullstack/dist/runtime.js
627
627
  var runtime_exports = /* @__PURE__ */ __exportAll({ mergeAssets: () => mergeAssets });
628
628
  function mergeAssets(...args) {
629
629
  const js = uniqBy(args.flatMap((h) => h.js), (a) => a.href);
@@ -267,7 +267,10 @@ function withBase(input, base) {
267
267
  }
268
268
  const _base = withoutTrailingSlash(base);
269
269
  if (input.startsWith(_base)) {
270
- return input;
270
+ const nextChar = input[_base.length];
271
+ if (!nextChar || nextChar === "/" || nextChar === "?") {
272
+ return input;
273
+ }
271
274
  }
272
275
  return joinURL(_base, input);
273
276
  }
@@ -279,6 +282,10 @@ function withoutBase(input, base) {
279
282
  if (!input.startsWith(_base)) {
280
283
  return input;
281
284
  }
285
+ const nextChar = input[_base.length];
286
+ if (nextChar && nextChar !== "/" && nextChar !== "?") {
287
+ return input;
288
+ }
282
289
  const trimmed = input.slice(_base.length);
283
290
  return trimmed[0] === "/" ? trimmed : "/" + trimmed;
284
291
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ufo",
3
- "version": "1.6.2",
3
+ "version": "1.6.3",
4
4
  "description": "URL utils for humans",
5
5
  "repository": "unjs/ufo",
6
6
  "license": "MIT",
@@ -31,8 +31,8 @@
31
31
  "test": "pnpm lint && vitest run --typecheck"
32
32
  },
33
33
  "devDependencies": {
34
- "@types/node": "^25.0.3",
35
- "@vitest/coverage-v8": "^4.0.16",
34
+ "@types/node": "^25.0.8",
35
+ "@vitest/coverage-v8": "^4.0.17",
36
36
  "automd": "^0.4.2",
37
37
  "changelogen": "^0.6.2",
38
38
  "eslint": "^9.39.2",
@@ -42,7 +42,7 @@
42
42
  "typescript": "^5.9.3",
43
43
  "unbuild": "^3.6.1",
44
44
  "untyped": "^2.0.0",
45
- "vitest": "^4.0.16"
45
+ "vitest": "^4.0.17"
46
46
  },
47
- "packageManager": "pnpm@10.27.0"
47
+ "packageManager": "pnpm@10.28.0"
48
48
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nitro-nightly",
3
- "version": "3.0.1-20260113-190618-a765d98d",
3
+ "version": "3.0.1-20260115-125729-d5f91791",
4
4
  "description": "Build and Deploy Universal JavaScript Servers",
5
5
  "homepage": "https://nitro.build",
6
6
  "repository": "nitrojs/nitro",
@@ -57,13 +57,13 @@
57
57
  },
58
58
  "resolutions": {
59
59
  "nitro": "link:.",
60
- "undici": "^7.18.0"
60
+ "undici": "^7.18.2"
61
61
  },
62
62
  "dependencies": {
63
63
  "consola": "^3.4.2",
64
64
  "crossws": "^0.4.1",
65
65
  "db0": "^0.3.4",
66
- "h3": "^2.0.1-rc.7",
66
+ "h3": "^2.0.1-rc.8",
67
67
  "jiti": "^2.6.1",
68
68
  "nf3": "^0.3.4",
69
69
  "ofetch": "^2.0.0-alpha.3",
@@ -78,7 +78,7 @@
78
78
  "devDependencies": {
79
79
  "@azure/functions": "^3.5.1",
80
80
  "@azure/static-web-apps-cli": "^2.0.7",
81
- "@cloudflare/workers-types": "^4.20260113.0",
81
+ "@cloudflare/workers-types": "^4.20260115.0",
82
82
  "@deno/types": "^0.0.1",
83
83
  "@hiogawa/vite-plugin-fullstack": "^0.0.11",
84
84
  "@netlify/edge-functions": "^3.0.3",
@@ -89,7 +89,7 @@
89
89
  "@rollup/plugin-json": "^6.1.0",
90
90
  "@rollup/plugin-node-resolve": "^16.0.3",
91
91
  "@rollup/plugin-replace": "^6.0.3",
92
- "@scalar/api-reference": "^1.43.3",
92
+ "@scalar/api-reference": "^1.43.4",
93
93
  "@types/aws-lambda": "^8.10.159",
94
94
  "@types/estree": "^1.0.8",
95
95
  "@types/etag": "^1.8.4",
@@ -129,18 +129,18 @@
129
129
  "knitwork": "^1.3.0",
130
130
  "magic-string": "^0.30.21",
131
131
  "mime": "^4.1.0",
132
- "miniflare": "^4.20260111.0",
132
+ "miniflare": "^4.20260114.0",
133
133
  "mlly": "^1.8.0",
134
134
  "nypm": "^0.6.2",
135
135
  "obuild": "^0.4.14",
136
136
  "pathe": "^2.0.3",
137
137
  "perfect-debounce": "^2.0.0",
138
138
  "pkg-types": "^2.3.0",
139
- "prettier": "^3.7.4",
139
+ "prettier": "^3.8.0",
140
140
  "pretty-bytes": "^7.1.0",
141
141
  "react": "^19.2.3",
142
142
  "rendu": "^0.0.7",
143
- "rolldown": "^1.0.0-beta.59",
143
+ "rolldown": "^1.0.0-beta.60",
144
144
  "rollup": "^4.55.1",
145
145
  "rou3": "^0.7.12",
146
146
  "scule": "^1.3.0",
@@ -151,17 +151,17 @@
151
151
  "tinyglobby": "^0.2.15",
152
152
  "tsconfck": "^3.1.6",
153
153
  "typescript": "^5.9.3",
154
- "ufo": "^1.6.2",
154
+ "ufo": "^1.6.3",
155
155
  "ultrahtml": "^1.6.0",
156
156
  "uncrypto": "^0.1.3",
157
157
  "unctx": "^2.5.0",
158
158
  "unimport": "^5.6.0",
159
159
  "untyped": "^2.0.0",
160
160
  "unwasm": "^0.5.3",
161
- "vite": "8.0.0-beta.7",
161
+ "vite": "8.0.0-beta.8",
162
162
  "vite7": "npm:vite@^7.3.1",
163
163
  "vitest": "^4.0.17",
164
- "wrangler": "~4.59.1",
164
+ "wrangler": "~4.59.2",
165
165
  "xml2js": "^0.6.2",
166
166
  "youch": "4.1.0-beta.13",
167
167
  "youch-core": "^0.3.3"
@@ -169,7 +169,7 @@
169
169
  "peerDependencies": {
170
170
  "rolldown": "*",
171
171
  "rollup": "^4.55.1",
172
- "vite": ">=7.3.0",
172
+ "vite": ">=7.3.1",
173
173
  "xml2js": "^0.6.2"
174
174
  },
175
175
  "peerDependenciesMeta": {
@@ -186,7 +186,7 @@
186
186
  "optional": true
187
187
  }
188
188
  },
189
- "packageManager": "pnpm@10.27.0",
189
+ "packageManager": "pnpm@10.28.0",
190
190
  "engines": {
191
191
  "node": "^20.19.0 || >=22.12.0"
192
192
  }