next 15.5.1-canary.5 → 15.5.1-canary.7

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/bin/next CHANGED
@@ -79,7 +79,7 @@ const program = new NextRootCommand();
79
79
  program.name('next').description('The Next.js CLI allows you to develop, build, start your application, and more.').configureHelp({
80
80
  formatHelp: (cmd, helper)=>(0, _formatclihelpoutput.formatCliHelpOutput)(cmd, helper),
81
81
  subcommandTerm: (cmd)=>`${cmd.name()} ${cmd.usage()}`
82
- }).helpCommand(false).helpOption('-h, --help', 'Displays this message.').version(`Next.js v${"15.5.1-canary.5"}`, '-v, --version', 'Outputs the Next.js version.');
82
+ }).helpCommand(false).helpOption('-h, --help', 'Displays this message.').version(`Next.js v${"15.5.1-canary.7"}`, '-v, --version', 'Outputs the Next.js version.');
83
83
  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('--debug-prerender', 'Enables debug mode for prerendering. Not for production use!').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.').option('--turbo', 'Starts development mode using Turbopack.').option('--turbopack', 'Starts development mode using Turbopack.').addOption(new _commander.Option('--experimental-build-mode [mode]', 'Uses an experimental build mode.').choices([
84
84
  'compile',
85
85
  'generate',
@@ -369,7 +369,7 @@ async function build(dir, reactProductionProfiling = false, debugOutput = false,
369
369
  const nextBuildSpan = (0, _trace.trace)('next-build', undefined, {
370
370
  buildMode: experimentalBuildMode,
371
371
  isTurboBuild: String(isTurbopack),
372
- version: "15.5.1-canary.5"
372
+ version: "15.5.1-canary.7"
373
373
  });
374
374
  _buildcontext.NextBuildContext.nextBuildSpan = nextBuildSpan;
375
375
  _buildcontext.NextBuildContext.dir = dir;
@@ -835,7 +835,7 @@ async function build(dir, reactProductionProfiling = false, debugOutput = false,
835
835
  // Files outside of the distDir can be "type": "module"
836
836
  await writeFileUtf8(_path.default.join(distDir, 'package.json'), '{"type": "commonjs"}');
837
837
  // These are written to distDir, so they need to come after creating and cleaning distDr.
838
- await (0, _builddiagnostics.recordFrameworkVersion)("15.5.1-canary.5");
838
+ await (0, _builddiagnostics.recordFrameworkVersion)("15.5.1-canary.7");
839
839
  await (0, _builddiagnostics.updateBuildDiagnostics)({
840
840
  buildStage: 'start'
841
841
  });
@@ -131,7 +131,7 @@ function _interop_require_wildcard(obj, nodeInterop) {
131
131
  }
132
132
  return newObj;
133
133
  }
134
- const nextVersion = "15.5.1-canary.5";
134
+ const nextVersion = "15.5.1-canary.7";
135
135
  const ArchName = (0, _os.arch)();
136
136
  const PlatformName = (0, _os.platform)();
137
137
  function infoLog(...args) {
@@ -1711,7 +1711,7 @@ async function getBaseWebpackConfig(dir, { buildId, encryptionKey, config, compi
1711
1711
  isClient && new _copyfileplugin.CopyFilePlugin({
1712
1712
  // file path to build output of `@next/polyfill-nomodule`
1713
1713
  filePath: require.resolve('./polyfills/polyfill-nomodule'),
1714
- cacheKey: "15.5.1-canary.5",
1714
+ cacheKey: "15.5.1-canary.7",
1715
1715
  name: `static/chunks/polyfills${dev ? '' : '-[hash]'}.js`,
1716
1716
  minimize: false,
1717
1717
  info: {
@@ -1887,7 +1887,7 @@ async function getBaseWebpackConfig(dir, { buildId, encryptionKey, config, compi
1887
1887
  // - Next.js location on disk (some loaders use absolute paths and some resolve options depend on absolute paths)
1888
1888
  // - Next.js version
1889
1889
  // - next.config.js keys that affect compilation
1890
- version: `${__dirname}|${"15.5.1-canary.5"}|${configVars}`,
1890
+ version: `${__dirname}|${"15.5.1-canary.7"}|${configVars}`,
1891
1891
  cacheDirectory: _path.default.join(distDir, 'cache', 'webpack'),
1892
1892
  // For production builds, it's more efficient to compress all cache files together instead of compression each one individually.
1893
1893
  // So we disable compression here and allow the build runner to take care of compressing the cache as a whole.
@@ -14,7 +14,7 @@ Object.defineProperty(exports, "appBootstrap", {
14
14
  }
15
15
  });
16
16
  const _setattributesfromprops = require("./set-attributes-from-props");
17
- const version = "15.5.1-canary.5";
17
+ const version = "15.5.1-canary.7";
18
18
  window.next = {
19
19
  version,
20
20
  appDir: true
@@ -61,7 +61,7 @@ const _hooksclientcontextsharedruntime = require("../shared/lib/hooks-client-con
61
61
  const _onrecoverableerror = require("./react-client-callbacks/on-recoverable-error");
62
62
  const _tracer = /*#__PURE__*/ _interop_require_default._(require("./tracing/tracer"));
63
63
  const _isnextroutererror = require("./components/is-next-router-error");
64
- const version = "15.5.1-canary.5";
64
+ const version = "15.5.1-canary.7";
65
65
  let router;
66
66
  const emitter = (0, _mitt.default)();
67
67
  const looseToArray = (input)=>[].slice.call(input);