next 15.2.0-canary.62 → 15.2.0-canary.63

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.

Potentially problematic release.


This version of next might be problematic. Click here for more details.

@@ -296,7 +296,7 @@ export default async function build(dir, reactProductionProfiling = false, debug
296
296
  const nextBuildSpan = trace('next-build', undefined, {
297
297
  buildMode: experimentalBuildMode,
298
298
  isTurboBuild: String(turboNextBuild),
299
- version: "15.2.0-canary.62"
299
+ version: "15.2.0-canary.63"
300
300
  });
301
301
  NextBuildContext.nextBuildSpan = nextBuildSpan;
302
302
  NextBuildContext.dir = dir;
@@ -655,7 +655,7 @@ export default async function build(dir, reactProductionProfiling = false, debug
655
655
  // Files outside of the distDir can be "type": "module"
656
656
  await writeFileUtf8(path.join(distDir, 'package.json'), '{"type": "commonjs"}');
657
657
  // These are written to distDir, so they need to come after creating and cleaning distDr.
658
- await recordFrameworkVersion("15.2.0-canary.62");
658
+ await recordFrameworkVersion("15.2.0-canary.63");
659
659
  await updateBuildDiagnostics({
660
660
  buildStage: 'start'
661
661
  });
@@ -11,7 +11,7 @@ import { isDeepStrictEqual } from 'util';
11
11
  import { getDefineEnv } from '../webpack/plugins/define-env-plugin';
12
12
  import { getReactCompilerLoader } from '../get-babel-loader-config';
13
13
  import { TurbopackInternalError } from '../../shared/lib/turbopack/utils';
14
- const nextVersion = "15.2.0-canary.62";
14
+ const nextVersion = "15.2.0-canary.63";
15
15
  const ArchName = arch();
16
16
  const PlatformName = platform();
17
17
  function infoLog(...args) {
@@ -1437,7 +1437,7 @@ export default async function getBaseWebpackConfig(dir, { buildId, encryptionKey
1437
1437
  isClient && new CopyFilePlugin({
1438
1438
  // file path to build output of `@next/polyfill-nomodule`
1439
1439
  filePath: require.resolve('./polyfills/polyfill-nomodule'),
1440
- cacheKey: "15.2.0-canary.62",
1440
+ cacheKey: "15.2.0-canary.63",
1441
1441
  name: `static/chunks/polyfills${dev ? '' : '-[hash]'}.js`,
1442
1442
  minimize: false,
1443
1443
  info: {
@@ -1670,7 +1670,7 @@ export default async function getBaseWebpackConfig(dir, { buildId, encryptionKey
1670
1670
  // - Next.js location on disk (some loaders use absolute paths and some resolve options depend on absolute paths)
1671
1671
  // - Next.js version
1672
1672
  // - next.config.js keys that affect compilation
1673
- version: `${__dirname}|${"15.2.0-canary.62"}|${configVars}`,
1673
+ version: `${__dirname}|${"15.2.0-canary.63"}|${configVars}`,
1674
1674
  cacheDirectory: path.join(distDir, 'cache', 'webpack'),
1675
1675
  // For production builds, it's more efficient to compress all cache files together instead of compression each one individually.
1676
1676
  // So we disable compression here and allow the build runner to take care of compressing the cache as a whole.
@@ -3,7 +3,7 @@
3
3
  * sure the following scripts are executed in the correct order:
4
4
  * - Polyfills
5
5
  * - next/script with `beforeInteractive` strategy
6
- */ const version = "15.2.0-canary.62";
6
+ */ const version = "15.2.0-canary.63";
7
7
  window.next = {
8
8
  version,
9
9
  appDir: true
@@ -27,7 +27,7 @@ import { onRecoverableError } from './react-client-callbacks/on-recoverable-erro
27
27
  import tracer from './tracing/tracer';
28
28
  import reportToSocket from './tracing/report-to-socket';
29
29
  import { isNextRouterError } from './components/is-next-router-error';
30
- export const version = "15.2.0-canary.62";
30
+ export const version = "15.2.0-canary.63";
31
31
  export let router;
32
32
  export const emitter = mitt();
33
33
  const looseToArray = (input)=>[].slice.call(input);
@@ -1169,7 +1169,7 @@ export default class Server {
1169
1169
  /**
1170
1170
  * If the route being rendered is an app page, and the ppr feature has been
1171
1171
  * enabled, then the given route _could_ support PPR.
1172
- */ const couldSupportPPR = this.isAppPPREnabled && typeof routeModule !== 'undefined' && isAppPageRouteModule(routeModule) && !isHtmlBot;
1172
+ */ const couldSupportPPR = this.isAppPPREnabled && typeof routeModule !== 'undefined' && isAppPageRouteModule(routeModule);
1173
1173
  // When enabled, this will allow the use of the `?__nextppronly` query to
1174
1174
  // enable debugging of the static shell.
1175
1175
  const hasDebugStaticShellQuery = process.env.__NEXT_EXPERIMENTAL_STATIC_SHELL_DEBUGGING === '1' && typeof query.__nextppronly !== 'undefined' && couldSupportPPR;
@@ -1894,7 +1894,7 @@ export default class Server {
1894
1894
  }
1895
1895
  });
1896
1896
  }
1897
- const didPostpone = ((_cacheEntry_value1 = cacheEntry.value) == null ? void 0 : _cacheEntry_value1.kind) === CachedRouteKind.APP_PAGE && typeof cacheEntry.value.postponed === 'string' && !isHtmlBot;
1897
+ const didPostpone = ((_cacheEntry_value1 = cacheEntry.value) == null ? void 0 : _cacheEntry_value1.kind) === CachedRouteKind.APP_PAGE && typeof cacheEntry.value.postponed === 'string';
1898
1898
  if (isSSG && // We don't want to send a cache header for requests that contain dynamic
1899
1899
  // data. If this is a Dynamic RSC request or wasn't a Prefetch RSC
1900
1900
  // request, then we should set the cache header.