next 13.5.2-canary.2 → 13.5.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 +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.2
|
|
71
|
+
console.log(`Next.js v${"13.5.2"}`);
|
|
72
72
|
process.exit(0);
|
|
73
73
|
}
|
|
74
74
|
// Check if we are running `next <subcommand>` or `next`
|
package/dist/build/index.js
CHANGED
|
@@ -175,7 +175,7 @@ async function build(dir, reactProductionProfiling = false, debugOutput = false,
|
|
|
175
175
|
let hasAppDir = false;
|
|
176
176
|
try {
|
|
177
177
|
const nextBuildSpan = (0, _trace.trace)("next-build", undefined, {
|
|
178
|
-
version: "13.5.2
|
|
178
|
+
version: "13.5.2"
|
|
179
179
|
});
|
|
180
180
|
_buildcontext.NextBuildContext.nextBuildSpan = nextBuildSpan;
|
|
181
181
|
_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.2
|
|
133
|
+
const nextVersion = "13.5.2";
|
|
134
134
|
const ArchName = (0, _os.arch)();
|
|
135
135
|
const PlatformName = (0, _os.platform)();
|
|
136
136
|
const infoLog = (...args)=>{
|
|
@@ -1981,7 +1981,7 @@ async function getBaseWebpackConfig(dir, { buildId, config, compilerType, dev =
|
|
|
1981
1981
|
new _wellknownerrorsplugin.WellKnownErrorsPlugin(),
|
|
1982
1982
|
isClient && new _copyfileplugin.CopyFilePlugin({
|
|
1983
1983
|
filePath: require.resolve("./polyfills/polyfill-nomodule"),
|
|
1984
|
-
cacheKey: "13.5.2
|
|
1984
|
+
cacheKey: "13.5.2",
|
|
1985
1985
|
name: `static/chunks/polyfills${dev ? "" : "-[hash]"}.js`,
|
|
1986
1986
|
minimize: false,
|
|
1987
1987
|
info: {
|
|
@@ -2206,7 +2206,7 @@ async function getBaseWebpackConfig(dir, { buildId, config, compilerType, dev =
|
|
|
2206
2206
|
// Includes:
|
|
2207
2207
|
// - Next.js version
|
|
2208
2208
|
// - next.config.js keys that affect compilation
|
|
2209
|
-
version: `${"13.5.2
|
|
2209
|
+
version: `${"13.5.2"}|${configVars}`,
|
|
2210
2210
|
cacheDirectory: _path.default.join(distDir, "cache", "webpack"),
|
|
2211
2211
|
// For production builds, it's more efficient to compress all cache files together instead of compression each one individually.
|
|
2212
2212
|
// 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.2
|
|
63
|
+
const version = "13.5.2";
|
|
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
|
@@ -109,7 +109,7 @@ export default async function build(dir, reactProductionProfiling = false, debug
|
|
|
109
109
|
let hasAppDir = false;
|
|
110
110
|
try {
|
|
111
111
|
const nextBuildSpan = trace("next-build", undefined, {
|
|
112
|
-
version: "13.5.2
|
|
112
|
+
version: "13.5.2"
|
|
113
113
|
});
|
|
114
114
|
NextBuildContext.nextBuildSpan = nextBuildSpan;
|
|
115
115
|
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.2
|
|
11
|
+
const nextVersion = "13.5.2";
|
|
12
12
|
const ArchName = arch();
|
|
13
13
|
const PlatformName = platform();
|
|
14
14
|
const infoLog = (...args)=>{
|
|
@@ -1884,7 +1884,7 @@ export default async function getBaseWebpackConfig(dir, { buildId, config, compi
|
|
|
1884
1884
|
new WellKnownErrorsPlugin(),
|
|
1885
1885
|
isClient && new CopyFilePlugin({
|
|
1886
1886
|
filePath: require.resolve("./polyfills/polyfill-nomodule"),
|
|
1887
|
-
cacheKey: "13.5.2
|
|
1887
|
+
cacheKey: "13.5.2",
|
|
1888
1888
|
name: `static/chunks/polyfills${dev ? "" : "-[hash]"}.js`,
|
|
1889
1889
|
minimize: false,
|
|
1890
1890
|
info: {
|
|
@@ -2109,7 +2109,7 @@ export default async function getBaseWebpackConfig(dir, { buildId, config, compi
|
|
|
2109
2109
|
// Includes:
|
|
2110
2110
|
// - Next.js version
|
|
2111
2111
|
// - next.config.js keys that affect compilation
|
|
2112
|
-
version: `${"13.5.2
|
|
2112
|
+
version: `${"13.5.2"}|${configVars}`,
|
|
2113
2113
|
cacheDirectory: path.join(distDir, "cache", "webpack"),
|
|
2114
2114
|
// For production builds, it's more efficient to compress all cache files together instead of compression each one individually.
|
|
2115
2115
|
// 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.2
|
|
28
|
+
export const version = "13.5.2";
|
|
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.2
|
|
148
|
+
version: "13.5.2"
|
|
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.2
|
|
34
|
+
Log.bootstrap(chalk.bold(chalk.hex("#ad7fa8")(`${`${Log.prefixes.ready} Next.js`} ${"13.5.2"}`)));
|
|
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.2
|
|
218
|
+
version: "13.5.2"
|
|
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.2
|
|
100
|
+
_log.bootstrap(_chalk.default.bold(_chalk.default.hex("#ad7fa8")(`${`${_log.prefixes.ready} Next.js`} ${"13.5.2"}`)));
|
|
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.2
|
|
14
|
+
if (typeof "13.5.2" !== "string") {
|
|
15
15
|
return [];
|
|
16
16
|
}
|
|
17
17
|
const payload = {
|
|
18
|
-
nextVersion: "13.5.2
|
|
18
|
+
nextVersion: "13.5.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.5.2
|
|
38
|
+
if (typeof "13.5.2" !== "string") {
|
|
39
39
|
return [];
|
|
40
40
|
}
|
|
41
41
|
const { images, i18n } = nextConfig || {};
|
|
42
42
|
const payload = {
|
|
43
|
-
nextVersion: "13.5.2
|
|
43
|
+
nextVersion: "13.5.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.5.2
|
|
3
|
+
"version": "13.5.2",
|
|
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.2
|
|
93
|
+
"@next/env": "13.5.2",
|
|
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.2
|
|
149
|
-
"@next/polyfill-nomodule": "13.5.2
|
|
150
|
-
"@next/react-dev-overlay": "13.5.2
|
|
151
|
-
"@next/react-refresh-utils": "13.5.2
|
|
152
|
-
"@next/swc": "13.5.2
|
|
148
|
+
"@next/polyfill-module": "13.5.2",
|
|
149
|
+
"@next/polyfill-nomodule": "13.5.2",
|
|
150
|
+
"@next/react-dev-overlay": "13.5.2",
|
|
151
|
+
"@next/react-refresh-utils": "13.5.2",
|
|
152
|
+
"@next/swc": "13.5.2",
|
|
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.2
|
|
325
|
-
"@next/swc-darwin-x64": "13.5.2
|
|
326
|
-
"@next/swc-linux-arm64-gnu": "13.5.2
|
|
327
|
-
"@next/swc-linux-arm64-musl": "13.5.2
|
|
328
|
-
"@next/swc-linux-x64-gnu": "13.5.2
|
|
329
|
-
"@next/swc-linux-x64-musl": "13.5.2
|
|
330
|
-
"@next/swc-win32-arm64-msvc": "13.5.2
|
|
331
|
-
"@next/swc-win32-ia32-msvc": "13.5.2
|
|
332
|
-
"@next/swc-win32-x64-msvc": "13.5.2
|
|
324
|
+
"@next/swc-darwin-arm64": "13.5.2",
|
|
325
|
+
"@next/swc-darwin-x64": "13.5.2",
|
|
326
|
+
"@next/swc-linux-arm64-gnu": "13.5.2",
|
|
327
|
+
"@next/swc-linux-arm64-musl": "13.5.2",
|
|
328
|
+
"@next/swc-linux-x64-gnu": "13.5.2",
|
|
329
|
+
"@next/swc-linux-x64-musl": "13.5.2",
|
|
330
|
+
"@next/swc-win32-arm64-msvc": "13.5.2",
|
|
331
|
+
"@next/swc-win32-ia32-msvc": "13.5.2",
|
|
332
|
+
"@next/swc-win32-x64-msvc": "13.5.2"
|
|
333
333
|
}
|
|
334
334
|
}
|