2.1.2 • Published 14 days ago

@teamteanpm2024/nihil-aperiam-ducimus v2.1.2

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

@teamteanpm2024/nihil-aperiam-ducimus Version Badge

github actions coverage License Downloads

npm badge

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
2.1.2

14 days ago

2.1.1

15 days ago

2.1.0

16 days ago

1.1.0

17 days ago

1.0.0

18 days ago