Skip to content

v3.0.0

Compare
Choose a tag to compare
@sindresorhus sindresorhus released this 15 Jan 03:35

Breaking

  • Require Node.js 10 1bad680
  • Merge tag functions into regular functions (#16) c8585cf
    • Migrate:
-htmlEscapeTag`<a href="${url}"></a>`;
-htmlUnescapeTag`URL from HTML: ${url}`;
+htmlEscape`<a href="${url}"></a>`;
+htmlUnescape`URL from HTML: ${url}`;

v2.1.1...v3.0.0