(url2)
| 4564 | return result; |
| 4565 | } |
| 4566 | function serializePath(url2) { |
| 4567 | if (hasAnOpaquePath(url2)) { |
| 4568 | return url2.path; |
| 4569 | } |
| 4570 | let output = ""; |
| 4571 | for (const segment of url2.path) { |
| 4572 | output += `/${segment}`; |
| 4573 | } |
| 4574 | return output; |
| 4575 | } |
| 4576 | module2.exports.serializeURL = serializeURL; |
| 4577 | module2.exports.serializePath = serializePath; |
| 4578 | module2.exports.serializeURLOrigin = function(url2) { |
no test coverage detected
searching dependent graphs…