Resolved defect where the module did not work properly for elements with capitalised node names. This is because the “htmlparser2” submodule does not find elements with capital letters in their names unless the lowerCaseTags parameter is set to true. Setting this parameter to true has a negative impact on performance so I lazily initialise this method and only use it if method A is not successful.
https://github.com/keeganstreet/domtosource/issues/2 Removed the third parameter which previously had to be set to true in order for the module to calculate the line and column numbers. If this parameter was set to false the module added no additional functionality to what is already available in Cheerio.