next 13.4.16-canary.1 → 13.4.16
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/compiled/minimal-next-server/next-server.js.cache +0 -0
- 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.16
|
|
79
|
+
console.log(`Next.js v${"13.4.16"}`);
|
|
80
80
|
process.exit(0);
|
|
81
81
|
}
|
|
82
82
|
// Check if we are running `next <subcommand>` or `next`
|
package/dist/build/index.js
CHANGED
|
@@ -138,7 +138,7 @@ async function build(dir, reactProductionProfiling = false, debugOutput = false,
|
|
|
138
138
|
let hasAppDir = false;
|
|
139
139
|
try {
|
|
140
140
|
const nextBuildSpan = (0, _trace.trace)("next-build", undefined, {
|
|
141
|
-
version: "13.4.16
|
|
141
|
+
version: "13.4.16"
|
|
142
142
|
});
|
|
143
143
|
_buildcontext.NextBuildContext.nextBuildSpan = nextBuildSpan;
|
|
144
144
|
_buildcontext.NextBuildContext.dir = dir;
|
package/dist/build/swc/index.js
CHANGED
|
@@ -131,7 +131,7 @@ function _interop_require_wildcard(obj, nodeInterop) {
|
|
|
131
131
|
}
|
|
132
132
|
return newObj;
|
|
133
133
|
}
|
|
134
|
-
const nextVersion = "13.4.16
|
|
134
|
+
const nextVersion = "13.4.16";
|
|
135
135
|
const ArchName = (0, _os.arch)();
|
|
136
136
|
const PlatformName = (0, _os.platform)();
|
|
137
137
|
const infoLog = (...args)=>{
|
|
@@ -1842,7 +1842,7 @@ async function getBaseWebpackConfig(dir, { buildId , config , compilerType , dev
|
|
|
1842
1842
|
new _wellknownerrorsplugin.WellKnownErrorsPlugin(),
|
|
1843
1843
|
isClient && new _copyfileplugin.CopyFilePlugin({
|
|
1844
1844
|
filePath: require.resolve("./polyfills/polyfill-nomodule"),
|
|
1845
|
-
cacheKey: "13.4.16
|
|
1845
|
+
cacheKey: "13.4.16",
|
|
1846
1846
|
name: `static/chunks/polyfills${dev ? "" : "-[hash]"}.js`,
|
|
1847
1847
|
minimize: false,
|
|
1848
1848
|
info: {
|
|
@@ -2068,7 +2068,7 @@ async function getBaseWebpackConfig(dir, { buildId , config , compilerType , dev
|
|
|
2068
2068
|
// Includes:
|
|
2069
2069
|
// - Next.js version
|
|
2070
2070
|
// - next.config.js keys that affect compilation
|
|
2071
|
-
version: `${"13.4.16
|
|
2071
|
+
version: `${"13.4.16"}|${configVars}`,
|
|
2072
2072
|
cacheDirectory: _path.default.join(distDir, "cache", "webpack"),
|
|
2073
2073
|
// For production builds, it's more efficient to compress all cache files together instead of compression each one individually.
|
|
2074
2074
|
// 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
|
@@ -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.16
|
|
61
|
+
const version = "13.4.16";
|
|
62
62
|
let router;
|
|
63
63
|
const emitter = (0, _mitt.default)();
|
|
64
64
|
const looseToArray = (input)=>[].slice.call(input);
|
|
Binary file
|
package/dist/esm/build/index.js
CHANGED
|
@@ -84,7 +84,7 @@ export default async function build(dir, reactProductionProfiling = false, debug
|
|
|
84
84
|
let hasAppDir = false;
|
|
85
85
|
try {
|
|
86
86
|
const nextBuildSpan = trace("next-build", undefined, {
|
|
87
|
-
version: "13.4.16
|
|
87
|
+
version: "13.4.16"
|
|
88
88
|
});
|
|
89
89
|
NextBuildContext.nextBuildSpan = nextBuildSpan;
|
|
90
90
|
NextBuildContext.dir = dir;
|
|
@@ -9,7 +9,7 @@ import { patchIncorrectLockfile } from "../../lib/patch-incorrect-lockfile";
|
|
|
9
9
|
import { downloadWasmSwc, downloadNativeNextSwc } from "../../lib/download-swc";
|
|
10
10
|
import { spawn } from "child_process";
|
|
11
11
|
import { isDeepStrictEqual } from "util";
|
|
12
|
-
const nextVersion = "13.4.16
|
|
12
|
+
const nextVersion = "13.4.16";
|
|
13
13
|
const ArchName = arch();
|
|
14
14
|
const PlatformName = platform();
|
|
15
15
|
const infoLog = (...args)=>{
|
|
@@ -1740,7 +1740,7 @@ export default async function getBaseWebpackConfig(dir, { buildId , config , com
|
|
|
1740
1740
|
new WellKnownErrorsPlugin(),
|
|
1741
1741
|
isClient && new CopyFilePlugin({
|
|
1742
1742
|
filePath: require.resolve("./polyfills/polyfill-nomodule"),
|
|
1743
|
-
cacheKey: "13.4.16
|
|
1743
|
+
cacheKey: "13.4.16",
|
|
1744
1744
|
name: `static/chunks/polyfills${dev ? "" : "-[hash]"}.js`,
|
|
1745
1745
|
minimize: false,
|
|
1746
1746
|
info: {
|
|
@@ -1966,7 +1966,7 @@ export default async function getBaseWebpackConfig(dir, { buildId , config , com
|
|
|
1966
1966
|
// Includes:
|
|
1967
1967
|
// - Next.js version
|
|
1968
1968
|
// - next.config.js keys that affect compilation
|
|
1969
|
-
version: `${"13.4.16
|
|
1969
|
+
version: `${"13.4.16"}|${configVars}`,
|
|
1970
1970
|
cacheDirectory: path.join(distDir, "cache", "webpack"),
|
|
1971
1971
|
// For production builds, it's more efficient to compress all cache files together instead of compression each one individually.
|
|
1972
1972
|
// 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
|
@@ -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.16
|
|
26
|
+
export const version = "13.4.16";
|
|
27
27
|
export let router;
|
|
28
28
|
export const emitter = mitt();
|
|
29
29
|
const looseToArray = (input)=>[].slice.call(input);
|
|
@@ -144,7 +144,7 @@ export default class HotReloader {
|
|
|
144
144
|
this.previewProps = previewProps;
|
|
145
145
|
this.rewrites = rewrites;
|
|
146
146
|
this.hotReloaderSpan = trace("hot-reloader", undefined, {
|
|
147
|
-
version: "13.4.16
|
|
147
|
+
version: "13.4.16"
|
|
148
148
|
});
|
|
149
149
|
// Ensure the hotReloaderSpan is flushed immediately as it's the parentSpan for all processing
|
|
150
150
|
// of the current `next dev` invocation.
|
|
@@ -214,7 +214,7 @@ class HotReloader {
|
|
|
214
214
|
this.previewProps = previewProps;
|
|
215
215
|
this.rewrites = rewrites;
|
|
216
216
|
this.hotReloaderSpan = (0, _trace.trace)("hot-reloader", undefined, {
|
|
217
|
-
version: "13.4.16
|
|
217
|
+
version: "13.4.16"
|
|
218
218
|
});
|
|
219
219
|
// Ensure the hotReloaderSpan is flushed immediately as it's the parentSpan for all processing
|
|
220
220
|
// of the current `next dev` invocation.
|
|
@@ -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.4.16
|
|
14
|
+
if (typeof "13.4.16" !== "string") {
|
|
15
15
|
return [];
|
|
16
16
|
}
|
|
17
17
|
const payload = {
|
|
18
|
-
nextVersion: "13.4.16
|
|
18
|
+
nextVersion: "13.4.16",
|
|
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.16
|
|
38
|
+
if (typeof "13.4.16" !== "string") {
|
|
39
39
|
return [];
|
|
40
40
|
}
|
|
41
41
|
const { images , i18n } = nextConfig || {};
|
|
42
42
|
const payload = {
|
|
43
|
-
nextVersion: "13.4.16
|
|
43
|
+
nextVersion: "13.4.16",
|
|
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.16
|
|
3
|
+
"version": "13.4.16",
|
|
4
4
|
"description": "The React Framework",
|
|
5
5
|
"main": "./dist/server/next.js",
|
|
6
6
|
"license": "MIT",
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
]
|
|
90
90
|
},
|
|
91
91
|
"dependencies": {
|
|
92
|
-
"@next/env": "13.4.16
|
|
92
|
+
"@next/env": "13.4.16",
|
|
93
93
|
"@swc/helpers": "0.5.1",
|
|
94
94
|
"busboy": "1.6.0",
|
|
95
95
|
"caniuse-lite": "^1.0.30001406",
|
|
@@ -143,11 +143,11 @@
|
|
|
143
143
|
"@jest/types": "29.5.0",
|
|
144
144
|
"@napi-rs/cli": "2.16.2",
|
|
145
145
|
"@napi-rs/triples": "1.1.0",
|
|
146
|
-
"@next/polyfill-module": "13.4.16
|
|
147
|
-
"@next/polyfill-nomodule": "13.4.16
|
|
148
|
-
"@next/react-dev-overlay": "13.4.16
|
|
149
|
-
"@next/react-refresh-utils": "13.4.16
|
|
150
|
-
"@next/swc": "13.4.16
|
|
146
|
+
"@next/polyfill-module": "13.4.16",
|
|
147
|
+
"@next/polyfill-nomodule": "13.4.16",
|
|
148
|
+
"@next/react-dev-overlay": "13.4.16",
|
|
149
|
+
"@next/react-refresh-utils": "13.4.16",
|
|
150
|
+
"@next/swc": "13.4.16",
|
|
151
151
|
"@opentelemetry/api": "1.4.1",
|
|
152
152
|
"@playwright/test": "^1.35.1",
|
|
153
153
|
"@segment/ajv-human-errors": "2.1.2",
|
|
@@ -318,14 +318,14 @@
|
|
|
318
318
|
"node": ">=16.8.0"
|
|
319
319
|
},
|
|
320
320
|
"optionalDependencies": {
|
|
321
|
-
"@next/swc-darwin-arm64": "13.4.16
|
|
322
|
-
"@next/swc-darwin-x64": "13.4.16
|
|
323
|
-
"@next/swc-linux-arm64-gnu": "13.4.16
|
|
324
|
-
"@next/swc-linux-arm64-musl": "13.4.16
|
|
325
|
-
"@next/swc-linux-x64-gnu": "13.4.16
|
|
326
|
-
"@next/swc-linux-x64-musl": "13.4.16
|
|
327
|
-
"@next/swc-win32-arm64-msvc": "13.4.16
|
|
328
|
-
"@next/swc-win32-ia32-msvc": "13.4.16
|
|
329
|
-
"@next/swc-win32-x64-msvc": "13.4.16
|
|
321
|
+
"@next/swc-darwin-arm64": "13.4.16",
|
|
322
|
+
"@next/swc-darwin-x64": "13.4.16",
|
|
323
|
+
"@next/swc-linux-arm64-gnu": "13.4.16",
|
|
324
|
+
"@next/swc-linux-arm64-musl": "13.4.16",
|
|
325
|
+
"@next/swc-linux-x64-gnu": "13.4.16",
|
|
326
|
+
"@next/swc-linux-x64-musl": "13.4.16",
|
|
327
|
+
"@next/swc-win32-arm64-msvc": "13.4.16",
|
|
328
|
+
"@next/swc-win32-ia32-msvc": "13.4.16",
|
|
329
|
+
"@next/swc-win32-x64-msvc": "13.4.16"
|
|
330
330
|
}
|
|
331
331
|
}
|