Store information about any JS value in a side channel. Uses WeakMap if available.
by ljharbJavaScript
Last 12 weeks · 5 commits
4 of 6 standards met
Removes get-intrinsic/call-bind as dependencies without changing the supported runtimes or the robustness of the package assuming side-channel is required before WeakMap/Map/Function are tampered with. I wasn't able to test in node@0.4 but I tested in node@0.8 (no Map or WeakMap) and everything worked fine there. Also I fixed the lint.
Repository: ljharb/side-channel. Description: Store information about any JS value in a side channel. Uses WeakMap if available. Stars: 18, Forks: 11. Primary language: JavaScript. Languages: JavaScript (100%). License: MIT. Open PRs: 0, open issues: 0. Last activity: 3w ago. Community health: 85%. Top contributors: ljharb, Tofandel, cortopy, nicolo-ribaudo.