next 13.4.2-canary.6 → 13.4.2

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
@@ -76,7 +76,7 @@ const args = (0, _index.default)({
76
76
  });
77
77
  // Version is inlined into the file using taskr build pipeline
78
78
  if (args["--version"]) {
79
- console.log(`Next.js v${"13.4.2-canary.6"}`);
79
+ console.log(`Next.js v${"13.4.2"}`);
80
80
  process.exit(0);
81
81
  }
82
82
  // Check if we are running `next <subcommand>` or `next`
@@ -135,7 +135,7 @@ async function build(dir, reactProductionProfiling = false, debugOutput = false,
135
135
  let hasAppDir = false;
136
136
  try {
137
137
  const nextBuildSpan = (0, _trace.trace)("next-build", undefined, {
138
- version: "13.4.2-canary.6"
138
+ version: "13.4.2"
139
139
  });
140
140
  _buildcontext.NextBuildContext.nextBuildSpan = nextBuildSpan;
141
141
  _buildcontext.NextBuildContext.dir = dir;
@@ -127,7 +127,7 @@ function _interop_require_wildcard(obj, nodeInterop) {
127
127
  return newObj;
128
128
  }
129
129
  var _platformArchTriples_PlatformName;
130
- const nextVersion = "13.4.2-canary.6";
130
+ const nextVersion = "13.4.2";
131
131
  const ArchName = (0, _os.arch)();
132
132
  const PlatformName = (0, _os.platform)();
133
133
  const triples = ((_platformArchTriples_PlatformName = _triples.platformArchTriples[PlatformName]) == null ? void 0 : _platformArchTriples_PlatformName[ArchName]) || [];
@@ -1723,7 +1723,7 @@ async function getBaseWebpackConfig(dir, { buildId , config , compilerType , dev
1723
1723
  new _wellknownerrorsplugin.WellKnownErrorsPlugin(),
1724
1724
  isClient && new _copyfileplugin.CopyFilePlugin({
1725
1725
  filePath: require.resolve("./polyfills/polyfill-nomodule"),
1726
- cacheKey: "13.4.2-canary.6",
1726
+ cacheKey: "13.4.2",
1727
1727
  name: `static/chunks/polyfills${dev ? "" : "-[hash]"}.js`,
1728
1728
  minimize: false,
1729
1729
  info: {
@@ -1953,7 +1953,7 @@ async function getBaseWebpackConfig(dir, { buildId , config , compilerType , dev
1953
1953
  // Includes:
1954
1954
  // - Next.js version
1955
1955
  // - next.config.js keys that affect compilation
1956
- version: `${"13.4.2-canary.6"}|${configVars}`,
1956
+ version: `${"13.4.2"}|${configVars}`,
1957
1957
  cacheDirectory: _path.default.join(distDir, "cache", "webpack")
1958
1958
  };
1959
1959
  // Adds `next.config.js` as a buildDependency when custom webpack config is provided
@@ -13,7 +13,7 @@ Object.defineProperty(exports, "appBootstrap", {
13
13
  return appBootstrap;
14
14
  }
15
15
  });
16
- const version = "13.4.2-canary.6";
16
+ const version = "13.4.2";
17
17
  window.next = {
18
18
  version,
19
19
  appDir: true
@@ -58,7 +58,7 @@ const _approutercontext = require("../shared/lib/app-router-context");
58
58
  const _adapters = require("../shared/lib/router/adapters");
59
59
  const _hooksclientcontext = require("../shared/lib/hooks-client-context");
60
60
  const _onrecoverableerror = /*#__PURE__*/ _interop_require_default._(require("./on-recoverable-error"));
61
- const version = "13.4.2-canary.6";
61
+ const version = "13.4.2";
62
62
  let router;
63
63
  const emitter = (0, _mitt.default)();
64
64
  const looseToArray = (input)=>[].slice.call(input);
@@ -81,7 +81,7 @@ export default async function build(dir, reactProductionProfiling = false, debug
81
81
  let hasAppDir = false;
82
82
  try {
83
83
  const nextBuildSpan = trace("next-build", undefined, {
84
- version: "13.4.2-canary.6"
84
+ version: "13.4.2"
85
85
  });
86
86
  NextBuildContext.nextBuildSpan = nextBuildSpan;
87
87
  NextBuildContext.dir = dir;
@@ -9,7 +9,7 @@ import { eventSwcLoadFailure } from "../../telemetry/events/swc-load-failure";
9
9
  import { patchIncorrectLockfile } from "../../lib/patch-incorrect-lockfile";
10
10
  import { downloadWasmSwc } from "../../lib/download-wasm-swc";
11
11
  import { spawn } from "child_process";
12
- const nextVersion = "13.4.2-canary.6";
12
+ const nextVersion = "13.4.2";
13
13
  const ArchName = arch();
14
14
  const PlatformName = platform();
15
15
  const triples = ((_platformArchTriples_PlatformName = platformArchTriples[PlatformName]) == null ? void 0 : _platformArchTriples_PlatformName[ArchName]) || [];
@@ -1621,7 +1621,7 @@ export default async function getBaseWebpackConfig(dir, { buildId , config , com
1621
1621
  new WellKnownErrorsPlugin(),
1622
1622
  isClient && new CopyFilePlugin({
1623
1623
  filePath: require.resolve("./polyfills/polyfill-nomodule"),
1624
- cacheKey: "13.4.2-canary.6",
1624
+ cacheKey: "13.4.2",
1625
1625
  name: `static/chunks/polyfills${dev ? "" : "-[hash]"}.js`,
1626
1626
  minimize: false,
1627
1627
  info: {
@@ -1851,7 +1851,7 @@ export default async function getBaseWebpackConfig(dir, { buildId , config , com
1851
1851
  // Includes:
1852
1852
  // - Next.js version
1853
1853
  // - next.config.js keys that affect compilation
1854
- version: `${"13.4.2-canary.6"}|${configVars}`,
1854
+ version: `${"13.4.2"}|${configVars}`,
1855
1855
  cacheDirectory: path.join(distDir, "cache", "webpack")
1856
1856
  };
1857
1857
  // Adds `next.config.js` as a buildDependency when custom webpack config is provided
@@ -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 = "13.4.2-canary.6";
6
+ */ const version = "13.4.2";
7
7
  window.next = {
8
8
  version,
9
9
  appDir: true
@@ -23,7 +23,7 @@ import { AppRouterContext } from "../shared/lib/app-router-context";
23
23
  import { adaptForAppRouterInstance, adaptForSearchParams, PathnameContextProviderAdapter } from "../shared/lib/router/adapters";
24
24
  import { SearchParamsContext } from "../shared/lib/hooks-client-context";
25
25
  import onRecoverableError from "./on-recoverable-error";
26
- export const version = "13.4.2-canary.6";
26
+ export const version = "13.4.2";
27
27
  export let router;
28
28
  export const emitter = mitt();
29
29
  const looseToArray = (input)=>[].slice.call(input);
@@ -135,7 +135,7 @@ export default class HotReloader {
135
135
  this.previewProps = previewProps;
136
136
  this.rewrites = rewrites;
137
137
  this.hotReloaderSpan = trace("hot-reloader", undefined, {
138
- version: "13.4.2-canary.6"
138
+ version: "13.4.2"
139
139
  });
140
140
  // Ensure the hotReloaderSpan is flushed immediately as it's the parentSpan for all processing
141
141
  // of the current `next dev` invocation.
@@ -201,7 +201,7 @@ class HotReloader {
201
201
  this.previewProps = previewProps;
202
202
  this.rewrites = rewrites;
203
203
  this.hotReloaderSpan = (0, _trace.trace)("hot-reloader", undefined, {
204
- version: "13.4.2-canary.6"
204
+ version: "13.4.2"
205
205
  });
206
206
  // Ensure the hotReloaderSpan is flushed immediately as it's the parentSpan for all processing
207
207
  // of the current `next dev` invocation.
@@ -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: "13.4.2-canary.6"
82
+ nextVersion: "13.4.2"
83
83
  };
84
84
  return traits;
85
85
  }
@@ -11,11 +11,11 @@ Object.defineProperty(exports, "eventCliSession", {
11
11
  const EVENT_VERSION = "NEXT_CLI_SESSION_STOPPED";
12
12
  function eventCliSession(event) {
13
13
  // This should be an invariant, if it fails our build tooling is broken.
14
- if (typeof "13.4.2-canary.6" !== "string") {
14
+ if (typeof "13.4.2" !== "string") {
15
15
  return [];
16
16
  }
17
17
  const payload = {
18
- nextVersion: "13.4.2-canary.6",
18
+ nextVersion: "13.4.2",
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 "13.4.2-canary.6" !== "string") {
38
+ if (typeof "13.4.2" !== "string") {
39
39
  return [];
40
40
  }
41
41
  const { images , i18n } = nextConfig || {};
42
42
  const payload = {
43
- nextVersion: "13.4.2-canary.6",
43
+ nextVersion: "13.4.2",
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": "13.4.2-canary.6",
3
+ "version": "13.4.2",
4
4
  "description": "The React Framework",
5
5
  "main": "./dist/server/next.js",
6
6
  "license": "MIT",
@@ -83,7 +83,7 @@
83
83
  ]
84
84
  },
85
85
  "dependencies": {
86
- "@next/env": "13.4.2-canary.6",
86
+ "@next/env": "13.4.2",
87
87
  "@swc/helpers": "0.5.1",
88
88
  "busboy": "1.6.0",
89
89
  "caniuse-lite": "^1.0.30001406",
@@ -143,11 +143,11 @@
143
143
  "@jest/types": "29.5.0",
144
144
  "@napi-rs/cli": "2.14.7",
145
145
  "@napi-rs/triples": "1.1.0",
146
- "@next/polyfill-module": "13.4.2-canary.6",
147
- "@next/polyfill-nomodule": "13.4.2-canary.6",
148
- "@next/react-dev-overlay": "13.4.2-canary.6",
149
- "@next/react-refresh-utils": "13.4.2-canary.6",
150
- "@next/swc": "13.4.2-canary.6",
146
+ "@next/polyfill-module": "13.4.2",
147
+ "@next/polyfill-nomodule": "13.4.2",
148
+ "@next/react-dev-overlay": "13.4.2",
149
+ "@next/react-refresh-utils": "13.4.2",
150
+ "@next/swc": "13.4.2",
151
151
  "@opentelemetry/api": "1.4.1",
152
152
  "@segment/ajv-human-errors": "2.1.2",
153
153
  "@taskr/clear": "1.1.0",
@@ -320,14 +320,14 @@
320
320
  "node": ">=16.8.0"
321
321
  },
322
322
  "optionalDependencies": {
323
- "@next/swc-darwin-arm64": "13.4.2-canary.6",
324
- "@next/swc-darwin-x64": "13.4.2-canary.6",
325
- "@next/swc-linux-arm64-gnu": "13.4.2-canary.6",
326
- "@next/swc-linux-arm64-musl": "13.4.2-canary.6",
327
- "@next/swc-linux-x64-gnu": "13.4.2-canary.6",
328
- "@next/swc-linux-x64-musl": "13.4.2-canary.6",
329
- "@next/swc-win32-arm64-msvc": "13.4.2-canary.6",
330
- "@next/swc-win32-ia32-msvc": "13.4.2-canary.6",
331
- "@next/swc-win32-x64-msvc": "13.4.2-canary.6"
323
+ "@next/swc-darwin-arm64": "13.4.2",
324
+ "@next/swc-darwin-x64": "13.4.2",
325
+ "@next/swc-linux-arm64-gnu": "13.4.2",
326
+ "@next/swc-linux-arm64-musl": "13.4.2",
327
+ "@next/swc-linux-x64-gnu": "13.4.2",
328
+ "@next/swc-linux-x64-musl": "13.4.2",
329
+ "@next/swc-win32-arm64-msvc": "13.4.2",
330
+ "@next/swc-win32-ia32-msvc": "13.4.2",
331
+ "@next/swc-win32-x64-msvc": "13.4.2"
332
332
  }
333
333
  }