Skip to content

Releases: wikimedia/html-metadata

Require node >= 16

24 Aug 11:56
Compare
Choose a tag to compare

What's Changed

  • updating scraping.js to fix HTTP 406 error while runing the test suite by @Jacobojijo in #99
  • Add linting by @mvolz in #100
  • Fix prototype function pollution by @mvolz in #101

New Contributors

Full Changelog: v1.7.2...v2.0.0

v1.7.2

24 Aug 11:53
1cb4c9e
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.7.1...v1.7.2

Improve metadata coverage, expose loadHTML method, deprecate support for node 0.10 & 0.12

25 Jan 10:29
Compare
Choose a tag to compare

This change deprecates support for node 0.10 and .12 and is compatible with 4, 6, & 8. It also updates packages to their latest versions.

The following improvements to the metadata scraping were made:

  • Adds in PRISM metadata method parsePrism
  • Adds in icon and apple touch icon metadata to the parseGeneral method
  • Adds in xml lang attribute in the parseGeneral method if the html lang property is not available

Additional, a loadHTML method was exposed for scraping downloaded HTML files.

Fix warns and reject Errors instead of strings

20 Feb 09:41
Compare
Choose a tag to compare
  • Fix warns
  • Clean up tests & replace url that was timing out
  • Rejection values return Errors instead of strings

Adds support for JSON-LD in script tags

08 Dec 23:45
Compare
Choose a tag to compare

Adds support for JSON-LD in script tags

Adds support for Twitter cards

04 Dec 11:08
Compare
Choose a tag to compare