
Security News
Official Go SDK for MCP in Development, Stable Release Expected in August
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.
Is this value a JS WeakRef? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
Is this value a JS WeakRef? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
var isWeakRef = require('is-weakref');
assert(!isWeakRef(function () {}));
assert(!isWeakRef(null));
assert(!isWeakRef(function* () { yield 42; return Infinity; });
assert(!isWeakRef(Symbol('foo')));
assert(!isWeakRef(1n));
assert(!isWeakRef(Object(1n)));
assert(!isWeakRef(new Set()));
assert(!isWeakRef(new WeakSet()));
assert(!isWeakRef(new Map()));
assert(!isWeakRef(new WeakMap()));
assert(isWeakRef(new WeakRef({})));
class MyWeakRef extends WeakRef {}
assert(isWeakRef(new MyWeakRef({})));
Simply clone the repo, npm install
, and run npm test
v1.0.1 - 2020-12-04
05b4faa
nyc
on all tests 8df2e4b
4a716b8
eslint
, @ljharb/eslint-config
, aud
, auto-changelog
, object-inspect
be23cf3
call-bind
instead of es-abstract
a933a96
pull_request_target
event 4473ed2
bd3bfcd
FAQs
Is this value a JS WeakRef? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
The npm package is-weakref receives a total of 28,223,569 weekly downloads. As such, is-weakref popularity was classified as popular.
We found that is-weakref demonstrated a healthy version release cadence and project activity because the last version was released less than 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
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.
Security News
New research reveals that LLMs often fake understanding, passing benchmarks but failing to apply concepts or stay internally consistent.
Security News
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.