multipasta
Advanced tools
Comparing version 0.1.13 to 0.1.14
@@ -29,3 +29,2 @@ "use strict"; | ||
previousChunk: undefined, | ||
previousStart: 0, | ||
pairs: 0, | ||
@@ -41,3 +40,2 @@ size: 0 | ||
state.previousChunk = undefined; | ||
state.previousStart = 0; | ||
state.pairs = 0; | ||
@@ -65,3 +63,3 @@ state.size = 0; | ||
chunk = newChunk; | ||
start = state.previousStart; | ||
start = 0; | ||
} | ||
@@ -153,3 +151,2 @@ const end = chunk.length; | ||
state.previousChunk = chunk.subarray(start); | ||
state.previousStart = start; | ||
return constContinue; | ||
@@ -156,0 +153,0 @@ } else if (state.crlf >= 2) { |
@@ -23,3 +23,2 @@ const constMaxPairs = 100; | ||
previousChunk: undefined, | ||
previousStart: 0, | ||
pairs: 0, | ||
@@ -35,3 +34,2 @@ size: 0 | ||
state.previousChunk = undefined; | ||
state.previousStart = 0; | ||
state.pairs = 0; | ||
@@ -59,3 +57,3 @@ state.size = 0; | ||
chunk = newChunk; | ||
start = state.previousStart; | ||
start = 0; | ||
} | ||
@@ -147,3 +145,2 @@ const end = chunk.length; | ||
state.previousChunk = chunk.subarray(start); | ||
state.previousStart = start; | ||
return constContinue; | ||
@@ -150,0 +147,0 @@ } else if (state.crlf >= 2) { |
{ | ||
"name": "multipasta", | ||
"version": "0.1.13", | ||
"version": "0.1.14", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -44,3 +44,2 @@ import { Continue, FailureReason, ReturnValue } from "../HeadersParser.js" | ||
previousChunk: undefined as undefined | Uint8Array, | ||
previousStart: 0, | ||
pairs: 0, | ||
@@ -57,3 +56,2 @@ size: 0, | ||
state.previousChunk = undefined | ||
state.previousStart = 0 | ||
state.pairs = 0 | ||
@@ -80,3 +78,3 @@ state.size = 0 | ||
chunk = newChunk | ||
start = state.previousStart | ||
start = 0 | ||
} | ||
@@ -182,3 +180,2 @@ const end = chunk.length | ||
state.previousChunk = chunk.subarray(start) | ||
state.previousStart = start | ||
return constContinue | ||
@@ -185,0 +182,0 @@ } else if (state.crlf >= 2) { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
186859
3109