Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
is-weakref
Advanced tools
Changelog
v1.0.2 - 2021-12-10
2375b1f
4c1be42
node/install
instead of node/run
; use codecov
action 7ec78ce
6306f09
eslint
, @ljharb/eslint-config
, object-inspect
, safe-publish-latest
, tape
7a1601e
67ecd14
eslint
, @ljharb/eslint-config
, auto-changelog
, object-inspect
, safe-publish-latest
, tape
1a5013b
b57b037
eslint
, @ljharb/eslint-config
, aud
, object-inspect
, tape
da49017
9b88835
eslint
, @ljharb/eslint-config
, tape
c7e77f4
eslint
417b29e
safe-publish-latest
; use prepublishOnly
script for npm 7+ b1b99f4
call-bind
aea342e
786c2d3
Readme
[![npm badge][11]][1]
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
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 25,599,469 weekly downloads. As such, is-weakref popularity was classified as popular.
We found that is-weakref 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.