next 15.6.0-canary.5 → 15.6.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 +3 -3
- package/dist/build/swc/index.js +1 -1
- package/dist/build/templates/app-page.js +2 -2
- package/dist/build/templates/app-page.js.map +1 -1
- package/dist/build/templates/app-route.js +2 -2
- package/dist/build/templates/app-route.js.map +1 -1
- package/dist/build/templates/edge-ssr-app.js +2 -2
- package/dist/build/templates/edge-ssr-app.js.map +1 -1
- package/dist/build/templates/edge-ssr.js +2 -2
- package/dist/build/templates/edge-ssr.js.map +1 -1
- package/dist/build/templates/pages-api.js +2 -2
- package/dist/build/templates/pages-api.js.map +1 -1
- package/dist/build/webpack-config.js +2 -2
- package/dist/client/app-bootstrap.js +1 -1
- package/dist/client/index.js +1 -1
- package/dist/compiled/next-server/pages-api-turbo.runtime.prod.js +1 -1
- package/dist/compiled/next-server/pages-api-turbo.runtime.prod.js.map +1 -1
- package/dist/compiled/next-server/pages-api.runtime.dev.js +1 -1
- package/dist/compiled/next-server/pages-api.runtime.dev.js.map +1 -1
- package/dist/compiled/next-server/pages-api.runtime.prod.js +1 -1
- package/dist/compiled/next-server/pages-api.runtime.prod.js.map +1 -1
- package/dist/compiled/next-server/pages-turbo.runtime.prod.js +1 -1
- package/dist/compiled/next-server/pages-turbo.runtime.prod.js.map +1 -1
- package/dist/compiled/next-server/pages.runtime.dev.js +1 -1
- package/dist/compiled/next-server/pages.runtime.dev.js.map +1 -1
- package/dist/compiled/next-server/pages.runtime.prod.js +1 -1
- package/dist/compiled/next-server/pages.runtime.prod.js.map +1 -1
- package/dist/compiled/next-server/server.runtime.prod.js +1 -1
- package/dist/compiled/next-server/server.runtime.prod.js.map +1 -1
- package/dist/esm/build/index.js +3 -3
- package/dist/esm/build/swc/index.js +1 -1
- package/dist/esm/build/templates/app-page.js +2 -2
- package/dist/esm/build/templates/app-page.js.map +1 -1
- package/dist/esm/build/templates/app-route.js +2 -2
- package/dist/esm/build/templates/app-route.js.map +1 -1
- package/dist/esm/build/templates/edge-ssr-app.js +2 -2
- package/dist/esm/build/templates/edge-ssr-app.js.map +1 -1
- package/dist/esm/build/templates/edge-ssr.js +2 -2
- package/dist/esm/build/templates/edge-ssr.js.map +1 -1
- package/dist/esm/build/templates/pages-api.js +2 -2
- package/dist/esm/build/templates/pages-api.js.map +1 -1
- package/dist/esm/build/webpack-config.js +2 -2
- package/dist/esm/client/app-bootstrap.js +1 -1
- package/dist/esm/client/index.js +1 -1
- package/dist/esm/server/base-server.js +2 -2
- package/dist/esm/server/base-server.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/canary-only.js +1 -1
- package/dist/server/base-server.js +2 -2
- package/dist/server/base-server.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/canary-only.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
@@ -146,7 +146,7 @@ async function createHotReloaderTurbopack(opts, serverFields, distDir, resetFetc
|
|
146
146
|
}
|
147
147
|
const hasRewrites = opts.fsChecker.rewrites.afterFiles.length > 0 || opts.fsChecker.rewrites.beforeFiles.length > 0 || opts.fsChecker.rewrites.fallback.length > 0;
|
148
148
|
const hotReloaderSpan = (0, _trace.trace)('hot-reloader', undefined, {
|
149
|
-
version: "15.6.0-canary.
|
149
|
+
version: "15.6.0-canary.6"
|
150
150
|
});
|
151
151
|
// Ensure the hotReloaderSpan is flushed immediately as it's the parentSpan for all processing
|
152
152
|
// of the current `next dev` invocation.
|
@@ -226,7 +226,7 @@ class HotReloaderWebpack {
|
|
226
226
|
this.previewProps = previewProps;
|
227
227
|
this.rewrites = rewrites;
|
228
228
|
this.hotReloaderSpan = (0, _trace.trace)('hot-reloader', undefined, {
|
229
|
-
version: "15.6.0-canary.
|
229
|
+
version: "15.6.0-canary.6"
|
230
230
|
});
|
231
231
|
// Ensure the hotReloaderSpan is flushed immediately as it's the parentSpan for all processing
|
232
232
|
// of the current `next dev` invocation.
|
@@ -82,7 +82,7 @@ function logStartInfo({ networkUrl, appUrl, envInfo, experimentalFeatures, logBu
|
|
82
82
|
bundlerSuffix = ' (webpack)';
|
83
83
|
}
|
84
84
|
}
|
85
|
-
_log.bootstrap(`${(0, _picocolors.bold)((0, _picocolors.purple)(`${_log.prefixes.ready} Next.js ${"15.6.0-canary.
|
85
|
+
_log.bootstrap(`${(0, _picocolors.bold)((0, _picocolors.purple)(`${_log.prefixes.ready} Next.js ${"15.6.0-canary.6"}`))}${bundlerSuffix}`);
|
86
86
|
if (appUrl) {
|
87
87
|
_log.bootstrap(`- Local: ${appUrl}`);
|
88
88
|
}
|
@@ -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${"15.6.0-canary.
|
182
|
+
process.title = `next-server (v${"15.6.0-canary.6"})`;
|
183
183
|
let handlersReady = ()=>{};
|
184
184
|
let handlersError = ()=>{};
|
185
185
|
let handlersPromise = new Promise((resolve, reject)=>{
|
@@ -22,7 +22,7 @@ _export(exports, {
|
|
22
22
|
});
|
23
23
|
function isStableBuild() {
|
24
24
|
var _process_env___NEXT_VERSION;
|
25
|
-
return !((_process_env___NEXT_VERSION = "15.6.0-canary.
|
25
|
+
return !((_process_env___NEXT_VERSION = "15.6.0-canary.6") == null ? void 0 : _process_env___NEXT_VERSION.includes('canary')) && !process.env.__NEXT_TEST_MODE && !process.env.NEXT_PRIVATE_LOCAL_DEV;
|
26
26
|
}
|
27
27
|
class CanaryOnlyError extends Error {
|
28
28
|
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 "15.6.0-canary.
|
14
|
+
if (typeof "15.6.0-canary.6" !== 'string') {
|
15
15
|
return [];
|
16
16
|
}
|
17
17
|
const payload = {
|
18
|
-
nextVersion: "15.6.0-canary.
|
18
|
+
nextVersion: "15.6.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_experimental_reactCompiler, _nextConfig_experimental_reactCompiler1;
|
14
14
|
// This should be an invariant, if it fails our build tooling is broken.
|
15
|
-
if (typeof "15.6.0-canary.
|
15
|
+
if (typeof "15.6.0-canary.6" !== 'string') {
|
16
16
|
return [];
|
17
17
|
}
|
18
18
|
const { images, i18n } = nextConfig || {};
|
19
19
|
const payload = {
|
20
|
-
nextVersion: "15.6.0-canary.
|
20
|
+
nextVersion: "15.6.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": "15.6.0-canary.
|
3
|
+
"version": "15.6.0-canary.6",
|
4
4
|
"description": "The React Framework",
|
5
5
|
"main": "./dist/server/next.js",
|
6
6
|
"license": "MIT",
|
@@ -102,7 +102,7 @@
|
|
102
102
|
]
|
103
103
|
},
|
104
104
|
"dependencies": {
|
105
|
-
"@next/env": "15.6.0-canary.
|
105
|
+
"@next/env": "15.6.0-canary.6",
|
106
106
|
"@swc/helpers": "0.5.15",
|
107
107
|
"caniuse-lite": "^1.0.30001579",
|
108
108
|
"postcss": "8.4.31",
|
@@ -132,14 +132,14 @@
|
|
132
132
|
},
|
133
133
|
"optionalDependencies": {
|
134
134
|
"sharp": "^0.34.3",
|
135
|
-
"@next/swc-darwin-arm64": "15.6.0-canary.
|
136
|
-
"@next/swc-darwin-x64": "15.6.0-canary.
|
137
|
-
"@next/swc-linux-arm64-gnu": "15.6.0-canary.
|
138
|
-
"@next/swc-linux-arm64-musl": "15.6.0-canary.
|
139
|
-
"@next/swc-linux-x64-gnu": "15.6.0-canary.
|
140
|
-
"@next/swc-linux-x64-musl": "15.6.0-canary.
|
141
|
-
"@next/swc-win32-arm64-msvc": "15.6.0-canary.
|
142
|
-
"@next/swc-win32-x64-msvc": "15.6.0-canary.
|
135
|
+
"@next/swc-darwin-arm64": "15.6.0-canary.6",
|
136
|
+
"@next/swc-darwin-x64": "15.6.0-canary.6",
|
137
|
+
"@next/swc-linux-arm64-gnu": "15.6.0-canary.6",
|
138
|
+
"@next/swc-linux-arm64-musl": "15.6.0-canary.6",
|
139
|
+
"@next/swc-linux-x64-gnu": "15.6.0-canary.6",
|
140
|
+
"@next/swc-linux-x64-musl": "15.6.0-canary.6",
|
141
|
+
"@next/swc-win32-arm64-msvc": "15.6.0-canary.6",
|
142
|
+
"@next/swc-win32-x64-msvc": "15.6.0-canary.6"
|
143
143
|
},
|
144
144
|
"devDependencies": {
|
145
145
|
"@ampproject/toolbox-optimizer": "2.8.3",
|
@@ -174,11 +174,11 @@
|
|
174
174
|
"@jest/types": "29.5.0",
|
175
175
|
"@mswjs/interceptors": "0.23.0",
|
176
176
|
"@napi-rs/triples": "1.2.0",
|
177
|
-
"@next/font": "15.6.0-canary.
|
178
|
-
"@next/polyfill-module": "15.6.0-canary.
|
179
|
-
"@next/polyfill-nomodule": "15.6.0-canary.
|
180
|
-
"@next/react-refresh-utils": "15.6.0-canary.
|
181
|
-
"@next/swc": "15.6.0-canary.
|
177
|
+
"@next/font": "15.6.0-canary.6",
|
178
|
+
"@next/polyfill-module": "15.6.0-canary.6",
|
179
|
+
"@next/polyfill-nomodule": "15.6.0-canary.6",
|
180
|
+
"@next/react-refresh-utils": "15.6.0-canary.6",
|
181
|
+
"@next/swc": "15.6.0-canary.6",
|
182
182
|
"@opentelemetry/api": "1.6.0",
|
183
183
|
"@playwright/test": "1.51.1",
|
184
184
|
"@rspack/core": "1.5.0",
|