Skip to content

Commit

Permalink
ncc-compiled
Browse files Browse the repository at this point in the history
  • Loading branch information
vercel-release-bot committed Sep 11, 2024
1 parent 1b356a0 commit 1b743ef
Show file tree
Hide file tree
Showing 91 changed files with 20,329 additions and 17,373 deletions.
3,648 changes: 1,943 additions & 1,705 deletions packages/next/src/compiled/react-dom-experimental/cjs/react-dom-client.development.js

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -4302,7 +4302,6 @@
}
function noop() {}
function RequestInstance(
children,
resumableState,
renderState,
rootFormatContext,
Expand All @@ -4315,8 +4314,7 @@
onPostpone,
formState
) {
var pingedTasks = [],
abortSet = new Set();
var abortSet = new Set();
this.destination = null;
this.flushScheduled = !1;
this.resumableState = resumableState;
Expand All @@ -4329,7 +4327,7 @@
this.pendingRootTasks = this.allPendingTasks = this.nextSegmentId = 0;
this.completedRootSegment = null;
this.abortableTasks = abortSet;
this.pingedTasks = pingedTasks;
this.pingedTasks = [];
this.clientRenderedBoundaries = [];
this.completedBoundaries = [];
this.partialBoundaries = [];
Expand All @@ -4342,35 +4340,6 @@
this.onFatalError = void 0 === onFatalError ? noop : onFatalError;
this.formState = void 0 === formState ? null : formState;
this.didWarnForKey = null;
resumableState = createPendingSegment(
this,
0,
null,
rootFormatContext,
!1,
!1
);
resumableState.parentFlushed = !0;
children = createRenderTask(
this,
null,
children,
-1,
null,
resumableState,
null,
abortSet,
null,
rootFormatContext,
null,
emptyTreeContext,
null,
!1,
emptyContextObject,
null
);
pushComponentStack(children);
pingedTasks.push(children);
}
function createRequest(
children,
Expand All @@ -4386,8 +4355,7 @@
onPostpone,
formState
) {
return new RequestInstance(
children,
resumableState = new RequestInstance(
resumableState,
renderState,
rootFormatContext,
Expand All @@ -4400,6 +4368,36 @@
onPostpone,
formState
);
renderState = createPendingSegment(
resumableState,
0,
null,
rootFormatContext,
!1,
!1
);
renderState.parentFlushed = !0;
children = createRenderTask(
resumableState,
null,
children,
-1,
null,
renderState,
null,
resumableState.abortableTasks,
null,
rootFormatContext,
null,
emptyTreeContext,
null,
!1,
emptyContextObject,
null
);
pushComponentStack(children);
resumableState.pingedTasks.push(children);
return resumableState;
}
function pingTask(request, task) {
request.pingedTasks.push(task);
Expand Down Expand Up @@ -9291,5 +9289,5 @@
'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'
);
};
exports.version = "19.0.0-experimental-7771d3a7-20240827";
exports.version = "19.0.0-experimental-d6cb4e77-20240911";
})();
Original file line number Diff line number Diff line change
Expand Up @@ -3560,7 +3560,6 @@ function defaultErrorHandler(error) {
}
function noop() {}
function RequestInstance(
children,
resumableState,
renderState,
rootFormatContext,
Expand All @@ -3573,8 +3572,7 @@ function RequestInstance(
onPostpone,
formState
) {
var pingedTasks = [],
abortSet = new Set();
var abortSet = new Set();
this.destination = null;
this.flushScheduled = !1;
this.resumableState = resumableState;
Expand All @@ -3587,7 +3585,7 @@ function RequestInstance(
this.pendingRootTasks = this.allPendingTasks = this.nextSegmentId = 0;
this.completedRootSegment = null;
this.abortableTasks = abortSet;
this.pingedTasks = pingedTasks;
this.pingedTasks = [];
this.clientRenderedBoundaries = [];
this.completedBoundaries = [];
this.partialBoundaries = [];
Expand All @@ -3599,33 +3597,6 @@ function RequestInstance(
this.onShellError = void 0 === onShellError ? noop : onShellError;
this.onFatalError = void 0 === onFatalError ? noop : onFatalError;
this.formState = void 0 === formState ? null : formState;
resumableState = createPendingSegment(
this,
0,
null,
rootFormatContext,
!1,
!1
);
resumableState.parentFlushed = !0;
children = createRenderTask(
this,
null,
children,
-1,
null,
resumableState,
null,
abortSet,
null,
rootFormatContext,
null,
emptyTreeContext,
null,
!1
);
pushComponentStack(children);
pingedTasks.push(children);
}
function createRequest(
children,
Expand All @@ -3641,8 +3612,7 @@ function createRequest(
onPostpone,
formState
) {
return new RequestInstance(
children,
resumableState = new RequestInstance(
resumableState,
renderState,
rootFormatContext,
Expand All @@ -3655,6 +3625,34 @@ function createRequest(
onPostpone,
formState
);
renderState = createPendingSegment(
resumableState,
0,
null,
rootFormatContext,
!1,
!1
);
renderState.parentFlushed = !0;
children = createRenderTask(
resumableState,
null,
children,
-1,
null,
renderState,
null,
resumableState.abortableTasks,
null,
rootFormatContext,
null,
emptyTreeContext,
null,
!1
);
pushComponentStack(children);
resumableState.pingedTasks.push(children);
return resumableState;
}
var currentRequest = null;
function pingTask(request, task) {
Expand Down Expand Up @@ -6055,4 +6053,4 @@ exports.renderToString = function (children, options) {
'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'
);
};
exports.version = "19.0.0-experimental-7771d3a7-20240827";
exports.version = "19.0.0-experimental-d6cb4e77-20240911";
Original file line number Diff line number Diff line change
Expand Up @@ -4302,7 +4302,6 @@
}
function noop() {}
function RequestInstance(
children,
resumableState,
renderState,
rootFormatContext,
Expand All @@ -4315,8 +4314,7 @@
onPostpone,
formState
) {
var pingedTasks = [],
abortSet = new Set();
var abortSet = new Set();
this.destination = null;
this.flushScheduled = !1;
this.resumableState = resumableState;
Expand All @@ -4329,7 +4327,7 @@
this.pendingRootTasks = this.allPendingTasks = this.nextSegmentId = 0;
this.completedRootSegment = null;
this.abortableTasks = abortSet;
this.pingedTasks = pingedTasks;
this.pingedTasks = [];
this.clientRenderedBoundaries = [];
this.completedBoundaries = [];
this.partialBoundaries = [];
Expand All @@ -4342,35 +4340,6 @@
this.onFatalError = void 0 === onFatalError ? noop : onFatalError;
this.formState = void 0 === formState ? null : formState;
this.didWarnForKey = null;
resumableState = createPendingSegment(
this,
0,
null,
rootFormatContext,
!1,
!1
);
resumableState.parentFlushed = !0;
children = createRenderTask(
this,
null,
children,
-1,
null,
resumableState,
null,
abortSet,
null,
rootFormatContext,
null,
emptyTreeContext,
null,
!1,
emptyContextObject,
null
);
pushComponentStack(children);
pingedTasks.push(children);
}
function createRequest(
children,
Expand All @@ -4386,8 +4355,7 @@
onPostpone,
formState
) {
return new RequestInstance(
children,
resumableState = new RequestInstance(
resumableState,
renderState,
rootFormatContext,
Expand All @@ -4400,6 +4368,36 @@
onPostpone,
formState
);
renderState = createPendingSegment(
resumableState,
0,
null,
rootFormatContext,
!1,
!1
);
renderState.parentFlushed = !0;
children = createRenderTask(
resumableState,
null,
children,
-1,
null,
renderState,
null,
resumableState.abortableTasks,
null,
rootFormatContext,
null,
emptyTreeContext,
null,
!1,
emptyContextObject,
null
);
pushComponentStack(children);
resumableState.pingedTasks.push(children);
return resumableState;
}
function pingTask(request, task) {
request.pingedTasks.push(task);
Expand Down Expand Up @@ -9291,5 +9289,5 @@
'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'
);
};
exports.version = "19.0.0-experimental-7771d3a7-20240827";
exports.version = "19.0.0-experimental-d6cb4e77-20240911";
})();
Loading

0 comments on commit 1b743ef

Please sign in to comment.