Skip to content

Releases: iamakulov/unescape-js

1.1.4

17 Nov 15:52
2f9958e
Compare
Choose a tag to compare
  • Move @babel packages from dependencies to devDependencies. They accidentally got into regular dependencies in 1.1.3

1.1.3

17 Nov 15:48
ceccc45
Compare
Choose a tag to compare

v.1.1.1 and v1.1.3 were aimed at upgrading dependencies to fix vulnerabilities. v1.1.2 was skipped due to a release hiccup.

1.1.0

20 Nov 14:40
Compare
Choose a tag to compare
  • Add support for Python-style escape sequences (\UXXXXXXXX) (@tedivm in #3)

1.0.8

25 Dec 19:58
Compare
Choose a tag to compare

This release fixes two issues:

  • Many octal escape sequences were interpreted improperly:

    • the library didn’t properly parse octal escape sequences starting with \0 (e.g. \017 was parsed as \0 + 17);
    • the library didn’t understand 1- and 2-digit octal escape sequences (e.g. \5 and \72);
    • the library interpreted octal sequences with non-octal digits (e.g. \019) as proper sequences and tried to parse them.

    Fixed in #1 by @addaleax and d1d8a5b by @iamakulov.

  • Some escape sequences (e. g. \\x41) were handled improperly which resulted in multiple subsequent conversions (\\x41\x41A instead of just \\x41\x41)

    Fixed in #1 by @addaleax.