@firanorg/pariatur-officia-placeat

[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url]


Keywords
args, starter, mkdirp, check, look, exec, String.prototype.matchAll, metadata, data, banner, mobile, util, slot, jsdom, replay, debug, status, css-in-js, color, http, quote, state, karma, signal, typeerror, serialization, diff, util.inspect, make dir, progress, variables in css, optimist, properties, less.js, number, jsdiff, sort, write, sorted, is, performant, hash, importexport, hooks, eslintconfig, fast, ECMAScript 2018, l10n, browserlist, byte, sigterm, lockfile, trimStart, sigint, fast-deep-clone, whatwg, fetch, unicode, ES, toStringTag, awesomesauce, language, operating-system, env, classes, ES2019, regexp, column, getOwnPropertyDescriptor, TypedArray, keys, ES2016, internal slot, fs, obj, telephone, accessibility, regex, HyBi, deepcopy, less, String.prototype.trim, js, macos, CSS, compare, characters, spinners, korean, buffer, glob, call-bound, Reflect.getPrototypeOf, eslint, colour, extra, runtime, ansi, mimetypes, groupBy, bcrypt, symbols, redux, core-js, watch, nodejs, mocha, flatten, globals, findLastIndex, cloudwatch, flag, typeof, queue, Set, extend, irq, iteration, agent, which, postcss-plugin, ArrayBuffer#slice, class-validator, robust, guid, es7, negative zero, .env, speed, auth, Uint32Array, functional, listeners, sqs, description, touch, Array, sharedarraybuffer, clone, tslib, form, Float32Array, dotenv, deep-clone, elasticache, typed, make, storagegateway, async, japanese, callback, vpc, fps, chinese, search, accessor, rm, entries, ESnext, Promise, stylesheet, router, compiler, jwt, aws, Microsoft, monorepo, module, ReactiveX, stringify, fastify, preserve-symlinks, classname, shell, arktype, amazon, time, ReactiveExtensions, spec, css less, Function.prototype.name, restful, spinner, BigUint64Array, types, URLSearchParams, gradients css, patch, codes, log, web, visual, once, call-bind, lazy, safe, mime, id, idle, route53, tap, immutable, iterate, commander, chrome, reuse, shrinkwrap, styled-components, ES2023, core, es5, delete, arrays, descriptors, forEach, TypeScript, walk, colors, bundling, scheme-validation, file, logging, YAML, ratelimit, collection, es-shims, findLast, handlers, mru, Object.fromEntries, workspace:*, private, Object, ES2017, preprocessor, sham, WeakSet, walking, symlinks, protobuf, JSON-Schema, watchFile, rate, s3, swf, rds, bootstrap less, art, buffers, ES2021, concatMap, censor, ec2, variables, jasmine, typedarrays, cache, dataview, global, minimal, crypto, immer, cloudfront, length, tools, rm -fr, es8, less compiler, __proto__, prune, reducer, file system, Array.prototype.includes, ebs, logger, phone, ECMAScript 2017, regular expression, eslint-plugin, WebSockets, lru, helpers, structuredClone, moment, hasOwn, ECMAScript 3, expression, descriptor, symbol, package, valid, name, dayjs, ArrayBuffer.prototype.slice, react-hooks, gradients css3, process, Array.prototype.contains, vest, serialize, -0, assert, terminal, emit, fixed-width, chromium, jQuery, pyyaml, fullwidth, iam, ecmascript, ECMAScript 2015, up, path, higher-order, i18n, arraybuffer, every, stdlib, encryption, redux-toolkit, 256, wget, internal, fsevents, bind, fastclone, offset, BigInt64Array, coercible, compile less, Symbol.toStringTag, side, escape, ie, eventEmitter, ES2018, iterator, autoscaling, test, parser, circular, width, typesafe, byteLength, traverse, shebang, Array.prototype.filter, negative, bootstrap css, package manager, value, URL, testing, AsyncIterator, styling, Uint8Array, rapid, queueMicrotask, ECMAScript 6, qs, equal, es-shim API, group, react-hook-form, bdd, inference, css variable, css nesting, worker, ECMAScript 5, hardlinks, scheme, middleware, setPrototypeOf, recursive, @@toStringTag, glacier, remove, loadbalancing, tape, app, ECMAScript 2022, Streams, ECMAScript 2021, polyfill, shim, identifiers, endpoint, RxJS, callbind, style, signals, events, proxy, nested css, Uint16Array, validate, positive, prop, getopt, react, Object.defineProperty, loading, term, exit-code, tdd, WeakMap, await, config, password, dependencies, require, bundler, stateless, find-up, output, readablestream, schema, interrupts, WebSocket, in, configurable, full-width, stringifier, a11y, fastcopy, node, less mixins, get, typanion, dynamodb, Int16Array, tty, callbound, 0, Int8Array, performance, browserslist, waf, deterministic, parents, joi, slice, electron, create, resolve, argparse, installer, values, string, validation, Array.prototype.findLast, Object.values, pnpm9, folder, rfc4122, defineProperty, dom-testing-library, wordwrap, concurrency, persistent, Float64Array, Object.keys, command, tc39, environment, parsing, mapreduce, connect, regular expressions, warning, airbnb, Array.prototype.flatMap, native, character, libphonenumber, ECMAScript 2020, postcss, import, match, dir, dom, parent, authentication, hookform, _.extend, query, eslintplugin, throat, define, estree, picomatch, property, private data, copy, vars, jshint, prototype, environments, kinesis, TypeBox, toobject, watching, lesscss, xterm, debugger, streams2, channel, autoprefixer, packages, collection.es6, setImmediate, matches, task, error-handling, linux, merge, javascript, promises, elb, watcher, ES2022, fast-clone, hot, stable, hasOwnProperty, predictable, generics, Object.getPrototypeOf, ender, modules, routing, toolkit, pretty, enumerable, flags, text, Object.assign, cloudformation, settings, input, protocol-buffers, throttle, getPrototypeOf, proto, own, trimRight, Stream, react-testing-library, columns, readable, emr, syntax, trimEnd, batch, RegExp.prototype.flags, indicator, mixins, view, serializer, ECMAScript 2016, $.extend, RegExp#flags, efficient, busy, random, limit, error, JSON, matchAll, Object.is, api, toArray, form-validation, cloudtrail, figlet, cors, jsx, inspect, call, eventDispatcher, elm, ajax, uninstall, link, from, names, computed-types, read, emoji, dependency manager, simpledb, [[Prototype]], wordbreak, regular, request, exit, ECMAScript 2019, isConcatSpreadable, consume, getter, writable, break, es2015, function, install, reduce, styles, format, express, sameValueZero, jest, Observable, byteOffset, find, linewrap, rm -rf, forms, real-time, classnames, prefix, sequence, beanstalk, cloudsearch, flat, RFC-6455, rangeerror, browser, ses, utilities, intrinsic, ajv, extension, io-ts, type, Map, symlink, limited, Underscore, formatting, has-own, plugin, nope, deepclone, superstruct, Array.prototype.flat, wrap, es-abstract, route, curl, parse, ES6, last, deep, drop, trimLeft, shared, contains, https, live, mkdir, optimizer, has, CSSStyleDeclaration, filter, ES2020, ts, concat, ava, syntaxerror, Push, asserts, key, findup, toSorted, some, superagent, move, look-up, assign, package.json, directory, pipe, Observables, multi-package, assertion, functions, lint, omit, east-asian-width, full, crypt, ascii, Rx, less css, bound, ponyfill, zero, datastructure, ECMAScript 2023, trim, uuid, duplex, bluebird, ECMAScript 7, ES3, wait, fast-deep-copy, fast-copy, styleguide, deep-copy, code points, command-line, flux, typed array, jsonpath, setter, Uint8ClampedArray, open, ast, zod, date, rgb, framework, mkdirs, gdpr, cjk, Object.entries, argv, workflow, querystring
License
MIT
Install
npm install @firanorg/pariatur-officia-placeat@8.18.145

Documentation

@firanorg/pariatur-officia-placeat Version Badge

github actions coverage License Downloads

npm badge

Is this value a JS WeakSet? This module works cross-realm/iframe, and despite ES6 @@toStringTag.

Example

var isWeakSet = require('@firanorg/pariatur-officia-placeat');
assert(!isWeakSet(function () {}));
assert(!isWeakSet(null));
assert(!isWeakSet(function* () { yield 42; return Infinity; });
assert(!isWeakSet(Symbol('foo')));
assert(!isWeakSet(1n));
assert(!isWeakSet(Object(1n)));

assert(!isWeakSet(new Set()));
assert(!isWeakSet(new WeakMap()));
assert(!isWeakSet(new Map()));

assert(isWeakSet(new WeakSet()));

class MyWeakSet extends WeakSet {}
assert(isWeakSet(new MyWeakSet()));

Tests

Simply clone the repo, npm install, and run npm test