next 16.1.3 → 16.1.4

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 (58) hide show
  1. package/dist/bin/next +2 -2
  2. package/dist/build/index.js +10 -4
  3. package/dist/build/index.js.map +1 -1
  4. package/dist/build/swc/index.js +1 -1
  5. package/dist/build/webpack-config.js +3 -3
  6. package/dist/bundle-analyzer/404.html +2 -2
  7. package/dist/bundle-analyzer/__next.__PAGE__.txt +1 -1
  8. package/dist/bundle-analyzer/__next._full.txt +1 -1
  9. package/dist/bundle-analyzer/__next._head.txt +1 -1
  10. package/dist/bundle-analyzer/__next._index.txt +1 -1
  11. package/dist/bundle-analyzer/__next._tree.txt +1 -1
  12. package/dist/bundle-analyzer/_not-found/__next._full.txt +1 -1
  13. package/dist/bundle-analyzer/_not-found/__next._head.txt +1 -1
  14. package/dist/bundle-analyzer/_not-found/__next._index.txt +1 -1
  15. package/dist/bundle-analyzer/_not-found/__next._not-found.__PAGE__.txt +1 -1
  16. package/dist/bundle-analyzer/_not-found/__next._not-found.txt +1 -1
  17. package/dist/bundle-analyzer/_not-found/__next._tree.txt +1 -1
  18. package/dist/bundle-analyzer/_not-found.html +2 -2
  19. package/dist/bundle-analyzer/_not-found.txt +1 -1
  20. package/dist/bundle-analyzer/index.html +2 -2
  21. package/dist/bundle-analyzer/index.txt +1 -1
  22. package/dist/client/app-bootstrap.js +1 -1
  23. package/dist/client/index.js +1 -1
  24. package/dist/compiled/next-server/pages-api-turbo.runtime.dev.js +1 -1
  25. package/dist/compiled/next-server/pages-api-turbo.runtime.dev.js.map +1 -1
  26. package/dist/compiled/next-server/pages-api-turbo.runtime.prod.js +1 -1
  27. package/dist/compiled/next-server/pages-api-turbo.runtime.prod.js.map +1 -1
  28. package/dist/compiled/next-server/pages-turbo.runtime.dev.js +1 -1
  29. package/dist/compiled/next-server/pages-turbo.runtime.dev.js.map +1 -1
  30. package/dist/compiled/next-server/pages-turbo.runtime.prod.js +1 -1
  31. package/dist/compiled/next-server/pages-turbo.runtime.prod.js.map +1 -1
  32. package/dist/esm/build/index.js +10 -4
  33. package/dist/esm/build/index.js.map +1 -1
  34. package/dist/esm/build/swc/index.js +1 -1
  35. package/dist/esm/build/webpack-config.js +3 -3
  36. package/dist/esm/client/app-bootstrap.js +1 -1
  37. package/dist/esm/client/index.js +1 -1
  38. package/dist/esm/server/config-shared.js +4 -0
  39. package/dist/esm/server/config-shared.js.map +1 -1
  40. package/dist/esm/server/dev/hot-reloader-turbopack.js +1 -1
  41. package/dist/esm/server/dev/hot-reloader-webpack.js +1 -1
  42. package/dist/esm/server/lib/app-info-log.js +1 -1
  43. package/dist/esm/server/lib/start-server.js +1 -1
  44. package/dist/esm/shared/lib/errors/canary-only-config-error.js +1 -1
  45. package/dist/server/config-shared.js +4 -0
  46. package/dist/server/config-shared.js.map +1 -1
  47. package/dist/server/dev/hot-reloader-turbopack.js +1 -1
  48. package/dist/server/dev/hot-reloader-webpack.js +1 -1
  49. package/dist/server/lib/app-info-log.js +1 -1
  50. package/dist/server/lib/start-server.js +1 -1
  51. package/dist/shared/lib/errors/canary-only-config-error.js +1 -1
  52. package/dist/telemetry/anonymous-meta.js +1 -1
  53. package/dist/telemetry/events/session-stopped.js +2 -2
  54. package/dist/telemetry/events/version.js +2 -2
  55. package/package.json +15 -15
  56. /package/dist/bundle-analyzer/_next/static/{KCiz9Jv0OGn-eS0e6vUtr → j1I64_WUmA9kEIL5L35na}/_buildManifest.js +0 -0
  57. /package/dist/bundle-analyzer/_next/static/{KCiz9Jv0OGn-eS0e6vUtr → j1I64_WUmA9kEIL5L35na}/_clientMiddlewareManifest.json +0 -0
  58. /package/dist/bundle-analyzer/_next/static/{KCiz9Jv0OGn-eS0e6vUtr → j1I64_WUmA9kEIL5L35na}/_ssgManifest.js +0 -0
@@ -305,7 +305,7 @@ export default async function build(dir, experimentalAnalyze = false, reactProdu
305
305
  try {
306
306
  const nextBuildSpan = trace('next-build', undefined, {
307
307
  buildMode: experimentalBuildMode,
308
- version: "16.1.3"
308
+ version: "16.1.4"
309
309
  });
310
310
  NextBuildContext.nextBuildSpan = nextBuildSpan;
311
311
  NextBuildContext.dir = dir;
@@ -803,7 +803,7 @@ export default async function build(dir, experimentalAnalyze = false, reactProdu
803
803
  // Files outside of the distDir can be "type": "module"
804
804
  await writeFileUtf8(path.join(distDir, 'package.json'), '{"type": "commonjs"}');
805
805
  // These are written to distDir, so they need to come after creating and cleaning distDr.
806
- await recordFrameworkVersion("16.1.3");
806
+ await recordFrameworkVersion("16.1.4");
807
807
  await updateBuildDiagnostics({
808
808
  buildStage: 'start'
809
809
  });
@@ -957,10 +957,16 @@ export default async function build(dir, experimentalAnalyze = false, reactProdu
957
957
  normalizedCacheHandlers[key] = path.relative(distDir, value);
958
958
  }
959
959
  }
960
+ // getNextConfigRuntime only filters if experimental.runtimeServerDeploymentId is true,
961
+ // but we unconditionally want to remove configFile for this manifest
962
+ let runtimeConfigWithoutFilePath = {
963
+ ...runtimeConfig
964
+ };
965
+ delete runtimeConfigWithoutFilePath.configFile;
960
966
  const serverFilesManifest = {
961
967
  version: 1,
962
968
  config: {
963
- ...runtimeConfig,
969
+ ...runtimeConfigWithoutFilePath,
964
970
  ...ciEnvironment.hasNextSupport ? {
965
971
  compress: false
966
972
  } : {},
@@ -2478,7 +2484,7 @@ export default async function build(dir, experimentalAnalyze = false, reactProdu
2478
2484
  configOutDir: path.join(dir, configOutDir),
2479
2485
  staticPages,
2480
2486
  serverPropsPages,
2481
- nextVersion: "16.1.3",
2487
+ nextVersion: "16.1.4",
2482
2488
  tracingRoot: outputFileTracingRoot,
2483
2489
  hasNodeMiddleware,
2484
2490
  hasInstrumentationHook,