Provides a small JavaScript utility that checks whether a given value is a JS WeakMap. It is designed to work across realms and iframes, handling cases despite ES6 @@toStringTag, useful for runtime type checks.
Project status
- The source appears actively maintained (last upstream push on 2026-01-13, and a published update version v2.0.2 on 2024-03-08).
- Update cadence looks sporadic, with major updates at v2.0.0 in 2019-11-12, v2.0.1 in 2019-12-18, and v2.0.2 in 2024-03-08 (about 4+ years after v2.0.1).
AI summary generated Today
Recent updates
v2.0.2
3/8/2024Release v2.0.2 updates the is-weakmap package with new TypeScript declaration files and modernizes the development toolchain and CI workflows. The functional runtime logic in index.js appears unchanged, but packaging and build-related configuration (package.json scripts, publishing behavior, and metadata) was significantly altered.
BreakingFeaturesv2.0.1
12/18/2019v2.0.1 primarily contains internal refactoring to improve compatibility with build tools, plus CI and development dependency updates. No functional API changes are evident from the diff, and the runtime export remains a function that checks whether a value is a WeakMap.
v2.0.0
11/12/2019Release v2.0.0 was published, but no release notes or changelog content was provided by the publisher. As a result, the upgrade impact (new features, bug fixes, breaking changes, security updates) cannot be determined from the supplied release information alone.