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.
Files changed (54) hide show
  1. package/dist/bin/next +1 -1
  2. package/dist/build/index.js +4 -4
  3. package/dist/build/index.js.map +1 -1
  4. package/dist/build/swc/generated-native.d.ts +6 -6
  5. package/dist/build/swc/index.js +1 -1
  6. package/dist/build/templates/app-page.js +5 -6
  7. package/dist/build/templates/app-page.js.map +1 -1
  8. package/dist/build/webpack-config-rules/resolve.d.ts +1 -1
  9. package/dist/build/webpack-config-rules/resolve.js +8 -9
  10. package/dist/build/webpack-config-rules/resolve.js.map +1 -1
  11. package/dist/build/webpack-config.js +23 -16
  12. package/dist/build/webpack-config.js.map +1 -1
  13. package/dist/client/app-bootstrap.js +1 -1
  14. package/dist/client/index.js +1 -1
  15. package/dist/esm/build/index.js +4 -4
  16. package/dist/esm/build/index.js.map +1 -1
  17. package/dist/esm/build/swc/generated-native.d.ts +6 -6
  18. package/dist/esm/build/swc/index.js +1 -1
  19. package/dist/esm/build/templates/app-page.js +5 -6
  20. package/dist/esm/build/templates/app-page.js.map +1 -1
  21. package/dist/esm/build/webpack-config-rules/resolve.js +5 -7
  22. package/dist/esm/build/webpack-config-rules/resolve.js.map +1 -1
  23. package/dist/esm/build/webpack-config.js +24 -17
  24. package/dist/esm/build/webpack-config.js.map +1 -1
  25. package/dist/esm/client/app-bootstrap.js +1 -1
  26. package/dist/esm/client/index.js +1 -1
  27. package/dist/esm/server/config-schema.js +0 -1
  28. package/dist/esm/server/config-schema.js.map +1 -1
  29. package/dist/esm/server/config-shared.js +0 -1
  30. package/dist/esm/server/config-shared.js.map +1 -1
  31. package/dist/esm/server/config.js +5 -29
  32. package/dist/esm/server/config.js.map +1 -1
  33. package/dist/esm/server/dev/hot-reloader-turbopack.js +1 -1
  34. package/dist/esm/server/dev/hot-reloader-webpack.js +1 -1
  35. package/dist/esm/server/lib/app-info-log.js +1 -1
  36. package/dist/esm/server/lib/start-server.js +1 -1
  37. package/dist/esm/shared/lib/errors/canary-only-config-error.js +1 -1
  38. package/dist/server/config-schema.d.ts +0 -1
  39. package/dist/server/config-schema.js +0 -1
  40. package/dist/server/config-schema.js.map +1 -1
  41. package/dist/server/config-shared.d.ts +0 -7
  42. package/dist/server/config-shared.js +0 -1
  43. package/dist/server/config-shared.js.map +1 -1
  44. package/dist/server/config.js +5 -29
  45. package/dist/server/config.js.map +1 -1
  46. package/dist/server/dev/hot-reloader-turbopack.js +1 -1
  47. package/dist/server/dev/hot-reloader-webpack.js +1 -1
  48. package/dist/server/lib/app-info-log.js +1 -1
  49. package/dist/server/lib/start-server.js +1 -1
  50. package/dist/shared/lib/errors/canary-only-config-error.js +1 -1
  51. package/dist/telemetry/anonymous-meta.js +1 -1
  52. package/dist/telemetry/events/session-stopped.js +2 -2
  53. package/dist/telemetry/events/version.js +2 -2
  54. 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.5"
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.5"
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.5"}`))}${bundlerSuffix}`);
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.5"})`;
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.5"?.includes('canary') && !process.env.__NEXT_TEST_MODE && !process.env.NEXT_PRIVATE_LOCAL_DEV;
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){
@@ -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.0.0-canary.5"
84
+ nextVersion: "16.0.0-canary.6"
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.0.0-canary.5" !== 'string') {
14
+ if (typeof "16.0.0-canary.6" !== 'string') {
15
15
  return [];
16
16
  }
17
17
  const payload = {
18
- nextVersion: "16.0.0-canary.5",
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.5" !== 'string') {
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.5",
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.5",
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.5",
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.5",
132
- "@next/swc-darwin-x64": "16.0.0-canary.5",
133
- "@next/swc-linux-arm64-gnu": "16.0.0-canary.5",
134
- "@next/swc-linux-arm64-musl": "16.0.0-canary.5",
135
- "@next/swc-linux-x64-gnu": "16.0.0-canary.5",
136
- "@next/swc-linux-x64-musl": "16.0.0-canary.5",
137
- "@next/swc-win32-arm64-msvc": "16.0.0-canary.5",
138
- "@next/swc-win32-x64-msvc": "16.0.0-canary.5"
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.5",
174
- "@next/polyfill-module": "16.0.0-canary.5",
175
- "@next/polyfill-nomodule": "16.0.0-canary.5",
176
- "@next/react-refresh-utils": "16.0.0-canary.5",
177
- "@next/swc": "16.0.0-canary.5",
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",