next 14.0.4 → 14.0.5-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.0.4"}`);
71
+ console.log(`Next.js v${"14.0.5-canary.0"}`);
72
72
  process.exit(0);
73
73
  }
74
74
  // Check if we are running `next <subcommand>` or `next`
@@ -177,7 +177,7 @@ async function build(dir, reactProductionProfiling = false, debugOutput = false,
177
177
  const nextBuildSpan = (0, _trace.trace)("next-build", undefined, {
178
178
  buildMode: buildMode,
179
179
  isTurboBuild: String(turboNextBuild),
180
- version: "14.0.4"
180
+ version: "14.0.5-canary.0"
181
181
  });
182
182
  _buildcontext.NextBuildContext.nextBuildSpan = nextBuildSpan;
183
183
  _buildcontext.NextBuildContext.dir = dir;
@@ -131,7 +131,7 @@ function _interop_require_wildcard(obj, nodeInterop) {
131
131
  }
132
132
  return newObj;
133
133
  }
134
- const nextVersion = "14.0.4";
134
+ const nextVersion = "14.0.5-canary.0";
135
135
  const ArchName = (0, _os.arch)();
136
136
  const PlatformName = (0, _os.platform)();
137
137
  const infoLog = (...args)=>{
@@ -1418,7 +1418,7 @@ async function getBaseWebpackConfig(dir, { buildId, config, compilerType, dev =
1418
1418
  new _wellknownerrorsplugin.WellKnownErrorsPlugin(),
1419
1419
  isClient && new _copyfileplugin.CopyFilePlugin({
1420
1420
  filePath: require.resolve("./polyfills/polyfill-nomodule"),
1421
- cacheKey: "14.0.4",
1421
+ cacheKey: "14.0.5-canary.0",
1422
1422
  name: `static/chunks/polyfills${dev ? "" : "-[hash]"}.js`,
1423
1423
  minimize: false,
1424
1424
  info: {
@@ -1643,7 +1643,7 @@ async function getBaseWebpackConfig(dir, { buildId, config, compilerType, dev =
1643
1643
  // - Next.js location on disk (some loaders use absolute paths and some resolve options depend on absolute paths)
1644
1644
  // - Next.js version
1645
1645
  // - next.config.js keys that affect compilation
1646
- version: `${__dirname}|${"14.0.4"}|${configVars}`,
1646
+ version: `${__dirname}|${"14.0.5-canary.0"}|${configVars}`,
1647
1647
  cacheDirectory: _path.default.join(distDir, "cache", "webpack"),
1648
1648
  // For production builds, it's more efficient to compress all cache files together instead of compression each one individually.
1649
1649
  // 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.0.4";
16
+ const version = "14.0.5-canary.0";
17
17
  window.next = {
18
18
  version,
19
19
  appDir: true
@@ -60,7 +60,7 @@ const _hooksclientcontextsharedruntime = require("../shared/lib/hooks-client-con
60
60
  const _onrecoverableerror = /*#__PURE__*/ _interop_require_default._(require("./on-recoverable-error"));
61
61
  const _tracer = /*#__PURE__*/ _interop_require_default._(require("./tracing/tracer"));
62
62
  const _reporttosocket = /*#__PURE__*/ _interop_require_default._(require("./tracing/report-to-socket"));
63
- const version = "14.0.4";
63
+ const version = "14.0.5-canary.0";
64
64
  let router;
65
65
  const emitter = (0, _mitt.default)();
66
66
  const looseToArray = (input)=>[].slice.call(input);
@@ -111,7 +111,7 @@ export default async function build(dir, reactProductionProfiling = false, debug
111
111
  const nextBuildSpan = trace("next-build", undefined, {
112
112
  buildMode: buildMode,
113
113
  isTurboBuild: String(turboNextBuild),
114
- version: "14.0.4"
114
+ version: "14.0.5-canary.0"
115
115
  });
116
116
  NextBuildContext.nextBuildSpan = nextBuildSpan;
117
117
  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.0.4";
12
+ const nextVersion = "14.0.5-canary.0";
13
13
  const ArchName = arch();
14
14
  const PlatformName = platform();
15
15
  const infoLog = (...args)=>{
@@ -1320,7 +1320,7 @@ export default async function getBaseWebpackConfig(dir, { buildId, config, compi
1320
1320
  new WellKnownErrorsPlugin(),
1321
1321
  isClient && new CopyFilePlugin({
1322
1322
  filePath: require.resolve("./polyfills/polyfill-nomodule"),
1323
- cacheKey: "14.0.4",
1323
+ cacheKey: "14.0.5-canary.0",
1324
1324
  name: `static/chunks/polyfills${dev ? "" : "-[hash]"}.js`,
1325
1325
  minimize: false,
1326
1326
  info: {
@@ -1545,7 +1545,7 @@ export default async function getBaseWebpackConfig(dir, { buildId, config, compi
1545
1545
  // - Next.js location on disk (some loaders use absolute paths and some resolve options depend on absolute paths)
1546
1546
  // - Next.js version
1547
1547
  // - next.config.js keys that affect compilation
1548
- version: `${__dirname}|${"14.0.4"}|${configVars}`,
1548
+ version: `${__dirname}|${"14.0.5-canary.0"}|${configVars}`,
1549
1549
  cacheDirectory: path.join(distDir, "cache", "webpack"),
1550
1550
  // For production builds, it's more efficient to compress all cache files together instead of compression each one individually.
1551
1551
  // 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.0.4";
6
+ */ const version = "14.0.5-canary.0";
7
7
  window.next = {
8
8
  version,
9
9
  appDir: true
@@ -25,7 +25,7 @@ import { SearchParamsContext, PathParamsContext } from "../shared/lib/hooks-clie
25
25
  import onRecoverableError from "./on-recoverable-error";
26
26
  import tracer from "./tracing/tracer";
27
27
  import reportToSocket from "./tracing/report-to-socket";
28
- export const version = "14.0.4";
28
+ export const version = "14.0.5-canary.0";
29
29
  export let router;
30
30
  export const emitter = mitt();
31
31
  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.0.4".includes("canary") && !process.env.__NEXT_TEST_MODE) {
187
+ if (((_result_experimental = result.experimental) == null ? void 0 : _result_experimental.ppr) && !"14.0.5-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") {
@@ -144,7 +144,7 @@ export default class HotReloader {
144
144
  this.previewProps = previewProps;
145
145
  this.rewrites = rewrites;
146
146
  this.hotReloaderSpan = trace("hot-reloader", undefined, {
147
- version: "14.0.4"
147
+ version: "14.0.5-canary.0"
148
148
  });
149
149
  // Ensure the hotReloaderSpan is flushed immediately as it's the parentSpan for all processing
150
150
  // 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.0.4"}${process.env.TURBOPACK ? " (turbo)" : ""}`)));
7
+ Log.bootstrap(bold(purple(` ${Log.prefixes.ready} Next.js ${"14.0.5-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.0.4".includes("canary") && !process.env.__NEXT_TEST_MODE) {
264
+ if (((_result_experimental = result.experimental) == null ? void 0 : _result_experimental.ppr) && !"14.0.5-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") {
@@ -214,7 +214,7 @@ class HotReloader {
214
214
  this.previewProps = previewProps;
215
215
  this.rewrites = rewrites;
216
216
  this.hotReloaderSpan = (0, _trace.trace)("hot-reloader", undefined, {
217
- version: "14.0.4"
217
+ version: "14.0.5-canary.0"
218
218
  });
219
219
  // Ensure the hotReloaderSpan is flushed immediately as it's the parentSpan for all processing
220
220
  // 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.0.4"}${process.env.TURBOPACK ? " (turbo)" : ""}`)));
68
+ _log.bootstrap((0, _picocolors.bold)((0, _picocolors.purple)(` ${_log.prefixes.ready} Next.js ${"14.0.5-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.0.4"
82
+ nextVersion: "14.0.5-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.0.4" !== "string") {
14
+ if (typeof "14.0.5-canary.0" !== "string") {
15
15
  return [];
16
16
  }
17
17
  const payload = {
18
- nextVersion: "14.0.4",
18
+ nextVersion: "14.0.5-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.0.4" !== "string") {
38
+ if (typeof "14.0.5-canary.0" !== "string") {
39
39
  return [];
40
40
  }
41
41
  const { images, i18n } = nextConfig || {};
42
42
  const payload = {
43
- nextVersion: "14.0.4",
43
+ nextVersion: "14.0.5-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.0.4",
3
+ "version": "14.0.5-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.0.4",
95
+ "@next/env": "14.0.5-canary.0",
96
96
  "@swc/helpers": "0.5.2",
97
97
  "busboy": "1.6.0",
98
98
  "caniuse-lite": "^1.0.30001406",
@@ -147,11 +147,11 @@
147
147
  "@mswjs/interceptors": "0.23.0",
148
148
  "@napi-rs/cli": "2.16.2",
149
149
  "@napi-rs/triples": "1.1.0",
150
- "@next/polyfill-module": "14.0.4",
151
- "@next/polyfill-nomodule": "14.0.4",
152
- "@next/react-dev-overlay": "14.0.4",
153
- "@next/react-refresh-utils": "14.0.4",
154
- "@next/swc": "14.0.4",
150
+ "@next/polyfill-module": "14.0.5-canary.0",
151
+ "@next/polyfill-nomodule": "14.0.5-canary.0",
152
+ "@next/react-dev-overlay": "14.0.5-canary.0",
153
+ "@next/react-refresh-utils": "14.0.5-canary.0",
154
+ "@next/swc": "14.0.5-canary.0",
155
155
  "@opentelemetry/api": "1.6.0",
156
156
  "@playwright/test": "^1.35.1",
157
157
  "@taskr/clear": "1.1.0",
@@ -322,14 +322,14 @@
322
322
  "node": ">=18.17.0"
323
323
  },
324
324
  "optionalDependencies": {
325
- "@next/swc-darwin-arm64": "14.0.4",
326
- "@next/swc-darwin-x64": "14.0.4",
327
- "@next/swc-linux-arm64-gnu": "14.0.4",
328
- "@next/swc-linux-arm64-musl": "14.0.4",
329
- "@next/swc-linux-x64-gnu": "14.0.4",
330
- "@next/swc-linux-x64-musl": "14.0.4",
331
- "@next/swc-win32-arm64-msvc": "14.0.4",
332
- "@next/swc-win32-ia32-msvc": "14.0.4",
333
- "@next/swc-win32-x64-msvc": "14.0.4"
325
+ "@next/swc-darwin-arm64": "14.0.5-canary.0",
326
+ "@next/swc-darwin-x64": "14.0.5-canary.0",
327
+ "@next/swc-linux-arm64-gnu": "14.0.5-canary.0",
328
+ "@next/swc-linux-arm64-musl": "14.0.5-canary.0",
329
+ "@next/swc-linux-x64-gnu": "14.0.5-canary.0",
330
+ "@next/swc-linux-x64-musl": "14.0.5-canary.0",
331
+ "@next/swc-win32-arm64-msvc": "14.0.5-canary.0",
332
+ "@next/swc-win32-ia32-msvc": "14.0.5-canary.0",
333
+ "@next/swc-win32-x64-msvc": "14.0.5-canary.0"
334
334
  }
335
335
  }