next 16.1.3 → 16.1.4
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 +2 -2
- package/dist/build/index.js +10 -4
- package/dist/build/index.js.map +1 -1
- package/dist/build/swc/index.js +1 -1
- package/dist/build/webpack-config.js +3 -3
- package/dist/bundle-analyzer/404.html +2 -2
- package/dist/bundle-analyzer/__next.__PAGE__.txt +1 -1
- package/dist/bundle-analyzer/__next._full.txt +1 -1
- package/dist/bundle-analyzer/__next._head.txt +1 -1
- package/dist/bundle-analyzer/__next._index.txt +1 -1
- package/dist/bundle-analyzer/__next._tree.txt +1 -1
- package/dist/bundle-analyzer/_not-found/__next._full.txt +1 -1
- package/dist/bundle-analyzer/_not-found/__next._head.txt +1 -1
- package/dist/bundle-analyzer/_not-found/__next._index.txt +1 -1
- package/dist/bundle-analyzer/_not-found/__next._not-found.__PAGE__.txt +1 -1
- package/dist/bundle-analyzer/_not-found/__next._not-found.txt +1 -1
- package/dist/bundle-analyzer/_not-found/__next._tree.txt +1 -1
- package/dist/bundle-analyzer/_not-found.html +2 -2
- package/dist/bundle-analyzer/_not-found.txt +1 -1
- package/dist/bundle-analyzer/index.html +2 -2
- package/dist/bundle-analyzer/index.txt +1 -1
- package/dist/client/app-bootstrap.js +1 -1
- package/dist/client/index.js +1 -1
- package/dist/compiled/next-server/pages-api-turbo.runtime.dev.js +1 -1
- package/dist/compiled/next-server/pages-api-turbo.runtime.dev.js.map +1 -1
- package/dist/compiled/next-server/pages-api-turbo.runtime.prod.js +1 -1
- package/dist/compiled/next-server/pages-api-turbo.runtime.prod.js.map +1 -1
- package/dist/compiled/next-server/pages-turbo.runtime.dev.js +1 -1
- package/dist/compiled/next-server/pages-turbo.runtime.dev.js.map +1 -1
- package/dist/compiled/next-server/pages-turbo.runtime.prod.js +1 -1
- package/dist/compiled/next-server/pages-turbo.runtime.prod.js.map +1 -1
- package/dist/esm/build/index.js +10 -4
- package/dist/esm/build/index.js.map +1 -1
- package/dist/esm/build/swc/index.js +1 -1
- package/dist/esm/build/webpack-config.js +3 -3
- package/dist/esm/client/app-bootstrap.js +1 -1
- package/dist/esm/client/index.js +1 -1
- package/dist/esm/server/config-shared.js +4 -0
- package/dist/esm/server/config-shared.js.map +1 -1
- package/dist/esm/server/dev/hot-reloader-turbopack.js +1 -1
- package/dist/esm/server/dev/hot-reloader-webpack.js +1 -1
- package/dist/esm/server/lib/app-info-log.js +1 -1
- package/dist/esm/server/lib/start-server.js +1 -1
- package/dist/esm/shared/lib/errors/canary-only-config-error.js +1 -1
- package/dist/server/config-shared.js +4 -0
- package/dist/server/config-shared.js.map +1 -1
- package/dist/server/dev/hot-reloader-turbopack.js +1 -1
- package/dist/server/dev/hot-reloader-webpack.js +1 -1
- package/dist/server/lib/app-info-log.js +1 -1
- package/dist/server/lib/start-server.js +1 -1
- package/dist/shared/lib/errors/canary-only-config-error.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 +15 -15
- /package/dist/bundle-analyzer/_next/static/{KCiz9Jv0OGn-eS0e6vUtr → j1I64_WUmA9kEIL5L35na}/_buildManifest.js +0 -0
- /package/dist/bundle-analyzer/_next/static/{KCiz9Jv0OGn-eS0e6vUtr → j1I64_WUmA9kEIL5L35na}/_clientMiddlewareManifest.json +0 -0
- /package/dist/bundle-analyzer/_next/static/{KCiz9Jv0OGn-eS0e6vUtr → j1I64_WUmA9kEIL5L35na}/_ssgManifest.js +0 -0
package/dist/esm/build/index.js
CHANGED
|
@@ -305,7 +305,7 @@ export default async function build(dir, experimentalAnalyze = false, reactProdu
|
|
|
305
305
|
try {
|
|
306
306
|
const nextBuildSpan = trace('next-build', undefined, {
|
|
307
307
|
buildMode: experimentalBuildMode,
|
|
308
|
-
version: "16.1.
|
|
308
|
+
version: "16.1.4"
|
|
309
309
|
});
|
|
310
310
|
NextBuildContext.nextBuildSpan = nextBuildSpan;
|
|
311
311
|
NextBuildContext.dir = dir;
|
|
@@ -803,7 +803,7 @@ export default async function build(dir, experimentalAnalyze = false, reactProdu
|
|
|
803
803
|
// Files outside of the distDir can be "type": "module"
|
|
804
804
|
await writeFileUtf8(path.join(distDir, 'package.json'), '{"type": "commonjs"}');
|
|
805
805
|
// These are written to distDir, so they need to come after creating and cleaning distDr.
|
|
806
|
-
await recordFrameworkVersion("16.1.
|
|
806
|
+
await recordFrameworkVersion("16.1.4");
|
|
807
807
|
await updateBuildDiagnostics({
|
|
808
808
|
buildStage: 'start'
|
|
809
809
|
});
|
|
@@ -957,10 +957,16 @@ export default async function build(dir, experimentalAnalyze = false, reactProdu
|
|
|
957
957
|
normalizedCacheHandlers[key] = path.relative(distDir, value);
|
|
958
958
|
}
|
|
959
959
|
}
|
|
960
|
+
// getNextConfigRuntime only filters if experimental.runtimeServerDeploymentId is true,
|
|
961
|
+
// but we unconditionally want to remove configFile for this manifest
|
|
962
|
+
let runtimeConfigWithoutFilePath = {
|
|
963
|
+
...runtimeConfig
|
|
964
|
+
};
|
|
965
|
+
delete runtimeConfigWithoutFilePath.configFile;
|
|
960
966
|
const serverFilesManifest = {
|
|
961
967
|
version: 1,
|
|
962
968
|
config: {
|
|
963
|
-
...
|
|
969
|
+
...runtimeConfigWithoutFilePath,
|
|
964
970
|
...ciEnvironment.hasNextSupport ? {
|
|
965
971
|
compress: false
|
|
966
972
|
} : {},
|
|
@@ -2478,7 +2484,7 @@ export default async function build(dir, experimentalAnalyze = false, reactProdu
|
|
|
2478
2484
|
configOutDir: path.join(dir, configOutDir),
|
|
2479
2485
|
staticPages,
|
|
2480
2486
|
serverPropsPages,
|
|
2481
|
-
nextVersion: "16.1.
|
|
2487
|
+
nextVersion: "16.1.4",
|
|
2482
2488
|
tracingRoot: outputFileTracingRoot,
|
|
2483
2489
|
hasNodeMiddleware,
|
|
2484
2490
|
hasInstrumentationHook,
|