2.1.2 • Published 14 days ago
@teamteanpm2024/nihil-aperiam-ducimus v2.1.2
@teamteanpm2024/nihil-aperiam-ducimus
Get the ArrayBuffer out of a DataView, 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 DataView.prototype.buffer
has been deleted after this module has loaded.
Example
const dataViewBuffer = require('@teamteanpm2024/nihil-aperiam-ducimus');
const assert = require('assert');
const ab = new ArrayBuffer(0);
const dv = new DataView(ab);
assert.equal(dataViewBuffer(dv), ab);
Tests
Simply clone the repo, npm install
, and run npm test
react animationgetPrototypeOfmkdirstrimEndRxrapidparentsprototypetoobjectuuides6fpconstcallbindReactiveExtensionsdayjsfast-deep-cloneenvironmentlinuxpostcss-pluginphoneiterationflatMapserializationdescriptionpoint-freexhrmkdirpsignalstypedmiddlewarejoifastcopyURLSearchParamslimittrimStartlistenersequalitymakejwtjsonschemaObject.fromEntrieslockfileobjless cssextensionanimationsymlinksponyfillcode pointsvariablesexpressgroupByredacttimebufferfixed-widthescapeoptionchromiumstatusdataviewgetintrinsicuninstallArray.prototype.flattenfast-deep-copyxtermsanitizeopener6to5weaksetbytecss nestingvalueio-tsoptimistajvwalkingECMAScript 2023commandutilitytouchcompilerformattaskclienttranspilerIteratorharmonycharactersindicatorpromiseviewreducerformattingwatchingrmECMAScript 2018matchAllInt32ArraybundlerHyBiinspectECMAScript 6inputES2017colourfigletreadidshamgetrobustpicomatchrm -rfcoerciblejsfull-widthpathrmdirwatcherprotobufnameseslint-pluginfseventsdeterministicutilRegExp#flagsnested cssdropReflect.getPrototypeOfstreamswhatwgfindupflagsreduceES2022corsjapaneseschemashimsettingsObject.getPrototypeOfserializerObjectassertes8Float64Arrayreact-testing-librarylibphonenumbermatchesconcatMapefficientsymbolelectronArrayBuffer#sliceesrequirewatchFileECMAScript 2016cmdArrayBufferprefixwordwrapkoreanMicrosoftmrudefaultqueuesetPrototypeOfbabelupcharacterarktypesiginturlsloggingenvArray.prototype.findLastiscensorchaitrimRightES2018ES3stylingimmerlesscssiterateeventstakelimitedpropertiesfullArraybindeslintpluginart$.extendshebanginstallersyntaxerrorconfigurablelengthrfc4122RegExp.prototype.flagsES2015readablestreamslicei18nenderisConcatSpreadablecallbacktextUint8ClampedArraybuffersyupequalPromiserequestregularcoloruser-streamslook-upramdaawesomesaucedeep-copystart3dsymbolsposees-abstracttypedarraysgradients css3filterJSON-SchemakeyprivateextendintrinsicpatchregexpnopeclassnamessignalpyyamlbrowserslistmergeglobcolorsiteratorpromisesSetflagcloneeast-asian-widthESprettyfast-clonehardlinksWeakMapexeckeyswidthbatchmake dirwritableutilsreactwordbreakprotoargumentiebrowserconsolecodescontainspackage managerfindrangeerrorbootstrap cssgesturespropertyreduxexees-shim APImimeshrinkwrapbddjsdomyamltraverseECMAScript 2020findLastIndex-0walkunicoderatelimitgraphqlinternalquoteassertsfunctionpushxssECMAScript 7invariantes2018objecttoSortedstarterdeepcopybyteOffsetInt16ArraystructuredClonestablestringifierdefinePropertyES2023rgbconfigObject.definePropertyvarrandomdescriptorformthroatvariables in cssajaxES2019postcsslaunchpackagethrottlesideFloat32ArrayES2016shellansilinewraplastscheme-validationcurldragecmascriptes2015define@@toStringTagvalidatettyfastdataViewWebSocketgdpraccessibilityboundeventDispatcherArray.prototype.flatMapperformanceauthenticationarraysuperstructeventEmitterpureArray.prototype.containsjQuerycheckmixinsArray.prototype.findLastIndexreact posejavascriptqueryeveryObservablescomputed-typesparseomithookformUnderscoreschemetoolsexitFunction.prototype.namefoldertrimrm -frtype256concurrencypackagestypedarrayparentcollection.es6dependenciesstringifytranspileES7ECMAScript 5tacitpopmotionastflatstreams2cacheloggerterminalidlemulti-packageTypeScriptregexWebSocketsa11yvalidationlogchromepolyfillreal-timespringbrowserlistbundlingqueueMicrotaskTypedArrayhandlersdependency managerexecutablefetchdiffBigUint64Arraywarningcompile lesswrapinstallUint32Arrayemojihttpspec.envspeedcommand-linefunctionalvisualargumentsprunerecursivetyped arraycreategenericsmetadatabannerasyncquerystringframercolumnECMAScript 2022lookreact-hook-form_.extendpropprocessconcatpositivestatelesssearchavawaitxdg-openextrazodpersistentES8flattenfantasy-land0functionsassignoutputthreeBigInt64Arrayspinnerutilitiespackage.jsoneslintfromless mixinsdeleteStreamsremovecall-boundinferencesymlinksetterenumerabletermESnextreadablehooksCSSStyleDeclarationstringentrieszeropluginfast-copyvaluestoArrayES2020higher-orderspinnersgroupmodulesl10nauthdebugargparsestyleseditoroncedomchinesees2017bootstrap lesssome[[Prototype]]ES6private dataeslintconfigpipecollectionframeworkcompareexpressionautoprefixerargvfile systemnativecolumnsdom-testing-libraryStreamfastifydeepstyledeepclonetslibcorees7slotjestopenhasOwngradients cssbabel-corenodepnpm9jasminelinkregular expressionsmimetypesSymbol.toStringTagtrimLeftdirratetypesArray.prototype.filtermodulehttpsresolvedebuggercallboundpreserve-symlinkshelpersjson-schema-validationnpmasciilesstsmoveimmutablejson-schemabyteLengthUint16Arrayregular expressionbluebirdwaapitesterror-handlingtoStringTagsafeJSONsharedarraybuffertypeerrorencryptionjsonpathcall-bindtesterInt8ArraygetoptcryptodescriptorstypeofdatastructureUint8ArraydatevestfileruntimeWeakSetcssserializewritecss variableStyleSheetargs__proto__passwordECMAScript 2017importclibreakgetOwnPropertyDescriptorprogresstc39sharedopensstylesheetfsfastcloneweakmapurlString.prototype.matchAllwatchoptimizernumberdataes2016forEachqsnegative zerodotenvdirectoryutil.inspecttypesafeoffsetjson-schema-validatorprotocol-buffersincludestostringtagstyled-componentsECMAScript 2015es-shimsexit-codecjkworkerclass-validatortaplintparsercss lessjsdiffloadingReactiveXworkspace:*whichObject.keysemitspawnArrayBuffer.prototype.slicesortpreprocessorduplexECMAScript 2019arraybufferString.prototype.trimlanguageRFC-6455monorepoMapstreamTypeBoxObject.assignless compilerAsyncIteratorawaitObservablevalidatortddmacosnegativearrayses5sequenceassertioninternal slotCSSPushObject.valuesECMAScript 3core-jsmobileminimalmkdirirqxdgECMAScript 2021syntaxhashapollowindowsletappreact-hookstapeoperating-systemtypescriptredux-toolkitconnecttelephoneArray.prototype.includesmochabusykarmacryptRxJSArray.prototype.flatnamesameValueZerotoolkitmatch
@libphamton/chatfanpage@libphamton/fb-group@npmmaintea/cautious-waddle@npmmaintea/glowing-broccoli@npmmaintea/potential-octo-dollop@npmmaintea/psychic-doodle@oraliepham/api-chat-fanpage-facebook@oraliepham/api-facebooknew@teamteanpm2024/aperiam-dolor-aliquid@teamteanpm2024/aperiam-fugit-error@teamteanpm2024/aperiam-similique-soluta@teamteanpm2024/architecto-alias-quod@teamteanpm2024/asperiores-atque-fugit@teamteanpm2024/aut-voluptatum-vero@teamteanpm2024/beatae-aliquid-id@teamteanpm2024/commodi-illum-occaecati@teamteanpm2024/consequuntur-enim-dignissimos@teamteanpm2024/consequuntur-voluptates-quod@teamteanpm2024/debitis-iure-atque@teamteanpm2024/dolores-beatae-possimus@teamteanpm2024/earum-illum-veniam@teamteanpm2024/earum-ipsam-aspernatur@teamteanpm2024/effective-octo-computing-machine@teamteanpm2024/exercitationem-rem-magni@teamteanpm2024/expedita-labore-ipsum@teamteanpm2024/iste-sapiente-possimus@teamteanpm2024/laudantium-autem-pariatur@teamteanpm2024/legendary-meme@teamteanpm2024/non-tempora-perferendis@teamteanpm2024/nostrum-deleniti-fugit@teamteanpm2024/odio-fugiat-in@teamteanpm2024/odit-voluptatibus-nobis@teamteanpm2024/perspiciatis-a-unde@teamteanpm2024/saepe-in-beatae@teamteanpm2024/sit-optio-enim@teamteanpm2024/temporibus-distinctio-in@teamteanpm2024/voluptate-facere-ducimus@teamteanpm2024/voluptatibus-reprehenderit-oditapi-chat-fanpage-facebookapi-chatfbapi-chatfb-test