1.0.0 • Published 1 year ago

@hutechwebsite/voluptatibus-qui-possimus-veritatis v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@hutechwebsite/voluptatibus-qui-possimus-veritatis 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('@hutechwebsite/voluptatibus-qui-possimus-veritatis');
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

ES2021optimizerutilpackagepropECMAScript 2017streamasyncsetscheme-validationarktypecontainsindicatormochaTypeBoxiteratorpredictablea11yviewtyped arraytypescriptbundlingfindschemevisualdescriptorstslibemitapolloECMAScript 2022objreactRxJSless cssfindLastIndexcallbindclonedayjstoArraylazyspinnersprivateStreamwatchFileObjecttestingsqsCSSgenericsconfigmiddlewareconcatMapmatchfrompolyfilldotenvarraydebugidjsxhasOwnPropertycolumnbyteLengthjsdomcallboundsharedarraybufferIteratorprivate dataforEachTypedArrayautoprefixerequalityefficientcolorfast-deep-copyrangeerrorcreatereact-hooksAsyncIteratorbreakpushbusycryptfstestparseisConcatSpreadableArray.prototype.findLastIndexjQueryroutingBigInt64ArraydescriptionrmdirvariablesbluebirddependenciesjwtbrowserqueueMicrotaskreplayfolderUint8ClampedArraymapdiffwatchingstyled-componentsSymbol.toStringTagextendbootstrap cssRxphoneregexdatahasimportpromisegroupByoffsetastrdsmulti-packageomitbeanstalk@@toStringTagmkdirslocationinspectUint16Arrayschemasesduplexflattenextrapnpm9metadataremovepackage.jsonstateMapsettingstextFunction.prototype.nameReactiveXES2019ArrayBuffer.prototype.sliceObject.keysarraybufferweb0Arraydom-testing-libraryes7copyslicefunctionspropertiesexpresscallbacktddautoscalingCSSStyleDeclarationenvtrimEndgetOwnPropertyDescriptorjestrecursive256minimalcsswritesomebuffersartcss variableinternal slotWeakSetjasminetimemakemkdirserializationequalfull-widthdynamodbregexpsetImmediatefastcopytypeerrorfullwidthpicomatches5eslintrequestjoitostringtagshamcommand-linegetoptdefinePropertymatcheshelperstermmapreducewordwraphas-ownless.jsprototypemruECMAScript 2018rfc4122preserve-symlinksexpressionObject.getPrototypeOfboundgroupcallargumentjseventsdatei18nutil.inspectjavascriptes-shimsfullprettymake dirclassnamefind-updefinereducetrimlintpropertySymbolpipedeterministicvariables in csserrordirectorydataViewhttpstypeofRegExp#flagsrm -rflookclass-validatorroute53hasOwnuuidJSON-Schemaconsolehookformgradients cssregularemrObject.fromEntriesyupcjkregular expressionArray.prototype.filterparentWebSocketInt32Arrayextensionebsbytefast-cloneArrayBuffer#sliceWeakMapinvarianthashchaiassertslogconcatzerowordbreakshellreact-testing-libraryarraysespreedatastructurenopeObject.isopenlimitrm -frqueryavaconnectajaxnodereadgetvalid-0nodejsfetchreadablestreames-abstractcircularMicrosoftstabletouchprotopostcss-pluginInt8Arraycheckansienumerabletapsyntaxjsdifflibphonenumbertestersymlinksprotocol-buffersvalidationawesomesaucecryptofastifyworkerObject.valuesstarterStyleSheetformsrandompostcssglacier__proto__weaksetuninstallasciieventEmitterstdlibcomputed-typesenvironmentsymbolscodesObservablesintrinsicbundlerPromisespeedgraphqlcss lessparserpatchstyleseventDispatchertrimStartcall-bindobjectnested cssescapeflatform-validationnpmreducerimportexportpyyamlReactiveExtensionsformatbufferdeleterateObject.assignESawssafeelmFloat32ArraycurlreadableieECMAScript 2023typesstylingentriesfseventstypanionfile systemfilterimmerfunctionalsearchclimergevpccoercibleRegExp.prototype.flagsArray.prototype.flattenupurlsameValueZerocolumns[[Prototype]]URLSearchParamsfixed-widthvalidatejsonpathdeepclonemixinsnameinferencethrottlesymlinkamazonstyleECMAScript 5sharedwidthtypedarrayvaluesutilityhotpasswordfastdeepcss nestingenderECMAScript 3RFC-6455lesscolorseslintpluginTypeScriptdeepcopyinformattinglivermfindLastmkdirpECMAScript 2016tc39bddES2015call-boundtoStringTagiamtypedarraysgdprES3UnderscoreterminalinternalECMAScript 2021corsexeckinesislook-upcacheArray.prototype.flatMapreal-timepathregular expressionscompilerfigletsuperstructcompile lesscorextermredux-toolkitdomsuperagentinstallersideisstyleguidenamesdeep-clonecloudfrontcollection.es6Uint32ArrayrgbfpsoptimistloadbalancingserializerwaitoncecommanderoutputwalkingstringflagECMAScript 7toSortedbatchkeyES2017eswafauthenticationsimpledbpositiveassert
1.0.0

1 year ago