This is very confusing as seen in #12974 or #12906. My suggestion would be "legacy."
var name = path.basename(pdfPath, path.extname(pdfPath));
  return path.join(outputDirectory, name + "-" + pageNum + ".svg");
}
/**
 * A readable stream which offers a stream representing the serialization of a
 * given DOM element (as defined by domstubs.js).
 *
 * @param {object} options
 * @param {DOMElement} options.svgElement The element to serialize
 */
function ReadableSVGStream(options) {