Skip to content

Commit 1bf28ac

Browse files
ncc-compiled
1 parent 57fc3ab commit 1bf28ac

File tree

84 files changed

+87746
-85028
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

84 files changed

+87746
-85028
lines changed

packages/next/src/compiled/react-dom-experimental/cjs/react-dom-client.development.js

Lines changed: 11866 additions & 11598 deletions
Large diffs are not rendered by default.

packages/next/src/compiled/react-dom-experimental/cjs/react-dom-client.production.js

Lines changed: 4812 additions & 4552 deletions
Large diffs are not rendered by default.

packages/next/src/compiled/react-dom-experimental/cjs/react-dom-profiling.development.js

Lines changed: 11866 additions & 11598 deletions
Large diffs are not rendered by default.

packages/next/src/compiled/react-dom-experimental/cjs/react-dom-profiling.profiling.js

Lines changed: 9852 additions & 9592 deletions
Large diffs are not rendered by default.

packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.development.js

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4453,6 +4453,10 @@
44534453
onPostpone,
44544454
formState
44554455
) {
4456+
var now = getCurrentTime();
4457+
1e3 < now - lastResetTime &&
4458+
((ReactSharedInternals.recentlyCreatedOwnerStacks = 0),
4459+
(lastResetTime = now));
44564460
resumableState = new RequestInstance(
44574461
resumableState,
44584462
renderState,
@@ -9579,7 +9583,22 @@
95799583
},
95809584
callLazyInitInDEV =
95819585
callLazyInit["react-stack-bottom-frame"].bind(callLazyInit),
9582-
CLIENT_RENDERED = 4,
9586+
lastResetTime = 0;
9587+
if (
9588+
"object" === typeof performance &&
9589+
"function" === typeof performance.now
9590+
) {
9591+
var localPerformance = performance;
9592+
var getCurrentTime = function () {
9593+
return localPerformance.now();
9594+
};
9595+
} else {
9596+
var localDate = Date;
9597+
getCurrentTime = function () {
9598+
return localDate.now();
9599+
};
9600+
}
9601+
var CLIENT_RENDERED = 4,
95839602
PENDING = 0,
95849603
COMPLETED = 1,
95859604
FLUSHED = 2,
@@ -9609,5 +9628,5 @@
96099628
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
96109629
);
96119630
};
9612-
exports.version = "19.1.0-experimental-db7dfe05-20250319";
9631+
exports.version = "19.1.0-experimental-740a4f7a-20250325";
96139632
})();

packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.production.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6358,4 +6358,4 @@ exports.renderToString = function (children, options) {
63586358
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
63596359
);
63606360
};
6361-
exports.version = "19.1.0-experimental-db7dfe05-20250319";
6361+
exports.version = "19.1.0-experimental-740a4f7a-20250325";

packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.node.development.js

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4453,6 +4453,10 @@
44534453
onPostpone,
44544454
formState
44554455
) {
4456+
var now = getCurrentTime();
4457+
1e3 < now - lastResetTime &&
4458+
((ReactSharedInternals.recentlyCreatedOwnerStacks = 0),
4459+
(lastResetTime = now));
44564460
resumableState = new RequestInstance(
44574461
resumableState,
44584462
renderState,
@@ -9579,7 +9583,22 @@
95799583
},
95809584
callLazyInitInDEV =
95819585
callLazyInit["react-stack-bottom-frame"].bind(callLazyInit),
9582-
CLIENT_RENDERED = 4,
9586+
lastResetTime = 0;
9587+
if (
9588+
"object" === typeof performance &&
9589+
"function" === typeof performance.now
9590+
) {
9591+
var localPerformance = performance;
9592+
var getCurrentTime = function () {
9593+
return localPerformance.now();
9594+
};
9595+
} else {
9596+
var localDate = Date;
9597+
getCurrentTime = function () {
9598+
return localDate.now();
9599+
};
9600+
}
9601+
var CLIENT_RENDERED = 4,
95839602
PENDING = 0,
95849603
COMPLETED = 1,
95859604
FLUSHED = 2,
@@ -9609,5 +9628,5 @@
96099628
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToPipeableStream" which supports Suspense on the server'
96109629
);
96119630
};
9612-
exports.version = "19.1.0-experimental-db7dfe05-20250319";
9631+
exports.version = "19.1.0-experimental-740a4f7a-20250325";
96139632
})();

packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.node.production.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6452,4 +6452,4 @@ exports.renderToString = function (children, options) {
64526452
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToPipeableStream" which supports Suspense on the server'
64536453
);
64546454
};
6455-
exports.version = "19.1.0-experimental-db7dfe05-20250319";
6455+
exports.version = "19.1.0-experimental-740a4f7a-20250325";

packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.browser.development.js

Lines changed: 27 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4553,6 +4553,12 @@
45534553
}
45544554
return "";
45554555
}
4556+
function resetOwnerStackLimit() {
4557+
var now = getCurrentTime();
4558+
1e3 < now - lastResetTime &&
4559+
((ReactSharedInternals.recentlyCreatedOwnerStacks = 0),
4560+
(lastResetTime = now));
4561+
}
45564562
function defaultErrorHandler(error) {
45574563
if (
45584564
"object" === typeof error &&
@@ -4639,6 +4645,7 @@
46394645
onPostpone,
46404646
formState
46414647
) {
4648+
resetOwnerStackLimit();
46424649
resumableState = new RequestInstance(
46434650
resumableState,
46444651
renderState,
@@ -4729,6 +4736,7 @@
47294736
onFatalError,
47304737
onPostpone
47314738
) {
4739+
resetOwnerStackLimit();
47324740
renderState = new RequestInstance(
47334741
postponedState.resumableState,
47344742
renderState,
@@ -8512,11 +8520,11 @@
85128520
}
85138521
function ensureCorrectIsomorphicReactVersion() {
85148522
var isomorphicReactPackageVersion = React.version;
8515-
if ("19.1.0-experimental-db7dfe05-20250319" !== isomorphicReactPackageVersion)
8523+
if ("19.1.0-experimental-740a4f7a-20250325" !== isomorphicReactPackageVersion)
85168524
throw Error(
85178525
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
85188526
(isomorphicReactPackageVersion +
8519-
"\n - react-dom: 19.1.0-experimental-db7dfe05-20250319\nLearn more: https://react.dev/warnings/version-mismatch")
8527+
"\n - react-dom: 19.1.0-experimental-740a4f7a-20250325\nLearn more: https://react.dev/warnings/version-mismatch")
85208528
);
85218529
}
85228530
var React = require("next/dist/compiled/react-experimental"),
@@ -10035,7 +10043,22 @@
1003510043
},
1003610044
callLazyInitInDEV =
1003710045
callLazyInit["react-stack-bottom-frame"].bind(callLazyInit),
10038-
CLIENT_RENDERED = 4,
10046+
lastResetTime = 0;
10047+
if (
10048+
"object" === typeof performance &&
10049+
"function" === typeof performance.now
10050+
) {
10051+
var localPerformance = performance;
10052+
var getCurrentTime = function () {
10053+
return localPerformance.now();
10054+
};
10055+
} else {
10056+
var localDate = Date;
10057+
getCurrentTime = function () {
10058+
return localDate.now();
10059+
};
10060+
}
10061+
var CLIENT_RENDERED = 4,
1003910062
PENDING = 0,
1004010063
COMPLETED = 1,
1004110064
FLUSHED = 2,
@@ -10303,5 +10326,5 @@
1030310326
startWork(request);
1030410327
});
1030510328
};
10306-
exports.version = "19.1.0-experimental-db7dfe05-20250319";
10329+
exports.version = "19.1.0-experimental-740a4f7a-20250325";
1030710330
})();

packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.browser.production.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6899,12 +6899,12 @@ function getPostponedState(request) {
68996899
}
69006900
function ensureCorrectIsomorphicReactVersion() {
69016901
var isomorphicReactPackageVersion = React.version;
6902-
if ("19.1.0-experimental-db7dfe05-20250319" !== isomorphicReactPackageVersion)
6902+
if ("19.1.0-experimental-740a4f7a-20250325" !== isomorphicReactPackageVersion)
69036903
throw Error(
69046904
formatProdErrorMessage(
69056905
527,
69066906
isomorphicReactPackageVersion,
6907-
"19.1.0-experimental-db7dfe05-20250319"
6907+
"19.1.0-experimental-740a4f7a-20250325"
69086908
)
69096909
);
69106910
}
@@ -7159,4 +7159,4 @@ exports.resumeAndPrerender = function (children, postponedState, options) {
71597159
startWork(request);
71607160
});
71617161
};
7162-
exports.version = "19.1.0-experimental-db7dfe05-20250319";
7162+
exports.version = "19.1.0-experimental-740a4f7a-20250325";

0 commit comments

Comments
 (0)