next 16.0.0-canary.5 → 16.0.0-canary.6
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/bin/next +1 -1
- package/dist/build/index.js +4 -4
- package/dist/build/index.js.map +1 -1
- package/dist/build/swc/generated-native.d.ts +6 -6
- package/dist/build/swc/index.js +1 -1
- package/dist/build/templates/app-page.js +5 -6
- package/dist/build/templates/app-page.js.map +1 -1
- package/dist/build/webpack-config-rules/resolve.d.ts +1 -1
- package/dist/build/webpack-config-rules/resolve.js +8 -9
- package/dist/build/webpack-config-rules/resolve.js.map +1 -1
- package/dist/build/webpack-config.js +23 -16
- package/dist/build/webpack-config.js.map +1 -1
- package/dist/client/app-bootstrap.js +1 -1
- package/dist/client/index.js +1 -1
- package/dist/esm/build/index.js +4 -4
- package/dist/esm/build/index.js.map +1 -1
- package/dist/esm/build/swc/generated-native.d.ts +6 -6
- package/dist/esm/build/swc/index.js +1 -1
- package/dist/esm/build/templates/app-page.js +5 -6
- package/dist/esm/build/templates/app-page.js.map +1 -1
- package/dist/esm/build/webpack-config-rules/resolve.js +5 -7
- package/dist/esm/build/webpack-config-rules/resolve.js.map +1 -1
- package/dist/esm/build/webpack-config.js +24 -17
- package/dist/esm/build/webpack-config.js.map +1 -1
- package/dist/esm/client/app-bootstrap.js +1 -1
- package/dist/esm/client/index.js +1 -1
- package/dist/esm/server/config-schema.js +0 -1
- package/dist/esm/server/config-schema.js.map +1 -1
- package/dist/esm/server/config-shared.js +0 -1
- package/dist/esm/server/config-shared.js.map +1 -1
- package/dist/esm/server/config.js +5 -29
- package/dist/esm/server/config.js.map +1 -1
- package/dist/esm/server/dev/hot-reloader-turbopack.js +1 -1
- package/dist/esm/server/dev/hot-reloader-webpack.js +1 -1
- package/dist/esm/server/lib/app-info-log.js +1 -1
- package/dist/esm/server/lib/start-server.js +1 -1
- package/dist/esm/shared/lib/errors/canary-only-config-error.js +1 -1
- package/dist/server/config-schema.d.ts +0 -1
- package/dist/server/config-schema.js +0 -1
- package/dist/server/config-schema.js.map +1 -1
- package/dist/server/config-shared.d.ts +0 -7
- package/dist/server/config-shared.js +0 -1
- package/dist/server/config-shared.js.map +1 -1
- package/dist/server/config.js +5 -29
- package/dist/server/config.js.map +1 -1
- package/dist/server/dev/hot-reloader-turbopack.js +1 -1
- package/dist/server/dev/hot-reloader-webpack.js +1 -1
- package/dist/server/lib/app-info-log.js +1 -1
- package/dist/server/lib/start-server.js +1 -1
- package/dist/shared/lib/errors/canary-only-config-error.js +1 -1
- package/dist/telemetry/anonymous-meta.js +1 -1
- package/dist/telemetry/events/session-stopped.js +2 -2
- package/dist/telemetry/events/version.js +2 -2
- package/package.json +15 -15
|
@@ -151,7 +151,7 @@ async function createHotReloaderTurbopack(opts, serverFields, distDir, resetFetc
|
|
|
151
151
|
}
|
|
152
152
|
const hasRewrites = opts.fsChecker.rewrites.afterFiles.length > 0 || opts.fsChecker.rewrites.beforeFiles.length > 0 || opts.fsChecker.rewrites.fallback.length > 0;
|
|
153
153
|
const hotReloaderSpan = (0, _trace.trace)('hot-reloader', undefined, {
|
|
154
|
-
version: "16.0.0-canary.
|
|
154
|
+
version: "16.0.0-canary.6"
|
|
155
155
|
});
|
|
156
156
|
// Ensure the hotReloaderSpan is flushed immediately as it's the parentSpan for all processing
|
|
157
157
|
// of the current `next dev` invocation.
|
|
@@ -228,7 +228,7 @@ class HotReloaderWebpack {
|
|
|
228
228
|
this.previewProps = previewProps;
|
|
229
229
|
this.rewrites = rewrites;
|
|
230
230
|
this.hotReloaderSpan = (0, _trace.trace)('hot-reloader', undefined, {
|
|
231
|
-
version: "16.0.0-canary.
|
|
231
|
+
version: "16.0.0-canary.6"
|
|
232
232
|
});
|
|
233
233
|
// Ensure the hotReloaderSpan is flushed immediately as it's the parentSpan for all processing
|
|
234
234
|
// of the current `next dev` invocation.
|
|
@@ -83,7 +83,7 @@ function logStartInfo({ networkUrl, appUrl, envInfo, experimentalFeatures, logBu
|
|
|
83
83
|
bundlerSuffix = ' (webpack)';
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
|
-
_log.bootstrap(`${(0, _picocolors.bold)((0, _picocolors.purple)(`${_log.prefixes.ready} Next.js ${"16.0.0-canary.
|
|
86
|
+
_log.bootstrap(`${(0, _picocolors.bold)((0, _picocolors.purple)(`${_log.prefixes.ready} Next.js ${"16.0.0-canary.6"}`))}${bundlerSuffix}`);
|
|
87
87
|
if (appUrl) {
|
|
88
88
|
_log.bootstrap(`- Local: ${appUrl}`);
|
|
89
89
|
}
|
|
@@ -179,7 +179,7 @@ async function getRequestHandlers({ dir, port, isDev, onDevServerCleanup, server
|
|
|
179
179
|
async function startServer(serverOptions) {
|
|
180
180
|
const { dir, isDev, hostname, minimalMode, allowRetry, keepAliveTimeout, selfSignedCertificate } = serverOptions;
|
|
181
181
|
let { port } = serverOptions;
|
|
182
|
-
process.title = `next-server (v${"16.0.0-canary.
|
|
182
|
+
process.title = `next-server (v${"16.0.0-canary.6"})`;
|
|
183
183
|
let handlersReady = ()=>{};
|
|
184
184
|
let handlersError = ()=>{};
|
|
185
185
|
let handlersPromise = new Promise((resolve, reject)=>{
|
|
@@ -21,7 +21,7 @@ _export(exports, {
|
|
|
21
21
|
}
|
|
22
22
|
});
|
|
23
23
|
function isStableBuild() {
|
|
24
|
-
return !"16.0.0-canary.
|
|
24
|
+
return !"16.0.0-canary.6"?.includes('canary') && !process.env.__NEXT_TEST_MODE && !process.env.NEXT_PRIVATE_LOCAL_DEV;
|
|
25
25
|
}
|
|
26
26
|
class CanaryOnlyConfigError extends Error {
|
|
27
27
|
constructor(arg){
|
|
@@ -11,11 +11,11 @@ Object.defineProperty(exports, "eventCliSessionStopped", {
|
|
|
11
11
|
const EVENT_VERSION = 'NEXT_CLI_SESSION_STOPPED';
|
|
12
12
|
function eventCliSessionStopped(event) {
|
|
13
13
|
// This should be an invariant, if it fails our build tooling is broken.
|
|
14
|
-
if (typeof "16.0.0-canary.
|
|
14
|
+
if (typeof "16.0.0-canary.6" !== 'string') {
|
|
15
15
|
return [];
|
|
16
16
|
}
|
|
17
17
|
const payload = {
|
|
18
|
-
nextVersion: "16.0.0-canary.
|
|
18
|
+
nextVersion: "16.0.0-canary.6",
|
|
19
19
|
nodeVersion: process.version,
|
|
20
20
|
cliCommand: event.cliCommand,
|
|
21
21
|
durationMilliseconds: event.durationMilliseconds,
|
|
@@ -12,12 +12,12 @@ const EVENT_VERSION = 'NEXT_CLI_SESSION_STARTED';
|
|
|
12
12
|
function eventCliSession(nextConfig, event) {
|
|
13
13
|
var _nextConfig_experimental_staleTimes, _nextConfig_experimental_staleTimes1, _nextConfig_reactCompiler, _nextConfig_reactCompiler1;
|
|
14
14
|
// This should be an invariant, if it fails our build tooling is broken.
|
|
15
|
-
if (typeof "16.0.0-canary.
|
|
15
|
+
if (typeof "16.0.0-canary.6" !== 'string') {
|
|
16
16
|
return [];
|
|
17
17
|
}
|
|
18
18
|
const { images, i18n } = nextConfig || {};
|
|
19
19
|
const payload = {
|
|
20
|
-
nextVersion: "16.0.0-canary.
|
|
20
|
+
nextVersion: "16.0.0-canary.6",
|
|
21
21
|
nodeVersion: process.version,
|
|
22
22
|
cliCommand: event.cliCommand,
|
|
23
23
|
isSrcDir: event.isSrcDir,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "next",
|
|
3
|
-
"version": "16.0.0-canary.
|
|
3
|
+
"version": "16.0.0-canary.6",
|
|
4
4
|
"description": "The React Framework",
|
|
5
5
|
"main": "./dist/server/next.js",
|
|
6
6
|
"license": "MIT",
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
]
|
|
99
99
|
},
|
|
100
100
|
"dependencies": {
|
|
101
|
-
"@next/env": "16.0.0-canary.
|
|
101
|
+
"@next/env": "16.0.0-canary.6",
|
|
102
102
|
"@swc/helpers": "0.5.15",
|
|
103
103
|
"caniuse-lite": "^1.0.30001579",
|
|
104
104
|
"postcss": "8.4.31",
|
|
@@ -128,14 +128,14 @@
|
|
|
128
128
|
},
|
|
129
129
|
"optionalDependencies": {
|
|
130
130
|
"sharp": "^0.34.4",
|
|
131
|
-
"@next/swc-darwin-arm64": "16.0.0-canary.
|
|
132
|
-
"@next/swc-darwin-x64": "16.0.0-canary.
|
|
133
|
-
"@next/swc-linux-arm64-gnu": "16.0.0-canary.
|
|
134
|
-
"@next/swc-linux-arm64-musl": "16.0.0-canary.
|
|
135
|
-
"@next/swc-linux-x64-gnu": "16.0.0-canary.
|
|
136
|
-
"@next/swc-linux-x64-musl": "16.0.0-canary.
|
|
137
|
-
"@next/swc-win32-arm64-msvc": "16.0.0-canary.
|
|
138
|
-
"@next/swc-win32-x64-msvc": "16.0.0-canary.
|
|
131
|
+
"@next/swc-darwin-arm64": "16.0.0-canary.6",
|
|
132
|
+
"@next/swc-darwin-x64": "16.0.0-canary.6",
|
|
133
|
+
"@next/swc-linux-arm64-gnu": "16.0.0-canary.6",
|
|
134
|
+
"@next/swc-linux-arm64-musl": "16.0.0-canary.6",
|
|
135
|
+
"@next/swc-linux-x64-gnu": "16.0.0-canary.6",
|
|
136
|
+
"@next/swc-linux-x64-musl": "16.0.0-canary.6",
|
|
137
|
+
"@next/swc-win32-arm64-msvc": "16.0.0-canary.6",
|
|
138
|
+
"@next/swc-win32-x64-msvc": "16.0.0-canary.6"
|
|
139
139
|
},
|
|
140
140
|
"devDependencies": {
|
|
141
141
|
"@babel/code-frame": "7.26.2",
|
|
@@ -170,11 +170,11 @@
|
|
|
170
170
|
"@modelcontextprotocol/sdk": "1.18.1",
|
|
171
171
|
"@mswjs/interceptors": "0.23.0",
|
|
172
172
|
"@napi-rs/triples": "1.2.0",
|
|
173
|
-
"@next/font": "16.0.0-canary.
|
|
174
|
-
"@next/polyfill-module": "16.0.0-canary.
|
|
175
|
-
"@next/polyfill-nomodule": "16.0.0-canary.
|
|
176
|
-
"@next/react-refresh-utils": "16.0.0-canary.
|
|
177
|
-
"@next/swc": "16.0.0-canary.
|
|
173
|
+
"@next/font": "16.0.0-canary.6",
|
|
174
|
+
"@next/polyfill-module": "16.0.0-canary.6",
|
|
175
|
+
"@next/polyfill-nomodule": "16.0.0-canary.6",
|
|
176
|
+
"@next/react-refresh-utils": "16.0.0-canary.6",
|
|
177
|
+
"@next/swc": "16.0.0-canary.6",
|
|
178
178
|
"@opentelemetry/api": "1.6.0",
|
|
179
179
|
"@playwright/test": "1.51.1",
|
|
180
180
|
"@rspack/core": "1.5.0",
|