turbo-stream
Advanced tools
Comparing version 2.2.0 to 2.2.1
@@ -144,2 +144,4 @@ "use strict"; | ||
controller.enqueue(textEncoder.encode(`${utils_js_1.TYPE_PROMISE}${deferredId}:[["${utils_js_1.TYPE_PREVIOUS_RESOLVED}",${id[0]}]]\n`)); | ||
encoder.index++; | ||
lastSentIndex++; | ||
} | ||
@@ -165,2 +167,4 @@ else if (id < 0) { | ||
controller.enqueue(textEncoder.encode(`${utils_js_1.TYPE_ERROR}${deferredId}:[["${utils_js_1.TYPE_PREVIOUS_RESOLVED}",${id[0]}]]\n`)); | ||
encoder.index++; | ||
lastSentIndex++; | ||
} | ||
@@ -167,0 +171,0 @@ else if (id < 0) { |
{ | ||
"name": "turbo-stream", | ||
"version": "2.2.0", | ||
"version": "2.2.1", | ||
"description": "A streaming data transport format that aims to support built-in features such as Promises, Dates, RegExps, Maps, Sets and more.", | ||
@@ -5,0 +5,0 @@ "files": [ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
45044
1151