@openuiai/next 15.6.0-bun.31 → 15.6.0-bun.32
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/cache.d.ts +4 -4
- package/dist/bin/next +1 -1
- package/dist/bin/next.map +0 -0
- package/dist/build/babel/loader/types.d.ts +1 -1
- package/dist/build/index.js +3 -3
- package/dist/build/swc/index.js +1 -1
- package/dist/build/webpack/loaders/lightningcss-loader/src/minify.js +2 -2
- package/dist/build/webpack/loaders/lightningcss-loader/src/minify.js.map +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/@vercel/og/types.d.ts +1 -1
- package/dist/compiled/webpack/webpack.d.ts +5 -1
- package/dist/compiled/webpack-sources3/index.d.ts +14 -0
- package/dist/esm/build/babel/loader/types.d.ts +1 -1
- package/dist/esm/build/index.js +3 -3
- package/dist/esm/build/swc/index.js +1 -1
- package/dist/esm/build/webpack/loaders/lightningcss-loader/src/minify.js +2 -3
- package/dist/esm/build/webpack/loaders/lightningcss-loader/src/minify.js.map +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-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/canary-only.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/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/font/google/index.d.ts +1 -1
- package/font/local/index.d.ts +1 -1
- package/navigation-types/compat/navigation.d.ts +1 -1
- package/package.json +14 -14
- package/server.d.ts +14 -14
package/cache.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export { unstable_cache } from '
|
|
1
|
+
export { unstable_cache } from './dist/server/web/spec-extension/unstable-cache'
|
|
2
2
|
|
|
3
3
|
export {
|
|
4
4
|
revalidatePath,
|
|
5
5
|
revalidateTag,
|
|
6
6
|
unstable_expirePath,
|
|
7
7
|
unstable_expireTag,
|
|
8
|
-
} from '
|
|
8
|
+
} from './dist/server/web/spec-extension/revalidate'
|
|
9
9
|
|
|
10
|
-
export { unstable_noStore } from '
|
|
10
|
+
export { unstable_noStore } from './dist/server/web/spec-extension/unstable-no-store'
|
|
11
11
|
|
|
12
|
-
export { cacheTag as unstable_cacheTag } from '
|
|
12
|
+
export { cacheTag as unstable_cacheTag } from './dist/server/use-cache/cache-tag'
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* Cache this `"use cache"` for a timespan defined by the `"default"` profile.
|
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${"15.6.0-bun.
|
|
82
|
+
}).helpCommand(false).helpOption('-h, --help', 'Displays this message.').version(`Next.js v${"15.6.0-bun.31"}`, '-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-lint', 'Disables linting.').option('--no-mangling', 'Disables mangling.').option('--profile', 'Enables production profiling for React.').option('--experimental-app-only', 'Builds only App Router routes.').option('--turbo', 'Starts development mode using Turbopack.').option('--turbopack', 'Starts development mode using Turbopack.').addOption(new _commander.Option('--experimental-build-mode [mode]', 'Uses an experimental build mode.').choices([
|
|
84
84
|
'compile',
|
|
85
85
|
'generate',
|
package/dist/bin/next.map
CHANGED
|
File without changes
|
package/dist/build/index.js
CHANGED
|
@@ -369,7 +369,7 @@ async function build(dir, reactProductionProfiling = false, debugOutput = false,
|
|
|
369
369
|
const nextBuildSpan = (0, _trace.trace)('next-build', undefined, {
|
|
370
370
|
buildMode: experimentalBuildMode,
|
|
371
371
|
isTurboBuild: String(isTurbopack),
|
|
372
|
-
version: "15.6.0-bun.
|
|
372
|
+
version: "15.6.0-bun.31"
|
|
373
373
|
});
|
|
374
374
|
_buildcontext.NextBuildContext.nextBuildSpan = nextBuildSpan;
|
|
375
375
|
_buildcontext.NextBuildContext.dir = dir;
|
|
@@ -848,7 +848,7 @@ async function build(dir, reactProductionProfiling = false, debugOutput = false,
|
|
|
848
848
|
// Files outside of the distDir can be "type": "module"
|
|
849
849
|
await writeFileUtf8(_path.default.join(distDir, 'package.json'), '{"type": "commonjs"}');
|
|
850
850
|
// These are written to distDir, so they need to come after creating and cleaning distDr.
|
|
851
|
-
await (0, _builddiagnostics.recordFrameworkVersion)("15.6.0-bun.
|
|
851
|
+
await (0, _builddiagnostics.recordFrameworkVersion)("15.6.0-bun.31");
|
|
852
852
|
await (0, _builddiagnostics.updateBuildDiagnostics)({
|
|
853
853
|
buildStage: 'start'
|
|
854
854
|
});
|
|
@@ -2493,7 +2493,7 @@ async function build(dir, reactProductionProfiling = false, debugOutput = false,
|
|
|
2493
2493
|
distDir,
|
|
2494
2494
|
config,
|
|
2495
2495
|
staticPages,
|
|
2496
|
-
nextVersion: "15.6.0-bun.
|
|
2496
|
+
nextVersion: "15.6.0-bun.31",
|
|
2497
2497
|
tracingRoot: outputFileTracingRoot,
|
|
2498
2498
|
hasNodeMiddleware,
|
|
2499
2499
|
hasInstrumentationHook,
|
package/dist/build/swc/index.js
CHANGED
|
@@ -131,7 +131,7 @@ function _interop_require_wildcard(obj, nodeInterop) {
|
|
|
131
131
|
}
|
|
132
132
|
return newObj;
|
|
133
133
|
}
|
|
134
|
-
const nextVersion = "15.6.0-bun.
|
|
134
|
+
const nextVersion = "15.6.0-bun.31";
|
|
135
135
|
const ArchName = (0, _os.arch)();
|
|
136
136
|
const PlatformName = (0, _os.platform)();
|
|
137
137
|
function infoLog(...args) {
|
|
@@ -9,8 +9,8 @@ Object.defineProperty(exports, "LightningCssMinifyPlugin", {
|
|
|
9
9
|
return LightningCssMinifyPlugin;
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
|
-
const _webpack = require("
|
|
13
|
-
const _webpacksources3 = require("
|
|
12
|
+
const _webpack = require("../../../../../compiled/webpack/webpack");
|
|
13
|
+
const _webpacksources3 = require("../../../../../compiled/webpack-sources3");
|
|
14
14
|
const _interface = require("./interface");
|
|
15
15
|
const _utils = require("./utils");
|
|
16
16
|
const _buffer = require("buffer");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../../src/build/webpack/loaders/lightningcss-loader/src/minify.ts"],"sourcesContent":["// @ts-ignore\nimport { ModuleFilenameHelpers
|
|
1
|
+
{"version":3,"sources":["../../../../../../src/build/webpack/loaders/lightningcss-loader/src/minify.ts"],"sourcesContent":["// @ts-ignore\nimport { ModuleFilenameHelpers, webpack } from '../../../../../compiled/webpack/webpack'\n// @ts-ignore\nimport {\n RawSource,\n SourceMapSource,\n} from '../../../../../compiled/webpack-sources3'\nimport { ECacheKey } from './interface'\nimport type { Compilation, Compiler } from 'webpack'\nimport { getTargets } from './utils'\nimport { Buffer } from 'buffer'\n\nconst PLUGIN_NAME = 'lightning-css-minify'\nconst CSS_FILE_REG = /\\.css(?:\\?.*)?$/i\n\nexport class LightningCssMinifyPlugin {\n private readonly options: any\n private transform: any | undefined\n\n constructor(opts: any = {}) {\n const { implementation, ...otherOpts } = opts\n if (implementation && typeof implementation.transformCss !== 'function') {\n throw new TypeError(\n `[LightningCssMinifyPlugin]: implementation.transformCss must be an 'lightningcss' transform function. Received ${typeof implementation.transformCss}`\n )\n }\n\n this.transform = implementation?.transformCss\n this.options = otherOpts\n }\n\n apply(compiler: Compiler) {\n const meta = JSON.stringify({\n name: '@next/lightningcss-loader',\n version: '0.0.0',\n options: this.options,\n })\n\n compiler.hooks.compilation.tap(PLUGIN_NAME, (compilation) => {\n compilation.hooks.chunkHash.tap(PLUGIN_NAME, (_, hash) =>\n hash.update(meta)\n )\n\n compilation.hooks.processAssets.tapPromise(\n {\n name: PLUGIN_NAME,\n stage: webpack.Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_SIZE,\n additionalAssets: true,\n },\n async () => await this.transformAssets(compilation)\n )\n\n compilation.hooks.statsPrinter.tap(PLUGIN_NAME, (statsPrinter) => {\n statsPrinter.hooks.print\n .for('asset.info.minimized')\n // @ts-ignore\n .tap(PLUGIN_NAME, (minimized, { green, formatFlag }) => {\n // @ts-ignore\n return minimized ? green(formatFlag('minimized')) : undefined\n })\n })\n })\n }\n\n private async transformAssets(compilation: Compilation): Promise<void> {\n const {\n options: { devtool },\n } = compilation.compiler\n\n if (!this.transform) {\n const { loadBindings } =\n require('../../../../../build/swc') as typeof import('../../../../../build/swc')\n this.transform = (await loadBindings()).css.lightning.transform\n }\n\n const sourcemap =\n this.options.sourceMap === undefined\n ? ((devtool && (devtool as string).includes('source-map')) as boolean)\n : this.options.sourceMap\n\n const {\n include,\n exclude,\n test: testRegExp,\n targets: userTargets,\n ...transformOptions\n } = this.options\n\n const assets = compilation.getAssets().filter(\n (asset) =>\n // Filter out already minimized\n !asset.info.minimized &&\n // Filter out by file type\n (testRegExp || CSS_FILE_REG).test(asset.name) &&\n ModuleFilenameHelpers.matchObject({ include, exclude }, asset.name)\n )\n\n await Promise.all(\n assets.map(async (asset) => {\n const { source, map } = asset.source.sourceAndMap()\n const sourceAsString = source.toString()\n const code = typeof source === 'string' ? Buffer.from(source) : source\n const targets = getTargets({\n targets: userTargets,\n key: ECacheKey.minify,\n })\n\n const result = await this.transform!({\n filename: asset.name,\n code,\n minify: true,\n sourceMap: sourcemap,\n targets,\n ...transformOptions,\n })\n const codeString = result.code.toString()\n\n compilation.updateAsset(\n asset.name,\n // @ts-ignore\n sourcemap\n ? new SourceMapSource(\n codeString,\n asset.name,\n JSON.parse(result.map!.toString()),\n sourceAsString,\n map as any,\n true\n )\n : new RawSource(codeString),\n {\n ...asset.info,\n minimized: true,\n }\n )\n })\n )\n }\n}\n"],"names":["LightningCssMinifyPlugin","PLUGIN_NAME","CSS_FILE_REG","constructor","opts","implementation","otherOpts","transformCss","TypeError","transform","options","apply","compiler","meta","JSON","stringify","name","version","hooks","compilation","tap","chunkHash","_","hash","update","processAssets","tapPromise","stage","webpack","Compilation","PROCESS_ASSETS_STAGE_OPTIMIZE_SIZE","additionalAssets","transformAssets","statsPrinter","print","for","minimized","green","formatFlag","undefined","devtool","loadBindings","require","css","lightning","sourcemap","sourceMap","includes","include","exclude","test","testRegExp","targets","userTargets","transformOptions","assets","getAssets","filter","asset","info","ModuleFilenameHelpers","matchObject","Promise","all","map","source","sourceAndMap","sourceAsString","toString","code","Buffer","from","getTargets","key","ECacheKey","minify","result","filename","codeString","updateAsset","SourceMapSource","parse","RawSource"],"mappings":"AAAA,aAAa;;;;;+BAeAA;;;eAAAA;;;yBAdkC;iCAKxC;2BACmB;uBAEC;wBACJ;AAEvB,MAAMC,cAAc;AACpB,MAAMC,eAAe;AAEd,MAAMF;IAIXG,YAAYC,OAAY,CAAC,CAAC,CAAE;QAC1B,MAAM,EAAEC,cAAc,EAAE,GAAGC,WAAW,GAAGF;QACzC,IAAIC,kBAAkB,OAAOA,eAAeE,YAAY,KAAK,YAAY;YACvE,MAAM,qBAEL,CAFK,IAAIC,UACR,CAAC,+GAA+G,EAAE,OAAOH,eAAeE,YAAY,EAAE,GADlJ,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gBACAH,KACA,QAEF,IAAIkB,0BAAS,CAACJ,aAClB;gBACE,GAAGpB,MAAMC,IAAI;gBACbvB,WAAW;YACb;QAEJ;IAEJ;AACF","ignoreList":[0]}
|
|
@@ -1678,7 +1678,7 @@ async function getBaseWebpackConfig(dir, { buildId, encryptionKey, config, compi
|
|
|
1678
1678
|
isClient && new _copyfileplugin.CopyFilePlugin({
|
|
1679
1679
|
// file path to build output of `@next/polyfill-nomodule`
|
|
1680
1680
|
filePath: require.resolve('./polyfills/polyfill-nomodule'),
|
|
1681
|
-
cacheKey: "15.6.0-bun.
|
|
1681
|
+
cacheKey: "15.6.0-bun.31",
|
|
1682
1682
|
name: `static/chunks/polyfills${dev ? '' : '-[hash]'}.js`,
|
|
1683
1683
|
minimize: false,
|
|
1684
1684
|
info: {
|
|
@@ -1859,7 +1859,7 @@ async function getBaseWebpackConfig(dir, { buildId, encryptionKey, config, compi
|
|
|
1859
1859
|
// - Next.js location on disk (some loaders use absolute paths and some resolve options depend on absolute paths)
|
|
1860
1860
|
// - Next.js version
|
|
1861
1861
|
// - next.config.js keys that affect compilation
|
|
1862
|
-
version: `${__dirname}|${"15.6.0-bun.
|
|
1862
|
+
version: `${__dirname}|${"15.6.0-bun.31"}|${configVars}`,
|
|
1863
1863
|
cacheDirectory: _path.default.join(distDir, 'cache', 'webpack'),
|
|
1864
1864
|
// For production builds, it's more efficient to compress all cache files together instead of compression each one individually.
|
|
1865
1865
|
// 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 = "15.6.0-bun.
|
|
18
|
+
const version = "15.6.0-bun.31";
|
|
19
19
|
window.next = {
|
|
20
20
|
version,
|
|
21
21
|
appDir: true
|
package/dist/client/index.js
CHANGED
|
@@ -61,7 +61,7 @@ const _hooksclientcontextsharedruntime = require("../shared/lib/hooks-client-con
|
|
|
61
61
|
const _onrecoverableerror = require("./react-client-callbacks/on-recoverable-error");
|
|
62
62
|
const _tracer = /*#__PURE__*/ _interop_require_default._(require("./tracing/tracer"));
|
|
63
63
|
const _isnextroutererror = require("./components/is-next-router-error");
|
|
64
|
-
const version = "15.6.0-bun.
|
|
64
|
+
const version = "15.6.0-bun.31";
|
|
65
65
|
let router;
|
|
66
66
|
const emitter = (0, _mitt.default)();
|
|
67
67
|
const looseToArray = (input)=>[].slice.call(input);
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/// <reference types="react" />
|
|
3
3
|
/// <reference types="node" />
|
|
4
4
|
/// <reference types="node" />
|
|
5
|
-
import type { SatoriOptions } from "
|
|
5
|
+
import type { SatoriOptions } from "./satori";
|
|
6
6
|
import type { EmojiType } from './emoji';
|
|
7
7
|
import type { OutgoingHttpHeader } from 'http';
|
|
8
8
|
type ImageOptions = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export namespace webpack {
|
|
1
|
+
export declare namespace webpack {
|
|
2
2
|
export type Compiler = any
|
|
3
3
|
export type Plugin = any
|
|
4
4
|
export type Configuration = any
|
|
@@ -7,9 +7,13 @@ export namespace webpack {
|
|
|
7
7
|
export type MultiCompiler = any
|
|
8
8
|
export type EntryObject = any
|
|
9
9
|
export type ProgressPlugin = any
|
|
10
|
+
export namespace Compilation {
|
|
11
|
+
export const PROCESS_ASSETS_STAGE_OPTIMIZE_SIZE: number
|
|
12
|
+
}
|
|
10
13
|
export type Compilation = any
|
|
11
14
|
export type javascript = any
|
|
12
15
|
export type Module = any
|
|
13
16
|
export type ModuleGraph = any
|
|
14
17
|
export type WebpackPluginInstance = any
|
|
18
|
+
export type LoaderContext<T = any> = any
|
|
15
19
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export class RawSource {
|
|
2
|
+
constructor(source: string | Buffer)
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
export class SourceMapSource {
|
|
6
|
+
constructor(
|
|
7
|
+
source: string,
|
|
8
|
+
name: string,
|
|
9
|
+
sourceMap: any,
|
|
10
|
+
originalSource?: string,
|
|
11
|
+
innerSourceMap?: any,
|
|
12
|
+
removeOriginalSource?: boolean
|
|
13
|
+
)
|
|
14
|
+
}
|
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.6.0-bun.
|
|
304
|
+
version: "15.6.0-bun.31"
|
|
305
305
|
});
|
|
306
306
|
NextBuildContext.nextBuildSpan = nextBuildSpan;
|
|
307
307
|
NextBuildContext.dir = dir;
|
|
@@ -780,7 +780,7 @@ export default async function build(dir, reactProductionProfiling = false, debug
|
|
|
780
780
|
// Files outside of the distDir can be "type": "module"
|
|
781
781
|
await writeFileUtf8(path.join(distDir, 'package.json'), '{"type": "commonjs"}');
|
|
782
782
|
// These are written to distDir, so they need to come after creating and cleaning distDr.
|
|
783
|
-
await recordFrameworkVersion("15.6.0-bun.
|
|
783
|
+
await recordFrameworkVersion("15.6.0-bun.31");
|
|
784
784
|
await updateBuildDiagnostics({
|
|
785
785
|
buildStage: 'start'
|
|
786
786
|
});
|
|
@@ -2425,7 +2425,7 @@ export default async function build(dir, reactProductionProfiling = false, debug
|
|
|
2425
2425
|
distDir,
|
|
2426
2426
|
config,
|
|
2427
2427
|
staticPages,
|
|
2428
|
-
nextVersion: "15.6.0-bun.
|
|
2428
|
+
nextVersion: "15.6.0-bun.31",
|
|
2429
2429
|
tracingRoot: outputFileTracingRoot,
|
|
2430
2430
|
hasNodeMiddleware,
|
|
2431
2431
|
hasInstrumentationHook,
|
|
@@ -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.6.0-bun.
|
|
14
|
+
const nextVersion = "15.6.0-bun.31";
|
|
15
15
|
const ArchName = arch();
|
|
16
16
|
const PlatformName = platform();
|
|
17
17
|
function infoLog(...args) {
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
// @ts-ignore
|
|
2
|
-
import { ModuleFilenameHelpers } from '
|
|
3
|
-
import { webpack } from 'next/dist/compiled/webpack/webpack';
|
|
2
|
+
import { ModuleFilenameHelpers, webpack } from '../../../../../compiled/webpack/webpack';
|
|
4
3
|
// @ts-ignore
|
|
5
|
-
import { RawSource, SourceMapSource } from '
|
|
4
|
+
import { RawSource, SourceMapSource } from '../../../../../compiled/webpack-sources3';
|
|
6
5
|
import { ECacheKey } from './interface';
|
|
7
6
|
import { getTargets } from './utils';
|
|
8
7
|
import { Buffer } from 'buffer';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../../src/build/webpack/loaders/lightningcss-loader/src/minify.ts"],"sourcesContent":["// @ts-ignore\nimport { ModuleFilenameHelpers
|
|
1
|
+
{"version":3,"sources":["../../../../../../src/build/webpack/loaders/lightningcss-loader/src/minify.ts"],"sourcesContent":["// @ts-ignore\nimport { ModuleFilenameHelpers, webpack } from '../../../../../compiled/webpack/webpack'\n// @ts-ignore\nimport {\n RawSource,\n SourceMapSource,\n} from '../../../../../compiled/webpack-sources3'\nimport { ECacheKey } from './interface'\nimport type { Compilation, Compiler } from 'webpack'\nimport { getTargets } from './utils'\nimport { Buffer } from 'buffer'\n\nconst PLUGIN_NAME = 'lightning-css-minify'\nconst CSS_FILE_REG = /\\.css(?:\\?.*)?$/i\n\nexport class LightningCssMinifyPlugin {\n private readonly options: any\n private transform: any | undefined\n\n constructor(opts: any = {}) {\n const { implementation, ...otherOpts } = opts\n if (implementation && typeof implementation.transformCss !== 'function') {\n throw new TypeError(\n `[LightningCssMinifyPlugin]: implementation.transformCss must be an 'lightningcss' transform function. Received ${typeof implementation.transformCss}`\n )\n }\n\n this.transform = implementation?.transformCss\n this.options = otherOpts\n }\n\n apply(compiler: Compiler) {\n const meta = JSON.stringify({\n name: '@next/lightningcss-loader',\n version: '0.0.0',\n options: this.options,\n })\n\n compiler.hooks.compilation.tap(PLUGIN_NAME, (compilation) => {\n compilation.hooks.chunkHash.tap(PLUGIN_NAME, (_, hash) =>\n hash.update(meta)\n )\n\n compilation.hooks.processAssets.tapPromise(\n {\n name: PLUGIN_NAME,\n stage: webpack.Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_SIZE,\n additionalAssets: true,\n },\n async () => await this.transformAssets(compilation)\n )\n\n compilation.hooks.statsPrinter.tap(PLUGIN_NAME, (statsPrinter) => {\n statsPrinter.hooks.print\n .for('asset.info.minimized')\n // @ts-ignore\n .tap(PLUGIN_NAME, (minimized, { green, formatFlag }) => {\n // @ts-ignore\n return minimized ? green(formatFlag('minimized')) : undefined\n })\n })\n })\n }\n\n private async transformAssets(compilation: Compilation): Promise<void> {\n const {\n options: { devtool },\n } = compilation.compiler\n\n if (!this.transform) {\n const { loadBindings } =\n require('../../../../../build/swc') as typeof import('../../../../../build/swc')\n this.transform = (await loadBindings()).css.lightning.transform\n }\n\n const sourcemap =\n this.options.sourceMap === undefined\n ? ((devtool && (devtool as string).includes('source-map')) as boolean)\n : this.options.sourceMap\n\n const {\n include,\n exclude,\n test: testRegExp,\n targets: userTargets,\n ...transformOptions\n } = this.options\n\n const assets = compilation.getAssets().filter(\n (asset) =>\n // Filter out already minimized\n !asset.info.minimized &&\n // Filter out by file type\n (testRegExp || CSS_FILE_REG).test(asset.name) &&\n ModuleFilenameHelpers.matchObject({ include, exclude }, asset.name)\n )\n\n await Promise.all(\n assets.map(async (asset) => {\n const { source, map } = asset.source.sourceAndMap()\n const sourceAsString = source.toString()\n const code = typeof source === 'string' ? Buffer.from(source) : source\n const targets = getTargets({\n targets: userTargets,\n key: ECacheKey.minify,\n })\n\n const result = await this.transform!({\n filename: asset.name,\n code,\n minify: true,\n sourceMap: sourcemap,\n targets,\n ...transformOptions,\n })\n const codeString = result.code.toString()\n\n compilation.updateAsset(\n asset.name,\n // @ts-ignore\n sourcemap\n ? new SourceMapSource(\n codeString,\n asset.name,\n JSON.parse(result.map!.toString()),\n sourceAsString,\n map as any,\n true\n )\n : new RawSource(codeString),\n {\n ...asset.info,\n minimized: true,\n }\n )\n })\n )\n }\n}\n"],"names":["ModuleFilenameHelpers","webpack","RawSource","SourceMapSource","ECacheKey","getTargets","Buffer","PLUGIN_NAME","CSS_FILE_REG","LightningCssMinifyPlugin","constructor","opts","implementation","otherOpts","transformCss","TypeError","transform","options","apply","compiler","meta","JSON","stringify","name","version","hooks","compilation","tap","chunkHash","_","hash","update","processAssets","tapPromise","stage","Compilation","PROCESS_ASSETS_STAGE_OPTIMIZE_SIZE","additionalAssets","transformAssets","statsPrinter","print","for","minimized","green","formatFlag","undefined","devtool","loadBindings","require","css","lightning","sourcemap","sourceMap","includes","include","exclude","test","testRegExp","targets","userTargets","transformOptions","assets","getAssets","filter","asset","info","matchObject","Promise","all","map","source","sourceAndMap","sourceAsString","toString","code","from","key","minify","result","filename","codeString","updateAsset","parse"],"mappings":"AAAA,aAAa;AACb,SAASA,qBAAqB,EAAEC,OAAO,QAAQ,0CAAyC;AACxF,aAAa;AACb,SACEC,SAAS,EACTC,eAAe,QACV,2CAA0C;AACjD,SAASC,SAAS,QAAQ,cAAa;AAEvC,SAASC,UAAU,QAAQ,UAAS;AACpC,SAASC,MAAM,QAAQ,SAAQ;AAE/B,MAAMC,cAAc;AACpB,MAAMC,eAAe;AAErB,OAAO,MAAMC;IAIXC,YAAYC,OAAY,CAAC,CAAC,CAAE;QAC1B,MAAM,EAAEC,cAAc,EAAE,GAAGC,WAAW,GAAGF;QACzC,IAAIC,kBAAkB,OAAOA,eAAeE,YAAY,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hB,MAAMzC,IAAI,EACVF,KAAK6D,KAAK,CAACJ,OAAOT,GAAG,CAAEI,QAAQ,KAC/BD,gBACAH,KACA,QAEF,IAAInE,UAAU8E,aAClB;gBACE,GAAGhB,MAAMC,IAAI;gBACbvB,WAAW;YACb;QAEJ;IAEJ;AACF","ignoreList":[0]}
|
|
@@ -1575,7 +1575,7 @@ export default async function getBaseWebpackConfig(dir, { buildId, encryptionKey
|
|
|
1575
1575
|
isClient && new CopyFilePlugin({
|
|
1576
1576
|
// file path to build output of `@next/polyfill-nomodule`
|
|
1577
1577
|
filePath: require.resolve('./polyfills/polyfill-nomodule'),
|
|
1578
|
-
cacheKey: "15.6.0-bun.
|
|
1578
|
+
cacheKey: "15.6.0-bun.31",
|
|
1579
1579
|
name: `static/chunks/polyfills${dev ? '' : '-[hash]'}.js`,
|
|
1580
1580
|
minimize: false,
|
|
1581
1581
|
info: {
|
|
@@ -1756,7 +1756,7 @@ export default async function getBaseWebpackConfig(dir, { buildId, encryptionKey
|
|
|
1756
1756
|
// - Next.js location on disk (some loaders use absolute paths and some resolve options depend on absolute paths)
|
|
1757
1757
|
// - Next.js version
|
|
1758
1758
|
// - next.config.js keys that affect compilation
|
|
1759
|
-
version: `${__dirname}|${"15.6.0-bun.
|
|
1759
|
+
version: `${__dirname}|${"15.6.0-bun.31"}|${configVars}`,
|
|
1760
1760
|
cacheDirectory: path.join(distDir, 'cache', 'webpack'),
|
|
1761
1761
|
// For production builds, it's more efficient to compress all cache files together instead of compression each one individually.
|
|
1762
1762
|
// 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.6.0-bun.
|
|
8
|
+
const version = "15.6.0-bun.31";
|
|
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.6.0-bun.
|
|
29
|
+
export const version = "15.6.0-bun.31";
|
|
30
30
|
export let router;
|
|
31
31
|
export const emitter = mitt();
|
|
32
32
|
const looseToArray = (input)=>[].slice.call(input);
|
|
@@ -158,7 +158,7 @@ export default class HotReloaderWebpack {
|
|
|
158
158
|
this.previewProps = previewProps;
|
|
159
159
|
this.rewrites = rewrites;
|
|
160
160
|
this.hotReloaderSpan = trace('hot-reloader', undefined, {
|
|
161
|
-
version: "15.6.0-bun.
|
|
161
|
+
version: "15.6.0-bun.31"
|
|
162
162
|
});
|
|
163
163
|
// Ensure the hotReloaderSpan is flushed immediately as it's the parentSpan for all processing
|
|
164
164
|
// of the current `next dev` invocation.
|
|
@@ -14,7 +14,7 @@ export function logStartInfo({ networkUrl, appUrl, envInfo, experimentalFeatures
|
|
|
14
14
|
bundlerSuffix = ' (webpack)';
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
|
-
Log.bootstrap(`${bold(purple(`${Log.prefixes.ready} Next.js ${"15.6.0-bun.
|
|
17
|
+
Log.bootstrap(`${bold(purple(`${Log.prefixes.ready} Next.js ${"15.6.0-bun.31"}`))}${bundlerSuffix}`);
|
|
18
18
|
if (appUrl) {
|
|
19
19
|
Log.bootstrap(`- Local: ${appUrl}`);
|
|
20
20
|
}
|
|
@@ -87,7 +87,7 @@ export async function getRequestHandlers({ dir, port, isDev, onDevServerCleanup,
|
|
|
87
87
|
export async function startServer(serverOptions) {
|
|
88
88
|
const { dir, isDev, hostname, minimalMode, allowRetry, keepAliveTimeout, selfSignedCertificate } = serverOptions;
|
|
89
89
|
let { port } = serverOptions;
|
|
90
|
-
process.title = `next-server (v${"15.6.0-bun.
|
|
90
|
+
process.title = `next-server (v${"15.6.0-bun.31"})`;
|
|
91
91
|
let handlersReady = ()=>{};
|
|
92
92
|
let handlersError = ()=>{};
|
|
93
93
|
let handlersPromise = new Promise((resolve, reject)=>{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export function isStableBuild() {
|
|
2
2
|
var _process_env___NEXT_VERSION;
|
|
3
|
-
return !((_process_env___NEXT_VERSION = "15.6.0-bun.
|
|
3
|
+
return !((_process_env___NEXT_VERSION = "15.6.0-bun.31") == null ? void 0 : _process_env___NEXT_VERSION.includes('canary')) && !process.env.__NEXT_TEST_MODE && !process.env.NEXT_PRIVATE_LOCAL_DEV;
|
|
4
4
|
}
|
|
5
5
|
export class CanaryOnlyError extends Error {
|
|
6
6
|
constructor(arg){
|
|
@@ -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.
|
|
229
|
+
version: "15.6.0-bun.31"
|
|
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.
|
|
85
|
+
_log.bootstrap(`${(0, _picocolors.bold)((0, _picocolors.purple)(`${_log.prefixes.ready} Next.js ${"15.6.0-bun.31"}`))}${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.
|
|
158
|
+
process.title = `next-server (v${"15.6.0-bun.31"})`;
|
|
159
159
|
let handlersReady = ()=>{};
|
|
160
160
|
let handlersError = ()=>{};
|
|
161
161
|
let handlersPromise = new Promise((resolve, reject)=>{
|
|
@@ -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.
|
|
25
|
+
return !((_process_env___NEXT_VERSION = "15.6.0-bun.31") == 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){
|
|
@@ -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.
|
|
14
|
+
if (typeof "15.6.0-bun.31" !== 'string') {
|
|
15
15
|
return [];
|
|
16
16
|
}
|
|
17
17
|
const payload = {
|
|
18
|
-
nextVersion: "15.6.0-bun.
|
|
18
|
+
nextVersion: "15.6.0-bun.31",
|
|
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.
|
|
15
|
+
if (typeof "15.6.0-bun.31" !== 'string') {
|
|
16
16
|
return [];
|
|
17
17
|
}
|
|
18
18
|
const { images, i18n } = nextConfig || {};
|
|
19
19
|
const payload = {
|
|
20
|
-
nextVersion: "15.6.0-bun.
|
|
20
|
+
nextVersion: "15.6.0-bun.31",
|
|
21
21
|
nodeVersion: process.version,
|
|
22
22
|
cliCommand: event.cliCommand,
|
|
23
23
|
isSrcDir: event.isSrcDir,
|
package/font/google/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from '
|
|
1
|
+
export * from '../../dist/compiled/@next/font/dist/google'
|
package/font/local/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from '
|
|
1
|
+
export { default } from '../../dist/compiled/@next/font/dist/local'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openuiai/next",
|
|
3
|
-
"version": "15.6.0-bun.
|
|
3
|
+
"version": "15.6.0-bun.32",
|
|
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",
|
|
@@ -81,18 +81,6 @@
|
|
|
81
81
|
"bin": {
|
|
82
82
|
"next": "./dist/bin/next"
|
|
83
83
|
},
|
|
84
|
-
"scripts": {
|
|
85
|
-
"dev": "cross-env NEXT_SERVER_NO_MANGLE=1 taskr",
|
|
86
|
-
"release": "taskr release",
|
|
87
|
-
"build": "pnpm release",
|
|
88
|
-
"_prepublishOnly": "cd ../../ && turbo run build",
|
|
89
|
-
"types": "tsc --project tsconfig.build.json --declaration --emitDeclarationOnly --stripInternal --declarationDir dist",
|
|
90
|
-
"typescript": "tsec --noEmit",
|
|
91
|
-
"ncc-compiled": "taskr ncc",
|
|
92
|
-
"storybook": "BROWSER=none storybook dev -p 6006",
|
|
93
|
-
"build-storybook": "storybook build",
|
|
94
|
-
"test-storybook": "test-storybook"
|
|
95
|
-
},
|
|
96
84
|
"taskr": {
|
|
97
85
|
"requires": [
|
|
98
86
|
"./taskfile-webpack.js",
|
|
@@ -381,5 +369,17 @@
|
|
|
381
369
|
],
|
|
382
370
|
"engines": {
|
|
383
371
|
"node": ">=20.9.0"
|
|
372
|
+
},
|
|
373
|
+
"scripts": {
|
|
374
|
+
"dev": "cross-env NEXT_SERVER_NO_MANGLE=1 taskr",
|
|
375
|
+
"release": "taskr release",
|
|
376
|
+
"build": "pnpm release",
|
|
377
|
+
"_prepublishOnly": "cd ../../ && turbo run build",
|
|
378
|
+
"types": "tsc --project tsconfig.build.json --declaration --emitDeclarationOnly --stripInternal --declarationDir dist",
|
|
379
|
+
"typescript": "tsec --noEmit",
|
|
380
|
+
"ncc-compiled": "taskr ncc",
|
|
381
|
+
"storybook": "BROWSER=none storybook dev -p 6006",
|
|
382
|
+
"build-storybook": "storybook build",
|
|
383
|
+
"test-storybook": "test-storybook"
|
|
384
384
|
}
|
|
385
|
-
}
|
|
385
|
+
}
|
package/server.d.ts
CHANGED
|
@@ -4,17 +4,17 @@ declare global {
|
|
|
4
4
|
var AsyncLocalStorage: typeof NodeAsyncLocalStorage
|
|
5
5
|
}
|
|
6
6
|
|
|
7
|
-
export { NextFetchEvent } from '
|
|
8
|
-
export { NextRequest } from '
|
|
9
|
-
export { NextResponse } from '
|
|
10
|
-
export { NextMiddleware, MiddlewareConfig } from '
|
|
11
|
-
export { userAgentFromString } from '
|
|
12
|
-
export { userAgent } from '
|
|
13
|
-
export { URLPattern } from '
|
|
14
|
-
export { ImageResponse } from '
|
|
15
|
-
export type { ImageResponseOptions } from '
|
|
16
|
-
export { after } from '
|
|
17
|
-
export { unstable_rootParams } from '
|
|
18
|
-
export { connection } from '
|
|
19
|
-
export type { UnsafeUnwrappedSearchParams } from '
|
|
20
|
-
export type { UnsafeUnwrappedParams } from '
|
|
7
|
+
export { NextFetchEvent } from './dist/server/web/spec-extension/fetch-event'
|
|
8
|
+
export { NextRequest } from './dist/server/web/spec-extension/request'
|
|
9
|
+
export { NextResponse } from './dist/server/web/spec-extension/response'
|
|
10
|
+
export { NextMiddleware, MiddlewareConfig } from './dist/server/web/types'
|
|
11
|
+
export { userAgentFromString } from './dist/server/web/spec-extension/user-agent'
|
|
12
|
+
export { userAgent } from './dist/server/web/spec-extension/user-agent'
|
|
13
|
+
export { URLPattern } from './dist/compiled/@edge-runtime/primitives/url'
|
|
14
|
+
export { ImageResponse } from './dist/server/web/spec-extension/image-response'
|
|
15
|
+
export type { ImageResponseOptions } from './dist/compiled/@vercel/og/types'
|
|
16
|
+
export { after } from './dist/server/after'
|
|
17
|
+
export { unstable_rootParams } from './dist/server/request/root-params'
|
|
18
|
+
export { connection } from './dist/server/request/connection'
|
|
19
|
+
export type { UnsafeUnwrappedSearchParams } from './dist/server/request/search-params'
|
|
20
|
+
export type { UnsafeUnwrappedParams } from './dist/server/request/params'
|