next 13.5.3-canary.4 → 13.5.3
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 +1 -1
- package/dist/build/index.js +1 -1
- package/dist/build/swc/index.js +1 -1
- package/dist/build/webpack-config.js +2 -2
- package/dist/client/app-bootstrap.js +1 -1
- package/dist/client/index.js +1 -1
- package/dist/esm/build/index.js +1 -1
- package/dist/esm/build/swc/index.js +1 -1
- package/dist/esm/build/webpack-config.js +2 -2
- package/dist/esm/client/app-bootstrap.js +1 -1
- package/dist/esm/client/index.js +1 -1
- package/dist/esm/server/dev/hot-reloader-webpack.js +1 -1
- package/dist/esm/server/lib/start-server.js +1 -1
- package/dist/server/dev/hot-reloader-webpack.js +1 -1
- package/dist/server/lib/start-server.js +1 -1
- package/dist/telemetry/anonymous-meta.js +1 -1
- package/dist/telemetry/events/session-stopped.js +2 -2
- package/dist/telemetry/events/version.js +2 -2
- package/package.json +16 -16
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${"13.5.3
|
|
71
|
+
console.log(`Next.js v${"13.5.3"}`);
|
|
72
72
|
process.exit(0);
|
|
73
73
|
}
|
|
74
74
|
// Check if we are running `next <subcommand>` or `next`
|
package/dist/build/index.js
CHANGED
|
@@ -174,7 +174,7 @@ async function build(dir, reactProductionProfiling = false, debugOutput = false,
|
|
|
174
174
|
let hasAppDir = false;
|
|
175
175
|
try {
|
|
176
176
|
const nextBuildSpan = (0, _trace.trace)("next-build", undefined, {
|
|
177
|
-
version: "13.5.3
|
|
177
|
+
version: "13.5.3"
|
|
178
178
|
});
|
|
179
179
|
_buildcontext.NextBuildContext.nextBuildSpan = nextBuildSpan;
|
|
180
180
|
_buildcontext.NextBuildContext.dir = dir;
|
package/dist/build/swc/index.js
CHANGED
|
@@ -130,7 +130,7 @@ function _interop_require_wildcard(obj, nodeInterop) {
|
|
|
130
130
|
}
|
|
131
131
|
return newObj;
|
|
132
132
|
}
|
|
133
|
-
const nextVersion = "13.5.3
|
|
133
|
+
const nextVersion = "13.5.3";
|
|
134
134
|
const ArchName = (0, _os.arch)();
|
|
135
135
|
const PlatformName = (0, _os.platform)();
|
|
136
136
|
const infoLog = (...args)=>{
|
|
@@ -1890,7 +1890,7 @@ async function getBaseWebpackConfig(dir, { buildId, config, compilerType, dev =
|
|
|
1890
1890
|
new _wellknownerrorsplugin.WellKnownErrorsPlugin(),
|
|
1891
1891
|
isClient && new _copyfileplugin.CopyFilePlugin({
|
|
1892
1892
|
filePath: require.resolve("./polyfills/polyfill-nomodule"),
|
|
1893
|
-
cacheKey: "13.5.3
|
|
1893
|
+
cacheKey: "13.5.3",
|
|
1894
1894
|
name: `static/chunks/polyfills${dev ? "" : "-[hash]"}.js`,
|
|
1895
1895
|
minimize: false,
|
|
1896
1896
|
info: {
|
|
@@ -2115,7 +2115,7 @@ async function getBaseWebpackConfig(dir, { buildId, config, compilerType, dev =
|
|
|
2115
2115
|
// Includes:
|
|
2116
2116
|
// - Next.js version
|
|
2117
2117
|
// - next.config.js keys that affect compilation
|
|
2118
|
-
version: `${"13.5.3
|
|
2118
|
+
version: `${"13.5.3"}|${configVars}`,
|
|
2119
2119
|
cacheDirectory: _path.default.join(distDir, "cache", "webpack"),
|
|
2120
2120
|
// For production builds, it's more efficient to compress all cache files together instead of compression each one individually.
|
|
2121
2121
|
// So we disable compression here and allow the build runner to take care of compressing the cache as a whole.
|
package/dist/client/index.js
CHANGED
|
@@ -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 = "13.5.3
|
|
63
|
+
const version = "13.5.3";
|
|
64
64
|
let router;
|
|
65
65
|
const emitter = (0, _mitt.default)();
|
|
66
66
|
const looseToArray = (input)=>[].slice.call(input);
|
package/dist/esm/build/index.js
CHANGED
|
@@ -108,7 +108,7 @@ export default async function build(dir, reactProductionProfiling = false, debug
|
|
|
108
108
|
let hasAppDir = false;
|
|
109
109
|
try {
|
|
110
110
|
const nextBuildSpan = trace("next-build", undefined, {
|
|
111
|
-
version: "13.5.3
|
|
111
|
+
version: "13.5.3"
|
|
112
112
|
});
|
|
113
113
|
NextBuildContext.nextBuildSpan = nextBuildSpan;
|
|
114
114
|
NextBuildContext.dir = dir;
|
|
@@ -8,7 +8,7 @@ import { eventSwcLoadFailure } from "../../telemetry/events/swc-load-failure";
|
|
|
8
8
|
import { patchIncorrectLockfile } from "../../lib/patch-incorrect-lockfile";
|
|
9
9
|
import { downloadWasmSwc, downloadNativeNextSwc } from "../../lib/download-swc";
|
|
10
10
|
import { isDeepStrictEqual } from "util";
|
|
11
|
-
const nextVersion = "13.5.3
|
|
11
|
+
const nextVersion = "13.5.3";
|
|
12
12
|
const ArchName = arch();
|
|
13
13
|
const PlatformName = platform();
|
|
14
14
|
const infoLog = (...args)=>{
|
|
@@ -1793,7 +1793,7 @@ export default async function getBaseWebpackConfig(dir, { buildId, config, compi
|
|
|
1793
1793
|
new WellKnownErrorsPlugin(),
|
|
1794
1794
|
isClient && new CopyFilePlugin({
|
|
1795
1795
|
filePath: require.resolve("./polyfills/polyfill-nomodule"),
|
|
1796
|
-
cacheKey: "13.5.3
|
|
1796
|
+
cacheKey: "13.5.3",
|
|
1797
1797
|
name: `static/chunks/polyfills${dev ? "" : "-[hash]"}.js`,
|
|
1798
1798
|
minimize: false,
|
|
1799
1799
|
info: {
|
|
@@ -2018,7 +2018,7 @@ export default async function getBaseWebpackConfig(dir, { buildId, config, compi
|
|
|
2018
2018
|
// Includes:
|
|
2019
2019
|
// - Next.js version
|
|
2020
2020
|
// - next.config.js keys that affect compilation
|
|
2021
|
-
version: `${"13.5.3
|
|
2021
|
+
version: `${"13.5.3"}|${configVars}`,
|
|
2022
2022
|
cacheDirectory: path.join(distDir, "cache", "webpack"),
|
|
2023
2023
|
// For production builds, it's more efficient to compress all cache files together instead of compression each one individually.
|
|
2024
2024
|
// So we disable compression here and allow the build runner to take care of compressing the cache as a whole.
|
package/dist/esm/client/index.js
CHANGED
|
@@ -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 = "13.5.3
|
|
28
|
+
export const version = "13.5.3";
|
|
29
29
|
export let router;
|
|
30
30
|
export const emitter = mitt();
|
|
31
31
|
const looseToArray = (input)=>[].slice.call(input);
|
|
@@ -145,7 +145,7 @@ export default class HotReloader {
|
|
|
145
145
|
this.previewProps = previewProps;
|
|
146
146
|
this.rewrites = rewrites;
|
|
147
147
|
this.hotReloaderSpan = trace("hot-reloader", undefined, {
|
|
148
|
-
version: "13.5.3
|
|
148
|
+
version: "13.5.3"
|
|
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.
|
|
@@ -31,7 +31,7 @@ export async function getRequestHandlers({ dir, port, isDev, server, hostname, m
|
|
|
31
31
|
});
|
|
32
32
|
}
|
|
33
33
|
function logStartInfo({ networkUrl, appUrl, hostname, envInfo, expFeatureInfo, formatDurationText }) {
|
|
34
|
-
Log.bootstrap(chalk.bold(chalk.hex("#ad7fa8")(`${`${Log.prefixes.ready} Next.js`} ${"13.5.3
|
|
34
|
+
Log.bootstrap(chalk.bold(chalk.hex("#ad7fa8")(`${`${Log.prefixes.ready} Next.js`} ${"13.5.3"}`)));
|
|
35
35
|
Log.bootstrap(`- Local: ${appUrl}`);
|
|
36
36
|
if (hostname) {
|
|
37
37
|
Log.bootstrap(`- Network: ${networkUrl}`);
|
|
@@ -215,7 +215,7 @@ class HotReloader {
|
|
|
215
215
|
this.previewProps = previewProps;
|
|
216
216
|
this.rewrites = rewrites;
|
|
217
217
|
this.hotReloaderSpan = (0, _trace.trace)("hot-reloader", undefined, {
|
|
218
|
-
version: "13.5.3
|
|
218
|
+
version: "13.5.3"
|
|
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.
|
|
@@ -97,7 +97,7 @@ async function getRequestHandlers({ dir, port, isDev, server, hostname, minimalM
|
|
|
97
97
|
});
|
|
98
98
|
}
|
|
99
99
|
function logStartInfo({ networkUrl, appUrl, hostname, envInfo, expFeatureInfo, formatDurationText }) {
|
|
100
|
-
_log.bootstrap(_chalk.default.bold(_chalk.default.hex("#ad7fa8")(`${`${_log.prefixes.ready} Next.js`} ${"13.5.3
|
|
100
|
+
_log.bootstrap(_chalk.default.bold(_chalk.default.hex("#ad7fa8")(`${`${_log.prefixes.ready} Next.js`} ${"13.5.3"}`)));
|
|
101
101
|
_log.bootstrap(`- Local: ${appUrl}`);
|
|
102
102
|
if (hostname) {
|
|
103
103
|
_log.bootstrap(`- Network: ${networkUrl}`);
|
|
@@ -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 "13.5.3
|
|
14
|
+
if (typeof "13.5.3" !== "string") {
|
|
15
15
|
return [];
|
|
16
16
|
}
|
|
17
17
|
const payload = {
|
|
18
|
-
nextVersion: "13.5.3
|
|
18
|
+
nextVersion: "13.5.3",
|
|
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.5.3
|
|
38
|
+
if (typeof "13.5.3" !== "string") {
|
|
39
39
|
return [];
|
|
40
40
|
}
|
|
41
41
|
const { images, i18n } = nextConfig || {};
|
|
42
42
|
const payload = {
|
|
43
|
-
nextVersion: "13.5.3
|
|
43
|
+
nextVersion: "13.5.3",
|
|
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.5.3
|
|
3
|
+
"version": "13.5.3",
|
|
4
4
|
"description": "The React Framework",
|
|
5
5
|
"main": "./dist/server/next.js",
|
|
6
6
|
"license": "MIT",
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
]
|
|
91
91
|
},
|
|
92
92
|
"dependencies": {
|
|
93
|
-
"@next/env": "13.5.3
|
|
93
|
+
"@next/env": "13.5.3",
|
|
94
94
|
"@swc/helpers": "0.5.2",
|
|
95
95
|
"busboy": "1.6.0",
|
|
96
96
|
"caniuse-lite": "^1.0.30001406",
|
|
@@ -145,11 +145,11 @@
|
|
|
145
145
|
"@mswjs/interceptors": "0.23.0",
|
|
146
146
|
"@napi-rs/cli": "2.16.2",
|
|
147
147
|
"@napi-rs/triples": "1.1.0",
|
|
148
|
-
"@next/polyfill-module": "13.5.3
|
|
149
|
-
"@next/polyfill-nomodule": "13.5.3
|
|
150
|
-
"@next/react-dev-overlay": "13.5.3
|
|
151
|
-
"@next/react-refresh-utils": "13.5.3
|
|
152
|
-
"@next/swc": "13.5.3
|
|
148
|
+
"@next/polyfill-module": "13.5.3",
|
|
149
|
+
"@next/polyfill-nomodule": "13.5.3",
|
|
150
|
+
"@next/react-dev-overlay": "13.5.3",
|
|
151
|
+
"@next/react-refresh-utils": "13.5.3",
|
|
152
|
+
"@next/swc": "13.5.3",
|
|
153
153
|
"@opentelemetry/api": "1.4.1",
|
|
154
154
|
"@playwright/test": "^1.35.1",
|
|
155
155
|
"@segment/ajv-human-errors": "2.1.2",
|
|
@@ -321,14 +321,14 @@
|
|
|
321
321
|
"node": ">=16.14.0"
|
|
322
322
|
},
|
|
323
323
|
"optionalDependencies": {
|
|
324
|
-
"@next/swc-darwin-arm64": "13.5.3
|
|
325
|
-
"@next/swc-darwin-x64": "13.5.3
|
|
326
|
-
"@next/swc-linux-arm64-gnu": "13.5.3
|
|
327
|
-
"@next/swc-linux-arm64-musl": "13.5.3
|
|
328
|
-
"@next/swc-linux-x64-gnu": "13.5.3
|
|
329
|
-
"@next/swc-linux-x64-musl": "13.5.3
|
|
330
|
-
"@next/swc-win32-arm64-msvc": "13.5.3
|
|
331
|
-
"@next/swc-win32-ia32-msvc": "13.5.3
|
|
332
|
-
"@next/swc-win32-x64-msvc": "13.5.3
|
|
324
|
+
"@next/swc-darwin-arm64": "13.5.3",
|
|
325
|
+
"@next/swc-darwin-x64": "13.5.3",
|
|
326
|
+
"@next/swc-linux-arm64-gnu": "13.5.3",
|
|
327
|
+
"@next/swc-linux-arm64-musl": "13.5.3",
|
|
328
|
+
"@next/swc-linux-x64-gnu": "13.5.3",
|
|
329
|
+
"@next/swc-linux-x64-musl": "13.5.3",
|
|
330
|
+
"@next/swc-win32-arm64-msvc": "13.5.3",
|
|
331
|
+
"@next/swc-win32-ia32-msvc": "13.5.3",
|
|
332
|
+
"@next/swc-win32-x64-msvc": "13.5.3"
|
|
333
333
|
}
|
|
334
334
|
}
|