next 14.1.0 → 14.1.1-canary.0

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
@@ -68,7 +68,7 @@ const args = (0, _index.default)({
68
68
  });
69
69
  // Version is inlined into the file using taskr build pipeline
70
70
  if (args["--version"]) {
71
- console.log(`Next.js v${"14.1.0"}`);
71
+ console.log(`Next.js v${"14.1.1-canary.0"}`);
72
72
  process.exit(0);
73
73
  }
74
74
  // Check if we are running `next <subcommand>` or `next`
@@ -364,7 +364,7 @@ async function build(dir, reactProductionProfiling = false, debugOutput = false,
364
364
  const nextBuildSpan = (0, _trace.trace)("next-build", undefined, {
365
365
  buildMode: buildMode,
366
366
  isTurboBuild: String(turboNextBuild),
367
- version: "14.1.0"
367
+ version: "14.1.1-canary.0"
368
368
  });
369
369
  _buildcontext.NextBuildContext.nextBuildSpan = nextBuildSpan;
370
370
  _buildcontext.NextBuildContext.dir = dir;
@@ -127,7 +127,7 @@ function _interop_require_wildcard(obj, nodeInterop) {
127
127
  }
128
128
  return newObj;
129
129
  }
130
- const nextVersion = "14.1.0";
130
+ const nextVersion = "14.1.1-canary.0";
131
131
  const ArchName = (0, _os.arch)();
132
132
  const PlatformName = (0, _os.platform)();
133
133
  const infoLog = (...args)=>{
@@ -102,7 +102,7 @@ async function webpackBuildWithWorker(compilerNamesArg) {
102
102
  for (const worker of ((_worker__workerPool = _worker._workerPool) == null ? void 0 : _worker__workerPool._workers) || []){
103
103
  worker._child.on("exit", (code, signal)=>{
104
104
  if (code || signal && signal !== "SIGINT") {
105
- console.error(`Compiler ${compilerName} unexpectedly exited with code: ${code} and signal: ${signal}`);
105
+ debug(`Compiler ${compilerName} unexpectedly exited with code: ${code} and signal: ${signal}`);
106
106
  }
107
107
  });
108
108
  }
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/build/webpack-build/index.ts"],"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","console","error","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,OAAOF,MAAM,CAACE,IAAI,IAAI,WACxDJ,UAAUC,MAAM,CAACG,IAAI,EAAEF,MAAM,CAACE,IAAI,IAClCD,MAAM,CAACC,IAAI;IACjB;IACA,OAAOD;AACT;AAEA,eAAeM,uBACbC,gBAAsD;IAEtD,MAAMC,gBAAgBD,oBAAo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../../../src/build/webpack-build/index.ts"],"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,OAAOF,MAAM,CAACE,IAAI,IAAI,WACxDJ,UAAUC,MAAM,CAACG,IAAI,EAAEF,MAAM,CAACE,IAAI,IAClCD,MAAM,CAACC,IAAI;IACjB;IACA,OAAOD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A,iBAAiB,MAAM;IAChC;AACF"}
@@ -1455,7 +1455,7 @@ async function getBaseWebpackConfig(dir, { buildId, config, compilerType, dev =
1455
1455
  new _wellknownerrorsplugin.WellKnownErrorsPlugin(),
1456
1456
  isClient && new _copyfileplugin.CopyFilePlugin({
1457
1457
  filePath: require.resolve("./polyfills/polyfill-nomodule"),
1458
- cacheKey: "14.1.0",
1458
+ cacheKey: "14.1.1-canary.0",
1459
1459
  name: `static/chunks/polyfills${dev ? "" : "-[hash]"}.js`,
1460
1460
  minimize: false,
1461
1461
  info: {
@@ -1680,7 +1680,7 @@ async function getBaseWebpackConfig(dir, { buildId, config, compilerType, dev =
1680
1680
  // - Next.js location on disk (some loaders use absolute paths and some resolve options depend on absolute paths)
1681
1681
  // - Next.js version
1682
1682
  // - next.config.js keys that affect compilation
1683
- version: `${__dirname}|${"14.1.0"}|${configVars}`,
1683
+ version: `${__dirname}|${"14.1.1-canary.0"}|${configVars}`,
1684
1684
  cacheDirectory: _path.default.join(distDir, "cache", "webpack"),
1685
1685
  // For production builds, it's more efficient to compress all cache files together instead of compression each one individually.
1686
1686
  // 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.1.0";
16
+ const version = "14.1.1-canary.0";
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 _onrecoverableerror = /*#__PURE__*/ _interop_require_default._(require("./on-recoverable-error"));
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 = "14.1.0";
64
+ const version = "14.1.1-canary.0";
65
65
  let router;
66
66
  const emitter = (0, _mitt.default)();
67
67
  const looseToArray = (input)=>[].slice.call(input);
@@ -298,7 +298,7 @@ export default async function build(dir, reactProductionProfiling = false, debug
298
298
  const nextBuildSpan = trace("next-build", undefined, {
299
299
  buildMode: buildMode,
300
300
  isTurboBuild: String(turboNextBuild),
301
- version: "14.1.0"
301
+ version: "14.1.1-canary.0"
302
302
  });
303
303
  NextBuildContext.nextBuildSpan = nextBuildSpan;
304
304
  NextBuildContext.dir = dir;
@@ -9,7 +9,7 @@ import { patchIncorrectLockfile } from "../../lib/patch-incorrect-lockfile";
9
9
  import { downloadWasmSwc, downloadNativeNextSwc } from "../../lib/download-swc";
10
10
  import { isDeepStrictEqual } from "util";
11
11
  import { getDefineEnv } from "../webpack/plugins/define-env-plugin";
12
- const nextVersion = "14.1.0";
12
+ const nextVersion = "14.1.1-canary.0";
13
13
  const ArchName = arch();
14
14
  const PlatformName = platform();
15
15
  const infoLog = (...args)=>{
@@ -48,7 +48,7 @@ async function webpackBuildWithWorker(compilerNamesArg) {
48
48
  for (const worker of ((_worker__workerPool = _worker._workerPool) == null ? void 0 : _worker__workerPool._workers) || []){
49
49
  worker._child.on("exit", (code, signal)=>{
50
50
  if (code || signal && signal !== "SIGINT") {
51
- console.error(`Compiler ${compilerName} unexpectedly exited with code: ${code} and signal: ${signal}`);
51
+ debug(`Compiler ${compilerName} unexpectedly exited with code: ${code} and signal: ${signal}`);
52
52
  }
53
53
  });
54
54
  }
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/build/webpack-build/index.ts"],"names":["Log","NextBuildContext","Worker","origDebug","path","exportTraceState","recordTraceEvents","debug","ORDERED_COMPILER_NAMES","pluginState","deepMerge","target","source","result","key","Object","keys","Array","isArray","webpackBuildWithWorker","compilerNamesArg","compilerNames","nextBuildSpan","prunedBuildContext","getWorker","compilerName","_worker","join","__dirname","exposedMethods","numWorkers","maxRetries","forkOptions","env","process","NEXT_PRIVATE_BUILD_WORKER","getStderr","pipe","stderr","getStdout","stdout","worker","_workerPool","_workers","_child","on","code","signal","console","error","combinedResult","duration","buildTraceContext","curResult","workerMain","buildContext","traceState","defaultParentSpanId","getId","shouldSaveTraceEvents","debugTraceEvents","end","telemetryState","entriesTrace","entryNameMap","chunksTrace","entryNameFilesMap","length","event","webpackBuild","withWorker","webpackBuildImpl","require"],"mappings":"AACA,YAAYA,SAAS,gBAAe;AACpC,SAASC,gBAAgB,QAAQ,mBAAkB;AAEnD,SAASC,MAAM,QAAQ,iCAAgC;AACvD,OAAOC,eAAe,2BAA0B;AAEhD,OAAOC,UAAU,OAAM;AACvB,SAASC,gBAAgB,EAAEC,iBAAiB,QAAQ,cAAa;AAEjE,MAAMC,QAAQJ,UAAU;AAExB,MAAMK,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,OAAOF,MAAM,CAACE,IAAI,IAAI,WACxDJ,UAAUC,MAAM,CAACG,IAAI,EAAEF,MAAM,CAACE,IAAI,IAClCD,MAAM,CAACC,IAAI;IACjB;IACA,OAAOD;AACT;AAEA,eAAeM,uBACbC,gBAAsD;IAEtD,MAAMC,gBAAgBD,oBAAoBZ;IAC1C,MAAM,EAAEc,aAAa,EAAE,GAAGC,oBAAoB,GAAGtB;IAEjDsB,mBAAmBd,WAAW,GAAGA;IAEjC,MAAMe,YAAY,CAACC;YAeK;QAdtB,MAAMC,UAAU,IAAIxB,OAAOE,KAAKuB,IAAI,CAACC,WAAW,YAAY;YAC1DC,gBAAgB;gBAAC;aAAa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AAUF,QAAQ;QAE7C,KAAIE,+BAAAA,UAAUD,iBAAiB,qBAA3BC,6BAA6BU,YAAY,EAAE;gBAUzCV;YATJ,MAAM,EAAEW,YAAY,EAAE,GAAGX,UAAUD,iBAAiB,CAACW,YAAY;YAEjE,IAAIC,cAAc;gBAChBd,eAAeE,iBAAiB,CAACW,YAAY,GAC3CV,UAAUD,iBAAiB,CAACW,YAAY;gBAC1Cb,eAAeE,iBAAiB,CAACW,YAAY,CAAEC,YAAY,GACzDA;YACJ;YAEA,KAAIX,gCAAAA,UAAUD,iBAAiB,qBAA3BC,8BAA6BY,WAAW,EAAE;gBAC5C,MAAM,EAAEC,iBAAiB,EAAE,GAAGb,UAAUD,iBAAiB,CAACa,WAAW;gBAErE,IAAIC,mBAAmB;oBACrBhB,eAAeE,iBAAiB,CAACa,WAAW,GAC1CZ,UAAUD,iBAAiB,CAACa,WAAW;oBAEzCf,eAAeE,iBAAiB,CAACa,WAAW,CAAEC,iBAAiB,GAC7DA;gBACJ;YACF;QACF;IACF;IAEA,IAAI7C,cAAc8C,MAAM,KAAK,GAAG;QAC9BnE,IAAIoE,KAAK,CAAC;IACZ;IAEA,OAAOlB;AACT;AAEA,OAAO,SAASmB,aACdC,UAAmB,EACnBjD,aAAmD;IAEnD,IAAIiD,YAAY;QACd/D,MAAM;QACN,OAAOY,uBAAuBE;IAChC,OAAO;QACLd,MAAM;QACN,MAAMgE,mBAAmBC,QAAQ,UAAUD,gBAAgB;QAC3D,OAAOA,iBAAiB,MAAM;IAChC;AACF"}
1
+ {"version":3,"sources":["../../../src/build/webpack-build/index.ts"],"names":["Log","NextBuildContext","Worker","origDebug","path","exportTraceState","recordTraceEvents","debug","ORDERED_COMPILER_NAMES","pluginState","deepMerge","target","source","result","key","Object","keys","Array","isArray","webpackBuildWithWorker","compilerNamesArg","compilerNames","nextBuildSpan","prunedBuildContext","getWorker","compilerName","_worker","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","defaultParentSpanId","getId","shouldSaveTraceEvents","debugTraceEvents","end","telemetryState","entriesTrace","entryNameMap","chunksTrace","entryNameFilesMap","length","event","webpackBuild","withWorker","webpackBuildImpl","require"],"mappings":"AACA,YAAYA,SAAS,gBAAe;AACpC,SAASC,gBAAgB,QAAQ,mBAAkB;AAEnD,SAASC,MAAM,QAAQ,iCAAgC;AACvD,OAAOC,eAAe,2BAA0B;AAEhD,OAAOC,UAAU,OAAM;AACvB,SAASC,gBAAgB,EAAEC,iBAAiB,QAAQ,cAAa;AAEjE,MAAMC,QAAQJ,UAAU;AAExB,MAAMK,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,OAAOF,MAAM,CAACE,IAAI,IAAI,WACxDJ,UAAUC,MAAM,CAACG,IAAI,EAAEF,MAAM,CAACE,IAAI,IAClCD,MAAM,CAACC,IAAI;IACjB;IACA,OAAOD;AACT;AAEA,eAAeM,uBACbC,gBAAsD;IAEtD,MAAMC,gBAAgBD,oBAAoBZ;IAC1C,MAAM,EAAEc,aAAa,EAAE,GAAGC,oBAAoB,GAAGtB;IAEjDsB,mBAAmBd,WAAW,GAAGA;IAEjC,MAAMe,YAAY,CAACC;YAeK;QAdtB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,iBAAiB2D,cAAc,GAAGT,UAAUS,cAAc;QAC5D;QAEAZ,eAAeC,QAAQ,IAAIE,UAAUF,QAAQ;QAE7C,KAAIE,+BAAAA,UAAUD,iBAAiB,qBAA3BC,6BAA6BU,YAAY,EAAE;gBAUzCV;YATJ,MAAM,EAAEW,YAAY,EAAE,GAAGX,UAAUD,iBAAiB,CAACW,YAAY;YAEjE,IAAIC,cAAc;gBAChBd,eAAeE,iBAAiB,CAACW,YAAY,GAC3CV,UAAUD,iBAAiB,CAACW,YAAY;gBAC1Cb,eAAeE,iBAAiB,CAACW,YAAY,CAAEC,YAAY,GACzDA;YACJ;YAEA,KAAIX,gCAAAA,UAAUD,iBAAiB,qBAA3BC,8BAA6BY,WAAW,EAAE;gBAC5C,MAAM,EAAEC,iBAAiB,EAAE,GAAGb,UAAUD,iBAAiB,CAACa,WAAW;gBAErE,IAAIC,mBAAmB;oBACrBhB,eAAeE,iBAAiB,CAACa,WAAW,GAC1CZ,UAAUD,iBAAiB,CAACa,WAAW;oBAEzCf,eAAeE,iBAAiB,CAACa,WAAW,CAAEC,iBAAiB,GAC7DA;gBACJ;YACF;QACF;IACF;IAEA,IAAI3C,cAAc4C,MAAM,KAAK,GAAG;QAC9BjE,IAAIkE,KAAK,CAAC;IACZ;IAEA,OAAOlB;AACT;AAEA,OAAO,SAASmB,aACdC,UAAmB,EACnB/C,aAAmD;IAEnD,IAAI+C,YAAY;QACd7D,MAAM;QACN,OAAOY,uBAAuBE;IAChC,OAAO;QACLd,MAAM;QACN,MAAM8D,mBAAmBC,QAAQ,UAAUD,gBAAgB;QAC3D,OAAOA,iBAAiB,MAAM;IAChC;AACF"}
@@ -1354,7 +1354,7 @@ export default async function getBaseWebpackConfig(dir, { buildId, config, compi
1354
1354
  new WellKnownErrorsPlugin(),
1355
1355
  isClient && new CopyFilePlugin({
1356
1356
  filePath: require.resolve("./polyfills/polyfill-nomodule"),
1357
- cacheKey: "14.1.0",
1357
+ cacheKey: "14.1.1-canary.0",
1358
1358
  name: `static/chunks/polyfills${dev ? "" : "-[hash]"}.js`,
1359
1359
  minimize: false,
1360
1360
  info: {
@@ -1579,7 +1579,7 @@ export default async function getBaseWebpackConfig(dir, { buildId, config, compi
1579
1579
  // - Next.js location on disk (some loaders use absolute paths and some resolve options depend on absolute paths)
1580
1580
  // - Next.js version
1581
1581
  // - next.config.js keys that affect compilation
1582
- version: `${__dirname}|${"14.1.0"}|${configVars}`,
1582
+ version: `${__dirname}|${"14.1.1-canary.0"}|${configVars}`,
1583
1583
  cacheDirectory: path.join(distDir, "cache", "webpack"),
1584
1584
  // For production builds, it's more efficient to compress all cache files together instead of compression each one individually.
1585
1585
  // So we disable compression here and allow the build runner to take care of compressing the cache as a whole.
@@ -3,7 +3,7 @@
3
3
  * sure the following scripts are executed in the correct order:
4
4
  * - Polyfills
5
5
  * - next/script with `beforeInteractive` strategy
6
- */ const version = "14.1.0";
6
+ */ const version = "14.1.1-canary.0";
7
7
  window.next = {
8
8
  version,
9
9
  appDir: true
@@ -26,7 +26,7 @@ import { SearchParamsContext, PathParamsContext } from "../shared/lib/hooks-clie
26
26
  import onRecoverableError from "./on-recoverable-error";
27
27
  import tracer from "./tracing/tracer";
28
28
  import reportToSocket from "./tracing/report-to-socket";
29
- export const version = "14.1.0";
29
+ export const version = "14.1.1-canary.0";
30
30
  export let router;
31
31
  export const emitter = mitt();
32
32
  const looseToArray = (input)=>[].slice.call(input);
@@ -184,7 +184,7 @@ function assignDefaults(dir, userConfig, silent) {
184
184
  ...defaultConfig,
185
185
  ...config
186
186
  };
187
- if (((_result_experimental = result.experimental) == null ? void 0 : _result_experimental.ppr) && !"14.1.0".includes("canary") && !process.env.__NEXT_TEST_MODE) {
187
+ if (((_result_experimental = result.experimental) == null ? void 0 : _result_experimental.ppr) && !"14.1.1-canary.0".includes("canary") && !process.env.__NEXT_TEST_MODE) {
188
188
  throw new Error(`The experimental.ppr preview feature can only be enabled when using the latest canary version of Next.js. See more info here: https://nextjs.org/docs/messages/ppr-preview`);
189
189
  }
190
190
  if (result.output === "export") {
@@ -145,7 +145,7 @@ export default class HotReloaderWebpack {
145
145
  this.previewProps = previewProps;
146
146
  this.rewrites = rewrites;
147
147
  this.hotReloaderSpan = trace("hot-reloader", undefined, {
148
- version: "14.1.0"
148
+ version: "14.1.1-canary.0"
149
149
  });
150
150
  // Ensure the hotReloaderSpan is flushed immediately as it's the parentSpan for all processing
151
151
  // of the current `next dev` invocation.
@@ -4,7 +4,7 @@ import { bold, purple } from "../../lib/picocolors";
4
4
  import { PHASE_DEVELOPMENT_SERVER } from "../../shared/lib/constants";
5
5
  import loadConfig, { getEnabledExperimentalFeatures } from "../config";
6
6
  export function logStartInfo({ networkUrl, appUrl, envInfo, expFeatureInfo, maxExperimentalFeatures }) {
7
- Log.bootstrap(bold(purple(` ${Log.prefixes.ready} Next.js ${"14.1.0"}${process.env.TURBOPACK ? " (turbo)" : ""}`)));
7
+ Log.bootstrap(bold(purple(` ${Log.prefixes.ready} Next.js ${"14.1.1-canary.0"}${process.env.TURBOPACK ? " (turbo)" : ""}`)));
8
8
  if (appUrl) {
9
9
  Log.bootstrap(` - Local: ${appUrl}`);
10
10
  }
@@ -261,7 +261,7 @@ function assignDefaults(dir, userConfig, silent) {
261
261
  ..._configshared.defaultConfig,
262
262
  ...config
263
263
  };
264
- if (((_result_experimental = result.experimental) == null ? void 0 : _result_experimental.ppr) && !"14.1.0".includes("canary") && !process.env.__NEXT_TEST_MODE) {
264
+ if (((_result_experimental = result.experimental) == null ? void 0 : _result_experimental.ppr) && !"14.1.1-canary.0".includes("canary") && !process.env.__NEXT_TEST_MODE) {
265
265
  throw new Error(`The experimental.ppr preview feature can only be enabled when using the latest canary version of Next.js. See more info here: https://nextjs.org/docs/messages/ppr-preview`);
266
266
  }
267
267
  if (result.output === "export") {
@@ -215,7 +215,7 @@ class HotReloaderWebpack {
215
215
  this.previewProps = previewProps;
216
216
  this.rewrites = rewrites;
217
217
  this.hotReloaderSpan = (0, _trace.trace)("hot-reloader", undefined, {
218
- version: "14.1.0"
218
+ version: "14.1.1-canary.0"
219
219
  });
220
220
  // Ensure the hotReloaderSpan is flushed immediately as it's the parentSpan for all processing
221
221
  // of the current `next dev` invocation.
@@ -65,7 +65,7 @@ function _interop_require_wildcard(obj, nodeInterop) {
65
65
  return newObj;
66
66
  }
67
67
  function logStartInfo({ networkUrl, appUrl, envInfo, expFeatureInfo, maxExperimentalFeatures }) {
68
- _log.bootstrap((0, _picocolors.bold)((0, _picocolors.purple)(` ${_log.prefixes.ready} Next.js ${"14.1.0"}${process.env.TURBOPACK ? " (turbo)" : ""}`)));
68
+ _log.bootstrap((0, _picocolors.bold)((0, _picocolors.purple)(` ${_log.prefixes.ready} Next.js ${"14.1.1-canary.0"}${process.env.TURBOPACK ? " (turbo)" : ""}`)));
69
69
  if (appUrl) {
70
70
  _log.bootstrap(` - Local: ${appUrl}`);
71
71
  }
@@ -79,7 +79,7 @@ function getAnonymousMeta() {
79
79
  isWsl: _iswsl.default,
80
80
  isCI: _ciinfo.isCI,
81
81
  ciName: _ciinfo.isCI && _ciinfo.name || null,
82
- nextVersion: "14.1.0"
82
+ nextVersion: "14.1.1-canary.0"
83
83
  };
84
84
  return traits;
85
85
  }
@@ -11,11 +11,11 @@ Object.defineProperty(exports, "eventCliSessionStopped", {
11
11
  const EVENT_VERSION = "NEXT_CLI_SESSION_STOPPED";
12
12
  function eventCliSessionStopped(event) {
13
13
  // This should be an invariant, if it fails our build tooling is broken.
14
- if (typeof "14.1.0" !== "string") {
14
+ if (typeof "14.1.1-canary.0" !== "string") {
15
15
  return [];
16
16
  }
17
17
  const payload = {
18
- nextVersion: "14.1.0",
18
+ nextVersion: "14.1.1-canary.0",
19
19
  nodeVersion: process.version,
20
20
  cliCommand: event.cliCommand,
21
21
  durationMilliseconds: event.durationMilliseconds,
@@ -35,12 +35,12 @@ function hasBabelConfig(dir) {
35
35
  }
36
36
  function eventCliSession(dir, nextConfig, event) {
37
37
  // This should be an invariant, if it fails our build tooling is broken.
38
- if (typeof "14.1.0" !== "string") {
38
+ if (typeof "14.1.1-canary.0" !== "string") {
39
39
  return [];
40
40
  }
41
41
  const { images, i18n } = nextConfig || {};
42
42
  const payload = {
43
- nextVersion: "14.1.0",
43
+ nextVersion: "14.1.1-canary.0",
44
44
  nodeVersion: process.version,
45
45
  cliCommand: event.cliCommand,
46
46
  isSrcDir: event.isSrcDir,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "next",
3
- "version": "14.1.0",
3
+ "version": "14.1.1-canary.0",
4
4
  "description": "The React Framework",
5
5
  "main": "./dist/server/next.js",
6
6
  "license": "MIT",
@@ -92,7 +92,7 @@
92
92
  ]
93
93
  },
94
94
  "dependencies": {
95
- "@next/env": "14.1.0",
95
+ "@next/env": "14.1.1-canary.0",
96
96
  "@swc/helpers": "0.5.2",
97
97
  "busboy": "1.6.0",
98
98
  "caniuse-lite": "^1.0.30001579",
@@ -146,11 +146,11 @@
146
146
  "@mswjs/interceptors": "0.23.0",
147
147
  "@napi-rs/cli": "2.16.2",
148
148
  "@napi-rs/triples": "1.1.0",
149
- "@next/polyfill-module": "14.1.0",
150
- "@next/polyfill-nomodule": "14.1.0",
151
- "@next/react-dev-overlay": "14.1.0",
152
- "@next/react-refresh-utils": "14.1.0",
153
- "@next/swc": "14.1.0",
149
+ "@next/polyfill-module": "14.1.1-canary.0",
150
+ "@next/polyfill-nomodule": "14.1.1-canary.0",
151
+ "@next/react-dev-overlay": "14.1.1-canary.0",
152
+ "@next/react-refresh-utils": "14.1.1-canary.0",
153
+ "@next/swc": "14.1.1-canary.0",
154
154
  "@opentelemetry/api": "1.6.0",
155
155
  "@playwright/test": "^1.35.1",
156
156
  "@taskr/clear": "1.1.0",
@@ -320,14 +320,14 @@
320
320
  "node": ">=18.17.0"
321
321
  },
322
322
  "optionalDependencies": {
323
- "@next/swc-darwin-arm64": "14.1.0",
324
- "@next/swc-darwin-x64": "14.1.0",
325
- "@next/swc-linux-arm64-gnu": "14.1.0",
326
- "@next/swc-linux-arm64-musl": "14.1.0",
327
- "@next/swc-linux-x64-gnu": "14.1.0",
328
- "@next/swc-linux-x64-musl": "14.1.0",
329
- "@next/swc-win32-arm64-msvc": "14.1.0",
330
- "@next/swc-win32-ia32-msvc": "14.1.0",
331
- "@next/swc-win32-x64-msvc": "14.1.0"
323
+ "@next/swc-darwin-arm64": "14.1.1-canary.0",
324
+ "@next/swc-darwin-x64": "14.1.1-canary.0",
325
+ "@next/swc-linux-arm64-gnu": "14.1.1-canary.0",
326
+ "@next/swc-linux-arm64-musl": "14.1.1-canary.0",
327
+ "@next/swc-linux-x64-gnu": "14.1.1-canary.0",
328
+ "@next/swc-linux-x64-musl": "14.1.1-canary.0",
329
+ "@next/swc-win32-arm64-msvc": "14.1.1-canary.0",
330
+ "@next/swc-win32-ia32-msvc": "14.1.1-canary.0",
331
+ "@next/swc-win32-x64-msvc": "14.1.1-canary.0"
332
332
  }
333
333
  }