(str2, delimiter)
| 80334 | const lines = [this.buffer.join("")]; |
| 80335 | this.buffer = []; |
| 80336 | this.trailingCR = false; |
| 80337 | return lines; |
| 80338 | } |
| 80339 | }; |
| 80340 | LineDecoder2.NEWLINE_CHARS = /* @__PURE__ */ new Set(["\n", "\r"]); |
| 80341 | LineDecoder2.NEWLINE_REGEXP = /\r\n|[\n\r]/g; |
| 80342 | function partition2(str2, delimiter) { |
| 80343 | const index = str2.indexOf(delimiter); |
| 80344 | if (index !== -1) { |
| 80345 | return [str2.substring(0, index), delimiter, str2.substring(index + delimiter.length)]; |
no outgoing calls
no test coverage detected
searching dependent graphs…