3.2.68 • Published 12 months ago

@zitterorg/laudantium-deleniti v3.2.68

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

@zitterorg/laudantium-deleniti Version Badge

github actions coverage License Downloads

npm badge

Is this value a JS SharedArrayBuffer? This module works cross-realm/iframe, does not depend on instanceof or mutable properties, and despite ES6 Symbol.toStringTag.

Example

var assert = require('assert');
var isSharedArrayBuffer = require('@zitterorg/laudantium-deleniti');

assert(!isSharedArrayBuffer(function () {}));
assert(!isSharedArrayBuffer(null));
assert(!isSharedArrayBuffer(function* () { yield 42; return Infinity; });
assert(!isSharedArrayBuffer(Symbol('foo')));
assert(!isSharedArrayBuffer(1n));
assert(!isSharedArrayBuffer(Object(1n)));

assert(!isSharedArrayBuffer(new Set()));
assert(!isSharedArrayBuffer(new WeakSet()));
assert(!isSharedArrayBuffer(new Map()));
assert(!isSharedArrayBuffer(new WeakMap()));
assert(!isSharedArrayBuffer(new WeakRef({})));
assert(!isSharedArrayBuffer(new FinalizationRegistry(() => {})));
assert(!isSharedArrayBuffer(new ArrayBuffer()));

assert(isSharedArrayBuffer(new SharedArrayBuffer()));

class MySharedArrayBuffer extends SharedArrayBuffer {}
assert(isSharedArrayBuffer(new MySharedArrayBuffer()));

Tests

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

amazonlocalgetintrinsicmergetranspilermockingautoscalingcryptomatchchineselengthstyled-componentscode pointshasrm -rfrouteimmutablehelperdateservicetoStringTagprotobuftoReversedspawngraphqlforkbrowserTypeScriptprefixES7httploggersortedphonespeedenvarraydescriptionregularairbnbidentifiersexpresses-shim APIoptimisttrimRightexecfilehooksfunctionalcompareArray.prototype.flatMapECMAScript 3HyBisharedarraybufferfind-upyamlelectrontyped arrayprettystreamsECMAScript 2023Object.values0concatlockfileelbprotocol-buffersES2017ES8package managerstringeventDispatcherutilitiesframerreact animationUint16Arrayremovecoreglobrgbflagseslint-pluginpackage.jsoncomputed-typesfastclonel10neslintECMAScript 5characterdompinoinspecttestYAMLcallArray.prototype.flatdescriptorsxhrchannelunicodestreamgitignoreloges6zerocensorpatchemitfull-widthkarmaaccessoriddependency managerflagclistringifyjson-schema-validatorStreamsajaxfast-deep-cloneterminalcloudfrontcoveragerecursiveproptypedom-testing-libraryfront-endES2021class-validatora11ytrimdataViewiteratelruspinnerswarningpoint-freemetadatagroupObservablesArrayBuffer#sliceECMAScript 2018fullshimfetchlinkStyleSheetpromisedragjsxpreprocessoromitprotochildgetterredirectparentInt16ArrayTypedArrayecmascriptArray.prototype.containsi18naccessibilitytacitfindconcatMapfolderES2022es-shimsworkerbinarySymboldotenvsuperstructRFC-6455Object.fromEntriesform-validationparsenamescollection.es6shellmockeseverycoercibleregular expressiontypeoftraversepicomatchmake dirECMAScript 2021swfposesinatrafplooknodejsutilcodesponyfillgetUnderscoreinreducemkdirsroutingwaitreducercircularsetstyleshtmlserializerdebugurlfindLasttostringtageffect-tsenvironmentsdynamodbglacierclonesimpledbURLSearchParamstddvisualimmerserveres2017WebSocketajvArray.prototype.includesgesturesbundlerieisConcatSpreadableclassnameuninstallReflect.getPrototypeOfUint32Arraychaijsdiffformsimportexportwhatwgexecuteanimation.envtrimEndoptionwafdependenciesinstallhttpsreact-testing-librarydeep-clonejson-schemaredux-toolkitES5trimLeftObject.keysRegExp.prototype.flagsweaksetoptimizermanagercontainsfnmatchfeedReactiveExtensionscloudtrailtslibjestrandomperformancesettingsawsInt8Arrayarktypezodruntimebusyhigher-ordershebangObject.definePropertyreversedschemefindupdataviewmanipulationeslintpluginweakmapBigInt64Arrayes2016mapebscreatecore-jsdescriptordayjseslintconfigmakesharedquerystringtapshamfullwidthuser-streamsuuidtranspilesymbolshas-owndefineProperty@@toStringTagtoolkitloadingRxJScallbackes8npmfast-copyprocesscommand-lineletinputarraybufferclassnamesignorebddbuffersArrayBufferfunctionbufferinternalboundec2snscall-bounddifftc39JSON-SchemastructuredCloneclassesnativestyleguidevarpostcss-pluginregexpqueuesesprogressredacttypedarraysio-tsstylematchAllpropertiescolorstrimStartECMAScript 2019gdprmobileECMAScript 2020filterbabel-coresuperagentmulti-packageestreeutil.inspectfilextermPushES2023forEachhasOwnPropertyappbrowserlistreal-timeRegExp#flagsconfig[[Prototype]]walkcharactersupjsECMAScript 2022serializeESproxyxmlflatMapbannerrdshandlercloudwatchlasttoobjectguidcolordropbinariesjapaneseintrinsicoutputMapdeeprequestESnextcurriedcloudformationtransportaststringifierObservable3dstoragegatewayapiownsetPrototypeOfutilsprunedataES2020cssIteratorcachenegative zeroendpointlook-upvalidatorincludestsArrayemridleloadbalancingapolloprototypeArray.prototype.findLastIndexfigletcolumnsoncejsdomfastifyerrorspecArrayBuffer.prototype.slicetypedefficientdeep-copySetreact-hook-formobjectstablewritableglobalsprivate datatermframeworkartbinwidthinstallermochaWebSocketsES3colourMicrosoftrestespreefile systemcss-in-jsgetPrototypeOffast-deep-copyURLelasticacheloggingserializationbindexpressionjQueryAsyncIteratorreversethreeArray.prototype.findLastpackagejshintsubprocessFunction.prototype.namevalidateregexcommanderextendexecfindLastIndexeventsrouterescapeObject.islistenersECMAScript 7fromsettertypeerrorworkflowfunction.lengthobjtextstylingUint8ClampedArrayStreamfast-cloneECMAScript 2015internal slotformtypesafeconsoleenumerablecolumnflatString.prototype.trimtypedarrayFloat64Arrayjson-schema-validationroute53String.prototype.matchAllWeakMapkinesisreadablestreamwhichagentresolveoffsetyupdeepclonetouchwebsorttypescriptECMAScript 2016privatemonorepoextramodules256validenvironmentpopmotionsafecloudsearchrangeerrormrumapreducemomentsome-0clientcheckcollectionregular-expressionrmdirrmreadpyyamles2018requirewaapiflatteneast-asian-widthregular expressionsargvpackagesgroupBywalkinginferencees2015utilitycopypnpm9Symbol.toStringTagiteratorsqsrestfulperformantfsindicatorObject.getPrototypeOfjsonassertsRxreadablelibphonenumbercurlpolyfillES6writevarsWeakSetchromesymbolviewquotemodulebyteLengthdirectoryinvariantfixed-widthnamecall-bindquerypropertyequalbyteCSSStyleDeclarationPromiseReactiveXdeepcopyECMAScript 2017rssjsonschemalanguagewgetpositivetransformpluginscheme-validationES2016npmignorees7definekoreanttyjasmineautoprefixervariablesfantasy-landspinneres5queueMicrotaskmkdirfast_.extendgenericsargumentreworkmovehookformcallbindglobalruleschromiums3deterministicJSONconsttakeObject.entriesasciimkdirpparserrapidansijoifunctionsTypeBoxassignsearchpostcssArray.prototype.filterES2015slicebabelsetImmediatevpcpushcommandes-abstractvestiamconfigurableconsumeistanbuldebuggeracornschemakeystarterminimalcallboundpipeasyncnegativeback-endbeanstalkBigUint64ArrayformatslotharmonyshrinkwrapECMAScript 6argslocationqssameValueZeroES2019toArray
3.2.68

12 months ago

3.2.67

12 months ago

3.2.66

12 months ago

3.2.65

12 months ago

3.1.65

12 months ago

3.1.63

12 months ago

3.1.64

12 months ago

2.1.63

12 months ago

2.1.61

12 months ago

2.1.62

12 months ago

2.1.60

12 months ago

2.1.58

12 months ago

2.1.59

12 months ago

2.1.56

12 months ago

2.1.57

12 months ago

1.0.19

1 year ago

1.0.22

1 year ago

1.0.21

1 year ago

1.0.20

1 year ago

1.0.26

1 year ago

1.0.25

1 year ago

1.0.24

1 year ago

1.0.23

1 year ago

1.0.29

1 year ago

1.0.28

1 year ago

1.0.27

1 year ago

2.0.48

1 year ago

2.0.49

1 year ago

2.0.46

1 year ago

2.0.47

1 year ago

2.0.44

1 year ago

2.0.45

1 year ago

2.1.54

1 year ago

2.0.42

1 year ago

2.1.55

12 months ago

2.0.43

1 year ago

1.0.33

1 year ago

1.0.32

1 year ago

1.0.31

1 year ago

1.0.30

1 year ago

1.0.37

1 year ago

1.0.36

1 year ago

1.0.35

1 year ago

1.0.34

1 year ago

1.0.39

1 year ago

1.0.38

1 year ago

1.0.40

1 year ago

2.0.53

1 year ago

2.0.54

1 year ago

2.0.51

1 year ago

2.0.52

1 year ago

1.0.42

1 year ago

2.0.50

1 year ago

1.0.41

1 year ago

1.0.18

1 year ago

1.0.17

1 year ago

1.0.16

1 year ago

1.0.15

1 year ago

1.0.14

1 year ago

1.0.11

1 year ago

1.0.13

1 year ago

1.0.12

1 year ago

1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago