react-server-dom-webpack
Advanced tools
Comparing version 19.1.0-canary-ef979d47-20241218 to 19.1.0-canary-f0edf41e-20250115
@@ -692,2 +692,4 @@ /** | ||
function reportGlobalError(response, error) { | ||
response._closed = !0; | ||
response._closedReason = error; | ||
response._chunks.forEach(function (chunk) { | ||
@@ -703,3 +705,7 @@ "pending" === chunk.status && triggerErrorOnChunk(chunk, error); | ||
chunk = chunks.get(id); | ||
chunk || ((chunk = createPendingChunk(response)), chunks.set(id, chunk)); | ||
chunk || | ||
((chunk = response._closed | ||
? new ReactPromise("rejected", null, response._closedReason, response) | ||
: createPendingChunk(response)), | ||
chunks.set(id, chunk)); | ||
return chunk; | ||
@@ -1033,2 +1039,4 @@ } | ||
this._buffer = []; | ||
this._closed = !1; | ||
this._closedReason = null; | ||
this._tempRefs = temporaryReferences; | ||
@@ -1035,0 +1043,0 @@ this._fromJSON = createFromJSONCallback(this); |
@@ -846,2 +846,4 @@ /** | ||
function reportGlobalError(response, error) { | ||
response._closed = !0; | ||
response._closedReason = error; | ||
response._chunks.forEach(function (chunk) { | ||
@@ -857,3 +859,7 @@ "pending" === chunk.status && triggerErrorOnChunk(chunk, error); | ||
chunk = chunks.get(id); | ||
chunk || ((chunk = createPendingChunk(response)), chunks.set(id, chunk)); | ||
chunk || | ||
((chunk = response._closed | ||
? new ReactPromise("rejected", null, response._closedReason, response) | ||
: createPendingChunk(response)), | ||
chunks.set(id, chunk)); | ||
return chunk; | ||
@@ -1191,2 +1197,4 @@ } | ||
this._buffer = []; | ||
this._closed = !1; | ||
this._closedReason = null; | ||
this._tempRefs = temporaryReferences; | ||
@@ -1193,0 +1201,0 @@ this._fromJSON = createFromJSONCallback(this); |
@@ -847,2 +847,4 @@ /** | ||
function reportGlobalError(response, error) { | ||
response._closed = !0; | ||
response._closedReason = error; | ||
response._chunks.forEach(function (chunk) { | ||
@@ -858,3 +860,7 @@ "pending" === chunk.status && triggerErrorOnChunk(chunk, error); | ||
chunk = chunks.get(id); | ||
chunk || ((chunk = createPendingChunk(response)), chunks.set(id, chunk)); | ||
chunk || | ||
((chunk = response._closed | ||
? new ReactPromise("rejected", null, response._closedReason, response) | ||
: createPendingChunk(response)), | ||
chunks.set(id, chunk)); | ||
return chunk; | ||
@@ -1192,2 +1198,4 @@ } | ||
this._buffer = []; | ||
this._closed = !1; | ||
this._closedReason = null; | ||
this._tempRefs = temporaryReferences; | ||
@@ -1194,0 +1202,0 @@ this._fromJSON = createFromJSONCallback(this); |
@@ -812,2 +812,4 @@ /** | ||
function reportGlobalError(response, error) { | ||
response._closed = !0; | ||
response._closedReason = error; | ||
response._chunks.forEach(function (chunk) { | ||
@@ -823,3 +825,7 @@ "pending" === chunk.status && triggerErrorOnChunk(chunk, error); | ||
chunk = chunks.get(id); | ||
chunk || ((chunk = createPendingChunk(response)), chunks.set(id, chunk)); | ||
chunk || | ||
((chunk = response._closed | ||
? new ReactPromise("rejected", null, response._closedReason, response) | ||
: createPendingChunk(response)), | ||
chunks.set(id, chunk)); | ||
return chunk; | ||
@@ -1157,2 +1163,4 @@ } | ||
this._buffer = []; | ||
this._closed = !1; | ||
this._closedReason = null; | ||
this._tempRefs = temporaryReferences; | ||
@@ -1159,0 +1167,0 @@ this._fromJSON = createFromJSONCallback(this); |
{ | ||
"name": "react-server-dom-webpack", | ||
"description": "React Server Components bindings for DOM using Webpack. This is intended to be integrated into meta-frameworks. It is not intended to be imported directly.", | ||
"version": "19.1.0-canary-ef979d47-20241218", | ||
"version": "19.1.0-canary-f0edf41e-20250115", | ||
"keywords": [ | ||
@@ -102,4 +102,4 @@ "react" | ||
"peerDependencies": { | ||
"react": "19.1.0-canary-ef979d47-20241218", | ||
"react-dom": "19.1.0-canary-ef979d47-20241218", | ||
"react": "19.1.0-canary-f0edf41e-20250115", | ||
"react-dom": "19.1.0-canary-f0edf41e-20250115", | ||
"webpack": "^5.59.0" | ||
@@ -106,0 +106,0 @@ }, |
@@ -12,2 +12,3 @@ 'use strict'; | ||
exports.decodeReply = s.decodeReply; | ||
exports.decodeReplyFromAsyncIterable = s.decodeReplyFromAsyncIterable; | ||
exports.decodeAction = s.decodeAction; | ||
@@ -14,0 +15,0 @@ exports.decodeFormState = s.decodeFormState; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
1608327
45841