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.
Files changed (71) hide show
  1. package/dist/.build-commit +1 -1
  2. package/dist/bin/next +2 -2
  3. package/dist/build/index.js +3 -3
  4. package/dist/build/swc/index.js +1 -1
  5. package/dist/build/turbopack-analyze/index.js +1 -1
  6. package/dist/build/turbopack-build/impl.js +1 -1
  7. package/dist/build/webpack-config.js +3 -3
  8. package/dist/bundle-analyzer/404.html +2 -2
  9. package/dist/bundle-analyzer/__next.__PAGE__.txt +1 -1
  10. package/dist/bundle-analyzer/__next._full.txt +1 -1
  11. package/dist/bundle-analyzer/__next._head.txt +1 -1
  12. package/dist/bundle-analyzer/__next._index.txt +1 -1
  13. package/dist/bundle-analyzer/__next._tree.txt +1 -1
  14. package/dist/bundle-analyzer/_not-found/__next._full.txt +1 -1
  15. package/dist/bundle-analyzer/_not-found/__next._head.txt +1 -1
  16. package/dist/bundle-analyzer/_not-found/__next._index.txt +1 -1
  17. package/dist/bundle-analyzer/_not-found/__next._not-found.__PAGE__.txt +1 -1
  18. package/dist/bundle-analyzer/_not-found/__next._not-found.txt +1 -1
  19. package/dist/bundle-analyzer/_not-found/__next._tree.txt +1 -1
  20. package/dist/bundle-analyzer/_not-found.html +2 -2
  21. package/dist/bundle-analyzer/_not-found.txt +1 -1
  22. package/dist/bundle-analyzer/index.html +2 -2
  23. package/dist/bundle-analyzer/index.txt +1 -1
  24. package/dist/client/app-bootstrap.js +1 -1
  25. package/dist/client/index.js +1 -1
  26. package/dist/compiled/next-server/pages-api-turbo.runtime.dev.js +1 -1
  27. package/dist/compiled/next-server/pages-api-turbo.runtime.dev.js.map +1 -1
  28. package/dist/compiled/next-server/pages-api-turbo.runtime.prod.js +1 -1
  29. package/dist/compiled/next-server/pages-api-turbo.runtime.prod.js.map +1 -1
  30. package/dist/compiled/next-server/pages-api.runtime.dev.js +1 -1
  31. package/dist/compiled/next-server/pages-api.runtime.dev.js.map +1 -1
  32. package/dist/compiled/next-server/pages-api.runtime.prod.js +1 -1
  33. package/dist/compiled/next-server/pages-api.runtime.prod.js.map +1 -1
  34. package/dist/compiled/next-server/pages-turbo.runtime.dev.js +1 -1
  35. package/dist/compiled/next-server/pages-turbo.runtime.dev.js.map +1 -1
  36. package/dist/compiled/next-server/pages-turbo.runtime.prod.js +1 -1
  37. package/dist/compiled/next-server/pages-turbo.runtime.prod.js.map +1 -1
  38. package/dist/compiled/next-server/pages.runtime.dev.js +1 -1
  39. package/dist/compiled/next-server/pages.runtime.dev.js.map +1 -1
  40. package/dist/compiled/next-server/pages.runtime.prod.js +1 -1
  41. package/dist/compiled/next-server/pages.runtime.prod.js.map +1 -1
  42. package/dist/compiled/next-server/server.runtime.prod.js +1 -1
  43. package/dist/esm/build/index.js +3 -3
  44. package/dist/esm/build/swc/index.js +1 -1
  45. package/dist/esm/build/turbopack-analyze/index.js +1 -1
  46. package/dist/esm/build/turbopack-build/impl.js +1 -1
  47. package/dist/esm/build/webpack-config.js +3 -3
  48. package/dist/esm/client/app-bootstrap.js +1 -1
  49. package/dist/esm/client/index.js +1 -1
  50. package/dist/esm/lib/patch-incorrect-lockfile.js +3 -3
  51. package/dist/esm/server/config.js +1 -1
  52. package/dist/esm/server/dev/hot-reloader-turbopack.js +2 -2
  53. package/dist/esm/server/dev/hot-reloader-webpack.js +1 -1
  54. package/dist/esm/server/lib/app-info-log.js +1 -1
  55. package/dist/esm/server/lib/start-server.js +1 -1
  56. package/dist/esm/shared/lib/errors/canary-only-config-error.js +1 -1
  57. package/dist/lib/patch-incorrect-lockfile.js +3 -3
  58. package/dist/server/config.js +1 -1
  59. package/dist/server/dev/hot-reloader-turbopack.js +2 -2
  60. package/dist/server/dev/hot-reloader-webpack.js +1 -1
  61. package/dist/server/lib/app-info-log.js +1 -1
  62. package/dist/server/lib/start-server.js +1 -1
  63. package/dist/shared/lib/errors/canary-only-config-error.js +1 -1
  64. package/dist/telemetry/anonymous-meta.js +1 -1
  65. package/dist/telemetry/events/session-stopped.js +2 -2
  66. package/dist/telemetry/events/swc-load-failure.js +1 -1
  67. package/dist/telemetry/events/version.js +2 -2
  68. package/package.json +15 -15
  69. /package/dist/bundle-analyzer/_next/static/{tVQpX-E5d48aU7wFOHJpz → ShlsHWUU3q2GhICNPxAIf}/_buildManifest.js +0 -0
  70. /package/dist/bundle-analyzer/_next/static/{tVQpX-E5d48aU7wFOHJpz → ShlsHWUU3q2GhICNPxAIf}/_clientMiddlewareManifest.json +0 -0
  71. /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.7"];
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.7",
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.7",
111
+ version: "16.2.9",
112
112
  resolved: pkgData.tarball,
113
113
  integrity: pkgData.integrity,
114
114
  cpu: pkgData.cpu,
@@ -1106,7 +1106,7 @@ async function applyModifyConfig(config, phase, silent) {
1106
1106
  }
1107
1107
  config = await adapterMod.modifyConfig(config, {
1108
1108
  phase,
1109
- nextVersion: "16.2.7"
1109
+ nextVersion: "16.2.9"
1110
1110
  });
1111
1111
  }
1112
1112
  }
@@ -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.7"
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.7",
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.7"
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.7"}`))}${versionSuffix}`);
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.7"})`;
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.7"?.includes('canary') && !process.env.__NEXT_TEST_MODE && !process.env.NEXT_PRIVATE_LOCAL_DEV;
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){
@@ -81,7 +81,7 @@ function getAnonymousMeta() {
81
81
  isWsl: _iswsl.default,
82
82
  isCI: _ciinfo.isCI,
83
83
  ciName: _ciinfo.isCI && _ciinfo.name || null,
84
- nextVersion: "16.2.7"
84
+ nextVersion: "16.2.9"
85
85
  };
86
86
  return traits;
87
87
  }
@@ -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.7" !== 'string') {
14
+ if (typeof "16.2.9" !== 'string') {
15
15
  return [];
16
16
  }
17
17
  const payload = {
18
- nextVersion: "16.2.7",
18
+ nextVersion: "16.2.9",
19
19
  nodeVersion: process.version,
20
20
  cliCommand: event.cliCommand,
21
21
  durationMilliseconds: event.durationMilliseconds,
@@ -38,7 +38,7 @@ async function eventSwcLoadFailure(event) {
38
38
  telemetry.record({
39
39
  eventName: EVENT_PLUGIN_PRESENT,
40
40
  payload: {
41
- nextVersion: "16.2.7",
41
+ nextVersion: "16.2.9",
42
42
  glibcVersion,
43
43
  installedSwcPackages,
44
44
  arch: process.arch,
@@ -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.7" !== 'string') {
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.7",
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.7",
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.7",
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.7",
132
- "@next/swc-darwin-x64": "16.2.7",
133
- "@next/swc-linux-arm64-gnu": "16.2.7",
134
- "@next/swc-linux-arm64-musl": "16.2.7",
135
- "@next/swc-linux-x64-gnu": "16.2.7",
136
- "@next/swc-linux-x64-musl": "16.2.7",
137
- "@next/swc-win32-arm64-msvc": "16.2.7",
138
- "@next/swc-win32-x64-msvc": "16.2.7"
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.7",
173
- "@next/polyfill-module": "16.2.7",
174
- "@next/polyfill-nomodule": "16.2.7",
175
- "@next/react-refresh-utils": "16.2.7",
176
- "@next/swc": "16.2.7",
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",