| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| README.md | 2026-10-23 | 1.1 kB | |
| v7.1.4 source code.tar.gz | 2026-10-23 | 18.3 kB | |
| v7.1.4 source code.zip | 2026-10-23 | 23.4 kB | |
| Totals: 3 Items | 42.8 kB | 0 | |
What's Changed
- Fix methods containing nested functions and arrows by @Shubham-Padkonde in https://github.com/yahoo/serialize-javascript/pull/231
- docs: add SECURITY.md by @redonkulus in https://github.com/yahoo/serialize-javascript/pull/237
- release: v7.1.4 by @redonkulus in https://github.com/yahoo/serialize-javascript/pull/238
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: https://github.com/yahoo/serialize-javascript/compare/v7.1.3...v7.1.4