
Security News
CISA Kills Off RSS Feeds for KEVs and Cyber Alerts
CISA is discontinuing official RSS support for KEV and cybersecurity alerts, shifting updates to email and social media, disrupting automation workflows.
@ungap/weakmap
Advanced tools
An essential WeakMap polyfill for legacy browsers (IE < 11).
import WeakMap from '@ungap/weakmap'
const WeakMap = require('@ungap/weakmap')
Compatible down to IE9, works well with ES5 shim upfront in IE8 (and maybe lower too).
If you need this module to work in IE < 11 too with frozen objects, or template literals frozen via Babel transpilation, you need to either nullify Object.freeze
and others via something like <script>this.WeakMap||(Object.freeze=Object);</script>
on top of your pages, or you can nullify only template literals through:
<script>
this.WeakMap||(function(O,f){
f=O.freeze||O;O.freeze=function(o){return'raw'in o?o:f(o)}
}(Object));
</script>
FAQs
An essential WeakMap polyfill for legacy browsers.
The npm package @ungap/weakmap receives a total of 8,413 weekly downloads. As such, @ungap/weakmap popularity was classified as popular.
We found that @ungap/weakmap demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CISA is discontinuing official RSS support for KEV and cybersecurity alerts, shifting updates to email and social media, disrupting automation workflows.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Research
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.