A structuredClone polyfill that provides an environment-agnostic serializer and deserializer for cloning values beyond JSON, including support for recursion and additional JavaScript types (with noted limitations for some browser types). It is useful when you need a structured clone-like behavior in environments without a native structuredClone, either by importing the polyfill directly or by optionally adding it to the globalThis object conditionally.
Project status
- The repository appears actively maintained, with a new update published very recently (v1.3.1 on 2026-05-06, matching the latest upstream push time).
- Update cadence looks intermittent: v1.2.1 (2024-12-07), v1.3.0 (2025-01-23), then the next update much later at v1.3.1 (2026-05-06).
AI summary generated Today
Recent updates
v1.3.1
3 weeks agov1.3.1 introduces a change in deserialization behavior intended to prevent creation of certain dangerous built-ins (for example Function and eval). Release notes were not provided, so the behavioral change is not documented here. The patch also updates several dev dependency versions used for building/testing.
BreakingSecurityv1.3.0
1/23/2025v1.3.0 adds support for additional Structured Clone types, specifically ArrayBuffer and DataView, across both the CommonJS and ESM builds. The implementation serializes them as byte arrays (Uint8Array-backed) and reconstructs them on deserialization. Release notes were not provided, so the functional change is not documented.
Featuresv1.2.1
12/7/2024Release v1.2.1 was published on 2024-12-07, but the publisher did not provide any release notes or change descriptions. As a result, there is no documented information about new features, bug fixes, breaking changes, or dependency updates for this version.
v1.2.0
5/4/2023Release v1.2.0 contains no published release notes. The code diff mainly updates the documented options surface for the structured clone polyfill (notably adding json alongside lossy, and making transfer optional), and upgrades the build toolchain dependencies and configuration.
v1.1.2
5/3/2023Release v1.1.2 contains essentially no documented changes because no release notes were provided. The code diff shows only minor TypeScript declaration updates and version metadata updates.
v1.1.1
5/3/2023Release v1.1.1 contains no documented release notes from the publisher. The only code diff changes provided are version bumps and TypeScript declaration updates for the library entrypoints.
v1.1.0
4/29/2023v1.1.0 introduces published TypeScript declaration files for the main polyfill entrypoint and the `./json` helper. The runtime JS logic appears unchanged, with most JS diffs limited to removed/updated JSDoc and formatting, while packaging and typing infrastructure was expanded and build tooling was updated.
BreakingFeaturesv1.0.2
2/14/2023Release v1.0.2 appears to be a metadata-only update. The diff shows changes limited to README badge text and the package version fields in package.json and package-lock.json, with no functional source code changes present in the provided diff.
v1.0.1
5/11/2022Release v1.0.1 is a very small update with no release notes provided. The code diff shows only comment and documentation changes around the JSON helpers, plus a version bump in package metadata.
v1.0.0
5/10/2022This release is tagged v1.0.0, but no release notes were provided by the publisher. As a result, there is no documented information about new features, bug fixes, breaking changes, security updates, or migration steps in the release text.