Skip to content

Releases: yahoo/serialize-javascript

v7.0.5

25 Mar 14:32
v7.0.5
df3f1c1

Choose a tag to compare

Fixes

  • Improve robustness and validation for array-like object serialization.
  • Fix an issue where certain object structures could lead to excessive CPU usage.

For more details, please see GHSA-qj8w-gfj5-8c6v.

v7.0.4

02 Mar 23:28
v7.0.4
eec32e0

Choose a tag to compare

What's Changed

Full Changelog: v7.0.3...v7.0.4

v7.0.3

27 Feb 14:38

Choose a tag to compare


v7.0.2...v7.0.3

v7.0.2

07 Dec 13:28
v7.0.2
44f544b

Choose a tag to compare

What's Changed

Full Changelog: v7.0.1...v7.0.2

v7.0.1

28 Nov 13:32
v7.0.1
f7fff15

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v7.0.0...v7.0.1

v7.0.0

04 Oct 12:56
v7.0.0
bb0048c

Choose a tag to compare

Breaking Changes

  • requires Node.js v20+

What's Changed

New Contributors

Full Changelog: v6.0.2...v7.0.0

v6.0.2

09 Jan 01:06

Choose a tag to compare

v6.0.1...v6.0.2

v6.0.1

15 Jan 14:35
v6.0.1
7139f92

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v6.0.0...v6.0.1

v6.0.0

21 Jun 14:08
v6.0.0
3302c44

Choose a tag to compare

Changelog

  • Add support for URL's (#123)
  • Bump mocha from 9.0.0 to 9.0.1 (#124)
  • Bump mocha from 8.4.0 to 9.0.0 (#121)
  • Update Node.js CI matrix (#122)
  • Bump mocha from 8.3.2 to 8.4.0 (#120)
  • Bump lodash from 4.17.19 to 4.17.21 (#119)
  • Bump y18n from 4.0.0 to 4.0.1 (#116)
  • Bump chai from 4.3.3 to 4.3.4 (#115)
  • Bump mocha from 8.3.1 to 8.3.2 (#114)
  • Bump mocha from 8.3.0 to 8.3.1 (#113)
  • Bump chai from 4.3.1 to 4.3.3 (#112)
  • Bump chai from 4.2.0 to 4.3.1 (#111)
  • Bump mocha from 8.2.1 to 8.3.0 (#109)
  • Bump mocha from 8.1.3 to 8.2.1 (#105)
  • Drop Travis CI settings (#100)
  • Change default branch name to main (#99)
  • GitHub Aactions (#98)

Behavior changes for URL objects

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

const serialize = require("serialize-javascript");

serialize({u: new URL("http://example.com/")}); // '{"u":new URL("http://example.com/")}'

Thank you @rrdelaney for this release.

v5.0.1

10 Sep 12:54
8eb19aa

Choose a tag to compare

Changelog

  • Exclude .vscode and .github directories from package (#97)