next 13.4.1-canary.2 → 13.4.1
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.js +1 -1
- package/dist/server/dev/hot-reloader.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
|
@@ -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.1
|
|
79
|
+
console.log(`Next.js v${"13.4.1"}`);
|
|
80
80
|
process.exit(0);
|
|
81
81
|
}
|
|
82
82
|
// Check if we are running `next <subcommand>` or `next`
|
package/dist/build/index.js
CHANGED
|
@@ -133,7 +133,7 @@ async function build(dir, reactProductionProfiling = false, debugOutput = false,
|
|
|
133
133
|
let hasAppDir = false;
|
|
134
134
|
try {
|
|
135
135
|
const nextBuildSpan = (0, _trace.trace)("next-build", undefined, {
|
|
136
|
-
version: "13.4.1
|
|
136
|
+
version: "13.4.1"
|
|
137
137
|
});
|
|
138
138
|
_buildcontext.NextBuildContext.nextBuildSpan = nextBuildSpan;
|
|
139
139
|
_buildcontext.NextBuildContext.dir = dir;
|
package/dist/build/swc/index.js
CHANGED
|
@@ -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.1
|
|
130
|
+
const nextVersion = "13.4.1";
|
|
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]) || [];
|
|
@@ -1722,7 +1722,7 @@ async function getBaseWebpackConfig(dir, { buildId , config , compilerType , dev
|
|
|
1722
1722
|
new _wellknownerrorsplugin.WellKnownErrorsPlugin(),
|
|
1723
1723
|
isClient && new _copyfileplugin.CopyFilePlugin({
|
|
1724
1724
|
filePath: require.resolve("./polyfills/polyfill-nomodule"),
|
|
1725
|
-
cacheKey: "13.4.1
|
|
1725
|
+
cacheKey: "13.4.1",
|
|
1726
1726
|
name: `static/chunks/polyfills${dev ? "" : "-[hash]"}.js`,
|
|
1727
1727
|
minimize: false,
|
|
1728
1728
|
info: {
|
|
@@ -1950,7 +1950,7 @@ async function getBaseWebpackConfig(dir, { buildId , config , compilerType , dev
|
|
|
1950
1950
|
// Includes:
|
|
1951
1951
|
// - Next.js version
|
|
1952
1952
|
// - next.config.js keys that affect compilation
|
|
1953
|
-
version: `${"13.4.1
|
|
1953
|
+
version: `${"13.4.1"}|${configVars}`,
|
|
1954
1954
|
cacheDirectory: _path.default.join(distDir, "cache", "webpack")
|
|
1955
1955
|
};
|
|
1956
1956
|
// Adds `next.config.js` as a buildDependency when custom webpack config is provided
|
package/dist/client/index.js
CHANGED
|
@@ -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.1
|
|
61
|
+
const version = "13.4.1";
|
|
62
62
|
let router;
|
|
63
63
|
const emitter = (0, _mitt.default)();
|
|
64
64
|
const looseToArray = (input)=>[].slice.call(input);
|
package/dist/esm/build/index.js
CHANGED
|
@@ -79,7 +79,7 @@ export default async function build(dir, reactProductionProfiling = false, debug
|
|
|
79
79
|
let hasAppDir = false;
|
|
80
80
|
try {
|
|
81
81
|
const nextBuildSpan = trace("next-build", undefined, {
|
|
82
|
-
version: "13.4.1
|
|
82
|
+
version: "13.4.1"
|
|
83
83
|
});
|
|
84
84
|
NextBuildContext.nextBuildSpan = nextBuildSpan;
|
|
85
85
|
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.1
|
|
12
|
+
const nextVersion = "13.4.1";
|
|
13
13
|
const ArchName = arch();
|
|
14
14
|
const PlatformName = platform();
|
|
15
15
|
const triples = ((_platformArchTriples_PlatformName = platformArchTriples[PlatformName]) == null ? void 0 : _platformArchTriples_PlatformName[ArchName]) || [];
|
|
@@ -1620,7 +1620,7 @@ export default async function getBaseWebpackConfig(dir, { buildId , config , com
|
|
|
1620
1620
|
new WellKnownErrorsPlugin(),
|
|
1621
1621
|
isClient && new CopyFilePlugin({
|
|
1622
1622
|
filePath: require.resolve("./polyfills/polyfill-nomodule"),
|
|
1623
|
-
cacheKey: "13.4.1
|
|
1623
|
+
cacheKey: "13.4.1",
|
|
1624
1624
|
name: `static/chunks/polyfills${dev ? "" : "-[hash]"}.js`,
|
|
1625
1625
|
minimize: false,
|
|
1626
1626
|
info: {
|
|
@@ -1848,7 +1848,7 @@ export default async function getBaseWebpackConfig(dir, { buildId , config , com
|
|
|
1848
1848
|
// Includes:
|
|
1849
1849
|
// - Next.js version
|
|
1850
1850
|
// - next.config.js keys that affect compilation
|
|
1851
|
-
version: `${"13.4.1
|
|
1851
|
+
version: `${"13.4.1"}|${configVars}`,
|
|
1852
1852
|
cacheDirectory: path.join(distDir, "cache", "webpack")
|
|
1853
1853
|
};
|
|
1854
1854
|
// Adds `next.config.js` as a buildDependency when custom webpack config is provided
|
package/dist/esm/client/index.js
CHANGED
|
@@ -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.1
|
|
26
|
+
export const version = "13.4.1";
|
|
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.1
|
|
138
|
+
version: "13.4.1"
|
|
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.1
|
|
204
|
+
version: "13.4.1"
|
|
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.
|
|
@@ -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.1
|
|
14
|
+
if (typeof "13.4.1" !== "string") {
|
|
15
15
|
return [];
|
|
16
16
|
}
|
|
17
17
|
const payload = {
|
|
18
|
-
nextVersion: "13.4.1
|
|
18
|
+
nextVersion: "13.4.1",
|
|
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.1
|
|
38
|
+
if (typeof "13.4.1" !== "string") {
|
|
39
39
|
return [];
|
|
40
40
|
}
|
|
41
41
|
const { images , i18n } = nextConfig || {};
|
|
42
42
|
const payload = {
|
|
43
|
-
nextVersion: "13.4.1
|
|
43
|
+
nextVersion: "13.4.1",
|
|
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.1
|
|
3
|
+
"version": "13.4.1",
|
|
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.1
|
|
86
|
+
"@next/env": "13.4.1",
|
|
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.1
|
|
147
|
-
"@next/polyfill-nomodule": "13.4.1
|
|
148
|
-
"@next/react-dev-overlay": "13.4.1
|
|
149
|
-
"@next/react-refresh-utils": "13.4.1
|
|
150
|
-
"@next/swc": "13.4.1
|
|
146
|
+
"@next/polyfill-module": "13.4.1",
|
|
147
|
+
"@next/polyfill-nomodule": "13.4.1",
|
|
148
|
+
"@next/react-dev-overlay": "13.4.1",
|
|
149
|
+
"@next/react-refresh-utils": "13.4.1",
|
|
150
|
+
"@next/swc": "13.4.1",
|
|
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.1
|
|
324
|
-
"@next/swc-darwin-x64": "13.4.1
|
|
325
|
-
"@next/swc-linux-arm64-gnu": "13.4.1
|
|
326
|
-
"@next/swc-linux-arm64-musl": "13.4.1
|
|
327
|
-
"@next/swc-linux-x64-gnu": "13.4.1
|
|
328
|
-
"@next/swc-linux-x64-musl": "13.4.1
|
|
329
|
-
"@next/swc-win32-arm64-msvc": "13.4.1
|
|
330
|
-
"@next/swc-win32-ia32-msvc": "13.4.1
|
|
331
|
-
"@next/swc-win32-x64-msvc": "13.4.1
|
|
323
|
+
"@next/swc-darwin-arm64": "13.4.1",
|
|
324
|
+
"@next/swc-darwin-x64": "13.4.1",
|
|
325
|
+
"@next/swc-linux-arm64-gnu": "13.4.1",
|
|
326
|
+
"@next/swc-linux-arm64-musl": "13.4.1",
|
|
327
|
+
"@next/swc-linux-x64-gnu": "13.4.1",
|
|
328
|
+
"@next/swc-linux-x64-musl": "13.4.1",
|
|
329
|
+
"@next/swc-win32-arm64-msvc": "13.4.1",
|
|
330
|
+
"@next/swc-win32-ia32-msvc": "13.4.1",
|
|
331
|
+
"@next/swc-win32-x64-msvc": "13.4.1"
|
|
332
332
|
}
|
|
333
333
|
}
|