Skip to content

Releases: yahoo/serialize-javascript

v2.1.1

09 Dec 09:15
v2.1.1
433fc9c

Choose a tag to compare

  • Fix regular expressions Cross-Site Scripting (XSS) vulnerability (see security advisory)
  • Migrate to nyc from istanbul

v2.1.0

04 Sep 12:35
v2.1.0
31c98ad

Choose a tag to compare

v2.0.0

04 Sep 12:13
c65dd4a

Choose a tag to compare

  • re-landed #54 with bump major version (see: #57)

Behavior changes for undefined

It serializes undefined values as follows since this version. The result of serialization may be changed if you are passing undefined values into the serialize-javascript.

v2.x

const serialize = require('serialize-javascript'); serialize({undef: undefined}); // '{"undef":undefined}'

v1.x

const serialize = require('serialize-javascript'); serialize({undef: undefined}); // '{}'

v1.9.1

04 Sep 12:11
9ee6b1c

Choose a tag to compare

  • Revert #54 for breaking changes (see: #57)
  • Bump mocha from 5.2.0 to 6.2.0 (#56)

v1.9.0

29 Aug 12:40
v1.9.0
84ad59b

Choose a tag to compare

  • support serialize undefined (@nqdy666, #54)
  • Update Node.js versions to tests

v1.8.0

20 Aug 12:53
v1.8.0
6eae833

Choose a tag to compare

v1.7.0

16 Apr 12:21
v1.7.0
423a382

Choose a tag to compare

  • Add support for serializing ES6 sets & maps (@pimterry, #45)

Please note that serialization for ES6 Sets & Maps requires support for Array.from (not available in IE or Node < 0.12), or an Array.from polyfill.

v1.6.1

28 Dec 07:36
v1.6.1
35f6480

Choose a tag to compare

v1.6.0

24 Dec 14:34
v1.6.0
8c10244

Choose a tag to compare

v1.4.0

15 Jul 12:47
v1.4.0

Choose a tag to compare