(str2, delimiter)
| 69390 | const lines = [this.buffer.join("")]; |
| 69391 | this.buffer = []; |
| 69392 | this.trailingCR = false; |
| 69393 | return lines; |
| 69394 | } |
| 69395 | }; |
| 69396 | LineDecoder.NEWLINE_CHARS = /* @__PURE__ */ new Set(["\n", "\r"]); |
| 69397 | LineDecoder.NEWLINE_REGEXP = /\r\n|[\n\r]/g; |
| 69398 | function partition(str2, delimiter) { |
| 69399 | const index = str2.indexOf(delimiter); |
| 69400 | if (index !== -1) { |
| 69401 | return [str2.substring(0, index), delimiter, str2.substring(index + delimiter.length)]; |
no outgoing calls
no test coverage detected
searching dependent graphs…