Skip to content

Commit 2029f6b

Browse files
ncc-compiled
1 parent 3a092fe commit 2029f6b

File tree

88 files changed

+4290
-2776
lines changed

Some content is hidden

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

88 files changed

+4290
-2776
lines changed

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

Lines changed: 528 additions & 269 deletions
Large diffs are not rendered by default.

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

Lines changed: 492 additions & 286 deletions
Large diffs are not rendered by default.

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

Lines changed: 528 additions & 269 deletions
Large diffs are not rendered by default.

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

Lines changed: 543 additions & 337 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: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4088,6 +4088,9 @@
40884088
function unsupportedRefresh() {
40894089
throw Error("Cache cannot be refreshed during server rendering.");
40904090
}
4091+
function unsupportedStartGesture() {
4092+
throw Error("startGesture cannot be called during server rendering.");
4093+
}
40914094
function noop$1() {}
40924095
function disabledLog() {}
40934096
function disableLogs() {
@@ -9511,6 +9514,10 @@
95119514
},
95129515
useEffectEvent: function () {
95139516
return throwOnUseEffectEventCall;
9517+
},
9518+
useSwipeTransition: function (previous, current) {
9519+
resolveCurrentlyRenderingComponent();
9520+
return [current, unsupportedStartGesture];
95149521
}
95159522
},
95169523
currentResumableState = null,
@@ -9591,5 +9598,5 @@
95919598
'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'
95929599
);
95939600
};
9594-
exports.version = "19.1.0-experimental-32b0cad8-20250213";
9601+
exports.version = "19.1.0-experimental-662957cc-20250221";
95959602
})();

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

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3327,6 +3327,9 @@ function readPreviousThenableFromState() {
33273327
function unsupportedRefresh() {
33283328
throw Error(formatProdErrorMessage(393));
33293329
}
3330+
function unsupportedStartGesture() {
3331+
throw Error(formatProdErrorMessage(547));
3332+
}
33303333
function noop$1() {}
33313334
var HooksDispatcher = {
33323335
readContext: function (context) {
@@ -3418,6 +3421,10 @@ var HooksDispatcher = {
34183421
},
34193422
useEffectEvent: function () {
34203423
return throwOnUseEffectEventCall;
3424+
},
3425+
useSwipeTransition: function (previous, current) {
3426+
resolveCurrentlyRenderingComponent();
3427+
return [current, unsupportedStartGesture];
34213428
}
34223429
},
34233430
currentResumableState = null,
@@ -6342,4 +6349,4 @@ exports.renderToString = function (children, options) {
63426349
'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'
63436350
);
63446351
};
6345-
exports.version = "19.1.0-experimental-32b0cad8-20250213";
6352+
exports.version = "19.1.0-experimental-662957cc-20250221";

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

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4088,6 +4088,9 @@
40884088
function unsupportedRefresh() {
40894089
throw Error("Cache cannot be refreshed during server rendering.");
40904090
}
4091+
function unsupportedStartGesture() {
4092+
throw Error("startGesture cannot be called during server rendering.");
4093+
}
40914094
function noop$1() {}
40924095
function disabledLog() {}
40934096
function disableLogs() {
@@ -9511,6 +9514,10 @@
95119514
},
95129515
useEffectEvent: function () {
95139516
return throwOnUseEffectEventCall;
9517+
},
9518+
useSwipeTransition: function (previous, current) {
9519+
resolveCurrentlyRenderingComponent();
9520+
return [current, unsupportedStartGesture];
95149521
}
95159522
},
95169523
currentResumableState = null,
@@ -9591,5 +9598,5 @@
95919598
'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'
95929599
);
95939600
};
9594-
exports.version = "19.1.0-experimental-32b0cad8-20250213";
9601+
exports.version = "19.1.0-experimental-662957cc-20250221";
95959602
})();

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

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3373,6 +3373,9 @@ function readPreviousThenableFromState() {
33733373
function unsupportedRefresh() {
33743374
throw Error("Cache cannot be refreshed during server rendering.");
33753375
}
3376+
function unsupportedStartGesture() {
3377+
throw Error("startGesture cannot be called during server rendering.");
3378+
}
33763379
function noop$1() {}
33773380
var HooksDispatcher = {
33783381
readContext: function (context) {
@@ -3469,6 +3472,10 @@ var HooksDispatcher = {
34693472
},
34703473
useEffectEvent: function () {
34713474
return throwOnUseEffectEventCall;
3475+
},
3476+
useSwipeTransition: function (previous, current) {
3477+
resolveCurrentlyRenderingComponent();
3478+
return [current, unsupportedStartGesture];
34723479
}
34733480
},
34743481
currentResumableState = null,
@@ -6436,4 +6443,4 @@ exports.renderToString = function (children, options) {
64366443
'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'
64376444
);
64386445
};
6439-
exports.version = "19.1.0-experimental-32b0cad8-20250213";
6446+
exports.version = "19.1.0-experimental-662957cc-20250221";

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

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4265,6 +4265,9 @@
42654265
function unsupportedRefresh() {
42664266
throw Error("Cache cannot be refreshed during server rendering.");
42674267
}
4268+
function unsupportedStartGesture() {
4269+
throw Error("startGesture cannot be called during server rendering.");
4270+
}
42684271
function noop$1() {}
42694272
function disabledLog() {}
42704273
function disableLogs() {
@@ -8499,11 +8502,11 @@
84998502
}
85008503
function ensureCorrectIsomorphicReactVersion() {
85018504
var isomorphicReactPackageVersion = React.version;
8502-
if ("19.1.0-experimental-32b0cad8-20250213" !== isomorphicReactPackageVersion)
8505+
if ("19.1.0-experimental-662957cc-20250221" !== isomorphicReactPackageVersion)
85038506
throw Error(
85048507
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
85058508
(isomorphicReactPackageVersion +
8506-
"\n - react-dom: 19.1.0-experimental-32b0cad8-20250213\nLearn more: https://react.dev/warnings/version-mismatch")
8509+
"\n - react-dom: 19.1.0-experimental-662957cc-20250221\nLearn more: https://react.dev/warnings/version-mismatch")
85078510
);
85088511
}
85098512
var React = require("next/dist/compiled/react-experimental"),
@@ -9967,6 +9970,10 @@
99679970
},
99689971
useEffectEvent: function () {
99699972
return throwOnUseEffectEventCall;
9973+
},
9974+
useSwipeTransition: function (previous, current) {
9975+
resolveCurrentlyRenderingComponent();
9976+
return [current, unsupportedStartGesture];
99709977
}
99719978
},
99729979
currentResumableState = null,
@@ -10285,5 +10292,5 @@
1028510292
startWork(request);
1028610293
});
1028710294
};
10288-
exports.version = "19.1.0-experimental-32b0cad8-20250213";
10295+
exports.version = "19.1.0-experimental-662957cc-20250221";
1028910296
})();

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

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3729,6 +3729,9 @@ function readPreviousThenableFromState() {
37293729
function unsupportedRefresh() {
37303730
throw Error(formatProdErrorMessage(393));
37313731
}
3732+
function unsupportedStartGesture() {
3733+
throw Error(formatProdErrorMessage(547));
3734+
}
37323735
function noop$1() {}
37333736
var HooksDispatcher = {
37343737
readContext: function (context) {
@@ -3819,6 +3822,10 @@ var HooksDispatcher = {
38193822
},
38203823
useEffectEvent: function () {
38213824
return throwOnUseEffectEventCall;
3825+
},
3826+
useSwipeTransition: function (previous, current) {
3827+
resolveCurrentlyRenderingComponent();
3828+
return [current, unsupportedStartGesture];
38223829
}
38233830
},
38243831
currentResumableState = null,
@@ -6883,12 +6890,12 @@ function getPostponedState(request) {
68836890
}
68846891
function ensureCorrectIsomorphicReactVersion() {
68856892
var isomorphicReactPackageVersion = React.version;
6886-
if ("19.1.0-experimental-32b0cad8-20250213" !== isomorphicReactPackageVersion)
6893+
if ("19.1.0-experimental-662957cc-20250221" !== isomorphicReactPackageVersion)
68876894
throw Error(
68886895
formatProdErrorMessage(
68896896
527,
68906897
isomorphicReactPackageVersion,
6891-
"19.1.0-experimental-32b0cad8-20250213"
6898+
"19.1.0-experimental-662957cc-20250221"
68926899
)
68936900
);
68946901
}
@@ -7143,4 +7150,4 @@ exports.resumeAndPrerender = function (children, postponedState, options) {
71437150
startWork(request);
71447151
});
71457152
};
7146-
exports.version = "19.1.0-experimental-32b0cad8-20250213";
7153+
exports.version = "19.1.0-experimental-662957cc-20250221";

0 commit comments

Comments
 (0)