next 15.0.4-canary.3 → 15.0.4-canary.5

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.

Potentially problematic release.


This version of next might be problematic. Click here for more details.

Files changed (46) 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/@edge-runtime/primitives/abort-controller.js.text.js +1 -1
  8. package/dist/compiled/@edge-runtime/primitives/blob.js.text.js +1 -1
  9. package/dist/compiled/@edge-runtime/primitives/console.js.text.js +1 -1
  10. package/dist/compiled/@edge-runtime/primitives/crypto.js.text.js +1 -1
  11. package/dist/compiled/@edge-runtime/primitives/events.js.text.js +1 -1
  12. package/dist/compiled/@edge-runtime/primitives/fetch.js.text.js +1 -1
  13. package/dist/compiled/@edge-runtime/primitives/package.json +1 -1
  14. package/dist/compiled/@edge-runtime/primitives/structured-clone.js.text.js +1 -1
  15. package/dist/compiled/@edge-runtime/primitives/timers.js.text.js +1 -1
  16. package/dist/compiled/@edge-runtime/primitives/url.js.text.js +1 -1
  17. package/dist/compiled/babel/bundle.js +11 -11
  18. package/dist/compiled/babel-packages/packages-bundle.js +3 -3
  19. package/dist/compiled/edge-runtime/index.js +1 -1
  20. package/dist/compiled/next-server/server.runtime.prod.js +11 -11
  21. package/dist/compiled/next-server/server.runtime.prod.js.map +1 -1
  22. package/dist/esm/build/index.js +2 -2
  23. package/dist/esm/build/swc/index.js +1 -1
  24. package/dist/esm/build/webpack-config.js +2 -2
  25. package/dist/esm/client/app-bootstrap.js +1 -1
  26. package/dist/esm/client/index.js +1 -1
  27. package/dist/esm/server/base-server.js +13 -7
  28. package/dist/esm/server/base-server.js.map +1 -1
  29. package/dist/esm/server/config.js +1 -1
  30. package/dist/esm/server/dev/hot-reloader-turbopack.js +1 -1
  31. package/dist/esm/server/dev/hot-reloader-webpack.js +1 -1
  32. package/dist/esm/server/lib/app-info-log.js +1 -1
  33. package/dist/esm/server/lib/start-server.js +1 -1
  34. package/dist/server/base-server.js +13 -7
  35. package/dist/server/base-server.js.map +1 -1
  36. package/dist/server/config.js +1 -1
  37. package/dist/server/dev/hot-reloader-turbopack.js +1 -1
  38. package/dist/server/dev/hot-reloader-webpack.js +1 -1
  39. package/dist/server/lib/app-info-log.js +1 -1
  40. package/dist/server/lib/start-server.js +1 -1
  41. package/dist/telemetry/anonymous-meta.js +1 -1
  42. package/dist/telemetry/events/session-stopped.js +2 -2
  43. package/dist/telemetry/events/version.js +2 -2
  44. package/experimental/testing/server.d.ts +1 -1
  45. package/experimental/testing/server.js +1 -1
  46. package/package.json +17 -17
@@ -234,7 +234,7 @@ function assignDefaults(dir, userConfig, silent) {
234
234
  if (((_result_experimental = result.experimental) == null ? void 0 : _result_experimental.allowDevelopmentBuild) && process.env.NODE_ENV !== 'development') {
235
235
  throw new Error(`The experimental.allowDevelopmentBuild option requires NODE_ENV to be explicitly set to 'development'.`);
236
236
  }
237
- if (!((_process_env___NEXT_VERSION = "15.0.4-canary.3") == null ? void 0 : _process_env___NEXT_VERSION.includes('canary')) && !process.env.__NEXT_TEST_MODE && !process.env.NEXT_PRIVATE_SKIP_CANARY_CHECK) {
237
+ if (!((_process_env___NEXT_VERSION = "15.0.4-canary.5") == null ? void 0 : _process_env___NEXT_VERSION.includes('canary')) && !process.env.__NEXT_TEST_MODE && !process.env.NEXT_PRIVATE_SKIP_CANARY_CHECK) {
238
238
  var _result_experimental7, _result_experimental8, _result_experimental_turbo3, _result_experimental9;
239
239
  // Prevents usage of certain experimental features outside of canary
240
240
  if ((_result_experimental7 = result.experimental) == null ? void 0 : _result_experimental7.ppr) {
@@ -104,7 +104,7 @@ async function createHotReloaderTurbopack(opts, serverFields, distDir, resetFetc
104
104
  }
105
105
  const hasRewrites = opts.fsChecker.rewrites.afterFiles.length > 0 || opts.fsChecker.rewrites.beforeFiles.length > 0 || opts.fsChecker.rewrites.fallback.length > 0;
106
106
  const hotReloaderSpan = (0, _trace.trace)('hot-reloader', undefined, {
107
- version: "15.0.4-canary.3"
107
+ version: "15.0.4-canary.5"
108
108
  });
109
109
  // Ensure the hotReloaderSpan is flushed immediately as it's the parentSpan for all processing
110
110
  // of the current `next dev` invocation.
@@ -260,7 +260,7 @@ class HotReloaderWebpack {
260
260
  this.previewProps = previewProps;
261
261
  this.rewrites = rewrites;
262
262
  this.hotReloaderSpan = (0, _trace.trace)('hot-reloader', undefined, {
263
- version: "15.0.4-canary.3"
263
+ version: "15.0.4-canary.5"
264
264
  });
265
265
  // Ensure the hotReloaderSpan is flushed immediately as it's the parentSpan for all processing
266
266
  // of the current `next dev` invocation.
@@ -67,7 +67,7 @@ function _interop_require_wildcard(obj, nodeInterop) {
67
67
  return newObj;
68
68
  }
69
69
  function logStartInfo({ networkUrl, appUrl, envInfo, expFeatureInfo, maxExperimentalFeatures = Infinity }) {
70
- _log.bootstrap(`${(0, _picocolors.bold)((0, _picocolors.purple)(`${_log.prefixes.ready} Next.js ${"15.0.4-canary.3"}`))}${process.env.TURBOPACK ? ' (Turbopack)' : ''}`);
70
+ _log.bootstrap(`${(0, _picocolors.bold)((0, _picocolors.purple)(`${_log.prefixes.ready} Next.js ${"15.0.4-canary.5"}`))}${process.env.TURBOPACK ? ' (Turbopack)' : ''}`);
71
71
  if (appUrl) {
72
72
  _log.bootstrap(`- Local: ${appUrl}`);
73
73
  }
@@ -108,7 +108,7 @@ async function getRequestHandlers({ dir, port, isDev, onCleanup, server, hostnam
108
108
  async function startServer(serverOptions) {
109
109
  const { dir, isDev, hostname, minimalMode, allowRetry, keepAliveTimeout, selfSignedCertificate } = serverOptions;
110
110
  let { port } = serverOptions;
111
- process.title = `next-server (v${"15.0.4-canary.3"})`;
111
+ process.title = `next-server (v${"15.0.4-canary.5"})`;
112
112
  let handlersReady = ()=>{};
113
113
  let handlersError = ()=>{};
114
114
  let handlersPromise = new Promise((resolve, reject)=>{
@@ -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.0.4-canary.3"
84
+ nextVersion: "15.0.4-canary.5"
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.0.4-canary.3" !== 'string') {
14
+ if (typeof "15.0.4-canary.5" !== 'string') {
15
15
  return [];
16
16
  }
17
17
  const payload = {
18
- nextVersion: "15.0.4-canary.3",
18
+ nextVersion: "15.0.4-canary.5",
19
19
  nodeVersion: process.version,
20
20
  cliCommand: event.cliCommand,
21
21
  durationMilliseconds: event.durationMilliseconds,
@@ -36,12 +36,12 @@ function hasBabelConfig(dir) {
36
36
  function eventCliSession(dir, nextConfig, event) {
37
37
  var _nextConfig_experimental_staleTimes, _nextConfig_experimental_staleTimes1, _nextConfig_experimental_reactCompiler, _nextConfig_experimental_reactCompiler1;
38
38
  // This should be an invariant, if it fails our build tooling is broken.
39
- if (typeof "15.0.4-canary.3" !== 'string') {
39
+ if (typeof "15.0.4-canary.5" !== 'string') {
40
40
  return [];
41
41
  }
42
42
  const { images, i18n } = nextConfig || {};
43
43
  const payload = {
44
- nextVersion: "15.0.4-canary.3",
44
+ nextVersion: "15.0.4-canary.5",
45
45
  nodeVersion: process.version,
46
46
  cliCommand: event.cliCommand,
47
47
  isSrcDir: event.isSrcDir,
@@ -1 +1 @@
1
- export * from '../dist/experimental/testing/server'
1
+ export * from '../../dist/experimental/testing/server'
@@ -1 +1 @@
1
- module.exports = require('../dist/experimental/testing/server')
1
+ module.exports = require('../../dist/experimental/testing/server')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "next",
3
- "version": "15.0.4-canary.3",
3
+ "version": "15.0.4-canary.5",
4
4
  "description": "The React Framework",
5
5
  "main": "./dist/server/next.js",
6
6
  "license": "MIT",
@@ -97,7 +97,7 @@
97
97
  ]
98
98
  },
99
99
  "dependencies": {
100
- "@next/env": "15.0.4-canary.3",
100
+ "@next/env": "15.0.4-canary.5",
101
101
  "@swc/counter": "0.1.3",
102
102
  "@swc/helpers": "0.5.13",
103
103
  "busboy": "1.6.0",
@@ -129,14 +129,14 @@
129
129
  },
130
130
  "optionalDependencies": {
131
131
  "sharp": "^0.33.5",
132
- "@next/swc-darwin-arm64": "15.0.4-canary.3",
133
- "@next/swc-darwin-x64": "15.0.4-canary.3",
134
- "@next/swc-linux-arm64-gnu": "15.0.4-canary.3",
135
- "@next/swc-linux-arm64-musl": "15.0.4-canary.3",
136
- "@next/swc-linux-x64-gnu": "15.0.4-canary.3",
137
- "@next/swc-linux-x64-musl": "15.0.4-canary.3",
138
- "@next/swc-win32-arm64-msvc": "15.0.4-canary.3",
139
- "@next/swc-win32-x64-msvc": "15.0.4-canary.3"
132
+ "@next/swc-darwin-arm64": "15.0.4-canary.5",
133
+ "@next/swc-darwin-x64": "15.0.4-canary.5",
134
+ "@next/swc-linux-arm64-gnu": "15.0.4-canary.5",
135
+ "@next/swc-linux-arm64-musl": "15.0.4-canary.5",
136
+ "@next/swc-linux-x64-gnu": "15.0.4-canary.5",
137
+ "@next/swc-linux-x64-musl": "15.0.4-canary.5",
138
+ "@next/swc-win32-arm64-msvc": "15.0.4-canary.5",
139
+ "@next/swc-win32-x64-msvc": "15.0.4-canary.5"
140
140
  },
141
141
  "devDependencies": {
142
142
  "@ampproject/toolbox-optimizer": "2.8.3",
@@ -163,17 +163,17 @@
163
163
  "@capsizecss/metrics": "3.2.0",
164
164
  "@edge-runtime/cookies": "5.0.0",
165
165
  "@edge-runtime/ponyfill": "3.0.0",
166
- "@edge-runtime/primitives": "5.0.0",
166
+ "@edge-runtime/primitives": "5.1.1",
167
167
  "@hapi/accept": "5.0.2",
168
168
  "@jest/transform": "29.5.0",
169
169
  "@jest/types": "29.5.0",
170
170
  "@mswjs/interceptors": "0.23.0",
171
171
  "@napi-rs/triples": "1.2.0",
172
- "@next/font": "15.0.4-canary.3",
173
- "@next/polyfill-module": "15.0.4-canary.3",
174
- "@next/polyfill-nomodule": "15.0.4-canary.3",
175
- "@next/react-refresh-utils": "15.0.4-canary.3",
176
- "@next/swc": "15.0.4-canary.3",
172
+ "@next/font": "15.0.4-canary.5",
173
+ "@next/polyfill-module": "15.0.4-canary.5",
174
+ "@next/polyfill-nomodule": "15.0.4-canary.5",
175
+ "@next/react-refresh-utils": "15.0.4-canary.5",
176
+ "@next/swc": "15.0.4-canary.5",
177
177
  "@opentelemetry/api": "1.6.0",
178
178
  "@playwright/test": "1.41.2",
179
179
  "@swc/core": "1.7.0-nightly-20240714.1",
@@ -250,7 +250,7 @@
250
250
  "debug": "4.1.1",
251
251
  "devalue": "2.0.1",
252
252
  "domain-browser": "4.19.0",
253
- "edge-runtime": "3.0.0",
253
+ "edge-runtime": "3.0.5",
254
254
  "events": "3.3.0",
255
255
  "find-up": "4.1.0",
256
256
  "fresh": "0.5.2",