next 15.1.1-canary.21 → 15.1.1-canary.23

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.

Potentially problematic release.


This version of next might be problematic. Click here for more details.

package/dist/bin/next CHANGED
@@ -75,7 +75,7 @@ const program = new NextRootCommand();
75
75
  program.name('next').description('The Next.js CLI allows you to develop, build, start your application, and more.').configureHelp({
76
76
  formatHelp: (cmd, helper)=>(0, _formatclihelpoutput.formatCliHelpOutput)(cmd, helper),
77
77
  subcommandTerm: (cmd)=>`${cmd.name()} ${cmd.usage()}`
78
- }).helpCommand(false).helpOption('-h, --help', 'Displays this message.').version(`Next.js v${"15.1.1-canary.21"}`, '-v, --version', 'Outputs the Next.js version.');
78
+ }).helpCommand(false).helpOption('-h, --help', 'Displays this message.').version(`Next.js v${"15.1.1-canary.23"}`, '-v, --version', 'Outputs the Next.js version.');
79
79
  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([
80
80
  'compile',
81
81
  'generate'
@@ -358,7 +358,7 @@ async function build(dir, reactProductionProfiling = false, debugOutput = false,
358
358
  const nextBuildSpan = (0, _trace.trace)('next-build', undefined, {
359
359
  buildMode: experimentalBuildMode,
360
360
  isTurboBuild: String(turboNextBuild),
361
- version: "15.1.1-canary.21"
361
+ version: "15.1.1-canary.23"
362
362
  });
363
363
  _buildcontext.NextBuildContext.nextBuildSpan = nextBuildSpan;
364
364
  _buildcontext.NextBuildContext.dir = dir;
@@ -705,7 +705,7 @@ async function build(dir, reactProductionProfiling = false, debugOutput = false,
705
705
  // Files outside of the distDir can be "type": "module"
706
706
  await writeFileUtf8(_path.default.join(distDir, 'package.json'), '{"type": "commonjs"}');
707
707
  // These are written to distDir, so they need to come after creating and cleaning distDr.
708
- await (0, _builddiagnostics.recordFrameworkVersion)("15.1.1-canary.21");
708
+ await (0, _builddiagnostics.recordFrameworkVersion)("15.1.1-canary.23");
709
709
  await (0, _builddiagnostics.updateBuildDiagnostics)({
710
710
  buildStage: 'start'
711
711
  });
@@ -127,7 +127,7 @@ function _interop_require_wildcard(obj, nodeInterop) {
127
127
  }
128
128
  return newObj;
129
129
  }
130
- const nextVersion = "15.1.1-canary.21";
130
+ const nextVersion = "15.1.1-canary.23";
131
131
  const ArchName = (0, _os.arch)();
132
132
  const PlatformName = (0, _os.platform)();
133
133
  function infoLog(...args) {
@@ -1489,7 +1489,7 @@ async function getBaseWebpackConfig(dir, { buildId, encryptionKey, config, compi
1489
1489
  isClient && new _copyfileplugin.CopyFilePlugin({
1490
1490
  // file path to build output of `@next/polyfill-nomodule`
1491
1491
  filePath: require.resolve('./polyfills/polyfill-nomodule'),
1492
- cacheKey: "15.1.1-canary.21",
1492
+ cacheKey: "15.1.1-canary.23",
1493
1493
  name: `static/chunks/polyfills${dev ? '' : '-[hash]'}.js`,
1494
1494
  minimize: false,
1495
1495
  info: {
@@ -1717,7 +1717,7 @@ async function getBaseWebpackConfig(dir, { buildId, encryptionKey, config, compi
1717
1717
  // - Next.js location on disk (some loaders use absolute paths and some resolve options depend on absolute paths)
1718
1718
  // - Next.js version
1719
1719
  // - next.config.js keys that affect compilation
1720
- version: `${__dirname}|${"15.1.1-canary.21"}|${configVars}`,
1720
+ version: `${__dirname}|${"15.1.1-canary.23"}|${configVars}`,
1721
1721
  cacheDirectory: _path.default.join(distDir, 'cache', 'webpack'),
1722
1722
  // For production builds, it's more efficient to compress all cache files together instead of compression each one individually.
1723
1723
  // 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 = "15.1.1-canary.21";
16
+ const version = "15.1.1-canary.23";
17
17
  window.next = {
18
18
  version,
19
19
  appDir: true
@@ -62,7 +62,7 @@ const _onrecoverableerror = require("./react-client-callbacks/on-recoverable-err
62
62
  const _tracer = /*#__PURE__*/ _interop_require_default._(require("./tracing/tracer"));
63
63
  const _reporttosocket = /*#__PURE__*/ _interop_require_default._(require("./tracing/report-to-socket"));
64
64
  const _isnextroutererror = require("./components/is-next-router-error");
65
- const version = "15.1.1-canary.21";
65
+ const version = "15.1.1-canary.23";
66
66
  let router;
67
67
  const emitter = (0, _mitt.default)();
68
68
  const looseToArray = (input)=>[].slice.call(input);