next 15.0.4-canary.25 → 15.0.4-canary.26

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.0.4-canary.25"}`, '-v, --version', 'Outputs the Next.js version.');
78
+ }).helpCommand(false).helpOption('-h, --help', 'Displays this message.').version(`Next.js v${"15.0.4-canary.26"}`, '-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'
@@ -352,7 +352,7 @@ async function build(dir, reactProductionProfiling = false, debugOutput = false,
352
352
  const nextBuildSpan = (0, _trace.trace)('next-build', undefined, {
353
353
  buildMode: experimentalBuildMode,
354
354
  isTurboBuild: String(turboNextBuild),
355
- version: "15.0.4-canary.25"
355
+ version: "15.0.4-canary.26"
356
356
  });
357
357
  _buildcontext.NextBuildContext.nextBuildSpan = nextBuildSpan;
358
358
  _buildcontext.NextBuildContext.dir = dir;
@@ -754,7 +754,7 @@ async function build(dir, reactProductionProfiling = false, debugOutput = false,
754
754
  // Files outside of the distDir can be "type": "module"
755
755
  await writeFileUtf8(_path.default.join(distDir, 'package.json'), '{"type": "commonjs"}');
756
756
  // These are written to distDir, so they need to come after creating and cleaning distDr.
757
- await (0, _builddiagnostics.recordFrameworkVersion)("15.0.4-canary.25");
757
+ await (0, _builddiagnostics.recordFrameworkVersion)("15.0.4-canary.26");
758
758
  await (0, _builddiagnostics.updateBuildDiagnostics)({
759
759
  buildStage: 'start'
760
760
  });
@@ -127,7 +127,7 @@ function _interop_require_wildcard(obj, nodeInterop) {
127
127
  }
128
128
  return newObj;
129
129
  }
130
- const nextVersion = "15.0.4-canary.25";
130
+ const nextVersion = "15.0.4-canary.26";
131
131
  const ArchName = (0, _os.arch)();
132
132
  const PlatformName = (0, _os.platform)();
133
133
  function infoLog(...args) {
@@ -10,7 +10,7 @@ Object.defineProperty(exports, "webpackBuild", {
10
10
  });
11
11
  const _log = /*#__PURE__*/ _interop_require_wildcard(require("../output/log"));
12
12
  const _buildcontext = require("../build-context");
13
- const _worker = require("../../lib/worker");
13
+ const _jestworker = require("next/dist/compiled/jest-worker");
14
14
  const _debug = /*#__PURE__*/ _interop_require_default(require("next/dist/compiled/debug"));
15
15
  const _path = /*#__PURE__*/ _interop_require_default(require("path"));
16
16
  const _trace = require("../../trace");
@@ -84,25 +84,39 @@ async function webpackBuildWithWorker(compilerNamesArg) {
84
84
  const compilerNames = compilerNamesArg || ORDERED_COMPILER_NAMES;
85
85
  const { nextBuildSpan, ...prunedBuildContext } = _buildcontext.NextBuildContext;
86
86
  prunedBuildContext.pluginState = pluginState;
87
- const worker = new _worker.Worker(_path.default.join(__dirname, 'impl.js'), {
88
- exposedMethods: [
89
- 'workerMain'
90
- ],
91
- numWorkers: 1,
92
- maxRetries: 0,
93
- forkOptions: {
94
- env: {
95
- ...process.env,
96
- NEXT_PRIVATE_BUILD_WORKER: '1'
87
+ const getWorker = (compilerName)=>{
88
+ var _worker__workerPool;
89
+ const _worker = new _jestworker.Worker(_path.default.join(__dirname, 'impl.js'), {
90
+ exposedMethods: [
91
+ 'workerMain'
92
+ ],
93
+ numWorkers: 1,
94
+ maxRetries: 0,
95
+ forkOptions: {
96
+ env: {
97
+ ...process.env,
98
+ NEXT_PRIVATE_BUILD_WORKER: '1'
99
+ }
97
100
  }
101
+ });
102
+ _worker.getStderr().pipe(process.stderr);
103
+ _worker.getStdout().pipe(process.stdout);
104
+ for (const worker of ((_worker__workerPool = _worker._workerPool) == null ? void 0 : _worker__workerPool._workers) || []){
105
+ worker._child.on('exit', (code, signal)=>{
106
+ if (code || signal && signal !== 'SIGINT') {
107
+ debug(`Compiler ${compilerName} unexpectedly exited with code: ${code} and signal: ${signal}`);
108
+ }
109
+ });
98
110
  }
99
- });
111
+ return _worker;
112
+ };
100
113
  const combinedResult = {
101
114
  duration: 0,
102
115
  buildTraceContext: {}
103
116
  };
104
117
  for (const compilerName of compilerNames){
105
118
  var _curResult_buildTraceContext;
119
+ const worker = getWorker(compilerName);
106
120
  const curResult = await worker.workerMain({
107
121
  buildContext: prunedBuildContext,
108
122
  compilerName,
@@ -115,6 +129,8 @@ async function webpackBuildWithWorker(compilerNamesArg) {
115
129
  if (nextBuildSpan && curResult.debugTraceEvents) {
116
130
  (0, _trace.recordTraceEvents)(curResult.debugTraceEvents);
117
131
  }
132
+ // destroy worker so it's not sticking around using memory
133
+ await worker.end();
118
134
  // Update plugin state
119
135
  pluginState = deepMerge(pluginState, curResult.pluginState);
120
136
  prunedBuildContext.pluginState = pluginState;
@@ -138,8 +154,6 @@ async function webpackBuildWithWorker(compilerNamesArg) {
138
154
  }
139
155
  }
140
156
  }
141
- // destroy worker so it's not sticking around using memory
142
- worker.end();
143
157
  if (compilerNames.length === 3) {
144
158
  _log.event('Compiled successfully');
145
159
  }
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/build/webpack-build/index.ts"],"sourcesContent":["import type { COMPILER_INDEXES } from '../../shared/lib/constants'\nimport * as Log from '../output/log'\nimport { NextBuildContext } from '../build-context'\nimport type { BuildTraceContext } from '../webpack/plugins/next-trace-entrypoints-plugin'\nimport { Worker } from '../../lib/worker'\nimport origDebug from 'next/dist/compiled/debug'\nimport path from 'path'\nimport { exportTraceState, recordTraceEvents } from '../../trace'\n\nconst debug = origDebug('next:build:webpack-build')\n\nconst ORDERED_COMPILER_NAMES = [\n 'server',\n 'edge-server',\n 'client',\n] as (keyof typeof COMPILER_INDEXES)[]\n\nlet pluginState: Record<any, any> = {}\n\nfunction deepMerge(target: any, source: any) {\n const result = { ...target, ...source }\n for (const key of Object.keys(result)) {\n result[key] = Array.isArray(target[key])\n ? (target[key] = [...target[key], ...(source[key] || [])])\n : typeof target[key] == 'object' && typeof source[key] == 'object'\n ? deepMerge(target[key], source[key])\n : result[key]\n }\n return result\n}\n\nasync function webpackBuildWithWorker(\n compilerNamesArg: typeof ORDERED_COMPILER_NAMES | null\n) {\n const compilerNames = compilerNamesArg || ORDERED_COMPILER_NAMES\n const { nextBuildSpan, ...prunedBuildContext } = NextBuildContext\n\n prunedBuildContext.pluginState = pluginState\n\n const worker = new Worker(path.join(__dirname, 'impl.js'), {\n exposedMethods: ['workerMain'],\n numWorkers: 1,\n maxRetries: 0,\n forkOptions: {\n env: {\n ...process.env,\n NEXT_PRIVATE_BUILD_WORKER: '1',\n },\n },\n }) as Worker & typeof import('./impl')\n\n const combinedResult = {\n duration: 0,\n buildTraceContext: {} as BuildTraceContext,\n }\n\n for (const compilerName of compilerNames) {\n const curResult = await worker.workerMain({\n buildContext: prunedBuildContext,\n compilerName,\n traceState: {\n ...exportTraceState(),\n defaultParentSpanId: nextBuildSpan?.getId(),\n shouldSaveTraceEvents: true,\n },\n })\n if (nextBuildSpan && curResult.debugTraceEvents) {\n recordTraceEvents(curResult.debugTraceEvents)\n }\n\n // Update plugin state\n pluginState = deepMerge(pluginState, curResult.pluginState)\n prunedBuildContext.pluginState = pluginState\n\n if (curResult.telemetryState) {\n NextBuildContext.telemetryState = curResult.telemetryState\n }\n\n combinedResult.duration += curResult.duration\n\n if (curResult.buildTraceContext?.entriesTrace) {\n const { entryNameMap } = curResult.buildTraceContext.entriesTrace!\n\n if (entryNameMap) {\n combinedResult.buildTraceContext.entriesTrace =\n curResult.buildTraceContext.entriesTrace\n combinedResult.buildTraceContext.entriesTrace!.entryNameMap =\n entryNameMap\n }\n\n if (curResult.buildTraceContext?.chunksTrace) {\n const { entryNameFilesMap } = curResult.buildTraceContext.chunksTrace!\n\n if (entryNameFilesMap) {\n combinedResult.buildTraceContext.chunksTrace =\n curResult.buildTraceContext.chunksTrace!\n\n combinedResult.buildTraceContext.chunksTrace!.entryNameFilesMap =\n entryNameFilesMap\n }\n }\n }\n }\n\n // destroy worker so it's not sticking around using memory\n worker.end()\n\n if (compilerNames.length === 3) {\n Log.event('Compiled successfully')\n }\n\n return combinedResult\n}\n\nexport function webpackBuild(\n withWorker: boolean,\n compilerNames: typeof ORDERED_COMPILER_NAMES | null\n): ReturnType<typeof webpackBuildWithWorker> {\n if (withWorker) {\n debug('using separate compiler workers')\n return webpackBuildWithWorker(compilerNames)\n } else {\n debug('building all compilers in same process')\n const webpackBuildImpl = require('./impl').webpackBuildImpl\n return webpackBuildImpl(null, null)\n }\n}\n"],"names":["webpackBuild","debug","origDebug","ORDERED_COMPILER_NAMES","pluginState","deepMerge","target","source","result","key","Object","keys","Array","isArray","webpackBuildWithWorker","compilerNamesArg","compilerNames","nextBuildSpan","prunedBuildContext","NextBuildContext","worker","Worker","path","join","__dirname","exposedMethods","numWorkers","maxRetries","forkOptions","env","process","NEXT_PRIVATE_BUILD_WORKER","combinedResult","duration","buildTraceContext","compilerName","curResult","workerMain","buildContext","traceState","exportTraceState","defaultParentSpanId","getId","shouldSaveTraceEvents","debugTraceEvents","recordTraceEvents","telemetryState","entriesTrace","entryNameMap","chunksTrace","entryNameFilesMap","end","length","Log","event","withWorker","webpackBuildImpl","require"],"mappings":";;;;+BAkHgBA;;;eAAAA;;;6DAjHK;8BACY;wBAEV;8DACD;6DACL;u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mB,EACnBvC,aAAmD;IAEnD,IAAIuC,YAAY;QACdtD,MAAM;QACN,OAAOa,uBAAuBE;IAChC,OAAO;QACLf,MAAM;QACN,MAAMuD,mBAAmBC,QAAQ,UAAUD,gBAAgB;QAC3D,OAAOA,iBAAiB,MAAM;IAChC;AACF"}
1
+ {"version":3,"sources":["../../../src/build/webpack-build/index.ts"],"sourcesContent":["import type { COMPILER_INDEXES } from '../../shared/lib/constants'\nimport * as Log from '../output/log'\nimport { NextBuildContext } from '../build-context'\nimport type { BuildTraceContext } from '../webpack/plugins/next-trace-entrypoints-plugin'\nimport { Worker } from 'next/dist/compiled/jest-worker'\nimport origDebug from 'next/dist/compiled/debug'\nimport type { ChildProcess } from 'child_process'\nimport path from 'path'\nimport { exportTraceState, recordTraceEvents } from '../../trace'\n\nconst debug = origDebug('next:build:webpack-build')\n\nconst ORDERED_COMPILER_NAMES = [\n 'server',\n 'edge-server',\n 'client',\n] as (keyof typeof COMPILER_INDEXES)[]\n\nlet pluginState: Record<any, any> = {}\n\nfunction deepMerge(target: any, source: any) {\n const result = { ...target, ...source }\n for (const key of Object.keys(result)) {\n result[key] = Array.isArray(target[key])\n ? (target[key] = [...target[key], ...(source[key] || [])])\n : typeof target[key] == 'object' && typeof source[key] == 'object'\n ? deepMerge(target[key], source[key])\n : result[key]\n }\n return result\n}\n\nasync function webpackBuildWithWorker(\n compilerNamesArg: typeof ORDERED_COMPILER_NAMES | null\n) {\n const compilerNames = compilerNamesArg || ORDERED_COMPILER_NAMES\n const { nextBuildSpan, ...prunedBuildContext } = NextBuildContext\n\n prunedBuildContext.pluginState = pluginState\n\n const getWorker = (compilerName: string) => {\n const _worker = new Worker(path.join(__dirname, 'impl.js'), {\n exposedMethods: ['workerMain'],\n numWorkers: 1,\n maxRetries: 0,\n forkOptions: {\n env: {\n ...process.env,\n NEXT_PRIVATE_BUILD_WORKER: '1',\n },\n },\n }) as Worker & typeof import('./impl')\n _worker.getStderr().pipe(process.stderr)\n _worker.getStdout().pipe(process.stdout)\n\n for (const worker of ((_worker as any)._workerPool?._workers || []) as {\n _child: ChildProcess\n }[]) {\n worker._child.on('exit', (code, signal) => {\n if (code || (signal && signal !== 'SIGINT')) {\n debug(\n `Compiler ${compilerName} unexpectedly exited with code: ${code} and signal: ${signal}`\n )\n }\n })\n }\n\n return _worker\n }\n\n const combinedResult = {\n duration: 0,\n buildTraceContext: {} as BuildTraceContext,\n }\n\n for (const compilerName of compilerNames) {\n const worker = getWorker(compilerName)\n\n const curResult = await worker.workerMain({\n buildContext: prunedBuildContext,\n compilerName,\n traceState: {\n ...exportTraceState(),\n defaultParentSpanId: nextBuildSpan?.getId(),\n shouldSaveTraceEvents: true,\n },\n })\n if (nextBuildSpan && curResult.debugTraceEvents) {\n recordTraceEvents(curResult.debugTraceEvents)\n }\n // destroy worker so it's not sticking around using memory\n await worker.end()\n\n // Update plugin state\n pluginState = deepMerge(pluginState, curResult.pluginState)\n prunedBuildContext.pluginState = pluginState\n\n if (curResult.telemetryState) {\n NextBuildContext.telemetryState = curResult.telemetryState\n }\n\n combinedResult.duration += curResult.duration\n\n if (curResult.buildTraceContext?.entriesTrace) {\n const { entryNameMap } = curResult.buildTraceContext.entriesTrace!\n\n if (entryNameMap) {\n combinedResult.buildTraceContext.entriesTrace =\n curResult.buildTraceContext.entriesTrace\n combinedResult.buildTraceContext.entriesTrace!.entryNameMap =\n entryNameMap\n }\n\n if (curResult.buildTraceContext?.chunksTrace) {\n const { entryNameFilesMap } = curResult.buildTraceContext.chunksTrace!\n\n if (entryNameFilesMap) {\n combinedResult.buildTraceContext.chunksTrace =\n curResult.buildTraceContext.chunksTrace!\n\n combinedResult.buildTraceContext.chunksTrace!.entryNameFilesMap =\n entryNameFilesMap\n }\n }\n }\n }\n\n if (compilerNames.length === 3) {\n Log.event('Compiled successfully')\n }\n\n return combinedResult\n}\n\nexport function webpackBuild(\n withWorker: boolean,\n compilerNames: typeof ORDERED_COMPILER_NAMES | null\n): ReturnType<typeof webpackBuildWithWorker> {\n if (withWorker) {\n debug('using separate compiler workers')\n return webpackBuildWithWorker(compilerNames)\n } else {\n debug('building all compilers in same process')\n const webpackBuildImpl = require('./impl').webpackBuildImpl\n return webpackBuildImpl(null, null)\n }\n}\n"],"names":["webpackBuild","debug","origDebug","ORDERED_COMPILER_NAMES","pluginState","deepMerge","target","source","result","key","Object","keys","Array","isArray","webpackBuildWithWorker","compilerNamesArg","compilerNames","nextBuildSpan","prunedBuildContext","NextBuildContext","getWorker","compilerName","_worker","Worker","path","join","__dirname","exposedMethods","numWorkers","maxRetries","forkOptions","env","process","NEXT_PRIVATE_BUILD_WORKER","getStderr","pipe","stderr","getStdout","stdout","worker","_workerPool","_workers","_child","on","code","signal","combinedResult","duration","buildTraceContext","curResult","workerMain","buildContext","traceState","exportTraceState","defaultParentSpanId","getId","shouldSaveTraceEvents","debugTraceEvents","recordTraceEvents","end","telemetryState","entriesTrace","entryNameMap","chunksTrace","entryNameFilesMap","length","Log","event","withWorker","webpackBuildImpl","require"],"mappings":";;;;+BAsIgBA;;;eAAAA;;;6DArIK;8BACY;4BAEV;8DACD;6DAEL;uBACmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEpD,MAAMC,QAAQC,IAAAA,cAAS,EAAC;AAExB,MAAMC,yBAAyB;IAC7B;IACA;IACA;CACD;AAED,IAAIC,cAAgC,CAAC;AAErC,SAASC,UAAUC,MAAW,EAAEC,MAAW;IACzC,MAAMC,SAAS;QAAE,GAAGF,MAAM;QAAE,GAAGC,MAAM;IAAC;IACtC,KAAK,MAAME,OAAOC,OAAOC,IAAI,CAACH,QAAS;QACrCA,MAAM,CAACC,IAAI,GAAGG,MAAMC,OAAO,CAACP,MAAM,CAACG,IAAI,IAClCH,MAAM,CAACG,IAAI,GAAG;eAAIH,MAAM,CAACG,IAAI;eAAMF,MAAM,CAACE,IAAI,IAAI,EAAE;SAAE,GACvD,OAAOH,MAAM,CAACG,IAAI,IAAI,YAAY,OAA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,YAAY;QACdnE,MAAM;QACN,OAAOa,uBAAuBE;IAChC,OAAO;QACLf,MAAM;QACN,MAAMoE,mBAAmBC,QAAQ,UAAUD,gBAAgB;QAC3D,OAAOA,iBAAiB,MAAM;IAChC;AACF"}
@@ -1502,7 +1502,7 @@ async function getBaseWebpackConfig(dir, { buildId, encryptionKey, config, compi
1502
1502
  isClient && new _copyfileplugin.CopyFilePlugin({
1503
1503
  // file path to build output of `@next/polyfill-nomodule`
1504
1504
  filePath: require.resolve('./polyfills/polyfill-nomodule'),
1505
- cacheKey: "15.0.4-canary.25",
1505
+ cacheKey: "15.0.4-canary.26",
1506
1506
  name: `static/chunks/polyfills${dev ? '' : '-[hash]'}.js`,
1507
1507
  minimize: false,
1508
1508
  info: {
@@ -1731,7 +1731,7 @@ async function getBaseWebpackConfig(dir, { buildId, encryptionKey, config, compi
1731
1731
  // - Next.js location on disk (some loaders use absolute paths and some resolve options depend on absolute paths)
1732
1732
  // - Next.js version
1733
1733
  // - next.config.js keys that affect compilation
1734
- version: `${__dirname}|${"15.0.4-canary.25"}|${configVars}`,
1734
+ version: `${__dirname}|${"15.0.4-canary.26"}|${configVars}`,
1735
1735
  cacheDirectory: _path.default.join(distDir, 'cache', 'webpack'),
1736
1736
  // For production builds, it's more efficient to compress all cache files together instead of compression each one individually.
1737
1737
  // 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.0.4-canary.25";
16
+ const version = "15.0.4-canary.26";
17
17
  window.next = {
18
18
  version,
19
19
  appDir: true
@@ -61,7 +61,7 @@ const _hooksclientcontextsharedruntime = require("../shared/lib/hooks-client-con
61
61
  const _shared = require("./react-client-callbacks/shared");
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
- const version = "15.0.4-canary.25";
64
+ const version = "15.0.4-canary.26";
65
65
  let router;
66
66
  const emitter = (0, _mitt.default)();
67
67
  const looseToArray = (input)=>[].slice.call(input);