@nuxt/nitro-server-nightly 4.2.1-29370805.6a102676 → 4.2.1-29370847.26aaf83d
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/README.md +4 -4
- package/dist/index.mjs +4 -3
- package/dist/runtime/handlers/renderer.js +1 -0
- package/dist/runtime/utils/cache.js +1 -0
- package/dist/runtime/utils/error.d.ts +1 -1
- package/dist/runtime/utils/renderer/app.js +1 -0
- package/dist/runtime/utils/renderer/build-files.js +1 -0
- package/dist/runtime/utils/renderer/payload.js +1 -0
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
[](https://nuxt.com)
|
|
2
2
|
|
|
3
3
|
# Nuxt
|
|
4
4
|
|
|
5
5
|
<p>
|
|
6
6
|
<a href="https://www.npmjs.com/package/nuxt"><img src="https://img.shields.io/npm/v/nuxt.svg?style=flat&colorA=18181B&colorB=28CF8D" alt="Version"></a>
|
|
7
7
|
<a href="https://www.npmjs.com/package/nuxt"><img src="https://img.shields.io/npm/dm/nuxt.svg?style=flat&colorA=18181B&colorB=28CF8D" alt="Downloads"></a>
|
|
8
|
-
<a href="https://github.com/nuxt/nuxt/
|
|
8
|
+
<a href="https://github.com/nuxt/nuxt/blob/main/LICENSE"><img src="https://img.shields.io/github/license/nuxt/nuxt.svg?style=flat&colorA=18181B&colorB=28CF8D" alt="License"></a>
|
|
9
9
|
<a href="https://nuxt.com"><img src="https://img.shields.io/badge/Nuxt%20Docs-18181B?logo=nuxt" alt="Website"></a>
|
|
10
10
|
<a href="https://chat.nuxt.dev"><img src="https://img.shields.io/badge/Nuxt%20Discord-18181B?logo=discord" alt="Discord"></a>
|
|
11
11
|
<a href="https://securityscorecards.dev/"><img src="https://api.securityscorecards.dev/projects/github.com/nuxt/nuxt/badge" alt="Nuxt openssf scorecard score"></a>
|
|
@@ -109,9 +109,9 @@ Follow the docs to [Set Up Your Local Development Environment](https://nuxt.com/
|
|
|
109
109
|
## <a name="follow-us">🔗 Follow Us</a>
|
|
110
110
|
|
|
111
111
|
<p valign="center">
|
|
112
|
-
<a href="https://go.nuxt.com/discord"><img width="20px" src="https://github.com/nuxt/nuxt/
|
|
112
|
+
<a href="https://go.nuxt.com/discord"><img width="20px" src="https://github.com/nuxt/nuxt/blob/main/.github/assets/discord.svg" alt="Discord"></a> <a href="https://go.nuxt.com/x"><img width="20px" src="https://github.com/nuxt/nuxt/blob/main/.github/assets/twitter.svg" alt="Twitter"></a> <a href="https://go.nuxt.com/github"><img width="20px" src="https://github.com/nuxt/nuxt/blob/main/.github/assets/github.svg" alt="GitHub"></a> <a href="https://go.nuxt.com/bluesky"><img width="20px" src="https://github.com/nuxt/nuxt/blob/main/.github/assets/bluesky.svg" alt="Bluesky"></a>
|
|
113
113
|
</p>
|
|
114
114
|
|
|
115
115
|
## <a name="license">⚖️ License</a>
|
|
116
116
|
|
|
117
|
-
[MIT](https://github.com/nuxt/nuxt/
|
|
117
|
+
[MIT](https://github.com/nuxt/nuxt/blob/main/LICENSE)
|
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { fileURLToPath, pathToFileURL } from 'node:url';
|
|
2
2
|
import { existsSync, promises, readFileSync } from 'node:fs';
|
|
3
3
|
import { cpus } from 'node:os';
|
|
4
|
+
import process from 'node:process';
|
|
4
5
|
import { readFile, mkdir, writeFile } from 'node:fs/promises';
|
|
5
6
|
import { randomUUID } from 'node:crypto';
|
|
6
7
|
import { dirname, relative, resolve, join, isAbsolute } from 'pathe';
|
|
@@ -8,7 +9,7 @@ import { readPackageJSON } from 'pkg-types';
|
|
|
8
9
|
import { toRouteMatcher, createRouter, exportMatcher } from 'radix3';
|
|
9
10
|
import { withTrailingSlash, joinURL } from 'ufo';
|
|
10
11
|
import { createNitro, scanHandlers, writeTypes, copyPublicAssets, prepare, build, prerender, createDevServer } from 'nitropack';
|
|
11
|
-
import { getLayerDirectories, resolveNuxtModule, addTemplate, resolveAlias, addPlugin, resolveIgnorePatterns, createIsIgnored, addVitePlugin, logger, findPath } from '@nuxt/kit';
|
|
12
|
+
import { getLayerDirectories, getDirectory, resolveNuxtModule, addTemplate, resolveAlias, addPlugin, resolveIgnorePatterns, createIsIgnored, addVitePlugin, logger, findPath } from '@nuxt/kit';
|
|
12
13
|
import escapeRE from 'escape-string-regexp';
|
|
13
14
|
import { defu } from 'defu';
|
|
14
15
|
import { dynamicEventHandler, defineEventHandler } from 'h3';
|
|
@@ -16,7 +17,7 @@ import { isWindows } from 'std-env';
|
|
|
16
17
|
import { ImpoundPlugin } from 'impound';
|
|
17
18
|
import { resolveModulePath } from 'exsolve';
|
|
18
19
|
|
|
19
|
-
const version = "4.2.1-
|
|
20
|
+
const version = "4.2.1-29370847.26aaf83d";
|
|
20
21
|
|
|
21
22
|
function toArray(value) {
|
|
22
23
|
return Array.isArray(value) ? value : [value];
|
|
@@ -195,7 +196,7 @@ async function bundle(nuxt) {
|
|
|
195
196
|
for (const m of nuxt.options._installedModules) {
|
|
196
197
|
const path = m.meta?.rawPath || m.entryPath;
|
|
197
198
|
if (path) {
|
|
198
|
-
moduleEntryPaths.push(path);
|
|
199
|
+
moduleEntryPaths.push(getDirectory(path));
|
|
199
200
|
}
|
|
200
201
|
}
|
|
201
202
|
const modules = await resolveNuxtModule(rootDirWithSlash, moduleEntryPaths);
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { useStorage } from "nitropack/runtime";
|
|
2
|
+
import process from "node:process";
|
|
2
3
|
export const payloadCache = import.meta.prerender ? useStorage("internal:nuxt:prerender:payload") : null;
|
|
3
4
|
export const islandCache = import.meta.prerender ? useStorage("internal:nuxt:prerender:island") : null;
|
|
4
5
|
export const islandPropCache = import.meta.prerender ? useStorage("internal:nuxt:prerender:island-props") : null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { H3Event } from 'h3';
|
|
2
2
|
/**
|
|
3
|
-
* Nitro internal functions extracted from https://github.com/nitrojs/nitro/blob/
|
|
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
6
|
export declare function hasReqHeader(event: H3Event, name: string, includes: string): boolean | "" | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuxt/nitro-server-nightly",
|
|
3
|
-
"version": "4.2.1-
|
|
3
|
+
"version": "4.2.1-29370847.26aaf83d",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/nuxt/nuxt.git",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@nuxt/devalue": "^2.0.2",
|
|
22
|
-
"@nuxt/kit": "npm:@nuxt/kit-nightly@4.2.1-
|
|
22
|
+
"@nuxt/kit": "npm:@nuxt/kit-nightly@4.2.1-29370847.26aaf83d",
|
|
23
23
|
"@unhead/vue": "^2.0.19",
|
|
24
24
|
"@vue/shared": "^3.5.22",
|
|
25
25
|
"consola": "^3.4.2",
|
|
@@ -33,24 +33,24 @@
|
|
|
33
33
|
"impound": "^1.0.0",
|
|
34
34
|
"klona": "^2.0.6",
|
|
35
35
|
"mocked-exports": "^0.1.1",
|
|
36
|
-
"nitropack": "^2.12.
|
|
36
|
+
"nitropack": "^2.12.9",
|
|
37
37
|
"pathe": "^2.0.3",
|
|
38
38
|
"pkg-types": "^2.3.0",
|
|
39
39
|
"radix3": "^1.1.2",
|
|
40
40
|
"std-env": "^3.10.0",
|
|
41
41
|
"ufo": "^1.6.1",
|
|
42
42
|
"unctx": "^2.4.1",
|
|
43
|
-
"unstorage": "^1.17.
|
|
43
|
+
"unstorage": "^1.17.2",
|
|
44
44
|
"vue": "^3.5.22",
|
|
45
45
|
"vue-bundle-renderer": "^2.2.0",
|
|
46
46
|
"vue-devtools-stub": "^0.1.0"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
|
-
"nuxt": "npm:nuxt-nightly@4.2.1-
|
|
49
|
+
"nuxt": "npm:nuxt-nightly@4.2.1-29370847.26aaf83d"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"@nuxt/schema": "npm:@nuxt/schema-nightly@4.2.1-
|
|
53
|
-
"nuxt": "npm:nuxt-nightly@4.2.1-
|
|
52
|
+
"@nuxt/schema": "npm:@nuxt/schema-nightly@4.2.1-29370847.26aaf83d",
|
|
53
|
+
"nuxt": "npm:nuxt-nightly@4.2.1-29370847.26aaf83d",
|
|
54
54
|
"unbuild": "3.6.1",
|
|
55
55
|
"vitest": "3.2.4"
|
|
56
56
|
},
|