@openuiai/next 15.6.0-bun.24 → 15.6.0-bun.26

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.
Files changed (45) hide show
  1. package/dist/bin/next +1 -1
  2. package/dist/build/index.js +3 -3
  3. package/dist/build/swc/index.js +1 -1
  4. package/dist/build/webpack-config.js +2 -2
  5. package/dist/client/app-bootstrap.js +1 -1
  6. package/dist/client/index.js +1 -1
  7. package/dist/compiled/next-server/pages-api-turbo.runtime.dev.js +1 -1
  8. package/dist/compiled/next-server/pages-api-turbo.runtime.dev.js.map +1 -1
  9. package/dist/compiled/next-server/pages-api-turbo.runtime.prod.js +1 -1
  10. package/dist/compiled/next-server/pages-api-turbo.runtime.prod.js.map +1 -1
  11. package/dist/compiled/next-server/pages-turbo.runtime.dev.js +1 -1
  12. package/dist/compiled/next-server/pages-turbo.runtime.dev.js.map +1 -1
  13. package/dist/compiled/next-server/pages-turbo.runtime.prod.js +1 -1
  14. package/dist/compiled/next-server/pages-turbo.runtime.prod.js.map +1 -1
  15. package/dist/compiled/next-server/server.runtime.prod.js +14 -0
  16. package/dist/compiled/next-server/server.runtime.prod.js.map +1 -0
  17. package/dist/esm/build/index.js +3 -3
  18. package/dist/esm/build/swc/index.js +1 -1
  19. package/dist/esm/build/webpack-config.js +2 -2
  20. package/dist/esm/client/app-bootstrap.js +1 -1
  21. package/dist/esm/client/index.js +1 -1
  22. package/dist/esm/lib/typescript/writeAppTypeDeclarations.js +2 -1
  23. package/dist/esm/lib/typescript/writeAppTypeDeclarations.js.map +1 -1
  24. package/dist/esm/lib/typescript/writeConfigurationDefaults.js +29 -0
  25. package/dist/esm/lib/typescript/writeConfigurationDefaults.js.map +1 -1
  26. package/dist/esm/server/dev/hot-reloader-webpack.js +1 -1
  27. package/dist/esm/server/lib/app-info-log.js +1 -1
  28. package/dist/esm/server/lib/start-server.js +1 -1
  29. package/dist/esm/server/require-hook.js +4 -1
  30. package/dist/esm/server/require-hook.js.map +1 -1
  31. package/dist/esm/shared/lib/canary-only.js +1 -1
  32. package/dist/lib/typescript/writeAppTypeDeclarations.js +2 -1
  33. package/dist/lib/typescript/writeAppTypeDeclarations.js.map +1 -1
  34. package/dist/lib/typescript/writeConfigurationDefaults.js +29 -0
  35. package/dist/lib/typescript/writeConfigurationDefaults.js.map +1 -1
  36. package/dist/server/dev/hot-reloader-webpack.js +1 -1
  37. package/dist/server/lib/app-info-log.js +1 -1
  38. package/dist/server/lib/start-server.js +1 -1
  39. package/dist/server/require-hook.js +4 -1
  40. package/dist/server/require-hook.js.map +1 -1
  41. package/dist/shared/lib/canary-only.js +1 -1
  42. package/dist/telemetry/anonymous-meta.js +1 -1
  43. package/dist/telemetry/events/session-stopped.js +2 -2
  44. package/dist/telemetry/events/version.js +2 -2
  45. package/package.json +1 -1
@@ -226,7 +226,7 @@ class HotReloaderWebpack {
226
226
  this.previewProps = previewProps;
227
227
  this.rewrites = rewrites;
228
228
  this.hotReloaderSpan = (0, _trace.trace)('hot-reloader', undefined, {
229
- version: "15.6.0-bun.23"
229
+ version: "15.6.0-bun.25"
230
230
  });
231
231
  // Ensure the hotReloaderSpan is flushed immediately as it's the parentSpan for all processing
232
232
  // of the current `next dev` invocation.
@@ -82,7 +82,7 @@ function logStartInfo({ networkUrl, appUrl, envInfo, experimentalFeatures, logBu
82
82
  bundlerSuffix = ' (webpack)';
83
83
  }
84
84
  }
85
- _log.bootstrap(`${(0, _picocolors.bold)((0, _picocolors.purple)(`${_log.prefixes.ready} Next.js ${"15.6.0-bun.23"}`))}${bundlerSuffix}`);
85
+ _log.bootstrap(`${(0, _picocolors.bold)((0, _picocolors.purple)(`${_log.prefixes.ready} Next.js ${"15.6.0-bun.25"}`))}${bundlerSuffix}`);
86
86
  if (appUrl) {
87
87
  _log.bootstrap(`- Local: ${appUrl}`);
88
88
  }
@@ -155,7 +155,7 @@ async function getRequestHandlers({ dir, port, isDev, onDevServerCleanup, server
155
155
  async function startServer(serverOptions) {
156
156
  const { dir, isDev, hostname, minimalMode, allowRetry, keepAliveTimeout, selfSignedCertificate } = serverOptions;
157
157
  let { port } = serverOptions;
158
- process.title = `next-server (v${"15.6.0-bun.23"})`;
158
+ process.title = `next-server (v${"15.6.0-bun.25"})`;
159
159
  let handlersReady = ()=>{};
160
160
  let handlersError = ()=>{};
161
161
  let handlersPromise = new Promise((resolve, reject)=>{
@@ -30,8 +30,11 @@ _export(exports, {
30
30
  });
31
31
  const path = require('path');
32
32
  const mod = require('module');
33
+ const fs = require('fs');
33
34
  // Read package name dynamically to support forked packages
34
- const PKG_NAME = require('../../package.json').name;
35
+ // Use a dynamic path that won't be resolved by bundlers
36
+ const packageJsonPath = path.join(__dirname, '../../package.json');
37
+ const PKG_NAME = JSON.parse(fs.readFileSync(packageJsonPath, 'utf8')).name;
35
38
  const originalRequire = mod.prototype.require;
36
39
  const resolveFilename = // @ts-expect-error
37
40
  mod._resolveFilename;
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/server/require-hook.ts"],"sourcesContent":["// Synchronously inject a require hook for webpack and webpack/. It's required to use the internal ncc webpack version.\n// This is needed for userland plugins to attach to the same webpack instance as Next.js'.\n// Individually compiled modules are as defined for the compilation in bundles/webpack/packages/*.\n\n// This module will only be loaded once per process.\nconst path = require('path') as typeof import('path')\nconst mod = require('module') as typeof import('module')\n\n// Read package name dynamically to support forked packages\nconst PKG_NAME = require('../../package.json').name\nconst originalRequire = mod.prototype.require\nconst resolveFilename =\n // @ts-expect-error\n mod._resolveFilename\n\nlet resolve: typeof require.resolve = process.env.NEXT_MINIMAL\n ? // @ts-ignore\n __non_webpack_require__.resolve\n : require.resolve\n\nexport const hookPropertyMap = new Map()\n\nexport const defaultOverrides = {\n 'styled-jsx': path.dirname(resolve('styled-jsx/package.json')),\n 'styled-jsx/style': resolve('styled-jsx/style'),\n 'styled-jsx/style.js': resolve('styled-jsx/style'),\n}\n\nconst toResolveMap = (map: Record<string, string>): [string, string][] =>\n Object.entries(map).map(([key, value]) => [key, resolve(value)])\n\nexport function addHookAliases(aliases: [string, string][] = []) {\n for (const [key, value] of aliases) {\n hookPropertyMap.set(key, value)\n }\n}\n\naddHookAliases(toResolveMap(defaultOverrides))\n\n// @ts-expect-error\nmod._resolveFilename = function (\n originalResolveFilename: (\n request: string,\n parent: string,\n isMain: boolean,\n opts: any\n ) => string,\n requestMap: Map<string, string>,\n pkgName: string,\n request: string,\n parent: string,\n isMain: boolean,\n options: any\n) {\n const hookResolved = requestMap.get(request)\n if (hookResolved) request = hookResolved\n\n // Redirect next/dist/, next/font/, and next/package.json requests to the actual package name (supports forked packages)\n if (request.startsWith('next/dist/')) {\n request = request.replace('next/dist/', `${pkgName}/dist/`)\n } else if (request.startsWith('next/font/')) {\n request = request.replace('next/font/', `${pkgName}/font/`)\n } else if (request === 'next/package.json') {\n request = `${pkgName}/package.json`\n }\n\n return originalResolveFilename.call(mod, request, parent, isMain, options)\n\n // We use `bind` here to avoid referencing outside variables to create potential memory leaks.\n}.bind(null, resolveFilename, hookPropertyMap, PKG_NAME)\n\n// @ts-expect-error\n// This is a hack to make sure that if a user requires a Next.js module that wasn't bundled\n// that needs to point to the rendering runtime version, it will point to the correct one.\n// This can happen on `pages` when a user requires a dependency that uses next/image for example.\nmod.prototype.require = function (request: string) {\n if (request.endsWith('.shared-runtime')) {\n return originalRequire.call(\n this,\n `${PKG_NAME}/dist/server/route-modules/pages/vendored/contexts/${path.basename(\n request,\n '.shared-runtime'\n )}`\n )\n }\n\n // Redirect next/dist/, next/font/, and next/package.json requests to the actual package name (supports forked packages)\n if (request.startsWith('next/dist/')) {\n return originalRequire.call(this, request.replace('next/dist/', `${PKG_NAME}/dist/`))\n } else if (request.startsWith('next/font/')) {\n return originalRequire.call(this, request.replace('next/font/', `${PKG_NAME}/font/`))\n } else if (request === 'next/package.json') {\n return originalRequire.call(this, `${PKG_NAME}/package.json`)\n }\n\n return originalRequire.call(this, request)\n}\n"],"names":["addHookAliases","defaultOverrides","hookPropertyMap","path","require","mod","PKG_NAME","name","originalRequire","prototype","resolveFilename","_resolveFilename","resolve","process","env","NEXT_MINIMAL","__non_webpack_require__","Map","dirname","toResolveMap","map","Object","entries","key","value","aliases","set","originalResolveFilename","requestMap","pkgName","request","parent","isMain","options","hookResolved","get","startsWith","replace","call","bind","endsWith","basename"],"mappings":"AAAA,uHAAuH;AACvH,0FAA0F;AAC1F,kGAAkG;AAElG,oDAAoD;;;;;;;;;;;;;;;;;IA2BpCA,cAAc;eAAdA;;IATHC,gBAAgB;eAAhBA;;IAFAC,eAAe;eAAfA;;;AAfb,MAAMC,OAAOC,QAAQ;AACrB,MAAMC,MAAMD,QAAQ;AAEpB,2DAA2D;AAC3D,MAAME,WAAWF,QAAQ,sBAAsBG,IAAI;AACnD,MAAMC,kBAAkBH,IAAII,SAAS,CAACL,OAAO;AAC7C,MAAMM,kBACJ,mBAAmB;AACnBL,IAAIM,gBAAgB;AAEtB,IAAIC,UAAkCC,QAAQC,GAAG,CAACC,YAAY,GAE1DC,wBAAwBJ,OAAO,GAC/BR,QAAQQ,OAAO;AAEZ,MAAMV,kBAAkB,IAAIe;AAE5B,MAAMhB,mBAAmB;IAC9B,cAAcE,KAAKe,OAAO,CAACN,QAAQ;IACnC,oBAAoBA,QAAQ;IAC5B,uBAAuBA,QAAQ;AACjC;AAEA,MAAMO,eAAe,CAACC,MACpBC,OAAOC,OAAO,CAACF,KAAKA,GAAG,CAAC,CAAC,CAACG,KAAKC,MAAM,GAAK;YAACD;YAAKX,QAAQY;SAAO;AAE1D,SAASxB,eAAeyB,UAA8B,EAAE;IAC7D,KAAK,MAAM,CAACF,KAAKC,MAAM,IAAIC,QAAS;QAClCvB,gBAAgBwB,GAAG,CAACH,KAAKC;IAC3B;AACF;AAEAxB,eAAemB,aAAalB;AAE5B,mBAAmB;AACnBI,IAAIM,gBAAgB,GAAG,CAAA,SACrBgB,uBAKW,EACXC,UAA+B,EAC/BC,OAAe,EACfC,OAAe,EACfC,MAAc,EACdC,MAAe,EACf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EA,OAAOE,gBAAgB8B,IAAI,CAAC,IAAI,EAAER;AACpC","ignoreList":[0]}
1
+ {"version":3,"sources":["../../src/server/require-hook.ts"],"sourcesContent":["// Synchronously inject a require hook for webpack and webpack/. It's required to use the internal ncc webpack version.\n// This is needed for userland plugins to attach to the same webpack instance as Next.js'.\n// Individually compiled modules are as defined for the compilation in bundles/webpack/packages/*.\n\n// This module will only be loaded once per process.\nconst path = require('path') as typeof import('path')\nconst mod = require('module') as typeof import('module')\nconst fs = require('fs') as typeof import('fs')\n\n// Read package name dynamically to support forked packages\n// Use a dynamic path that won't be resolved by bundlers\nconst packageJsonPath = path.join(__dirname, '../../package.json')\nconst PKG_NAME = JSON.parse(fs.readFileSync(packageJsonPath, 'utf8')).name\nconst originalRequire = mod.prototype.require\nconst resolveFilename =\n // @ts-expect-error\n mod._resolveFilename\n\nlet resolve: typeof require.resolve = process.env.NEXT_MINIMAL\n ? // @ts-ignore\n __non_webpack_require__.resolve\n : require.resolve\n\nexport const hookPropertyMap = new Map()\n\nexport const defaultOverrides = {\n 'styled-jsx': path.dirname(resolve('styled-jsx/package.json')),\n 'styled-jsx/style': resolve('styled-jsx/style'),\n 'styled-jsx/style.js': resolve('styled-jsx/style'),\n}\n\nconst toResolveMap = (map: Record<string, string>): [string, string][] =>\n Object.entries(map).map(([key, value]) => [key, resolve(value)])\n\nexport function addHookAliases(aliases: [string, string][] = []) {\n for (const [key, value] of aliases) {\n hookPropertyMap.set(key, value)\n }\n}\n\naddHookAliases(toResolveMap(defaultOverrides))\n\n// @ts-expect-error\nmod._resolveFilename = function (\n originalResolveFilename: (\n request: string,\n parent: string,\n isMain: boolean,\n opts: any\n ) => string,\n requestMap: Map<string, string>,\n pkgName: string,\n request: string,\n parent: string,\n isMain: boolean,\n options: any\n) {\n const hookResolved = requestMap.get(request)\n if (hookResolved) request = hookResolved\n\n // Redirect next/dist/, next/font/, and next/package.json requests to the actual package name (supports forked packages)\n if (request.startsWith('next/dist/')) {\n request = request.replace('next/dist/', `${pkgName}/dist/`)\n } else if (request.startsWith('next/font/')) {\n request = request.replace('next/font/', `${pkgName}/font/`)\n } else if (request === 'next/package.json') {\n request = `${pkgName}/package.json`\n }\n\n return originalResolveFilename.call(mod, request, parent, isMain, options)\n\n // We use `bind` here to avoid referencing outside variables to create potential memory leaks.\n}.bind(null, resolveFilename, hookPropertyMap, PKG_NAME)\n\n// @ts-expect-error\n// This is a hack to make sure that if a user requires a Next.js module that wasn't bundled\n// that needs to point to the rendering runtime version, it will point to the correct one.\n// This can happen on `pages` when a user requires a dependency that uses next/image for example.\nmod.prototype.require = function (request: string) {\n if (request.endsWith('.shared-runtime')) {\n return originalRequire.call(\n this,\n `${PKG_NAME}/dist/server/route-modules/pages/vendored/contexts/${path.basename(\n request,\n '.shared-runtime'\n )}`\n )\n }\n\n // Redirect next/dist/, next/font/, and next/package.json requests to the actual package name (supports forked packages)\n if (request.startsWith('next/dist/')) {\n return originalRequire.call(this, request.replace('next/dist/', `${PKG_NAME}/dist/`))\n } else if (request.startsWith('next/font/')) {\n return originalRequire.call(this, request.replace('next/font/', `${PKG_NAME}/font/`))\n } else if (request === 'next/package.json') {\n return originalRequire.call(this, `${PKG_NAME}/package.json`)\n }\n\n return originalRequire.call(this, request)\n}\n"],"names":["addHookAliases","defaultOverrides","hookPropertyMap","path","require","mod","fs","packageJsonPath","join","__dirname","PKG_NAME","JSON","parse","readFileSync","name","originalRequire","prototype","resolveFilename","_resolveFilename","resolve","process","env","NEXT_MINIMAL","__non_webpack_require__","Map","dirname","toResolveMap","map","Object","entries","key","value","aliases","set","originalResolveFilename","requestMap","pkgName","request","parent","isMain","options","hookResolved","get","startsWith","replace","call","bind","endsWith","basename"],"mappings":"AAAA,uHAAuH;AACvH,0FAA0F;AAC1F,kGAAkG;AAElG,oDAAoD;;;;;;;;;;;;;;;;;IA8BpCA,cAAc;eAAdA;;IATHC,gBAAgB;eAAhBA;;IAFAC,eAAe;eAAfA;;;AAlBb,MAAMC,OAAOC,QAA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C,eAAe;QAC3CN,UAAUA,QAAQO,OAAO,CAAC,cAAc,GAAGR,QAAQ,MAAM,CAAC;IAC5D,OAAO,IAAIC,YAAY,qBAAqB;QAC1CA,UAAU,GAAGD,QAAQ,aAAa,CAAC;IACrC;IAEA,OAAOF,wBAAwBW,IAAI,CAACxC,KAAKgC,SAASC,QAAQC,QAAQC;AAElE,8FAA8F;AAChG,CAAA,EAAEM,IAAI,CAAC,MAAM7B,iBAAiBf,iBAAiBQ;AAE/C,mBAAmB;AACnB,2FAA2F;AAC3F,0FAA0F;AAC1F,iGAAiG;AACjGL,IAAIW,SAAS,CAACZ,OAAO,GAAG,SAAUiC,OAAe;IAC/C,IAAIA,QAAQU,QAAQ,CAAC,oBAAoB;QACvC,OAAOhC,gBAAgB8B,IAAI,CACzB,IAAI,EACJ,GAAGnC,SAAS,mDAAmD,EAAEP,KAAK6C,QAAQ,CAC5EX,SACA,oBACC;IAEP;IAEA,wHAAwH;IACxH,IAAIA,QAAQM,UAAU,CAAC,eAAe;QACpC,OAAO5B,gBAAgB8B,IAAI,CAAC,IAAI,EAAER,QAAQO,OAAO,CAAC,cAAc,GAAGlC,SAAS,MAAM,CAAC;IACrF,OAAO,IAAI2B,QAAQM,UAAU,CAAC,eAAe;QAC3C,OAAO5B,gBAAgB8B,IAAI,CAAC,IAAI,EAAER,QAAQO,OAAO,CAAC,cAAc,GAAGlC,SAAS,MAAM,CAAC;IACrF,OAAO,IAAI2B,YAAY,qBAAqB;QAC1C,OAAOtB,gBAAgB8B,IAAI,CAAC,IAAI,EAAE,GAAGnC,SAAS,aAAa,CAAC;IAC9D;IAEA,OAAOK,gBAAgB8B,IAAI,CAAC,IAAI,EAAER;AACpC","ignoreList":[0]}
@@ -22,7 +22,7 @@ _export(exports, {
22
22
  });
23
23
  function isStableBuild() {
24
24
  var _process_env___NEXT_VERSION;
25
- return !((_process_env___NEXT_VERSION = "15.6.0-bun.23") == null ? void 0 : _process_env___NEXT_VERSION.includes('canary')) && !process.env.__NEXT_TEST_MODE && !process.env.NEXT_PRIVATE_LOCAL_DEV;
25
+ return !((_process_env___NEXT_VERSION = "15.6.0-bun.25") == null ? void 0 : _process_env___NEXT_VERSION.includes('canary')) && !process.env.__NEXT_TEST_MODE && !process.env.NEXT_PRIVATE_LOCAL_DEV;
26
26
  }
27
27
  class CanaryOnlyError extends Error {
28
28
  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: "15.6.0-bun.23"
84
+ nextVersion: "15.6.0-bun.25"
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 "15.6.0-bun.23" !== 'string') {
14
+ if (typeof "15.6.0-bun.25" !== 'string') {
15
15
  return [];
16
16
  }
17
17
  const payload = {
18
- nextVersion: "15.6.0-bun.23",
18
+ nextVersion: "15.6.0-bun.25",
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_experimental_reactCompiler, _nextConfig_experimental_reactCompiler1;
14
14
  // This should be an invariant, if it fails our build tooling is broken.
15
- if (typeof "15.6.0-bun.23" !== 'string') {
15
+ if (typeof "15.6.0-bun.25" !== 'string') {
16
16
  return [];
17
17
  }
18
18
  const { images, i18n } = nextConfig || {};
19
19
  const payload = {
20
- nextVersion: "15.6.0-bun.23",
20
+ nextVersion: "15.6.0-bun.25",
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": "15.6.0-bun.24",
3
+ "version": "15.6.0-bun.26",
4
4
  "description": "The React Framework - Self-Hosted First Fork with Full Bun Support",
5
5
  "main": "./dist/server/next.js",
6
6
  "license": "MIT",