Permalink
Commits on May 4, 2017
  1. Release v2.5.1

    mathiasbynens committed May 4, 2017
  2. Improve output for `Buffer` objects

    mathiasbynens committed May 4, 2017
    `Buffer(array)` is deprecated now. `Buffer.from(array)` should be used instead.
    
    https://nodejs.org/api/buffer.html#buffer_new_buffer_array
Commits on Apr 12, 2017
Commits on Apr 11, 2017
  1. Release v2.5.0

    mathiasbynens committed Apr 11, 2017
Commits on Jan 19, 2017
Commits on Jan 2, 2017
Commits on Dec 27, 2016
  1. Release v2.4.0

    mathiasbynens committed Dec 27, 2016
Commits on Dec 13, 2016
  1. Add `minimal` option

    mathiasbynens committed Dec 13, 2016
    With this option enabled, jsesc output is no longer guaranteed to be ASCII-safe.
Commits on Dec 10, 2016
  1. Release v2.3.0

    mathiasbynens committed Dec 10, 2016
Commits on Oct 16, 2016
  1. Rename `escapeEtago` to `isScriptContext` and make it escape `<!--`

    mathiasbynens committed Oct 16, 2016
    See <https://mathiasbynens.be/notes/etago#comment-8>:
    
    > By escaping `<!--`, old browsers without an HTML5 parser behave the same as modern browsers with an HTML5 parser.
Commits on Jun 7, 2016
  1. Release v2.2.0

    mathiasbynens committed Jun 7, 2016
  2. Support buffers

    mathiasbynens committed Jun 7, 2016
Commits on May 31, 2016
  1. Release v2.1.0

    mathiasbynens committed May 31, 2016
Commits on May 30, 2016
  1. Release v2.0.0

    mathiasbynens committed May 30, 2016
  2. Release v1.3.0

    mathiasbynens committed May 30, 2016
  3. Add `numbers` option

    mathiasbynens committed May 30, 2016
  4. Release v1.2.1

    mathiasbynens committed May 30, 2016
  5. Improve map stringification

    mathiasbynens committed May 30, 2016
    Maps are now stringified as follows:
    
        new Map([
          ['a', 1],
          ['b', 2]
        ])
    
    Previously, the format was:
    
        new Map([
          [
            'a',
            1
          ],
          [
            'b',
            2
          ]
        ])
    
    …which was needlessly verbose and made it hard to match the lookup object with its value.
Commits on May 21, 2016
  1. Release v1.2.0

    mathiasbynens committed May 21, 2016
  2. Support maps and sets

    mathiasbynens committed May 21, 2016
    Fixes #26.
Commits on May 20, 2016
  1. Release v1.1.0

    mathiasbynens committed May 20, 2016
  2. Add `escapeEtago` option

    mathiasbynens committed May 20, 2016
    Closes #27.
Commits on May 13, 2016
  1. Fix typos

    mathiasbynens committed May 13, 2016
    Closes #25.
Commits on Feb 19, 2016
  1. Release v1.0.0

    mathiasbynens committed Feb 19, 2016
  2. Add `lowercaseHex` option

    almet authored and mathiasbynens committed Feb 17, 2016
    Closes #23.
  3. Tweak coveralls command

    mathiasbynens committed Feb 19, 2016
Commits on Mar 11, 2015
Commits on Jan 26, 2015
  1. Update dependencies

    mathiasbynens committed Jan 26, 2015
Commits on Dec 23, 2014
Commits on Aug 18, 2014