Skip to content

Commit 1b743ef

Browse files
ncc-compiled
1 parent 1b356a0 commit 1b743ef

File tree

91 files changed

+20329
-17373
lines changed

Some content is hidden

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

91 files changed

+20329
-17373
lines changed

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

Lines changed: 1943 additions & 1705 deletions
Large diffs are not rendered by default.

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

Lines changed: 1187 additions & 993 deletions
Large diffs are not rendered by default.

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

Lines changed: 1943 additions & 1705 deletions
Large diffs are not rendered by default.

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

Lines changed: 1422 additions & 1253 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: 34 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -4302,7 +4302,6 @@
43024302
}
43034303
function noop() {}
43044304
function RequestInstance(
4305-
children,
43064305
resumableState,
43074306
renderState,
43084307
rootFormatContext,
@@ -4315,8 +4314,7 @@
43154314
onPostpone,
43164315
formState
43174316
) {
4318-
var pingedTasks = [],
4319-
abortSet = new Set();
4317+
var abortSet = new Set();
43204318
this.destination = null;
43214319
this.flushScheduled = !1;
43224320
this.resumableState = resumableState;
@@ -4329,7 +4327,7 @@
43294327
this.pendingRootTasks = this.allPendingTasks = this.nextSegmentId = 0;
43304328
this.completedRootSegment = null;
43314329
this.abortableTasks = abortSet;
4332-
this.pingedTasks = pingedTasks;
4330+
this.pingedTasks = [];
43334331
this.clientRenderedBoundaries = [];
43344332
this.completedBoundaries = [];
43354333
this.partialBoundaries = [];
@@ -4342,35 +4340,6 @@
43424340
this.onFatalError = void 0 === onFatalError ? noop : onFatalError;
43434341
this.formState = void 0 === formState ? null : formState;
43444342
this.didWarnForKey = null;
4345-
resumableState = createPendingSegment(
4346-
this,
4347-
0,
4348-
null,
4349-
rootFormatContext,
4350-
!1,
4351-
!1
4352-
);
4353-
resumableState.parentFlushed = !0;
4354-
children = createRenderTask(
4355-
this,
4356-
null,
4357-
children,
4358-
-1,
4359-
null,
4360-
resumableState,
4361-
null,
4362-
abortSet,
4363-
null,
4364-
rootFormatContext,
4365-
null,
4366-
emptyTreeContext,
4367-
null,
4368-
!1,
4369-
emptyContextObject,
4370-
null
4371-
);
4372-
pushComponentStack(children);
4373-
pingedTasks.push(children);
43744343
}
43754344
function createRequest(
43764345
children,
@@ -4386,8 +4355,7 @@
43864355
onPostpone,
43874356
formState
43884357
) {
4389-
return new RequestInstance(
4390-
children,
4358+
resumableState = new RequestInstance(
43914359
resumableState,
43924360
renderState,
43934361
rootFormatContext,
@@ -4400,6 +4368,36 @@
44004368
onPostpone,
44014369
formState
44024370
);
4371+
renderState = createPendingSegment(
4372+
resumableState,
4373+
0,
4374+
null,
4375+
rootFormatContext,
4376+
!1,
4377+
!1
4378+
);
4379+
renderState.parentFlushed = !0;
4380+
children = createRenderTask(
4381+
resumableState,
4382+
null,
4383+
children,
4384+
-1,
4385+
null,
4386+
renderState,
4387+
null,
4388+
resumableState.abortableTasks,
4389+
null,
4390+
rootFormatContext,
4391+
null,
4392+
emptyTreeContext,
4393+
null,
4394+
!1,
4395+
emptyContextObject,
4396+
null
4397+
);
4398+
pushComponentStack(children);
4399+
resumableState.pingedTasks.push(children);
4400+
return resumableState;
44034401
}
44044402
function pingTask(request, task) {
44054403
request.pingedTasks.push(task);
@@ -9291,5 +9289,5 @@
92919289
'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'
92929290
);
92939291
};
9294-
exports.version = "19.0.0-experimental-7771d3a7-20240827";
9292+
exports.version = "19.0.0-experimental-d6cb4e77-20240911";
92959293
})();

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

Lines changed: 32 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -3560,7 +3560,6 @@ function defaultErrorHandler(error) {
35603560
}
35613561
function noop() {}
35623562
function RequestInstance(
3563-
children,
35643563
resumableState,
35653564
renderState,
35663565
rootFormatContext,
@@ -3573,8 +3572,7 @@ function RequestInstance(
35733572
onPostpone,
35743573
formState
35753574
) {
3576-
var pingedTasks = [],
3577-
abortSet = new Set();
3575+
var abortSet = new Set();
35783576
this.destination = null;
35793577
this.flushScheduled = !1;
35803578
this.resumableState = resumableState;
@@ -3587,7 +3585,7 @@ function RequestInstance(
35873585
this.pendingRootTasks = this.allPendingTasks = this.nextSegmentId = 0;
35883586
this.completedRootSegment = null;
35893587
this.abortableTasks = abortSet;
3590-
this.pingedTasks = pingedTasks;
3588+
this.pingedTasks = [];
35913589
this.clientRenderedBoundaries = [];
35923590
this.completedBoundaries = [];
35933591
this.partialBoundaries = [];
@@ -3599,33 +3597,6 @@ function RequestInstance(
35993597
this.onShellError = void 0 === onShellError ? noop : onShellError;
36003598
this.onFatalError = void 0 === onFatalError ? noop : onFatalError;
36013599
this.formState = void 0 === formState ? null : formState;
3602-
resumableState = createPendingSegment(
3603-
this,
3604-
0,
3605-
null,
3606-
rootFormatContext,
3607-
!1,
3608-
!1
3609-
);
3610-
resumableState.parentFlushed = !0;
3611-
children = createRenderTask(
3612-
this,
3613-
null,
3614-
children,
3615-
-1,
3616-
null,
3617-
resumableState,
3618-
null,
3619-
abortSet,
3620-
null,
3621-
rootFormatContext,
3622-
null,
3623-
emptyTreeContext,
3624-
null,
3625-
!1
3626-
);
3627-
pushComponentStack(children);
3628-
pingedTasks.push(children);
36293600
}
36303601
function createRequest(
36313602
children,
@@ -3641,8 +3612,7 @@ function createRequest(
36413612
onPostpone,
36423613
formState
36433614
) {
3644-
return new RequestInstance(
3645-
children,
3615+
resumableState = new RequestInstance(
36463616
resumableState,
36473617
renderState,
36483618
rootFormatContext,
@@ -3655,6 +3625,34 @@ function createRequest(
36553625
onPostpone,
36563626
formState
36573627
);
3628+
renderState = createPendingSegment(
3629+
resumableState,
3630+
0,
3631+
null,
3632+
rootFormatContext,
3633+
!1,
3634+
!1
3635+
);
3636+
renderState.parentFlushed = !0;
3637+
children = createRenderTask(
3638+
resumableState,
3639+
null,
3640+
children,
3641+
-1,
3642+
null,
3643+
renderState,
3644+
null,
3645+
resumableState.abortableTasks,
3646+
null,
3647+
rootFormatContext,
3648+
null,
3649+
emptyTreeContext,
3650+
null,
3651+
!1
3652+
);
3653+
pushComponentStack(children);
3654+
resumableState.pingedTasks.push(children);
3655+
return resumableState;
36583656
}
36593657
var currentRequest = null;
36603658
function pingTask(request, task) {
@@ -6055,4 +6053,4 @@ exports.renderToString = function (children, options) {
60556053
'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'
60566054
);
60576055
};
6058-
exports.version = "19.0.0-experimental-7771d3a7-20240827";
6056+
exports.version = "19.0.0-experimental-d6cb4e77-20240911";

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

Lines changed: 34 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -4302,7 +4302,6 @@
43024302
}
43034303
function noop() {}
43044304
function RequestInstance(
4305-
children,
43064305
resumableState,
43074306
renderState,
43084307
rootFormatContext,
@@ -4315,8 +4314,7 @@
43154314
onPostpone,
43164315
formState
43174316
) {
4318-
var pingedTasks = [],
4319-
abortSet = new Set();
4317+
var abortSet = new Set();
43204318
this.destination = null;
43214319
this.flushScheduled = !1;
43224320
this.resumableState = resumableState;
@@ -4329,7 +4327,7 @@
43294327
this.pendingRootTasks = this.allPendingTasks = this.nextSegmentId = 0;
43304328
this.completedRootSegment = null;
43314329
this.abortableTasks = abortSet;
4332-
this.pingedTasks = pingedTasks;
4330+
this.pingedTasks = [];
43334331
this.clientRenderedBoundaries = [];
43344332
this.completedBoundaries = [];
43354333
this.partialBoundaries = [];
@@ -4342,35 +4340,6 @@
43424340
this.onFatalError = void 0 === onFatalError ? noop : onFatalError;
43434341
this.formState = void 0 === formState ? null : formState;
43444342
this.didWarnForKey = null;
4345-
resumableState = createPendingSegment(
4346-
this,
4347-
0,
4348-
null,
4349-
rootFormatContext,
4350-
!1,
4351-
!1
4352-
);
4353-
resumableState.parentFlushed = !0;
4354-
children = createRenderTask(
4355-
this,
4356-
null,
4357-
children,
4358-
-1,
4359-
null,
4360-
resumableState,
4361-
null,
4362-
abortSet,
4363-
null,
4364-
rootFormatContext,
4365-
null,
4366-
emptyTreeContext,
4367-
null,
4368-
!1,
4369-
emptyContextObject,
4370-
null
4371-
);
4372-
pushComponentStack(children);
4373-
pingedTasks.push(children);
43744343
}
43754344
function createRequest(
43764345
children,
@@ -4386,8 +4355,7 @@
43864355
onPostpone,
43874356
formState
43884357
) {
4389-
return new RequestInstance(
4390-
children,
4358+
resumableState = new RequestInstance(
43914359
resumableState,
43924360
renderState,
43934361
rootFormatContext,
@@ -4400,6 +4368,36 @@
44004368
onPostpone,
44014369
formState
44024370
);
4371+
renderState = createPendingSegment(
4372+
resumableState,
4373+
0,
4374+
null,
4375+
rootFormatContext,
4376+
!1,
4377+
!1
4378+
);
4379+
renderState.parentFlushed = !0;
4380+
children = createRenderTask(
4381+
resumableState,
4382+
null,
4383+
children,
4384+
-1,
4385+
null,
4386+
renderState,
4387+
null,
4388+
resumableState.abortableTasks,
4389+
null,
4390+
rootFormatContext,
4391+
null,
4392+
emptyTreeContext,
4393+
null,
4394+
!1,
4395+
emptyContextObject,
4396+
null
4397+
);
4398+
pushComponentStack(children);
4399+
resumableState.pingedTasks.push(children);
4400+
return resumableState;
44034401
}
44044402
function pingTask(request, task) {
44054403
request.pingedTasks.push(task);
@@ -9291,5 +9289,5 @@
92919289
'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'
92929290
);
92939291
};
9294-
exports.version = "19.0.0-experimental-7771d3a7-20240827";
9292+
exports.version = "19.0.0-experimental-d6cb4e77-20240911";
92959293
})();

0 commit comments

Comments
 (0)