1.2.14 • Published 1 year ago
@dramaorg/rerum-doloremque v1.2.14
@dramaorg/rerum-doloremque 
Get the ArrayBuffer out of a TypedArray, robustly.
This will work in node <= 0.10 and < 0.11.4, where there's no prototype accessor, only a nonconfigurable own property.
It will also work in modern engines where TypedArray.prototype.buffer
has been deleted after this module has loaded.
Example
const typedArrayBuffer = require('@dramaorg/rerum-doloremque');
const assert = require('assert');
const arr = new Uint8Array(0);
assert.equal(arr.buffer, typedArrayBuffer(arr));
Tests
Simply clone the repo, npm install
, and run npm test
redux-toolkitECMAScriptmergees2018mochaassertionstoragegatewayterminaltranspile6to5visualjapanesechildcharacterscss-in-jses-shimsxmlfpbabelyupreducestringifytypeerrorAsyncIteratorReactiveExtensionses-shim APIJSONentriesefficientnativeglobalES2015jQueryObject.keysbrowserlistsettrimStartJSON-Schemanegative zerochaifullwidthObject.getPrototypeOfreact animationponyfill__proto__argumentinstallerclassnameES3RegExp#flagswarningYAMLes2015debuggerlocationdebugelbintrinsicworkspace:*protopatchtakeiterateframeworkloadingfast-deep-cloneharmonyinternalrssatomPushmonorepoES7columnperformantswftddtoolkitflattenawshasOwnPropertyBigUint64Arrayinspectvarkoreanrfc4122dependenciespopmotionpoint-freeiteratorviewxhrdragTypeBoxthreereact poseieidlocalzxtouchflag-0Sethardlinksreworkshebangpackage.jsonprivatemkdirfilees7curlquerystringgroupdeletecacheproxyArray.prototype.flatMapUint8ClampedArrayArray.prototype.includesenvironmentglobalsuuidtransformcharacterworkflowasttestrapidtypedECMAScript 2020256restfulformatttyStreamreduxresolvequeueendpointbuffersflagsmoduleswebshimcommandgetintrinsicES2023mobilecallboundloggingawesomesauceregexbusylinkbrowsersnsobjectparentlibphonenumberagentnopeexpressionspawnBigInt64ArraypropertiescorebundlerexecajaxlanguageconcatMapmkdirssyntaxES2020classessource mapspecassertssyntaxerrordataViewprunefetcheventEmittersetImmediateuser-streamsInt8Arraycompilertslibgettapeeventsown03dArray.prototype.findLastIndexbyteloggerspringtoobjectredirecttimecryptovalidationcloneuninstallArray.prototype.findLastUnderscorefpsappvalidateES2018jshintdescriptorsinstallapitypescriptregular expressionidentifiersdatachromepolyfillrobustnodeinstrumentationpackage managerarrayexpressArrayBuffer#sliceReactiveXes-abstractpyyamlpostcssjsscheme-validationprotocol-bufferscssString.prototype.matchAlljsdiffsubprocesspurebyteLengthtextconfigasterisksrandomtypanionInt16ArraystablereversecolumnsUint32ArrayselfstarterasyncconsttypesCSSStyleDeclarationtrimRightcallbackdeep-copyarktypesearchimportexportIteratorcloudtrailURLequality$.extendloadbalancingforEachdirectoryrulesomitflatECMAScript 7HyBiansimanipulationes5formwgettelephonebindnegativeemracorncreatecopyfast-copyecmascriptObject.fromEntriesPromisepluginString.prototype.trimerroraccessorObject.isfigletinvariantoffsettoolsdynamodbtypeofprototypeimmutableWeakSetcall-boundjson-schematraversehttpsdefinePropertyformattingbeanstalkestreecircularprivate dataamazonjavascriptdeterministicCSSbannerjasminetermfull-widthfindupexecutehttpES6filterparentsfantasy-landender.gitignorepreprocessortrimEndECMAScript 6diffshelltrimpinobabel-corehookformESfile systemupdeepArray.prototype.flatzodqsutilreact-hooksesstreamsharedarraybufferdependency managerslotremoveESnextfast-clonedescriptorprettycliWeakMapobjmakeUint16ArraygetPrototypeOfRegExp.prototype.flagsrestfastStreamsECMAScript 2018progressapolloenvcloudsearchglobal objectespreeemojiroutechinesecore-jsargsECMAScript 2016channelreuseminimalfastifyshamutilsutil.inspectl10ncolorsfunctionECMAScript 2021lruECMAScript 2023cloudfrontgesturesmodulepackagesfolderautoprefixerStyleSheetroute53sharedwhatwgreact-testing-librarygetoptflatMaphasOwnnodejsArray.prototype.containscollectionkarmajsonschemapromisecensorbuffermovefnmatchdom-testing-libraryclass-validatorvalidatorweaksetregularproptapeast-asian-widthArrayBuffer.prototype.sliceiscall-bindqueueMicrotaskcommand-linefromArray.prototype.filternpmdirsettingsserializermapreduceURLSearchParamsairbnbmulti-packageexecfileassertArraytacitbinFunction.prototype.namespinnersutilitiessimpledbec2enumerabledomsuperstructjson-schema-validationguidurltrimLeftschemaiamunicodematchesmapcoveragesafequoteoptionimmerpnpm9Float64ArrayrangeerrordotenvyamlArray.prototype.flattenglobalThishtmlSymbolpostcss-pluginchromiumignorees8form-validationcloudformationrecursivefindLastIndexvalueECMAScript 2019importslicebyteOffsetfindLastjsdomspeedlintstringsetterwaapistylesdeepcopypathtesterlengthpushisConcatSpreadablemanagereslinttsprotobufrgbreadablestreamsymbolstoSortedposefast-deep-copyphonefindtostringtag[[Prototype]]jestsetPrototypeOfdeep-clonereal-timeargvpositiveWebSockettypedarraysglobbinariesrm -frroutinghasmatchECMAScript 2015weakmapwalkinges2017s3emitredactArrayBufferconfigurablemetadatapicomatchwhichlogvaluescollection.es6moment@@toStringTaghashECMAScript 5classnamescjkvpchigher-orderjson-schema-validatorObservablestoReversedvarslastvariablesgenericsdataviewfeedescapezeronamesnumberreact-hook-formhelpersglacierfunction.lengtheveryconsoleincludesinferencecolourformsfind-upObject.assignstyled-componentsInt32Arrayarrayseffect-tswidthes2016callfullconcateslint-pluginlook-upbundlingECMAScript 2022browserslistpropertyinMicrosoftkeysgetterhookskeyObject.definePropertystyleguideFloat32ArrayjsonforkcolorstringifierinputlookES5helperfastclonefixed-widthdefinetypesafeoutputfsxtermfunctionalmkdirpreactReflect.getPrototypeOfi18nECMAScript 3electronrmdirRFC-6455Object.valuesfunctionsgroupBytranspilerbddasciiextendanimationarraybufferjoiMapassignjsxpackagesomewindowcomparesameValueZeroES8make dirstylerm -rfsuperagentcheckwafparserartserializationwritablees6performancewalklockfilewaitutilityequalschemelistenersObjectECMAScript 2017dayjsdate.envmatchAllcoercibleregular-expressionletgraphqlparsesideSymbol.toStringTagES2022ramdaeventDispatchersesshrinkwrapreadableRxJSenvironmentsreducerrequirehas-ownRxa11yeslintconfigregular expressionskinesisboundpipesortfastcopyTypedArrayTypeScripttc39runtimegetOwnPropertyDescriptorrouternpmignoreES2017workerdescriptiondeepclonereadrdsbinaryextraES2019cloudwatchcallbindstructuredClonesortedsqsspinnertypedarraytesting
@dramaorg/aperiam-nostrum-iste@dramaorg/architecto-hic-odit@dramaorg/assumenda-vel-animi@dramaorg/cum-praesentium-quod@dramaorg/deserunt-fugiat-molestiae@dramaorg/dolorum-placeat-quidem@dramaorg/ducimus-iusto-dolore@dramaorg/eius-impedit-aperiam@dramaorg/esse-praesentium-eligendi@dramaorg/esse-quod-beatae@dramaorg/facere-deserunt-repellendus@dramaorg/fuga-vel-natus@dramaorg/harum-in-quibusdam@dramaorg/laudantium-eum-labore@dramaorg/literate-doodle@dramaorg/maxime-esse-consequatur@dramaorg/nihil-voluptatibus-necessitatibus@dramaorg/odit-est-nemo@dramaorg/perspiciatis-ipsa-doloremque@dramaorg/psychic-couscous@dramaorg/quae-dolore-nostrum@dramaorg/quam-minus-maxime@dramaorg/quidem-minima-et@dramaorg/repudiandae-placeat-id@dramaorg/shiny-waddle@dramaorg/solid-octo@dramaorg/vitae-quasi-ea@dramaorg/voluptate-exercitationem-qui@dramaorg/voluptate-voluptatum-blanditiis@dramaorg/voluptates-tempore-esse@juigorg/nisi-molestiae-ut@kollorg/nihil-veniam-deserunt@swenkerorg/nulla-voluptates-voluptates@zitterorg/eum-veritatis-placeat@zitterorg/illum-perferendis-consecteturanalsorhost-simple-bscorcojs-qrcodecorcojs-qrcode-logodable-effectfiran-loggingsimple-assi-animationsimple-prompts-web3