Product
Introducing SSO
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
is-finalizationregistry
Advanced tools
Changelog
v1.0.2 - 2021-10-05
5509e8c
node/install
instead of node/run
; use codecov
action b566204
02602dd
call-bind
and obviate missing es-abstract
dep 9d71846
75381a7
eslint
, @ljharb/eslint-config
, auto-changelog
, object-inspect
, tape
7a0f9d8
eslint
, @ljharb/eslint-config
, aud
, object-inspect
, tape
962689f
eslint
, @ljharb/eslint-config
, tape
762ebf2
safe-publish-latest
; use prepublishOnly
script for npm 7+ fe0b226
Readme
Is this value a JS FinalizationRegistry? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
var isFinalizationRegistry = require('is-finalizationregistry');
assert(!isFinalizationRegistry(function () {}));
assert(!isFinalizationRegistry(null));
assert(!isFinalizationRegistry(function* () { yield 42; return Infinity; });
assert(!isFinalizationRegistry(Symbol('foo')));
assert(!isFinalizationRegistry(1n));
assert(!isFinalizationRegistry(Object(1n)));
assert(!isFinalizationRegistry(new Set()));
assert(!isFinalizationRegistry(new WeakSet()));
assert(!isFinalizationRegistry(new Map()));
assert(!isFinalizationRegistry(new WeakMap()));
assert(!isFinalizationRegistry(new WeakRef({})));
assert(isFinalizationRegistry(new FinalizationRegistry(function () {})));
class MyFinalizationRegistry extends FinalizationRegistry {}
assert(isFinalizationRegistry(new MyFinalizationRegistry(function () {})));
Simply clone the repo, npm install
, and run npm test
FAQs
Is this value a JS FinalizationRegistry? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
The npm package is-finalizationregistry receives a total of 7,929,856 weekly downloads. As such, is-finalizationregistry popularity was classified as popular.
We found that is-finalizationregistry 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.
Product
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
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.