next 14.2.15 → 14.2.16

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 (48) hide show
  1. package/dist/bin/next +1 -1
  2. package/dist/build/index.js +1 -1
  3. package/dist/build/swc/index.js +1 -1
  4. package/dist/build/webpack-config.js +2 -2
  5. package/dist/client/app-bootstrap.js +1 -1
  6. package/dist/client/index.js +1 -1
  7. package/dist/compiled/@next/font/dist/google/get-fallback-font-override-metrics.d.ts +1 -1
  8. package/dist/compiled/next-server/app-page-experimental.runtime.dev.js.map +1 -1
  9. package/dist/compiled/next-server/app-page-experimental.runtime.prod.js.map +1 -1
  10. package/dist/compiled/next-server/app-page-turbo-experimental.runtime.prod.js.map +1 -1
  11. package/dist/compiled/next-server/app-page-turbo.runtime.prod.js.map +1 -1
  12. package/dist/compiled/next-server/app-page.runtime.dev.js.map +1 -1
  13. package/dist/compiled/next-server/app-page.runtime.prod.js.map +1 -1
  14. package/dist/compiled/next-server/app-route-experimental.runtime.dev.js +2 -2
  15. package/dist/compiled/next-server/app-route-experimental.runtime.dev.js.map +1 -1
  16. package/dist/compiled/next-server/app-route-experimental.runtime.prod.js +1 -1
  17. package/dist/compiled/next-server/app-route-experimental.runtime.prod.js.map +1 -1
  18. package/dist/compiled/next-server/app-route-turbo-experimental.runtime.prod.js +1 -1
  19. package/dist/compiled/next-server/app-route-turbo-experimental.runtime.prod.js.map +1 -1
  20. package/dist/compiled/next-server/app-route-turbo.runtime.prod.js +1 -1
  21. package/dist/compiled/next-server/app-route-turbo.runtime.prod.js.map +1 -1
  22. package/dist/compiled/next-server/app-route.runtime.dev.js +1 -1
  23. package/dist/compiled/next-server/app-route.runtime.dev.js.map +1 -1
  24. package/dist/compiled/next-server/app-route.runtime.prod.js +1 -1
  25. package/dist/compiled/next-server/app-route.runtime.prod.js.map +1 -1
  26. package/dist/esm/build/index.js +1 -1
  27. package/dist/esm/build/swc/index.js +1 -1
  28. package/dist/esm/build/webpack-config.js +2 -2
  29. package/dist/esm/client/app-bootstrap.js +1 -1
  30. package/dist/esm/client/index.js +1 -1
  31. package/dist/esm/server/config.js +1 -1
  32. package/dist/esm/server/dev/hot-reloader-turbopack.js +1 -1
  33. package/dist/esm/server/dev/hot-reloader-webpack.js +1 -1
  34. package/dist/esm/server/lib/app-info-log.js +1 -1
  35. package/dist/esm/server/lib/patch-fetch.js +16 -6
  36. package/dist/esm/server/lib/patch-fetch.js.map +1 -1
  37. package/dist/esm/server/lib/start-server.js +1 -1
  38. package/dist/server/config.js +1 -1
  39. package/dist/server/dev/hot-reloader-turbopack.js +1 -1
  40. package/dist/server/dev/hot-reloader-webpack.js +1 -1
  41. package/dist/server/lib/app-info-log.js +1 -1
  42. package/dist/server/lib/patch-fetch.js +16 -6
  43. package/dist/server/lib/patch-fetch.js.map +1 -1
  44. package/dist/server/lib/start-server.js +1 -1
  45. package/dist/telemetry/anonymous-meta.js +1 -1
  46. package/dist/telemetry/events/session-stopped.js +2 -2
  47. package/dist/telemetry/events/version.js +2 -2
  48. package/package.json +15 -15
package/dist/bin/next CHANGED
@@ -71,7 +71,7 @@ const program = new MyRootCommand();
71
71
  program.name("next").description("The Next.js CLI allows you to develop, build, start your application, and more.").configureHelp({
72
72
  formatHelp: (cmd, helper)=>(0, _formatclihelpoutput.formatCliHelpOutput)(cmd, helper),
73
73
  subcommandTerm: (cmd)=>`${cmd.name()} ${cmd.usage()}`
74
- }).helpCommand(false).helpOption("-h, --help", "Displays this message.").version(`Next.js v${"14.2.15"}`, "-v, --version", "Outputs the Next.js version.");
74
+ }).helpCommand(false).helpOption("-h, --help", "Displays this message.").version(`Next.js v${"14.2.16"}`, "-v, --version", "Outputs the Next.js version.");
75
75
  program.command("build").description("Creates an optimized production build of your application. The output displays information about each route.").argument("[directory]", `A directory on which to build the application. ${(0, _picocolors.italic)("If no directory is provided, the current directory will be used.")}`).option("-d, --debug", "Enables a more verbose build output.").option("--no-lint", "Disables linting.").option("--no-mangling", "Disables mangling.").option("--profile", "Enables production profiling for React.").option("--experimental-app-only", "Builds only App Router routes.").addOption(new _commander.Option("--experimental-turbo").hideHelp()).addOption(new _commander.Option("--experimental-build-mode [mode]", "Uses an experimental build mode.").choices([
76
76
  "compile",
77
77
  "generate"
@@ -354,7 +354,7 @@ async function build(dir, reactProductionProfiling = false, debugOutput = false,
354
354
  const nextBuildSpan = (0, _trace.trace)("next-build", undefined, {
355
355
  buildMode: experimentalBuildMode,
356
356
  isTurboBuild: String(turboNextBuild),
357
- version: "14.2.15"
357
+ version: "14.2.16"
358
358
  });
359
359
  _buildcontext.NextBuildContext.nextBuildSpan = nextBuildSpan;
360
360
  _buildcontext.NextBuildContext.dir = dir;
@@ -129,7 +129,7 @@ function _interop_require_wildcard(obj, nodeInterop) {
129
129
  }
130
130
  return newObj;
131
131
  }
132
- const nextVersion = "14.2.15";
132
+ const nextVersion = "14.2.16";
133
133
  const ArchName = (0, _os.arch)();
134
134
  const PlatformName = (0, _os.platform)();
135
135
  const infoLog = (...args)=>{
@@ -1519,7 +1519,7 @@ async function getBaseWebpackConfig(dir, { buildId, encryptionKey, config, compi
1519
1519
  new _wellknownerrorsplugin.WellKnownErrorsPlugin(),
1520
1520
  isClient && new _copyfileplugin.CopyFilePlugin({
1521
1521
  filePath: require.resolve("./polyfills/polyfill-nomodule"),
1522
- cacheKey: "14.2.15",
1522
+ cacheKey: "14.2.16",
1523
1523
  name: `static/chunks/polyfills${dev ? "" : "-[hash]"}.js`,
1524
1524
  minimize: false,
1525
1525
  info: {
@@ -1747,7 +1747,7 @@ async function getBaseWebpackConfig(dir, { buildId, encryptionKey, config, compi
1747
1747
  // - Next.js location on disk (some loaders use absolute paths and some resolve options depend on absolute paths)
1748
1748
  // - Next.js version
1749
1749
  // - next.config.js keys that affect compilation
1750
- version: `${__dirname}|${"14.2.15"}|${configVars}`,
1750
+ version: `${__dirname}|${"14.2.16"}|${configVars}`,
1751
1751
  cacheDirectory: _path.default.join(distDir, "cache", "webpack"),
1752
1752
  // For production builds, it's more efficient to compress all cache files together instead of compression each one individually.
1753
1753
  // So we disable compression here and allow the build runner to take care of compressing the cache as a whole.
@@ -13,7 +13,7 @@ Object.defineProperty(exports, "appBootstrap", {
13
13
  return appBootstrap;
14
14
  }
15
15
  });
16
- const version = "14.2.15";
16
+ const version = "14.2.16";
17
17
  window.next = {
18
18
  version,
19
19
  appDir: true
@@ -62,7 +62,7 @@ const _hooksclientcontextsharedruntime = require("../shared/lib/hooks-client-con
62
62
  const _onrecoverableerror = /*#__PURE__*/ _interop_require_default._(require("./on-recoverable-error"));
63
63
  const _tracer = /*#__PURE__*/ _interop_require_default._(require("./tracing/tracer"));
64
64
  const _reporttosocket = /*#__PURE__*/ _interop_require_default._(require("./tracing/report-to-socket"));
65
- const version = "14.2.15";
65
+ const version = "14.2.16";
66
66
  let router;
67
67
  const emitter = (0, _mitt.default)();
68
68
  const looseToArray = (input)=>[].slice.call(input);
@@ -6,7 +6,7 @@
6
6
  * That way we don't have to update the precalculated values every time a new font is added to Google Fonts.
7
7
  */
8
8
  export declare function getFallbackFontOverrideMetrics(fontFamily: string): {
9
- fallbackFont: any;
9
+ fallbackFont: string;
10
10
  ascentOverride: string;
11
11
  descentOverride: string;
12
12
  lineGapOverride: string;