Back to Explore

ljharb/side-channel-weakmap

GitHub
1 watchersOpen source

Last release: 12/11/2024

side-channel-weakmap stores extra metadata for JavaScript values in a side channel, using a WeakMap for objects and a Map for primitives. It is useful when you need to associate data with values without modifying them, but note it can leak memory until you call delete for the key.

Project status

  • The repo appears to be maintained, with an upstream push on 2025-12-30, though the most recent published updates in the provided history are from 2024-12.
  • Apparent update cadence based on the provided updates: v1.0.0 on 2024-12-10, v1.0.1 on 2024-12-11, and v1.0.2 on 2024-12-11, after which no further tagged updates are shown in the excerpt.

AI summary generated Today

AI-generated from public sources. May be inaccurate. Report

Recent updates

  • v1.0.2

    12/11/2024

    This release primarily updates TypeScript type definitions and bumps the package version to v1.0.2. No runtime code changes are shown in the provided diff, but the public type signature of getSideChannelWeakMap was modified.

    Breaking
  • v1.0.1

    12/11/2024

    Version v1.0.1 bumps the package version and updates the dependency side-channel-map to ^1.0.1. The only functional change shown in the diff is a TypeScript typing fix related to generic parameter ordering in the exported getSideChannelWeakMap types.

  • v1.0.0

    12/10/2024

    This release is tagged v1.0.0, but the publisher provided no release notes content. As a result, the upgrade impact (features, fixes, breaking changes, or dependency updates) cannot be determined from the release notes alone.