next 16.2.7 → 16.2.9
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/.build-commit +1 -1
- package/dist/bin/next +2 -2
- package/dist/build/index.js +3 -3
- package/dist/build/swc/index.js +1 -1
- package/dist/build/turbopack-analyze/index.js +1 -1
- package/dist/build/turbopack-build/impl.js +1 -1
- package/dist/build/webpack-config.js +3 -3
- package/dist/bundle-analyzer/404.html +2 -2
- package/dist/bundle-analyzer/__next.__PAGE__.txt +1 -1
- package/dist/bundle-analyzer/__next._full.txt +1 -1
- package/dist/bundle-analyzer/__next._head.txt +1 -1
- package/dist/bundle-analyzer/__next._index.txt +1 -1
- package/dist/bundle-analyzer/__next._tree.txt +1 -1
- package/dist/bundle-analyzer/_not-found/__next._full.txt +1 -1
- package/dist/bundle-analyzer/_not-found/__next._head.txt +1 -1
- package/dist/bundle-analyzer/_not-found/__next._index.txt +1 -1
- package/dist/bundle-analyzer/_not-found/__next._not-found.__PAGE__.txt +1 -1
- package/dist/bundle-analyzer/_not-found/__next._not-found.txt +1 -1
- package/dist/bundle-analyzer/_not-found/__next._tree.txt +1 -1
- package/dist/bundle-analyzer/_not-found.html +2 -2
- package/dist/bundle-analyzer/_not-found.txt +1 -1
- package/dist/bundle-analyzer/index.html +2 -2
- package/dist/bundle-analyzer/index.txt +1 -1
- package/dist/client/app-bootstrap.js +1 -1
- package/dist/client/index.js +1 -1
- package/dist/compiled/next-server/pages-api-turbo.runtime.dev.js +1 -1
- package/dist/compiled/next-server/pages-api-turbo.runtime.dev.js.map +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.dev.js +1 -1
- package/dist/compiled/next-server/pages-turbo.runtime.dev.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/esm/build/index.js +3 -3
- package/dist/esm/build/swc/index.js +1 -1
- package/dist/esm/build/turbopack-analyze/index.js +1 -1
- package/dist/esm/build/turbopack-build/impl.js +1 -1
- package/dist/esm/build/webpack-config.js +3 -3
- package/dist/esm/client/app-bootstrap.js +1 -1
- package/dist/esm/client/index.js +1 -1
- package/dist/esm/lib/patch-incorrect-lockfile.js +3 -3
- package/dist/esm/server/config.js +1 -1
- package/dist/esm/server/dev/hot-reloader-turbopack.js +2 -2
- 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/lib/patch-incorrect-lockfile.js +3 -3
- package/dist/server/config.js +1 -1
- package/dist/server/dev/hot-reloader-turbopack.js +2 -2
- 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/swc-load-failure.js +1 -1
- package/dist/telemetry/events/version.js +2 -2
- package/package.json +15 -15
- /package/dist/bundle-analyzer/_next/static/{tVQpX-E5d48aU7wFOHJpz → ShlsHWUU3q2GhICNPxAIf}/_buildManifest.js +0 -0
- /package/dist/bundle-analyzer/_next/static/{tVQpX-E5d48aU7wFOHJpz → ShlsHWUU3q2GhICNPxAIf}/_clientMiddlewareManifest.json +0 -0
- /package/dist/bundle-analyzer/_next/static/{tVQpX-E5d48aU7wFOHJpz → ShlsHWUU3q2GhICNPxAIf}/_ssgManifest.js +0 -0
|
@@ -72,7 +72,7 @@ async function fetchPkgInfo(pkg) {
|
|
|
72
72
|
});
|
|
73
73
|
}
|
|
74
74
|
const data = await res.json();
|
|
75
|
-
const versionData = data.versions["16.2.
|
|
75
|
+
const versionData = data.versions["16.2.9"];
|
|
76
76
|
return {
|
|
77
77
|
os: versionData.os,
|
|
78
78
|
cpu: versionData.cpu,
|
|
@@ -100,7 +100,7 @@ async function patchIncorrectLockfile(dir) {
|
|
|
100
100
|
const expectedSwcPkgs = Object.keys(_packagejson.optionalDependencies || {}).filter((pkg)=>pkg.startsWith('@next/swc-'));
|
|
101
101
|
const patchDependency = (pkg, pkgData)=>{
|
|
102
102
|
lockfileParsed.dependencies[pkg] = {
|
|
103
|
-
version: "16.2.
|
|
103
|
+
version: "16.2.9",
|
|
104
104
|
resolved: pkgData.tarball,
|
|
105
105
|
integrity: pkgData.integrity,
|
|
106
106
|
optional: true
|
|
@@ -108,7 +108,7 @@ async function patchIncorrectLockfile(dir) {
|
|
|
108
108
|
};
|
|
109
109
|
const patchPackage = (pkg, pkgData)=>{
|
|
110
110
|
lockfileParsed.packages[pkg] = {
|
|
111
|
-
version: "16.2.
|
|
111
|
+
version: "16.2.9",
|
|
112
112
|
resolved: pkgData.tarball,
|
|
113
113
|
integrity: pkgData.integrity,
|
|
114
114
|
cpu: pkgData.cpu,
|
package/dist/server/config.js
CHANGED
|
@@ -240,7 +240,7 @@ async function createHotReloaderTurbopack(opts, serverFields, distDir, resetFetc
|
|
|
240
240
|
}
|
|
241
241
|
const hasRewrites = opts.fsChecker.rewrites.afterFiles.length > 0 || opts.fsChecker.rewrites.beforeFiles.length > 0 || opts.fsChecker.rewrites.fallback.length > 0;
|
|
242
242
|
const hotReloaderSpan = (0, _trace.trace)('hot-reloader', undefined, {
|
|
243
|
-
version: "16.2.
|
|
243
|
+
version: "16.2.9"
|
|
244
244
|
});
|
|
245
245
|
// Ensure the hotReloaderSpan is flushed immediately as it's the parentSpan for all processing
|
|
246
246
|
// of the current `next dev` invocation.
|
|
@@ -294,7 +294,7 @@ async function createHotReloaderTurbopack(opts, serverFields, distDir, resetFetc
|
|
|
294
294
|
writeRoutesHashesManifest: false,
|
|
295
295
|
currentNodeJsVersion,
|
|
296
296
|
isPersistentCachingEnabled: (0, _utils2.isFileSystemCacheEnabledForDev)(opts.nextConfig),
|
|
297
|
-
nextVersion: "16.2.
|
|
297
|
+
nextVersion: "16.2.9",
|
|
298
298
|
serverHmr: serverFastRefresh
|
|
299
299
|
}, {
|
|
300
300
|
memoryLimit: (_opts_nextConfig_experimental = opts.nextConfig.experimental) == null ? void 0 : _opts_nextConfig_experimental.turbopackMemoryLimit,
|
|
@@ -234,7 +234,7 @@ class HotReloaderWebpack {
|
|
|
234
234
|
this.previewProps = previewProps;
|
|
235
235
|
this.rewrites = rewrites;
|
|
236
236
|
this.hotReloaderSpan = (0, _trace.trace)('hot-reloader', undefined, {
|
|
237
|
-
version: "16.2.
|
|
237
|
+
version: "16.2.9"
|
|
238
238
|
});
|
|
239
239
|
// Ensure the hotReloaderSpan is flushed immediately as it's the parentSpan for all processing
|
|
240
240
|
// of the current `next dev` invocation.
|
|
@@ -85,7 +85,7 @@ function logStartInfo({ networkUrl, appUrl, envInfo, logBundler }) {
|
|
|
85
85
|
if (parts.length > 0) {
|
|
86
86
|
versionSuffix = ` (${parts.join(', ')})`;
|
|
87
87
|
}
|
|
88
|
-
_log.bootstrap(`${(0, _picocolors.bold)((0, _picocolors.purple)(`${_log.prefixes.ready} Next.js ${"16.2.
|
|
88
|
+
_log.bootstrap(`${(0, _picocolors.bold)((0, _picocolors.purple)(`${_log.prefixes.ready} Next.js ${"16.2.9"}`))}${versionSuffix}`);
|
|
89
89
|
if (appUrl) {
|
|
90
90
|
_log.bootstrap(`- Local: ${appUrl}`);
|
|
91
91
|
}
|
|
@@ -178,7 +178,7 @@ async function getRequestHandlers({ dir, port, isDev, onDevServerCleanup, server
|
|
|
178
178
|
async function startServer(serverOptions) {
|
|
179
179
|
const { dir, isDev, hostname, minimalMode, allowRetry, keepAliveTimeout, selfSignedCertificate, serverFastRefresh } = serverOptions;
|
|
180
180
|
let { port } = serverOptions;
|
|
181
|
-
process.title = `next-server (v${"16.2.
|
|
181
|
+
process.title = `next-server (v${"16.2.9"})`;
|
|
182
182
|
let handlersReady = ()=>{};
|
|
183
183
|
let handlersError = ()=>{};
|
|
184
184
|
let handlersPromise = new Promise((resolve, reject)=>{
|
|
@@ -21,7 +21,7 @@ _export(exports, {
|
|
|
21
21
|
}
|
|
22
22
|
});
|
|
23
23
|
function isStableBuild() {
|
|
24
|
-
return !"16.2.
|
|
24
|
+
return !"16.2.9"?.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.2.
|
|
14
|
+
if (typeof "16.2.9" !== 'string') {
|
|
15
15
|
return [];
|
|
16
16
|
}
|
|
17
17
|
const payload = {
|
|
18
|
-
nextVersion: "16.2.
|
|
18
|
+
nextVersion: "16.2.9",
|
|
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.2.
|
|
15
|
+
if (typeof "16.2.9" !== 'string') {
|
|
16
16
|
return [];
|
|
17
17
|
}
|
|
18
18
|
const { images, i18n } = nextConfig || {};
|
|
19
19
|
const payload = {
|
|
20
|
-
nextVersion: "16.2.
|
|
20
|
+
nextVersion: "16.2.9",
|
|
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.2.
|
|
3
|
+
"version": "16.2.9",
|
|
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": "16.2.
|
|
100
|
+
"@next/env": "16.2.9",
|
|
101
101
|
"@swc/helpers": "0.5.15",
|
|
102
102
|
"baseline-browser-mapping": "^2.9.19",
|
|
103
103
|
"caniuse-lite": "^1.0.30001579",
|
|
@@ -128,14 +128,14 @@
|
|
|
128
128
|
},
|
|
129
129
|
"optionalDependencies": {
|
|
130
130
|
"sharp": "^0.34.5",
|
|
131
|
-
"@next/swc-darwin-arm64": "16.2.
|
|
132
|
-
"@next/swc-darwin-x64": "16.2.
|
|
133
|
-
"@next/swc-linux-arm64-gnu": "16.2.
|
|
134
|
-
"@next/swc-linux-arm64-musl": "16.2.
|
|
135
|
-
"@next/swc-linux-x64-gnu": "16.2.
|
|
136
|
-
"@next/swc-linux-x64-musl": "16.2.
|
|
137
|
-
"@next/swc-win32-arm64-msvc": "16.2.
|
|
138
|
-
"@next/swc-win32-x64-msvc": "16.2.
|
|
131
|
+
"@next/swc-darwin-arm64": "16.2.9",
|
|
132
|
+
"@next/swc-darwin-x64": "16.2.9",
|
|
133
|
+
"@next/swc-linux-arm64-gnu": "16.2.9",
|
|
134
|
+
"@next/swc-linux-arm64-musl": "16.2.9",
|
|
135
|
+
"@next/swc-linux-x64-gnu": "16.2.9",
|
|
136
|
+
"@next/swc-linux-x64-musl": "16.2.9",
|
|
137
|
+
"@next/swc-win32-arm64-msvc": "16.2.9",
|
|
138
|
+
"@next/swc-win32-x64-msvc": "16.2.9"
|
|
139
139
|
},
|
|
140
140
|
"devDependencies": {
|
|
141
141
|
"@babel/core": "7.26.10",
|
|
@@ -169,11 +169,11 @@
|
|
|
169
169
|
"@modelcontextprotocol/sdk": "1.18.1",
|
|
170
170
|
"@mswjs/interceptors": "0.23.0",
|
|
171
171
|
"@napi-rs/triples": "1.2.0",
|
|
172
|
-
"@next/font": "16.2.
|
|
173
|
-
"@next/polyfill-module": "16.2.
|
|
174
|
-
"@next/polyfill-nomodule": "16.2.
|
|
175
|
-
"@next/react-refresh-utils": "16.2.
|
|
176
|
-
"@next/swc": "16.2.
|
|
172
|
+
"@next/font": "16.2.9",
|
|
173
|
+
"@next/polyfill-module": "16.2.9",
|
|
174
|
+
"@next/polyfill-nomodule": "16.2.9",
|
|
175
|
+
"@next/react-refresh-utils": "16.2.9",
|
|
176
|
+
"@next/swc": "16.2.9",
|
|
177
177
|
"@opentelemetry/api": "1.6.0",
|
|
178
178
|
"@playwright/test": "1.58.2",
|
|
179
179
|
"@rspack/core": "1.6.7",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|