1.4.12 • Published 27 days ago

@taktikorg/expedita-assumenda-temporibus v1.4.12

Weekly downloads
-
License
MIT
Repository
github
Last release
27 days ago

@taktikorg/expedita-assumenda-temporibus 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('@taktikorg/expedita-assumenda-temporibus');

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

schemascheme-validationyup256inputuninstallES8util.inspectfunctionsargumentscreateYAMLlimittslibspinnersroutingStyleSheetdefaultsortedObservableMicrosoftenumerablewaapireuseescapefastoncetesthttpString.prototype.matchAllextensionInt32ArraycallbindES2016RegExp#flagstddsymbolsargsdescriptionArray.prototype.flattenchildfulldayjshashtypedarraycommanderfast-deep-cloneindicatorassertionArray.prototype.flatMaploga11ystylesyntaxerrorkinesisjsdomqsvarsstructuredCloneES2022copyArrayBuffer#slicees7TypeBoxTypeScriptstoragegatewaycontainsObject.definePropertydependenciesrgbposeoptionsimpledbstylessharedarraybuffercharacterlintcompilerreact-hook-formdomieset[[Prototype]]sqsconsumefinduptoSortedargparsefolderviewasciiduplexruntimerandomes-shimseast-asian-widthlimitedobjmonorepomulti-packagewordbreakcloneframeworktakehasOwnsortglaciergetlibphonenumberpicomatchReflect.getPrototypeOfsliceparentsshamreact animationObject.keysassertsrfc4122ecmascriptstringifyvalidObject.entrieses2018look-upArrayArrayBuffer.prototype.slicechecktoolkitdatastructuregenericsimmutableendpointwordwraprapidcolumnhookstype.envpackagecolorrmutilitypromiseshelperconfigawaitspawnio-tsupwalkparseastUint8Arrayinternalhigher-ordercallboundfixed-widthfast-copyflagsoutputreactsyntaxestreeopenereslint-pluginmergegetterrm -rfinternal slotECMAScript 2015$.extendreact poseJSON-Schemachromiumnopeappdeepcopyextraemojicollection.es6process-0spinnerbeanstalkdeepclonefsCSSmovepyyamllazyworkspace:*busyfpslistenersECMAScript 3resolveagenttrimrm -frreducerdataViewstdlibpatchjsdiffECMAScript 6descriptorsreadableWebSocketregularkarmaES2021Uint32ArrayArray.prototype.containshasbufferstextsymlinkpackage.jsonmoduleseveryshrinkwrapObject.isparentflattennegative zeroECMAScript 2019opensgestureswebajaxbrowserslistMapchaixhrArray.prototype.findLastObject.fromEntriesttyWeakSetcoreglobdataviewamazonESavahelpersfetchargumentspeedArrayBufferzodmapreducedeterministicbddWebSocketscommandstringifierUint8ClampedArraytrimRightgdprtrimLeftgetintrinsicconcattypedarraysRFC-6455launchmetadatacloudformationECMAScript 2018toolsECMAScript 2016optimistform-validationhttpsterminaliterateopenes2016es2017formattingquoteeventEmitterthreewebsitetrimEndECMAScript 7code pointses-shim APIECMAScript 2022apiincludesl10nArray.prototype.filterObjectECMAScript 2020asynctrimStartSetcloudfronthardlinkscomparecjkclientvaluespipediffroute53ECMAScript 2017iamnpmbreaktapegroupsuperstructtypesafes3iterationreadkeysettingsES2017artyamlprivate datacryptoRxJSInt8Arraytypedes6flagintrinsicdirec2apolloes8arraysflatregexwgetnodejsprogresstask_.extendratebyteLengthsymboltouchredirectcallbacktermchineseownprotoES6inferenceframermimetypesstreamsxdg-opendefinePropertyredactponyfillECMAScript 5browserlistfastcloneaccessorformssequencewriteshared0byteOffsetredux-toolkitcharactersstatelessproptoobjectobjectmochawritablepositiveoptimizerES2018ES2023numberES7querystringserializerobustgetoptfastifytoStringTagconcatMapisConcatSpreadablextermchannelidlelengthstyled-componentses-abstractparsingweakmapsearchinvarianttsdirectoryObservablescloudwatchprotocol-buffersfindLastIndexInt16ArraymakepropertythroatSymbolshellmime-dbeventDispatcher__proto__waitreact-hooksmatchesWeakMapdatanativekeysfull-widtheslintconfiges5jestvpcsetImmediatemaprdsJSONgroupByhookformbundlingdeep-cloneURLpersistentsymlinksspringbyteworkflowsetterimmersideconvertjasminefindseshas-ownmkdirpidebslanguagepackage managerdom-testing-libraryArray.prototype.findLastIndextelephoneutilitieskoreanplugincloudtrailurlStreamstypeofpathjQueryECMAScript 2021veststylingtesterES2015fast-clonecodesdeepremovenegativefrompackageslocationcurllookforEachES2020prototypearraybuffereslintbatchstreamfindLastexpresscoercibleenvunicodeloggingjavascriptflatMapHyBifast-deep-copyPromisetypaniontypesassertglobalformatvalidatefilegraphqleditorconfigurablewidthreact-testing-libraryvalidationdeep-copyArray.prototype.includesRxajvfiltersomecolorsawssnsjsxassignoffsetgetOwnPropertyDescriptorcensordebuggermrutypescriptreduxexesafedeleteenvironmentscloudsearchautoprefixeremrjshintinstallfunctionreducemobiletypeerrorserializationbindpromisejsonpathautoscalingidentifiersconcurrencytraverseloadbalancingObject.valuesrangeerrorbundlerimportnodetostringtagurlsregexpextendfullwidthIteratorsameValueZerofunction.lengthFunction.prototype.namerequireimportexportnameespreeguiddynamodblinkdateFloat64ArrayexecjoicolumnsweaksetiteratormkdirECMAScript 2023circularperformanceboundaccessibilityfile systemspecUnderscoreeventsdependency manageringetPrototypeOfesexpressionbrowserpreserve-symlinkszerojsprotobufpnpm9electronAsyncIterator@@toStringTagmomentmodulestarttestingstarterslotpolyfillfind-upglobalsdebugomitfastcopymatchAllwafconsolejapaneseReactiveXprivateproxycharsetfigletelbvisualESnext
1.4.11

28 days ago

1.4.12

27 days ago

1.2.9

1 month ago

1.3.11

29 days ago

1.2.10

1 month ago

1.2.11

1 month ago

1.2.8

1 month ago

1.2.7

1 month ago

1.1.7

1 month ago

1.1.6

1 month ago

1.1.5

1 month ago

1.0.5

1 month ago

1.0.4

1 month ago

1.0.3

1 month ago

1.0.2

1 month ago

1.0.1

1 month ago

1.0.0

1 month ago