next 15.4.2-canary.28 → 15.4.2-canary.29

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 (31) hide show
  1. package/dist/bin/next +1 -1
  2. package/dist/build/index.js +2 -2
  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/font/dist/google/font-data.json +414 -1
  8. package/dist/compiled/@next/font/dist/google/index.d.ts +140 -2
  9. package/dist/compiled/next-server/pages-api.runtime.prod.js +1 -1
  10. package/dist/compiled/next-server/pages-api.runtime.prod.js.map +1 -1
  11. package/dist/compiled/next-server/pages.runtime.prod.js +1 -1
  12. package/dist/compiled/next-server/pages.runtime.prod.js.map +1 -1
  13. package/dist/esm/build/index.js +2 -2
  14. package/dist/esm/build/swc/index.js +1 -1
  15. package/dist/esm/build/webpack-config.js +2 -2
  16. package/dist/esm/client/app-bootstrap.js +1 -1
  17. package/dist/esm/client/index.js +1 -1
  18. package/dist/esm/server/dev/hot-reloader-turbopack.js +1 -1
  19. package/dist/esm/server/dev/hot-reloader-webpack.js +1 -1
  20. package/dist/esm/server/lib/app-info-log.js +1 -1
  21. package/dist/esm/server/lib/start-server.js +1 -1
  22. package/dist/esm/shared/lib/canary-only.js +1 -1
  23. package/dist/server/dev/hot-reloader-turbopack.js +1 -1
  24. package/dist/server/dev/hot-reloader-webpack.js +1 -1
  25. package/dist/server/lib/app-info-log.js +1 -1
  26. package/dist/server/lib/start-server.js +1 -1
  27. package/dist/shared/lib/canary-only.js +1 -1
  28. package/dist/telemetry/anonymous-meta.js +1 -1
  29. package/dist/telemetry/events/session-stopped.js +2 -2
  30. package/dist/telemetry/events/version.js +2 -2
  31. 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.2-canary.28"}`, '-v, --version', 'Outputs the Next.js version.');
82
+ }).helpCommand(false).helpOption('-h, --help', 'Displays this message.').version(`Next.js v${"15.4.2-canary.29"}`, '-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',
@@ -395,7 +395,7 @@ async function build(dir, reactProductionProfiling = false, debugOutput = false,
395
395
  const nextBuildSpan = (0, _trace.trace)('next-build', undefined, {
396
396
  buildMode: experimentalBuildMode,
397
397
  isTurboBuild: String(isTurbopack),
398
- version: "15.4.2-canary.28"
398
+ version: "15.4.2-canary.29"
399
399
  });
400
400
  _buildcontext.NextBuildContext.nextBuildSpan = nextBuildSpan;
401
401
  _buildcontext.NextBuildContext.dir = dir;
@@ -832,7 +832,7 @@ async function build(dir, reactProductionProfiling = false, debugOutput = false,
832
832
  // Files outside of the distDir can be "type": "module"
833
833
  await writeFileUtf8(_path.default.join(distDir, 'package.json'), '{"type": "commonjs"}');
834
834
  // These are written to distDir, so they need to come after creating and cleaning distDr.
835
- await (0, _builddiagnostics.recordFrameworkVersion)("15.4.2-canary.28");
835
+ await (0, _builddiagnostics.recordFrameworkVersion)("15.4.2-canary.29");
836
836
  await (0, _builddiagnostics.updateBuildDiagnostics)({
837
837
  buildStage: 'start'
838
838
  });
@@ -131,7 +131,7 @@ function _interop_require_wildcard(obj, nodeInterop) {
131
131
  }
132
132
  return newObj;
133
133
  }
134
- const nextVersion = "15.4.2-canary.28";
134
+ const nextVersion = "15.4.2-canary.29";
135
135
  const ArchName = (0, _os.arch)();
136
136
  const PlatformName = (0, _os.platform)();
137
137
  function infoLog(...args) {
@@ -1712,7 +1712,7 @@ async function getBaseWebpackConfig(dir, { buildId, encryptionKey, config, compi
1712
1712
  isClient && new _copyfileplugin.CopyFilePlugin({
1713
1713
  // file path to build output of `@next/polyfill-nomodule`
1714
1714
  filePath: require.resolve('./polyfills/polyfill-nomodule'),
1715
- cacheKey: "15.4.2-canary.28",
1715
+ cacheKey: "15.4.2-canary.29",
1716
1716
  name: `static/chunks/polyfills${dev ? '' : '-[hash]'}.js`,
1717
1717
  minimize: false,
1718
1718
  info: {
@@ -1892,7 +1892,7 @@ async function getBaseWebpackConfig(dir, { buildId, encryptionKey, config, compi
1892
1892
  // - Next.js location on disk (some loaders use absolute paths and some resolve options depend on absolute paths)
1893
1893
  // - Next.js version
1894
1894
  // - next.config.js keys that affect compilation
1895
- version: `${__dirname}|${"15.4.2-canary.28"}|${configVars}`,
1895
+ version: `${__dirname}|${"15.4.2-canary.29"}|${configVars}`,
1896
1896
  cacheDirectory: _path.default.join(distDir, 'cache', 'webpack'),
1897
1897
  // For production builds, it's more efficient to compress all cache files together instead of compression each one individually.
1898
1898
  // So we disable compression here and allow the build runner to take care of compressing the cache as a whole.
@@ -14,7 +14,7 @@ Object.defineProperty(exports, "appBootstrap", {
14
14
  }
15
15
  });
16
16
  const _setattributesfromprops = require("./set-attributes-from-props");
17
- const version = "15.4.2-canary.28";
17
+ const version = "15.4.2-canary.29";
18
18
  window.next = {
19
19
  version,
20
20
  appDir: true
@@ -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.2-canary.28";
64
+ const version = "15.4.2-canary.29";
65
65
  let router;
66
66
  const emitter = (0, _mitt.default)();
67
67
  const looseToArray = (input)=>[].slice.call(input);
@@ -1959,6 +1959,54 @@
1959
1959
  "styles": ["normal"],
1960
1960
  "subsets": ["devanagari", "latin", "latin-ext"]
1961
1961
  },
1962
+ "Bitcount": {
1963
+ "weights": [
1964
+ "100",
1965
+ "200",
1966
+ "300",
1967
+ "400",
1968
+ "500",
1969
+ "600",
1970
+ "700",
1971
+ "800",
1972
+ "900",
1973
+ "variable"
1974
+ ],
1975
+ "styles": ["normal"],
1976
+ "axes": [
1977
+ {
1978
+ "tag": "CRSV",
1979
+ "min": 0,
1980
+ "max": 1,
1981
+ "defaultValue": 0.5
1982
+ },
1983
+ {
1984
+ "tag": "ELSH",
1985
+ "min": 0,
1986
+ "max": 100,
1987
+ "defaultValue": 0
1988
+ },
1989
+ {
1990
+ "tag": "ELXP",
1991
+ "min": 0,
1992
+ "max": 100,
1993
+ "defaultValue": 0
1994
+ },
1995
+ {
1996
+ "tag": "slnt",
1997
+ "min": -8,
1998
+ "max": 0,
1999
+ "defaultValue": 0
2000
+ },
2001
+ {
2002
+ "tag": "wght",
2003
+ "min": 100,
2004
+ "max": 900,
2005
+ "defaultValue": 400
2006
+ }
2007
+ ],
2008
+ "subsets": ["latin", "latin-ext"]
2009
+ },
1962
2010
  "Bitcount Grid Double": {
1963
2011
  "weights": [
1964
2012
  "100",
@@ -2007,6 +2055,198 @@
2007
2055
  ],
2008
2056
  "subsets": ["latin", "latin-ext"]
2009
2057
  },
2058
+ "Bitcount Grid Single": {
2059
+ "weights": [
2060
+ "100",
2061
+ "200",
2062
+ "300",
2063
+ "400",
2064
+ "500",
2065
+ "600",
2066
+ "700",
2067
+ "800",
2068
+ "900",
2069
+ "variable"
2070
+ ],
2071
+ "styles": ["normal"],
2072
+ "axes": [
2073
+ {
2074
+ "tag": "CRSV",
2075
+ "min": 0,
2076
+ "max": 1,
2077
+ "defaultValue": 0.5
2078
+ },
2079
+ {
2080
+ "tag": "ELSH",
2081
+ "min": 0,
2082
+ "max": 100,
2083
+ "defaultValue": 0
2084
+ },
2085
+ {
2086
+ "tag": "ELXP",
2087
+ "min": 0,
2088
+ "max": 100,
2089
+ "defaultValue": 0
2090
+ },
2091
+ {
2092
+ "tag": "slnt",
2093
+ "min": -8,
2094
+ "max": 0,
2095
+ "defaultValue": 0
2096
+ },
2097
+ {
2098
+ "tag": "wght",
2099
+ "min": 100,
2100
+ "max": 900,
2101
+ "defaultValue": 400
2102
+ }
2103
+ ],
2104
+ "subsets": ["latin", "latin-ext"]
2105
+ },
2106
+ "Bitcount Prop Double": {
2107
+ "weights": [
2108
+ "100",
2109
+ "200",
2110
+ "300",
2111
+ "400",
2112
+ "500",
2113
+ "600",
2114
+ "700",
2115
+ "800",
2116
+ "900",
2117
+ "variable"
2118
+ ],
2119
+ "styles": ["normal"],
2120
+ "axes": [
2121
+ {
2122
+ "tag": "CRSV",
2123
+ "min": 0,
2124
+ "max": 1,
2125
+ "defaultValue": 0.5
2126
+ },
2127
+ {
2128
+ "tag": "ELSH",
2129
+ "min": 0,
2130
+ "max": 100,
2131
+ "defaultValue": 0
2132
+ },
2133
+ {
2134
+ "tag": "ELXP",
2135
+ "min": 0,
2136
+ "max": 100,
2137
+ "defaultValue": 0
2138
+ },
2139
+ {
2140
+ "tag": "slnt",
2141
+ "min": -8,
2142
+ "max": 0,
2143
+ "defaultValue": 0
2144
+ },
2145
+ {
2146
+ "tag": "wght",
2147
+ "min": 100,
2148
+ "max": 900,
2149
+ "defaultValue": 400
2150
+ }
2151
+ ],
2152
+ "subsets": ["latin", "latin-ext"]
2153
+ },
2154
+ "Bitcount Prop Single": {
2155
+ "weights": [
2156
+ "100",
2157
+ "200",
2158
+ "300",
2159
+ "400",
2160
+ "500",
2161
+ "600",
2162
+ "700",
2163
+ "800",
2164
+ "900",
2165
+ "variable"
2166
+ ],
2167
+ "styles": ["normal"],
2168
+ "axes": [
2169
+ {
2170
+ "tag": "CRSV",
2171
+ "min": 0,
2172
+ "max": 1,
2173
+ "defaultValue": 0.5
2174
+ },
2175
+ {
2176
+ "tag": "ELSH",
2177
+ "min": 0,
2178
+ "max": 100,
2179
+ "defaultValue": 0
2180
+ },
2181
+ {
2182
+ "tag": "ELXP",
2183
+ "min": 0,
2184
+ "max": 100,
2185
+ "defaultValue": 0
2186
+ },
2187
+ {
2188
+ "tag": "slnt",
2189
+ "min": -8,
2190
+ "max": 0,
2191
+ "defaultValue": 0
2192
+ },
2193
+ {
2194
+ "tag": "wght",
2195
+ "min": 100,
2196
+ "max": 900,
2197
+ "defaultValue": 400
2198
+ }
2199
+ ],
2200
+ "subsets": ["latin", "latin-ext"]
2201
+ },
2202
+ "Bitcount Single": {
2203
+ "weights": [
2204
+ "100",
2205
+ "200",
2206
+ "300",
2207
+ "400",
2208
+ "500",
2209
+ "600",
2210
+ "700",
2211
+ "800",
2212
+ "900",
2213
+ "variable"
2214
+ ],
2215
+ "styles": ["normal"],
2216
+ "axes": [
2217
+ {
2218
+ "tag": "CRSV",
2219
+ "min": 0,
2220
+ "max": 1,
2221
+ "defaultValue": 0.5
2222
+ },
2223
+ {
2224
+ "tag": "ELSH",
2225
+ "min": 0,
2226
+ "max": 100,
2227
+ "defaultValue": 0
2228
+ },
2229
+ {
2230
+ "tag": "ELXP",
2231
+ "min": 0,
2232
+ "max": 100,
2233
+ "defaultValue": 0
2234
+ },
2235
+ {
2236
+ "tag": "slnt",
2237
+ "min": -8,
2238
+ "max": 0,
2239
+ "defaultValue": 0
2240
+ },
2241
+ {
2242
+ "tag": "wght",
2243
+ "min": 100,
2244
+ "max": 900,
2245
+ "defaultValue": 400
2246
+ }
2247
+ ],
2248
+ "subsets": ["latin", "latin-ext"]
2249
+ },
2010
2250
  "Bitter": {
2011
2251
  "weights": [
2012
2252
  "100",
@@ -5038,6 +5278,31 @@
5038
5278
  ],
5039
5279
  "subsets": ["cyrillic", "cyrillic-ext", "latin", "latin-ext"]
5040
5280
  },
5281
+ "Google Sans Code": {
5282
+ "weights": ["300", "400", "500", "600", "700", "800", "variable"],
5283
+ "styles": ["normal", "italic"],
5284
+ "axes": [
5285
+ {
5286
+ "tag": "wght",
5287
+ "min": 300,
5288
+ "max": 800,
5289
+ "defaultValue": 400
5290
+ }
5291
+ ],
5292
+ "subsets": [
5293
+ "adlam",
5294
+ "canadian-aboriginal",
5295
+ "cherokee",
5296
+ "latin",
5297
+ "latin-ext",
5298
+ "math",
5299
+ "old-permic",
5300
+ "symbols",
5301
+ "symbols2",
5302
+ "syriac",
5303
+ "vietnamese"
5304
+ ]
5305
+ },
5041
5306
  "Gorditas": {
5042
5307
  "weights": ["400", "700"],
5043
5308
  "styles": ["normal"],
@@ -5892,6 +6157,19 @@
5892
6157
  "styles": ["normal", "italic"],
5893
6158
  "subsets": ["latin", "latin-ext"]
5894
6159
  },
6160
+ "Intel One Mono": {
6161
+ "weights": ["300", "400", "500", "600", "700", "variable"],
6162
+ "styles": ["normal", "italic"],
6163
+ "axes": [
6164
+ {
6165
+ "tag": "wght",
6166
+ "min": 300,
6167
+ "max": 700,
6168
+ "defaultValue": 400
6169
+ }
6170
+ ],
6171
+ "subsets": ["latin", "latin-ext", "symbols2", "vietnamese"]
6172
+ },
5895
6173
  "Inter": {
5896
6174
  "weights": [
5897
6175
  "100",
@@ -7092,6 +7370,33 @@
7092
7370
  "styles": ["normal"],
7093
7371
  "subsets": ["latin", "latin-ext"]
7094
7372
  },
7373
+ "Libertinus Sans": {
7374
+ "weights": ["400", "700"],
7375
+ "styles": ["normal", "italic"],
7376
+ "subsets": [
7377
+ "cyrillic",
7378
+ "cyrillic-ext",
7379
+ "greek",
7380
+ "greek-ext",
7381
+ "latin",
7382
+ "latin-ext",
7383
+ "vietnamese"
7384
+ ]
7385
+ },
7386
+ "Libertinus Serif": {
7387
+ "weights": ["400", "600", "700"],
7388
+ "styles": ["normal", "italic"],
7389
+ "subsets": [
7390
+ "cyrillic",
7391
+ "cyrillic-ext",
7392
+ "greek",
7393
+ "greek-ext",
7394
+ "hebrew",
7395
+ "latin",
7396
+ "latin-ext",
7397
+ "vietnamese"
7398
+ ]
7399
+ },
7095
7400
  "Libre Barcode 128": {
7096
7401
  "weights": ["400"],
7097
7402
  "styles": ["normal"],
@@ -8264,6 +8569,38 @@
8264
8569
  "styles": ["normal"],
8265
8570
  "subsets": ["latin", "latin-ext"]
8266
8571
  },
8572
+ "Mozilla Headline": {
8573
+ "weights": ["200", "300", "400", "500", "600", "700", "variable"],
8574
+ "styles": ["normal"],
8575
+ "axes": [
8576
+ {
8577
+ "tag": "wdth",
8578
+ "min": 75,
8579
+ "max": 125,
8580
+ "defaultValue": 100
8581
+ },
8582
+ {
8583
+ "tag": "wght",
8584
+ "min": 200,
8585
+ "max": 700,
8586
+ "defaultValue": 400
8587
+ }
8588
+ ],
8589
+ "subsets": ["latin", "latin-ext"]
8590
+ },
8591
+ "Mozilla Text": {
8592
+ "weights": ["200", "300", "400", "500", "600", "700", "variable"],
8593
+ "styles": ["normal"],
8594
+ "axes": [
8595
+ {
8596
+ "tag": "wght",
8597
+ "min": 200,
8598
+ "max": 700,
8599
+ "defaultValue": 400
8600
+ }
8601
+ ],
8602
+ "subsets": ["latin", "latin-ext"]
8603
+ },
8267
8604
  "Mr Bedfort": {
8268
8605
  "weights": ["400"],
8269
8606
  "styles": ["normal"],
@@ -8460,6 +8797,30 @@
8460
8797
  "styles": ["normal"],
8461
8798
  "subsets": ["gunjala-gondi", "latin", "latin-ext", "math", "symbols"]
8462
8799
  },
8800
+ "Nata Sans": {
8801
+ "weights": [
8802
+ "100",
8803
+ "200",
8804
+ "300",
8805
+ "400",
8806
+ "500",
8807
+ "600",
8808
+ "700",
8809
+ "800",
8810
+ "900",
8811
+ "variable"
8812
+ ],
8813
+ "styles": ["normal"],
8814
+ "axes": [
8815
+ {
8816
+ "tag": "wght",
8817
+ "min": 100,
8818
+ "max": 900,
8819
+ "defaultValue": 400
8820
+ }
8821
+ ],
8822
+ "subsets": ["cyrillic", "cyrillic-ext", "latin", "latin-ext", "vietnamese"]
8823
+ },
8463
8824
  "National Park": {
8464
8825
  "weights": ["200", "300", "400", "500", "600", "700", "800", "variable"],
8465
8826
  "styles": ["normal"],
@@ -15583,8 +15944,22 @@
15583
15944
  "subsets": ["latin", "latin-ext"]
15584
15945
  },
15585
15946
  "Special Gothic": {
15586
- "weights": ["400"],
15947
+ "weights": ["400", "500", "600", "700", "variable"],
15587
15948
  "styles": ["normal"],
15949
+ "axes": [
15950
+ {
15951
+ "tag": "wdth",
15952
+ "min": 75,
15953
+ "max": 125,
15954
+ "defaultValue": 100
15955
+ },
15956
+ {
15957
+ "tag": "wght",
15958
+ "min": 400,
15959
+ "max": 700,
15960
+ "defaultValue": 400
15961
+ }
15962
+ ],
15588
15963
  "subsets": ["latin", "latin-ext"]
15589
15964
  },
15590
15965
  "Special Gothic Condensed One": {
@@ -16001,6 +16376,44 @@
16001
16376
  "styles": ["normal"],
16002
16377
  "subsets": ["latin"]
16003
16378
  },
16379
+ "TikTok Sans": {
16380
+ "weights": ["300", "400", "500", "600", "700", "800", "900", "variable"],
16381
+ "styles": ["normal"],
16382
+ "axes": [
16383
+ {
16384
+ "tag": "opsz",
16385
+ "min": 12,
16386
+ "max": 36,
16387
+ "defaultValue": 14
16388
+ },
16389
+ {
16390
+ "tag": "slnt",
16391
+ "min": -6,
16392
+ "max": 0,
16393
+ "defaultValue": 0
16394
+ },
16395
+ {
16396
+ "tag": "wdth",
16397
+ "min": 75,
16398
+ "max": 150,
16399
+ "defaultValue": 100
16400
+ },
16401
+ {
16402
+ "tag": "wght",
16403
+ "min": 300,
16404
+ "max": 900,
16405
+ "defaultValue": 400
16406
+ }
16407
+ ],
16408
+ "subsets": [
16409
+ "cyrillic",
16410
+ "cyrillic-ext",
16411
+ "greek",
16412
+ "latin",
16413
+ "latin-ext",
16414
+ "vietnamese"
16415
+ ]
16416
+ },
16004
16417
  "Tillana": {
16005
16418
  "weights": ["400", "500", "600", "700", "800"],
16006
16419
  "styles": ["normal"],