next 15.5.1-canary.16 → 15.5.1-canary.17
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 +2 -2
- 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/next-server/pages-api.runtime.dev.js +1 -1
- package/dist/compiled/next-server/pages-api.runtime.dev.js.map +1 -1
- package/dist/compiled/next-server/pages-api.runtime.prod.js +1 -1
- package/dist/compiled/next-server/pages-api.runtime.prod.js.map +1 -1
- package/dist/compiled/next-server/pages.runtime.dev.js +1 -1
- package/dist/compiled/next-server/pages.runtime.dev.js.map +1 -1
- package/dist/compiled/next-server/pages.runtime.prod.js +1 -1
- package/dist/compiled/next-server/pages.runtime.prod.js.map +1 -1
- package/dist/compiled/next-server/server.runtime.prod.js +1 -1
- package/dist/compiled/next-server/server.runtime.prod.js.map +1 -1
- package/dist/esm/build/index.js +2 -2
- 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-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/server/next-server.js +0 -6
- package/dist/esm/server/next-server.js.map +1 -1
- package/dist/esm/server/typescript/rules/config.js +8 -0
- package/dist/esm/server/typescript/rules/config.js.map +1 -1
- package/dist/esm/shared/lib/canary-only.js +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/server/next-server.js +0 -6
- package/dist/server/next-server.js.map +1 -1
- package/dist/server/typescript/rules/config.js +8 -0
- package/dist/server/typescript/rules/config.js.map +1 -1
- package/dist/shared/lib/canary-only.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/esm/build/index.js
CHANGED
@@ -301,7 +301,7 @@ export default async function build(dir, reactProductionProfiling = false, debug
|
|
301
301
|
const nextBuildSpan = trace('next-build', undefined, {
|
302
302
|
buildMode: experimentalBuildMode,
|
303
303
|
isTurboBuild: String(isTurbopack),
|
304
|
-
version: "15.5.1-canary.
|
304
|
+
version: "15.5.1-canary.17"
|
305
305
|
});
|
306
306
|
NextBuildContext.nextBuildSpan = nextBuildSpan;
|
307
307
|
NextBuildContext.dir = dir;
|
@@ -771,7 +771,7 @@ export default async function build(dir, reactProductionProfiling = false, debug
|
|
771
771
|
// Files outside of the distDir can be "type": "module"
|
772
772
|
await writeFileUtf8(path.join(distDir, 'package.json'), '{"type": "commonjs"}');
|
773
773
|
// These are written to distDir, so they need to come after creating and cleaning distDr.
|
774
|
-
await recordFrameworkVersion("15.5.1-canary.
|
774
|
+
await recordFrameworkVersion("15.5.1-canary.17");
|
775
775
|
await updateBuildDiagnostics({
|
776
776
|
buildStage: 'start'
|
777
777
|
});
|
@@ -11,7 +11,7 @@ import { isDeepStrictEqual } from 'util';
|
|
11
11
|
import { getDefineEnv } from '../define-env';
|
12
12
|
import { getReactCompilerLoader } from '../get-babel-loader-config';
|
13
13
|
import { throwTurbopackInternalError } from '../../shared/lib/turbopack/internal-error';
|
14
|
-
const nextVersion = "15.5.1-canary.
|
14
|
+
const nextVersion = "15.5.1-canary.17";
|
15
15
|
const ArchName = arch();
|
16
16
|
const PlatformName = platform();
|
17
17
|
function infoLog(...args) {
|
@@ -1608,7 +1608,7 @@ export default async function getBaseWebpackConfig(dir, { buildId, encryptionKey
|
|
1608
1608
|
isClient && new CopyFilePlugin({
|
1609
1609
|
// file path to build output of `@next/polyfill-nomodule`
|
1610
1610
|
filePath: require.resolve('./polyfills/polyfill-nomodule'),
|
1611
|
-
cacheKey: "15.5.1-canary.
|
1611
|
+
cacheKey: "15.5.1-canary.17",
|
1612
1612
|
name: `static/chunks/polyfills${dev ? '' : '-[hash]'}.js`,
|
1613
1613
|
minimize: false,
|
1614
1614
|
info: {
|
@@ -1792,7 +1792,7 @@ export default async function getBaseWebpackConfig(dir, { buildId, encryptionKey
|
|
1792
1792
|
// - Next.js location on disk (some loaders use absolute paths and some resolve options depend on absolute paths)
|
1793
1793
|
// - Next.js version
|
1794
1794
|
// - next.config.js keys that affect compilation
|
1795
|
-
version: `${__dirname}|${"15.5.1-canary.
|
1795
|
+
version: `${__dirname}|${"15.5.1-canary.17"}|${configVars}`,
|
1796
1796
|
cacheDirectory: path.join(distDir, 'cache', 'webpack'),
|
1797
1797
|
// For production builds, it's more efficient to compress all cache files together instead of compression each one individually.
|
1798
1798
|
// So we disable compression here and allow the build runner to take care of compressing the cache as a whole.
|
@@ -5,7 +5,7 @@
|
|
5
5
|
* - next/script with `beforeInteractive` strategy
|
6
6
|
*/ import { getAssetPrefix } from './asset-prefix';
|
7
7
|
import { setAttributesFromProps } from './set-attributes-from-props';
|
8
|
-
const version = "15.5.1-canary.
|
8
|
+
const version = "15.5.1-canary.17";
|
9
9
|
window.next = {
|
10
10
|
version,
|
11
11
|
appDir: true
|
package/dist/esm/client/index.js
CHANGED
@@ -26,7 +26,7 @@ import { SearchParamsContext, PathParamsContext } from '../shared/lib/hooks-clie
|
|
26
26
|
import { onRecoverableError } from './react-client-callbacks/on-recoverable-error';
|
27
27
|
import tracer from './tracing/tracer';
|
28
28
|
import { isNextRouterError } from './components/is-next-router-error';
|
29
|
-
export const version = "15.5.1-canary.
|
29
|
+
export const version = "15.5.1-canary.17";
|
30
30
|
export let router;
|
31
31
|
export const emitter = mitt();
|
32
32
|
const looseToArray = (input)=>[].slice.call(input);
|
@@ -89,7 +89,7 @@ export async function createHotReloaderTurbopack(opts, serverFields, distDir, re
|
|
89
89
|
}
|
90
90
|
const hasRewrites = opts.fsChecker.rewrites.afterFiles.length > 0 || opts.fsChecker.rewrites.beforeFiles.length > 0 || opts.fsChecker.rewrites.fallback.length > 0;
|
91
91
|
const hotReloaderSpan = trace('hot-reloader', undefined, {
|
92
|
-
version: "15.5.1-canary.
|
92
|
+
version: "15.5.1-canary.17"
|
93
93
|
});
|
94
94
|
// Ensure the hotReloaderSpan is flushed immediately as it's the parentSpan for all processing
|
95
95
|
// of the current `next dev` invocation.
|
@@ -186,7 +186,7 @@ export default class HotReloaderWebpack {
|
|
186
186
|
this.previewProps = previewProps;
|
187
187
|
this.rewrites = rewrites;
|
188
188
|
this.hotReloaderSpan = trace('hot-reloader', undefined, {
|
189
|
-
version: "15.5.1-canary.
|
189
|
+
version: "15.5.1-canary.17"
|
190
190
|
});
|
191
191
|
// Ensure the hotReloaderSpan is flushed immediately as it's the parentSpan for all processing
|
192
192
|
// of the current `next dev` invocation.
|
@@ -12,7 +12,7 @@ export function logStartInfo({ networkUrl, appUrl, envInfo, experimentalFeatures
|
|
12
12
|
} else {
|
13
13
|
bundlerSuffix = '';
|
14
14
|
}
|
15
|
-
Log.bootstrap(`${bold(purple(`${Log.prefixes.ready} Next.js ${"15.5.1-canary.
|
15
|
+
Log.bootstrap(`${bold(purple(`${Log.prefixes.ready} Next.js ${"15.5.1-canary.17"}`))}${bundlerSuffix}`);
|
16
16
|
if (appUrl) {
|
17
17
|
Log.bootstrap(`- Local: ${appUrl}`);
|
18
18
|
}
|
@@ -111,7 +111,7 @@ export async function getRequestHandlers({ dir, port, isDev, onDevServerCleanup,
|
|
111
111
|
export async function startServer(serverOptions) {
|
112
112
|
const { dir, isDev, hostname, minimalMode, allowRetry, keepAliveTimeout, selfSignedCertificate } = serverOptions;
|
113
113
|
let { port } = serverOptions;
|
114
|
-
process.title = `next-server (v${"15.5.1-canary.
|
114
|
+
process.title = `next-server (v${"15.5.1-canary.17"})`;
|
115
115
|
let handlersReady = ()=>{};
|
116
116
|
let handlersError = ()=>{};
|
117
117
|
let handlersPromise = new Promise((resolve, reject)=>{
|
@@ -517,12 +517,6 @@ export default class NextNodeServer extends BaseServer {
|
|
517
517
|
// otherwise if the fetch is patched by user code, we will be patching it
|
518
518
|
// too late and there won't be any caching behaviors
|
519
519
|
ComponentMod.patchFetch();
|
520
|
-
const webpackRequire = ComponentMod.__next_app__.require;
|
521
|
-
if (webpackRequire == null ? void 0 : webpackRequire.m) {
|
522
|
-
for (const id of Object.keys(webpackRequire.m)){
|
523
|
-
await webpackRequire(id);
|
524
|
-
}
|
525
|
-
}
|
526
520
|
} catch (_err) {
|
527
521
|
// Intentionally ignored because this is a preload step.
|
528
522
|
}
|