Skip to content

Releases: sindresorhus/escape-goat

v4.0.0

16 Apr 05:16
Compare
Choose a tag to compare

Breaking

v3.0.0...v4.0.0

v3.0.0

15 Jan 03:35
Compare
Choose a tag to compare

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

v2.1.1

23 Sep 09:39
Compare
Choose a tag to compare
  • Handle &#039; in addition to &#39; (#14) f0d5024

v2.1.0...v2.1.1

v2.1.0

30 May 09:18
Compare
Choose a tag to compare
  • Accept non-strings in htmlEscapeTag and htmlUnescapeTag (#13) 633c0dc

v2.0.0...v2.1.0

v2.0.0

17 Apr 12:49
Compare
Choose a tag to compare

Breaking:

  • Require Node.js 8 (#12) 3404da9
  • Rename all the methods 3548594
    • escapehtmlEscape
    • unescapehtmlUnescape
    • escapeTaghtmlEscapeTag
    • unscapeTaghtmlUnescapeTag

Enhancements:

v1.3.0...v2.0.0