react-server-dom-turbopack
Advanced tools
Comparing version
@@ -680,2 +680,4 @@ /** | ||
function reportGlobalError(response, error) { | ||
response._closed = !0; | ||
response._closedReason = error; | ||
response._chunks.forEach(function (chunk) { | ||
@@ -691,3 +693,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; | ||
@@ -1021,2 +1027,4 @@ } | ||
this._buffer = []; | ||
this._closed = !1; | ||
this._closedReason = null; | ||
this._tempRefs = temporaryReferences; | ||
@@ -1023,0 +1031,0 @@ this._fromJSON = createFromJSONCallback(this); |
@@ -843,2 +843,4 @@ /** | ||
function reportGlobalError(response, error) { | ||
response._closed = !0; | ||
response._closedReason = error; | ||
response._chunks.forEach(function (chunk) { | ||
@@ -854,3 +856,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; | ||
@@ -1188,2 +1194,4 @@ } | ||
this._buffer = []; | ||
this._closed = !1; | ||
this._closedReason = null; | ||
this._tempRefs = temporaryReferences; | ||
@@ -1190,0 +1198,0 @@ this._fromJSON = createFromJSONCallback(this); |
@@ -844,2 +844,4 @@ /** | ||
function reportGlobalError(response, error) { | ||
response._closed = !0; | ||
response._closedReason = error; | ||
response._chunks.forEach(function (chunk) { | ||
@@ -855,3 +857,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; | ||
@@ -1189,2 +1195,4 @@ } | ||
this._buffer = []; | ||
this._closed = !1; | ||
this._closedReason = null; | ||
this._tempRefs = temporaryReferences; | ||
@@ -1191,0 +1199,0 @@ this._fromJSON = createFromJSONCallback(this); |
{ | ||
"name": "react-server-dom-turbopack", | ||
"description": "React Server Components bindings for DOM using Turbopack. This is intended to be integrated into meta-frameworks. It is not intended to be imported directly.", | ||
"version": "19.1.0-canary-e06c72fc-20241215", | ||
"version": "19.1.0-canary-e670e72f-20250214", | ||
"keywords": [ | ||
@@ -81,4 +81,4 @@ "react" | ||
"peerDependencies": { | ||
"react": "19.1.0-canary-e06c72fc-20241215", | ||
"react-dom": "19.1.0-canary-e06c72fc-20241215" | ||
"react": "19.1.0-canary-e670e72f-20250214", | ||
"react-dom": "19.1.0-canary-e670e72f-20250214" | ||
}, | ||
@@ -85,0 +85,0 @@ "dependencies": { |
@@ -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
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
1207961
4.15%34544
4.18%