Skip to content

Releases: yahoo/serialize-javascript

v7.1.4

Choose a tag to compare

@redonkulus redonkulus released this 23 Oct 14:53
05c5ceb

What's Changed

Note on method serialization

Concise methods ({ m() {} }), including async, generator and computed-key methods, are now serialized correctly when their bodies contain a nested arrow function or function declaration. Previously these were emitted unchanged, producing invalid output that failed to deserialize (#118). Class expressions continue to be emitted as-is.

Reporting security issues

This repo now has a security policy. Please report vulnerabilities privately through GitHub's private vulnerability reporting rather than public issues.

Full Changelog: v7.1.3...v7.1.4

v7.1.3

Choose a tag to compare

@redonkulus redonkulus released this 22 Oct 21:24
4d36b82

See: GHSA-m5mm-p8h7-m29v

What's Changed

Note on ignoreFunction

With ignoreFunction: true, function values are now omitted the same way JSON.stringify omits them, without deleting them from the input object. Functions inside arrays are emitted as null (previously this produced Array.prototype.slice.call(...) output).

New Contributors

Full Changelog: v7.1.2...v7.1.3

v7.1.2

Choose a tag to compare

@okuryu okuryu released this 24 Sep 09:26

v7.1.1

Choose a tag to compare

@okuryu okuryu released this 29 Aug 13:50
v7.1.1
8c8caa7

What's Changed

  • fix: fix XSS bypass via split </script payload across function bodies by @okuryu in #226
  • release: v7.1.1 by @okuryu in #227

Full Changelog: v7.1.0...v7.1.1

v7.1.0

Choose a tag to compare

@okuryu okuryu released this 08 Aug 03:04
v7.1.0
739145a

What's Changed

Full Changelog: v7.0.7...v7.1.0

v7.0.7

Choose a tag to compare

@okuryu okuryu released this 30 Jun 12:20
v7.0.7
01bec60

What's Changed

Full Changelog: v7.0.6...v7.0.7

v7.0.6

Choose a tag to compare

@okuryu okuryu released this 17 Jun 23:59
v7.0.6
153eb43

What's Changed

  • build(deps-dev): bump lodash from 4.17.23 to 4.18.1 by @dependabot[bot] in #215
  • fix: reject spoofed URL objects with non-string toString() result by @redonkulus in #217
  • release: v7.0.6 by @okuryu in #221

Full Changelog: v7.0.5...v7.0.6

v7.0.5

Choose a tag to compare

@okuryu okuryu released this 25 Mar 14:32
v7.0.5
df3f1c1

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

Choose a tag to compare

@okuryu okuryu released this 02 Mar 23:28
v7.0.4
eec32e0

What's Changed

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

v7.0.3

Choose a tag to compare

@redonkulus redonkulus released this 27 Feb 14:38

v7.0.2...v7.0.3