@openuiai/next 16.0.10 → 16.0.11

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 CHANGED
@@ -79,7 +79,7 @@ const program = new NextRootCommand();
79
79
  program.name('next').description('The Next.js CLI allows you to develop, build, start your application, and more.').configureHelp({
80
80
  formatHelp: (cmd, helper)=>(0, _formatclihelpoutput.formatCliHelpOutput)(cmd, helper),
81
81
  subcommandTerm: (cmd)=>`${cmd.name()} ${cmd.usage()}`
82
- }).helpCommand(false).helpOption('-h, --help', 'Displays this message.').version(`Next.js v${"16.0.8"}`, '-v, --version', 'Outputs the Next.js version.');
82
+ }).helpCommand(false).helpOption('-h, --help', 'Displays this message.').version(`Next.js v${"16.0.11"}`, '-v, --version', 'Outputs the Next.js version.');
83
83
  program.command('build').description('Creates an optimized production build of your application. The output displays information about each route.').argument('[directory]', `A directory on which to build the application. ${(0, _picocolors.italic)('If no directory is provided, the current directory will be used.')}`).option('-d, --debug', 'Enables a more verbose build output.').option('--debug-prerender', 'Enables debug mode for prerendering. Not for production use!').option('--no-mangling', 'Disables mangling.').option('--profile', 'Enables production profiling for React.').option('--experimental-app-only', 'Builds only App Router routes.').option('--webpack', 'Builds using webpack.').addOption(new _commander.Option('--experimental-build-mode [mode]', 'Uses an experimental build mode.').choices([
84
84
  'compile',
85
85
  'generate',
@@ -373,7 +373,7 @@ async function build(dir, reactProductionProfiling = false, debugOutput = false,
373
373
  try {
374
374
  const nextBuildSpan = (0, _trace.trace)('next-build', undefined, {
375
375
  buildMode: experimentalBuildMode,
376
- version: "16.0.8"
376
+ version: "16.0.11"
377
377
  });
378
378
  _buildcontext.NextBuildContext.nextBuildSpan = nextBuildSpan;
379
379
  _buildcontext.NextBuildContext.dir = dir;
@@ -886,7 +886,7 @@ async function build(dir, reactProductionProfiling = false, debugOutput = false,
886
886
  // Files outside of the distDir can be "type": "module"
887
887
  await writeFileUtf8(_path.default.join(distDir, 'package.json'), '{"type": "commonjs"}');
888
888
  // These are written to distDir, so they need to come after creating and cleaning distDr.
889
- await (0, _builddiagnostics.recordFrameworkVersion)("16.0.8");
889
+ await (0, _builddiagnostics.recordFrameworkVersion)("16.0.11");
890
890
  await (0, _builddiagnostics.updateBuildDiagnostics)({
891
891
  buildStage: 'start'
892
892
  });
@@ -2535,7 +2535,7 @@ async function build(dir, reactProductionProfiling = false, debugOutput = false,
2535
2535
  configOutDir: _path.default.join(dir, configOutDir),
2536
2536
  staticPages,
2537
2537
  serverPropsPages,
2538
- nextVersion: "16.0.8",
2538
+ nextVersion: "16.0.11",
2539
2539
  tracingRoot: outputFileTracingRoot,
2540
2540
  hasNodeMiddleware,
2541
2541
  hasInstrumentationHook,
@@ -128,7 +128,7 @@ function _interop_require_wildcard(obj, nodeInterop) {
128
128
  }
129
129
  return newObj;
130
130
  }
131
- const nextVersion = "16.0.0"; // Use official Next.js version for SWC binaries
131
+ const nextVersion = "16.0.11";
132
132
  const ArchName = (0, _os.arch)();
133
133
  const PlatformName = (0, _os.platform)();
134
134
  function infoLog(...args) {
@@ -1713,7 +1713,7 @@ async function getBaseWebpackConfig(dir, { buildId, encryptionKey, config, compi
1713
1713
  isClient && new _copyfileplugin.CopyFilePlugin({
1714
1714
  // file path to build output of `@next/polyfill-nomodule`
1715
1715
  filePath: require.resolve('./polyfills/polyfill-nomodule'),
1716
- cacheKey: "16.0.8",
1716
+ cacheKey: "16.0.11",
1717
1717
  name: `static/chunks/polyfills${dev ? '' : '-[hash]'}.js`,
1718
1718
  minimize: false,
1719
1719
  info: {
@@ -1904,7 +1904,7 @@ async function getBaseWebpackConfig(dir, { buildId, encryptionKey, config, compi
1904
1904
  // - Next.js location on disk (some loaders use absolute paths and some resolve options depend on absolute paths)
1905
1905
  // - Next.js version
1906
1906
  // - next.config.js keys that affect compilation
1907
- version: `${__dirname}|${"16.0.8"}|${configVars}`,
1907
+ version: `${__dirname}|${"16.0.11"}|${configVars}`,
1908
1908
  cacheDirectory: _path.default.join(distDir, 'cache', 'webpack'),
1909
1909
  // For production builds, it's more efficient to compress all cache files together instead of compression each one individually.
1910
1910
  // So we disable compression here and allow the build runner to take care of compressing the cache as a whole.
@@ -15,7 +15,7 @@ Object.defineProperty(exports, "appBootstrap", {
15
15
  });
16
16
  const _assetprefix = require("./asset-prefix");
17
17
  const _setattributesfromprops = require("./set-attributes-from-props");
18
- const version = "16.0.8";
18
+ const version = "16.0.11";
19
19
  window.next = {
20
20
  version,
21
21
  appDir: true
@@ -60,7 +60,7 @@ const _hooksclientcontextsharedruntime = require("../shared/lib/hooks-client-con
60
60
  const _onrecoverableerror = require("./react-client-callbacks/on-recoverable-error");
61
61
  const _tracer = /*#__PURE__*/ _interop_require_default._(require("./tracing/tracer"));
62
62
  const _isnextroutererror = require("./components/is-next-router-error");
63
- const version = "16.0.8";
63
+ const version = "16.0.11";
64
64
  let router;
65
65
  const emitter = (0, _mitt.default)();
66
66
  const looseToArray = (input)=>[].slice.call(input);
@@ -272,8 +272,6 @@ class ReactFlightWebpackPlugin {
272
272
  chunk = compilation.chunkGraph.getChunkModulesIterable(chunk);
273
273
  Array.from(chunk).forEach(function (module) {
274
274
  const moduleId = compilation.chunkGraph.getModuleId(module);
275
- // Bun compatibility: skip if moduleId is undefined
276
- if (moduleId === undefined || moduleId === null) return;
277
275
  recordModule(moduleId, module);
278
276
  module.modules &&
279
277
  module.modules.forEach((concatenatedMod) => {
@@ -305,7 +305,7 @@ export default async function build(dir, reactProductionProfiling = false, debug
305
305
  try {
306
306
  const nextBuildSpan = trace('next-build', undefined, {
307
307
  buildMode: experimentalBuildMode,
308
- version: "16.0.8"
308
+ version: "16.0.11"
309
309
  });
310
310
  NextBuildContext.nextBuildSpan = nextBuildSpan;
311
311
  NextBuildContext.dir = dir;
@@ -818,7 +818,7 @@ export default async function build(dir, reactProductionProfiling = false, debug
818
818
  // Files outside of the distDir can be "type": "module"
819
819
  await writeFileUtf8(path.join(distDir, 'package.json'), '{"type": "commonjs"}');
820
820
  // These are written to distDir, so they need to come after creating and cleaning distDr.
821
- await recordFrameworkVersion("16.0.8");
821
+ await recordFrameworkVersion("16.0.11");
822
822
  await updateBuildDiagnostics({
823
823
  buildStage: 'start'
824
824
  });
@@ -2467,7 +2467,7 @@ export default async function build(dir, reactProductionProfiling = false, debug
2467
2467
  configOutDir: path.join(dir, configOutDir),
2468
2468
  staticPages,
2469
2469
  serverPropsPages,
2470
- nextVersion: "16.0.8",
2470
+ nextVersion: "16.0.11",
2471
2471
  tracingRoot: outputFileTracingRoot,
2472
2472
  hasNodeMiddleware,
2473
2473
  hasInstrumentationHook,
@@ -8,7 +8,7 @@ import { eventSwcLoadFailure } from '../../telemetry/events/swc-load-failure';
8
8
  import { patchIncorrectLockfile } from '../../lib/patch-incorrect-lockfile';
9
9
  import { downloadNativeNextSwc, downloadWasmSwc } from '../../lib/download-swc';
10
10
  import { getDefineEnv } from '../define-env';
11
- const nextVersion = "16.0.0"; // Use official Next.js version for SWC binaries
11
+ const nextVersion = "16.0.11";
12
12
  const ArchName = arch();
13
13
  const PlatformName = platform();
14
14
  function infoLog(...args) {
@@ -1610,7 +1610,7 @@ export default async function getBaseWebpackConfig(dir, { buildId, encryptionKey
1610
1610
  isClient && new CopyFilePlugin({
1611
1611
  // file path to build output of `@next/polyfill-nomodule`
1612
1612
  filePath: require.resolve('./polyfills/polyfill-nomodule'),
1613
- cacheKey: "16.0.8",
1613
+ cacheKey: "16.0.11",
1614
1614
  name: `static/chunks/polyfills${dev ? '' : '-[hash]'}.js`,
1615
1615
  minimize: false,
1616
1616
  info: {
@@ -1801,7 +1801,7 @@ export default async function getBaseWebpackConfig(dir, { buildId, encryptionKey
1801
1801
  // - Next.js location on disk (some loaders use absolute paths and some resolve options depend on absolute paths)
1802
1802
  // - Next.js version
1803
1803
  // - next.config.js keys that affect compilation
1804
- version: `${__dirname}|${"16.0.8"}|${configVars}`,
1804
+ version: `${__dirname}|${"16.0.11"}|${configVars}`,
1805
1805
  cacheDirectory: path.join(distDir, 'cache', 'webpack'),
1806
1806
  // For production builds, it's more efficient to compress all cache files together instead of compression each one individually.
1807
1807
  // 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 = "16.0.8";
8
+ const version = "16.0.11";
9
9
  window.next = {
10
10
  version,
11
11
  appDir: true
@@ -25,7 +25,7 @@ import { SearchParamsContext, PathParamsContext } from '../shared/lib/hooks-clie
25
25
  import { onRecoverableError } from './react-client-callbacks/on-recoverable-error';
26
26
  import tracer from './tracing/tracer';
27
27
  import { isNextRouterError } from './components/is-next-router-error';
28
- export const version = "16.0.8";
28
+ export const version = "16.0.11";
29
29
  export let router;
30
30
  export const emitter = mitt();
31
31
  const looseToArray = (input)=>[].slice.call(input);
@@ -163,7 +163,7 @@ export default class HotReloaderWebpack {
163
163
  this.previewProps = previewProps;
164
164
  this.rewrites = rewrites;
165
165
  this.hotReloaderSpan = trace('hot-reloader', undefined, {
166
- version: "16.0.8"
166
+ version: "16.0.11"
167
167
  });
168
168
  // Ensure the hotReloaderSpan is flushed immediately as it's the parentSpan for all processing
169
169
  // of the current `next dev` invocation.
@@ -20,7 +20,7 @@ export function logStartInfo({ networkUrl, appUrl, envInfo, experimentalFeatures
20
20
  if (parts.length > 0) {
21
21
  versionSuffix = ` (${parts.join(', ')})`;
22
22
  }
23
- Log.bootstrap(`${bold(purple(`${Log.prefixes.ready} Next.js ${"16.0.8"}`))}${versionSuffix}`);
23
+ Log.bootstrap(`${bold(purple(`${Log.prefixes.ready} Next.js ${"16.0.11"}`))}${versionSuffix}`);
24
24
  if (appUrl) {
25
25
  Log.bootstrap(`- Local: ${appUrl}`);
26
26
  }
@@ -110,7 +110,7 @@ export async function getRequestHandlers({ dir, port, isDev, onDevServerCleanup,
110
110
  export async function startServer(serverOptions) {
111
111
  const { dir, isDev, hostname, minimalMode, allowRetry, keepAliveTimeout, selfSignedCertificate } = serverOptions;
112
112
  let { port } = serverOptions;
113
- process.title = `next-server (v${"16.0.8"})`;
113
+ process.title = `next-server (v${"16.0.11"})`;
114
114
  let handlersReady = ()=>{};
115
115
  let handlersError = ()=>{};
116
116
  let handlersPromise = new Promise((resolve, reject)=>{
@@ -1,5 +1,5 @@
1
1
  export function isStableBuild() {
2
- return !"16.0.8"?.includes('canary') && !process.env.__NEXT_TEST_MODE && !process.env.NEXT_PRIVATE_LOCAL_DEV;
2
+ return !"16.0.11"?.includes('canary') && !process.env.__NEXT_TEST_MODE && !process.env.NEXT_PRIVATE_LOCAL_DEV;
3
3
  }
4
4
  export class CanaryOnlyConfigError extends Error {
5
5
  constructor(arg){
@@ -231,7 +231,7 @@ class HotReloaderWebpack {
231
231
  this.previewProps = previewProps;
232
232
  this.rewrites = rewrites;
233
233
  this.hotReloaderSpan = (0, _trace.trace)('hot-reloader', undefined, {
234
- version: "16.0.8"
234
+ version: "16.0.11"
235
235
  });
236
236
  // Ensure the hotReloaderSpan is flushed immediately as it's the parentSpan for all processing
237
237
  // of the current `next dev` invocation.
@@ -88,7 +88,7 @@ function logStartInfo({ networkUrl, appUrl, envInfo, experimentalFeatures, logBu
88
88
  if (parts.length > 0) {
89
89
  versionSuffix = ` (${parts.join(', ')})`;
90
90
  }
91
- _log.bootstrap(`${(0, _picocolors.bold)((0, _picocolors.purple)(`${_log.prefixes.ready} Next.js ${"16.0.8"}`))}${versionSuffix}`);
91
+ _log.bootstrap(`${(0, _picocolors.bold)((0, _picocolors.purple)(`${_log.prefixes.ready} Next.js ${"16.0.11"}`))}${versionSuffix}`);
92
92
  if (appUrl) {
93
93
  _log.bootstrap(`- Local: ${appUrl}`);
94
94
  }
@@ -178,7 +178,7 @@ async function getRequestHandlers({ dir, port, isDev, onDevServerCleanup, server
178
178
  async function startServer(serverOptions) {
179
179
  const { dir, isDev, hostname, minimalMode, allowRetry, keepAliveTimeout, selfSignedCertificate } = serverOptions;
180
180
  let { port } = serverOptions;
181
- process.title = `next-server (v${"16.0.8"})`;
181
+ process.title = `next-server (v${"16.0.11"})`;
182
182
  let handlersReady = ()=>{};
183
183
  let handlersError = ()=>{};
184
184
  let handlersPromise = new Promise((resolve, reject)=>{
@@ -21,7 +21,7 @@ _export(exports, {
21
21
  }
22
22
  });
23
23
  function isStableBuild() {
24
- return !"16.0.8"?.includes('canary') && !process.env.__NEXT_TEST_MODE && !process.env.NEXT_PRIVATE_LOCAL_DEV;
24
+ return !"16.0.11"?.includes('canary') && !process.env.__NEXT_TEST_MODE && !process.env.NEXT_PRIVATE_LOCAL_DEV;
25
25
  }
26
26
  class CanaryOnlyConfigError extends Error {
27
27
  constructor(arg){
@@ -81,7 +81,7 @@ function getAnonymousMeta() {
81
81
  isWsl: _iswsl.default,
82
82
  isCI: _ciinfo.isCI,
83
83
  ciName: _ciinfo.isCI && _ciinfo.name || null,
84
- nextVersion: "16.0.8"
84
+ nextVersion: "16.0.11"
85
85
  };
86
86
  return traits;
87
87
  }
@@ -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 "16.0.8" !== 'string') {
14
+ if (typeof "16.0.11" !== 'string') {
15
15
  return [];
16
16
  }
17
17
  const payload = {
18
- nextVersion: "16.0.8",
18
+ nextVersion: "16.0.11",
19
19
  nodeVersion: process.version,
20
20
  cliCommand: event.cliCommand,
21
21
  durationMilliseconds: event.durationMilliseconds,
@@ -12,12 +12,12 @@ const EVENT_VERSION = 'NEXT_CLI_SESSION_STARTED';
12
12
  function eventCliSession(nextConfig, event) {
13
13
  var _nextConfig_experimental_staleTimes, _nextConfig_experimental_staleTimes1, _nextConfig_reactCompiler, _nextConfig_reactCompiler1;
14
14
  // This should be an invariant, if it fails our build tooling is broken.
15
- if (typeof "16.0.8" !== 'string') {
15
+ if (typeof "16.0.11" !== 'string') {
16
16
  return [];
17
17
  }
18
18
  const { images, i18n } = nextConfig || {};
19
19
  const payload = {
20
- nextVersion: "16.0.8",
20
+ nextVersion: "16.0.11",
21
21
  nodeVersion: process.version,
22
22
  cliCommand: event.cliCommand,
23
23
  isSrcDir: event.isSrcDir,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openuiai/next",
3
- "version": "16.0.10",
3
+ "version": "16.0.11",
4
4
  "description": "OpenNext.js - A development-focused fork of Next.js with Bun support",
5
5
  "main": "./dist/server/next.js",
6
6
  "license": "MIT",