next 15.4.0-canary.83 → 15.4.0-canary.84
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/app-page.runtime.dev.js +2 -2
- package/dist/compiled/next-server/app-page.runtime.dev.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/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/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/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.4.0-canary.
|
82
|
+
}).helpCommand(false).helpOption('-h, --help', 'Displays this message.').version(`Next.js v${"15.4.0-canary.84"}`, '-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('--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/build/index.js
CHANGED
@@ -363,7 +363,7 @@ async function build(dir, reactProductionProfiling = false, debugOutput = false,
|
|
363
363
|
const nextBuildSpan = (0, _trace.trace)('next-build', undefined, {
|
364
364
|
buildMode: experimentalBuildMode,
|
365
365
|
isTurboBuild: String(isTurbopack),
|
366
|
-
version: "15.4.0-canary.
|
366
|
+
version: "15.4.0-canary.84"
|
367
367
|
});
|
368
368
|
_buildcontext.NextBuildContext.nextBuildSpan = nextBuildSpan;
|
369
369
|
_buildcontext.NextBuildContext.dir = dir;
|
@@ -744,7 +744,7 @@ async function build(dir, reactProductionProfiling = false, debugOutput = false,
|
|
744
744
|
// Files outside of the distDir can be "type": "module"
|
745
745
|
await writeFileUtf8(_path.default.join(distDir, 'package.json'), '{"type": "commonjs"}');
|
746
746
|
// These are written to distDir, so they need to come after creating and cleaning distDr.
|
747
|
-
await (0, _builddiagnostics.recordFrameworkVersion)("15.4.0-canary.
|
747
|
+
await (0, _builddiagnostics.recordFrameworkVersion)("15.4.0-canary.84");
|
748
748
|
await (0, _builddiagnostics.updateBuildDiagnostics)({
|
749
749
|
buildStage: 'start'
|
750
750
|
});
|
package/dist/build/swc/index.js
CHANGED
@@ -127,7 +127,7 @@ function _interop_require_wildcard(obj, nodeInterop) {
|
|
127
127
|
}
|
128
128
|
return newObj;
|
129
129
|
}
|
130
|
-
const nextVersion = "15.4.0-canary.
|
130
|
+
const nextVersion = "15.4.0-canary.84";
|
131
131
|
const ArchName = (0, _os.arch)();
|
132
132
|
const PlatformName = (0, _os.platform)();
|
133
133
|
function infoLog(...args) {
|
@@ -1674,7 +1674,7 @@ async function getBaseWebpackConfig(dir, { buildId, encryptionKey, config, compi
|
|
1674
1674
|
isClient && new _copyfileplugin.CopyFilePlugin({
|
1675
1675
|
// file path to build output of `@next/polyfill-nomodule`
|
1676
1676
|
filePath: require.resolve('./polyfills/polyfill-nomodule'),
|
1677
|
-
cacheKey: "15.4.0-canary.
|
1677
|
+
cacheKey: "15.4.0-canary.84",
|
1678
1678
|
name: `static/chunks/polyfills${dev ? '' : '-[hash]'}.js`,
|
1679
1679
|
minimize: false,
|
1680
1680
|
info: {
|
@@ -1854,7 +1854,7 @@ async function getBaseWebpackConfig(dir, { buildId, encryptionKey, config, compi
|
|
1854
1854
|
// - Next.js location on disk (some loaders use absolute paths and some resolve options depend on absolute paths)
|
1855
1855
|
// - Next.js version
|
1856
1856
|
// - next.config.js keys that affect compilation
|
1857
|
-
version: `${__dirname}|${"15.4.0-canary.
|
1857
|
+
version: `${__dirname}|${"15.4.0-canary.84"}|${configVars}`,
|
1858
1858
|
cacheDirectory: _path.default.join(distDir, 'cache', 'webpack'),
|
1859
1859
|
// For production builds, it's more efficient to compress all cache files together instead of compression each one individually.
|
1860
1860
|
// So we disable compression here and allow the build runner to take care of compressing the cache as a whole.
|
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.4.0-canary.
|
64
|
+
const version = "15.4.0-canary.84";
|
65
65
|
let router;
|
66
66
|
const emitter = (0, _mitt.default)();
|
67
67
|
const looseToArray = (input)=>[].slice.call(input);
|