next 13.4.7-canary.4 → 13.4.7
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.7
|
|
79
|
+
console.log(`Next.js v${"13.4.7"}`);
|
|
80
80
|
process.exit(0);
|
|
81
81
|
}
|
|
82
82
|
// Check if we are running `next <subcommand>` or `next`
|
package/dist/build/index.js
CHANGED
|
@@ -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.7
|
|
138
|
+
version: "13.4.7"
|
|
139
139
|
});
|
|
140
140
|
_buildcontext.NextBuildContext.nextBuildSpan = nextBuildSpan;
|
|
141
141
|
_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.7
|
|
130
|
+
const nextVersion = "13.4.7";
|
|
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]) || [];
|
|
@@ -1803,7 +1803,7 @@ async function getBaseWebpackConfig(dir, { buildId , config , compilerType , dev
|
|
|
1803
1803
|
new _wellknownerrorsplugin.WellKnownErrorsPlugin(),
|
|
1804
1804
|
isClient && new _copyfileplugin.CopyFilePlugin({
|
|
1805
1805
|
filePath: require.resolve("./polyfills/polyfill-nomodule"),
|
|
1806
|
-
cacheKey: "13.4.7
|
|
1806
|
+
cacheKey: "13.4.7",
|
|
1807
1807
|
name: `static/chunks/polyfills${dev ? "" : "-[hash]"}.js`,
|
|
1808
1808
|
minimize: false,
|
|
1809
1809
|
info: {
|
|
@@ -2033,7 +2033,7 @@ async function getBaseWebpackConfig(dir, { buildId , config , compilerType , dev
|
|
|
2033
2033
|
// Includes:
|
|
2034
2034
|
// - Next.js version
|
|
2035
2035
|
// - next.config.js keys that affect compilation
|
|
2036
|
-
version: `${"13.4.7
|
|
2036
|
+
version: `${"13.4.7"}|${configVars}`,
|
|
2037
2037
|
cacheDirectory: _path.default.join(distDir, "cache", "webpack")
|
|
2038
2038
|
};
|
|
2039
2039
|
// Adds `next.config.js` as a buildDependency when custom webpack config is provided
|
package/dist/client/index.js
CHANGED
|
@@ -73,7 +73,7 @@ __webpack_require__.k = addChunkSuffix(getChunkCssFilename);
|
|
|
73
73
|
const getMiniCssFilename = __webpack_require__.miniCssF;
|
|
74
74
|
// eslint-disable-next-line no-undef
|
|
75
75
|
__webpack_require__.miniCssF = addChunkSuffix(getMiniCssFilename);
|
|
76
|
-
const version = "13.4.7
|
|
76
|
+
const version = "13.4.7";
|
|
77
77
|
let router;
|
|
78
78
|
const emitter = (0, _mitt.default)();
|
|
79
79
|
const looseToArray = (input)=>[].slice.call(input);
|
package/dist/esm/build/index.js
CHANGED
|
@@ -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.7
|
|
84
|
+
version: "13.4.7"
|
|
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.7
|
|
12
|
+
const nextVersion = "13.4.7";
|
|
13
13
|
const ArchName = arch();
|
|
14
14
|
const PlatformName = platform();
|
|
15
15
|
const triples = ((_platformArchTriples_PlatformName = platformArchTriples[PlatformName]) == null ? void 0 : _platformArchTriples_PlatformName[ArchName]) || [];
|
|
@@ -1701,7 +1701,7 @@ export default async function getBaseWebpackConfig(dir, { buildId , config , com
|
|
|
1701
1701
|
new WellKnownErrorsPlugin(),
|
|
1702
1702
|
isClient && new CopyFilePlugin({
|
|
1703
1703
|
filePath: require.resolve("./polyfills/polyfill-nomodule"),
|
|
1704
|
-
cacheKey: "13.4.7
|
|
1704
|
+
cacheKey: "13.4.7",
|
|
1705
1705
|
name: `static/chunks/polyfills${dev ? "" : "-[hash]"}.js`,
|
|
1706
1706
|
minimize: false,
|
|
1707
1707
|
info: {
|
|
@@ -1931,7 +1931,7 @@ export default async function getBaseWebpackConfig(dir, { buildId , config , com
|
|
|
1931
1931
|
// Includes:
|
|
1932
1932
|
// - Next.js version
|
|
1933
1933
|
// - next.config.js keys that affect compilation
|
|
1934
|
-
version: `${"13.4.7
|
|
1934
|
+
version: `${"13.4.7"}|${configVars}`,
|
|
1935
1935
|
cacheDirectory: path.join(distDir, "cache", "webpack")
|
|
1936
1936
|
};
|
|
1937
1937
|
// Adds `next.config.js` as a buildDependency when custom webpack config is provided
|
package/dist/esm/client/index.js
CHANGED
|
@@ -38,7 +38,7 @@ __webpack_require__.k = addChunkSuffix(getChunkCssFilename);
|
|
|
38
38
|
const getMiniCssFilename = __webpack_require__.miniCssF;
|
|
39
39
|
// eslint-disable-next-line no-undef
|
|
40
40
|
__webpack_require__.miniCssF = addChunkSuffix(getMiniCssFilename);
|
|
41
|
-
export const version = "13.4.7
|
|
41
|
+
export const version = "13.4.7";
|
|
42
42
|
export let router;
|
|
43
43
|
export const emitter = mitt();
|
|
44
44
|
const looseToArray = (input)=>[].slice.call(input);
|
|
@@ -141,7 +141,7 @@ export default class HotReloader {
|
|
|
141
141
|
this.previewProps = previewProps;
|
|
142
142
|
this.rewrites = rewrites;
|
|
143
143
|
this.hotReloaderSpan = trace("hot-reloader", undefined, {
|
|
144
|
-
version: "13.4.7
|
|
144
|
+
version: "13.4.7"
|
|
145
145
|
});
|
|
146
146
|
// Ensure the hotReloaderSpan is flushed immediately as it's the parentSpan for all processing
|
|
147
147
|
// of the current `next dev` invocation.
|
|
@@ -207,7 +207,7 @@ class HotReloader {
|
|
|
207
207
|
this.previewProps = previewProps;
|
|
208
208
|
this.rewrites = rewrites;
|
|
209
209
|
this.hotReloaderSpan = (0, _trace.trace)("hot-reloader", undefined, {
|
|
210
|
-
version: "13.4.7
|
|
210
|
+
version: "13.4.7"
|
|
211
211
|
});
|
|
212
212
|
// Ensure the hotReloaderSpan is flushed immediately as it's the parentSpan for all processing
|
|
213
213
|
// 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.7
|
|
14
|
+
if (typeof "13.4.7" !== "string") {
|
|
15
15
|
return [];
|
|
16
16
|
}
|
|
17
17
|
const payload = {
|
|
18
|
-
nextVersion: "13.4.7
|
|
18
|
+
nextVersion: "13.4.7",
|
|
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.7
|
|
38
|
+
if (typeof "13.4.7" !== "string") {
|
|
39
39
|
return [];
|
|
40
40
|
}
|
|
41
41
|
const { images , i18n } = nextConfig || {};
|
|
42
42
|
const payload = {
|
|
43
|
-
nextVersion: "13.4.7
|
|
43
|
+
nextVersion: "13.4.7",
|
|
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.7
|
|
3
|
+
"version": "13.4.7",
|
|
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.7
|
|
86
|
+
"@next/env": "13.4.7",
|
|
87
87
|
"@swc/helpers": "0.5.1",
|
|
88
88
|
"busboy": "1.6.0",
|
|
89
89
|
"caniuse-lite": "^1.0.30001406",
|
|
@@ -141,11 +141,11 @@
|
|
|
141
141
|
"@jest/types": "29.5.0",
|
|
142
142
|
"@napi-rs/cli": "2.14.7",
|
|
143
143
|
"@napi-rs/triples": "1.1.0",
|
|
144
|
-
"@next/polyfill-module": "13.4.7
|
|
145
|
-
"@next/polyfill-nomodule": "13.4.7
|
|
146
|
-
"@next/react-dev-overlay": "13.4.7
|
|
147
|
-
"@next/react-refresh-utils": "13.4.7
|
|
148
|
-
"@next/swc": "13.4.7
|
|
144
|
+
"@next/polyfill-module": "13.4.7",
|
|
145
|
+
"@next/polyfill-nomodule": "13.4.7",
|
|
146
|
+
"@next/react-dev-overlay": "13.4.7",
|
|
147
|
+
"@next/react-refresh-utils": "13.4.7",
|
|
148
|
+
"@next/swc": "13.4.7",
|
|
149
149
|
"@opentelemetry/api": "1.4.1",
|
|
150
150
|
"@segment/ajv-human-errors": "2.1.2",
|
|
151
151
|
"@taskr/clear": "1.1.0",
|
|
@@ -318,14 +318,14 @@
|
|
|
318
318
|
"node": ">=16.8.0"
|
|
319
319
|
},
|
|
320
320
|
"optionalDependencies": {
|
|
321
|
-
"@next/swc-darwin-arm64": "13.4.7
|
|
322
|
-
"@next/swc-darwin-x64": "13.4.7
|
|
323
|
-
"@next/swc-linux-arm64-gnu": "13.4.7
|
|
324
|
-
"@next/swc-linux-arm64-musl": "13.4.7
|
|
325
|
-
"@next/swc-linux-x64-gnu": "13.4.7
|
|
326
|
-
"@next/swc-linux-x64-musl": "13.4.7
|
|
327
|
-
"@next/swc-win32-arm64-msvc": "13.4.7
|
|
328
|
-
"@next/swc-win32-ia32-msvc": "13.4.7
|
|
329
|
-
"@next/swc-win32-x64-msvc": "13.4.7
|
|
321
|
+
"@next/swc-darwin-arm64": "13.4.7",
|
|
322
|
+
"@next/swc-darwin-x64": "13.4.7",
|
|
323
|
+
"@next/swc-linux-arm64-gnu": "13.4.7",
|
|
324
|
+
"@next/swc-linux-arm64-musl": "13.4.7",
|
|
325
|
+
"@next/swc-linux-x64-gnu": "13.4.7",
|
|
326
|
+
"@next/swc-linux-x64-musl": "13.4.7",
|
|
327
|
+
"@next/swc-win32-arm64-msvc": "13.4.7",
|
|
328
|
+
"@next/swc-win32-ia32-msvc": "13.4.7",
|
|
329
|
+
"@next/swc-win32-x64-msvc": "13.4.7"
|
|
330
330
|
}
|
|
331
331
|
}
|