next 15.0.4-canary.4 → 15.0.4-canary.5
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.
Potentially problematic release.
This version of next might be problematic. Click here for more details.
- package/dist/bin/next +1 -1
- package/dist/build/index.js +2 -2
- package/dist/build/swc/index.js +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/server.runtime.prod.js +1 -1
- package/dist/compiled/next-server/server.runtime.prod.js.map +1 -1
- package/dist/esm/build/index.js +2 -2
- package/dist/esm/build/swc/index.js +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 +13 -7
- package/dist/esm/server/base-server.js.map +1 -1
- package/dist/esm/server/config.js +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/server/base-server.js +13 -7
- package/dist/server/base-server.js.map +1 -1
- package/dist/server/config.js +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/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
package/dist/server/config.js
CHANGED
|
@@ -234,7 +234,7 @@ function assignDefaults(dir, userConfig, silent) {
|
|
|
234
234
|
if (((_result_experimental = result.experimental) == null ? void 0 : _result_experimental.allowDevelopmentBuild) && process.env.NODE_ENV !== 'development') {
|
|
235
235
|
throw new Error(`The experimental.allowDevelopmentBuild option requires NODE_ENV to be explicitly set to 'development'.`);
|
|
236
236
|
}
|
|
237
|
-
if (!((_process_env___NEXT_VERSION = "15.0.4-canary.
|
|
237
|
+
if (!((_process_env___NEXT_VERSION = "15.0.4-canary.5") == null ? void 0 : _process_env___NEXT_VERSION.includes('canary')) && !process.env.__NEXT_TEST_MODE && !process.env.NEXT_PRIVATE_SKIP_CANARY_CHECK) {
|
|
238
238
|
var _result_experimental7, _result_experimental8, _result_experimental_turbo3, _result_experimental9;
|
|
239
239
|
// Prevents usage of certain experimental features outside of canary
|
|
240
240
|
if ((_result_experimental7 = result.experimental) == null ? void 0 : _result_experimental7.ppr) {
|
|
@@ -104,7 +104,7 @@ async function createHotReloaderTurbopack(opts, serverFields, distDir, resetFetc
|
|
|
104
104
|
}
|
|
105
105
|
const hasRewrites = opts.fsChecker.rewrites.afterFiles.length > 0 || opts.fsChecker.rewrites.beforeFiles.length > 0 || opts.fsChecker.rewrites.fallback.length > 0;
|
|
106
106
|
const hotReloaderSpan = (0, _trace.trace)('hot-reloader', undefined, {
|
|
107
|
-
version: "15.0.4-canary.
|
|
107
|
+
version: "15.0.4-canary.5"
|
|
108
108
|
});
|
|
109
109
|
// Ensure the hotReloaderSpan is flushed immediately as it's the parentSpan for all processing
|
|
110
110
|
// of the current `next dev` invocation.
|
|
@@ -260,7 +260,7 @@ class HotReloaderWebpack {
|
|
|
260
260
|
this.previewProps = previewProps;
|
|
261
261
|
this.rewrites = rewrites;
|
|
262
262
|
this.hotReloaderSpan = (0, _trace.trace)('hot-reloader', undefined, {
|
|
263
|
-
version: "15.0.4-canary.
|
|
263
|
+
version: "15.0.4-canary.5"
|
|
264
264
|
});
|
|
265
265
|
// Ensure the hotReloaderSpan is flushed immediately as it's the parentSpan for all processing
|
|
266
266
|
// of the current `next dev` invocation.
|
|
@@ -67,7 +67,7 @@ function _interop_require_wildcard(obj, nodeInterop) {
|
|
|
67
67
|
return newObj;
|
|
68
68
|
}
|
|
69
69
|
function logStartInfo({ networkUrl, appUrl, envInfo, expFeatureInfo, maxExperimentalFeatures = Infinity }) {
|
|
70
|
-
_log.bootstrap(`${(0, _picocolors.bold)((0, _picocolors.purple)(`${_log.prefixes.ready} Next.js ${"15.0.4-canary.
|
|
70
|
+
_log.bootstrap(`${(0, _picocolors.bold)((0, _picocolors.purple)(`${_log.prefixes.ready} Next.js ${"15.0.4-canary.5"}`))}${process.env.TURBOPACK ? ' (Turbopack)' : ''}`);
|
|
71
71
|
if (appUrl) {
|
|
72
72
|
_log.bootstrap(`- Local: ${appUrl}`);
|
|
73
73
|
}
|
|
@@ -108,7 +108,7 @@ async function getRequestHandlers({ dir, port, isDev, onCleanup, server, hostnam
|
|
|
108
108
|
async function startServer(serverOptions) {
|
|
109
109
|
const { dir, isDev, hostname, minimalMode, allowRetry, keepAliveTimeout, selfSignedCertificate } = serverOptions;
|
|
110
110
|
let { port } = serverOptions;
|
|
111
|
-
process.title = `next-server (v${"15.0.4-canary.
|
|
111
|
+
process.title = `next-server (v${"15.0.4-canary.5"})`;
|
|
112
112
|
let handlersReady = ()=>{};
|
|
113
113
|
let handlersError = ()=>{};
|
|
114
114
|
let handlersPromise = new Promise((resolve, reject)=>{
|
|
@@ -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.0.4-canary.
|
|
14
|
+
if (typeof "15.0.4-canary.5" !== 'string') {
|
|
15
15
|
return [];
|
|
16
16
|
}
|
|
17
17
|
const payload = {
|
|
18
|
-
nextVersion: "15.0.4-canary.
|
|
18
|
+
nextVersion: "15.0.4-canary.5",
|
|
19
19
|
nodeVersion: process.version,
|
|
20
20
|
cliCommand: event.cliCommand,
|
|
21
21
|
durationMilliseconds: event.durationMilliseconds,
|
|
@@ -36,12 +36,12 @@ function hasBabelConfig(dir) {
|
|
|
36
36
|
function eventCliSession(dir, nextConfig, event) {
|
|
37
37
|
var _nextConfig_experimental_staleTimes, _nextConfig_experimental_staleTimes1, _nextConfig_experimental_reactCompiler, _nextConfig_experimental_reactCompiler1;
|
|
38
38
|
// This should be an invariant, if it fails our build tooling is broken.
|
|
39
|
-
if (typeof "15.0.4-canary.
|
|
39
|
+
if (typeof "15.0.4-canary.5" !== 'string') {
|
|
40
40
|
return [];
|
|
41
41
|
}
|
|
42
42
|
const { images, i18n } = nextConfig || {};
|
|
43
43
|
const payload = {
|
|
44
|
-
nextVersion: "15.0.4-canary.
|
|
44
|
+
nextVersion: "15.0.4-canary.5",
|
|
45
45
|
nodeVersion: process.version,
|
|
46
46
|
cliCommand: event.cliCommand,
|
|
47
47
|
isSrcDir: event.isSrcDir,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "next",
|
|
3
|
-
"version": "15.0.4-canary.
|
|
3
|
+
"version": "15.0.4-canary.5",
|
|
4
4
|
"description": "The React Framework",
|
|
5
5
|
"main": "./dist/server/next.js",
|
|
6
6
|
"license": "MIT",
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
]
|
|
98
98
|
},
|
|
99
99
|
"dependencies": {
|
|
100
|
-
"@next/env": "15.0.4-canary.
|
|
100
|
+
"@next/env": "15.0.4-canary.5",
|
|
101
101
|
"@swc/counter": "0.1.3",
|
|
102
102
|
"@swc/helpers": "0.5.13",
|
|
103
103
|
"busboy": "1.6.0",
|
|
@@ -129,14 +129,14 @@
|
|
|
129
129
|
},
|
|
130
130
|
"optionalDependencies": {
|
|
131
131
|
"sharp": "^0.33.5",
|
|
132
|
-
"@next/swc-darwin-arm64": "15.0.4-canary.
|
|
133
|
-
"@next/swc-darwin-x64": "15.0.4-canary.
|
|
134
|
-
"@next/swc-linux-arm64-gnu": "15.0.4-canary.
|
|
135
|
-
"@next/swc-linux-arm64-musl": "15.0.4-canary.
|
|
136
|
-
"@next/swc-linux-x64-gnu": "15.0.4-canary.
|
|
137
|
-
"@next/swc-linux-x64-musl": "15.0.4-canary.
|
|
138
|
-
"@next/swc-win32-arm64-msvc": "15.0.4-canary.
|
|
139
|
-
"@next/swc-win32-x64-msvc": "15.0.4-canary.
|
|
132
|
+
"@next/swc-darwin-arm64": "15.0.4-canary.5",
|
|
133
|
+
"@next/swc-darwin-x64": "15.0.4-canary.5",
|
|
134
|
+
"@next/swc-linux-arm64-gnu": "15.0.4-canary.5",
|
|
135
|
+
"@next/swc-linux-arm64-musl": "15.0.4-canary.5",
|
|
136
|
+
"@next/swc-linux-x64-gnu": "15.0.4-canary.5",
|
|
137
|
+
"@next/swc-linux-x64-musl": "15.0.4-canary.5",
|
|
138
|
+
"@next/swc-win32-arm64-msvc": "15.0.4-canary.5",
|
|
139
|
+
"@next/swc-win32-x64-msvc": "15.0.4-canary.5"
|
|
140
140
|
},
|
|
141
141
|
"devDependencies": {
|
|
142
142
|
"@ampproject/toolbox-optimizer": "2.8.3",
|
|
@@ -169,11 +169,11 @@
|
|
|
169
169
|
"@jest/types": "29.5.0",
|
|
170
170
|
"@mswjs/interceptors": "0.23.0",
|
|
171
171
|
"@napi-rs/triples": "1.2.0",
|
|
172
|
-
"@next/font": "15.0.4-canary.
|
|
173
|
-
"@next/polyfill-module": "15.0.4-canary.
|
|
174
|
-
"@next/polyfill-nomodule": "15.0.4-canary.
|
|
175
|
-
"@next/react-refresh-utils": "15.0.4-canary.
|
|
176
|
-
"@next/swc": "15.0.4-canary.
|
|
172
|
+
"@next/font": "15.0.4-canary.5",
|
|
173
|
+
"@next/polyfill-module": "15.0.4-canary.5",
|
|
174
|
+
"@next/polyfill-nomodule": "15.0.4-canary.5",
|
|
175
|
+
"@next/react-refresh-utils": "15.0.4-canary.5",
|
|
176
|
+
"@next/swc": "15.0.4-canary.5",
|
|
177
177
|
"@opentelemetry/api": "1.6.0",
|
|
178
178
|
"@playwright/test": "1.41.2",
|
|
179
179
|
"@swc/core": "1.7.0-nightly-20240714.1",
|