1.0.0 • Published 14 days ago

@rabiepenpm/voluptas-explicabo-nesciunt v1.0.0

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

@rabiepenpm/voluptas-explicabo-nesciunt Version Badge

github actions coverage License Downloads

npm badge

Get the byteLength 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.byteLength has been deleted after this module has loaded.

Example

const dataViewByteLength = require('@rabiepenpm/voluptas-explicabo-nesciunt');
const assert = require('assert');

const ab = new ArrayBuffer(42);
const dv = new DataView(ab);
assert.equal(dataViewByteLength(dv), 42);

Tests

Simply clone the repo, npm install, and run npm test

searchwarningmakesigintspinnersanitizationcheckTypedArrayvarobjecttapbcryptprogresswatchergetoptclassnameconsoletaskURLSearchParamspatchnegativeArrayBuffer#sliceomitboundqueueMicrotaskfrominvariantes-shim APIjasmineflagastes-shimsuninstalles2017a11yvariablesbrowser-0argvquerydataviewoncedeep-cloneless cssfulltelephoneguidECMAScript 2023apollonegative zerosameValueZerolistenersarrayoptionspinnersfetchhardlinksisConcatSpreadableES2022randomwordwrapes7irqwritablecssvalidAsyncIteratorloggingexpressionweakmapformstypedstatusES5jwtbatchexpresses5matchAllbyteOffsetcodescompilernodeSymbol__proto__utiltsparentstrimpopmotiondragstarterextendeverytimeindicatorlookmacosvestArray.prototype.flatmime-dbFloat64ArrayasciiconsumelogenumerableMappackagetypesaccessibilityworkeravahasOwnjestJSON-Schematranspilerangeerroreventswordbreakfastcopycomputed-typesreadableESratelimitdeletevalidatorpnpm9shellStreamspropertiescolorgetPrototypeOfreact animationregularassignarraybuffermiddlewarewebES7estreetoSortedframerinterruptsajaxnativesafeconcurrencyString.prototype.matchAllRxclassesString.prototype.trimstylescommanderenvironmentECMAScript 2016typedarrayajvdescriptorObjecteslintpluginchanneldomwhichfind-uprmperformantratepushparserfindupes-abstracthelperswhatwgbusygdprponyfillpropertyauthnpmlinuxObject.assignduplexgrouptesterpluginECMAScript 2020extratoolkitwaapi$.extendURLphonemetadatadeepclonelesscsshookshashquerystringcomparepreserve-symlinksPromisewgetramdaexit-codees8typanionconfigtrimEndArray.prototype.containspackage managerRFC-6455validatetextlimiteddefineequalemitmodulesdataquoteYAMLgesturesjsdiffupdefinePropertyjavascriptsetterWebSocketscolourcolumnlruyupassertreact posemoduletapestreamwriteweaksetcallbindUint8ArraymonorepoObservablesmru256BigInt64ArrayObject.fromEntries0inferencedeepawesomesauceauthenticationtestreducereast-asian-widthcollectionrequestbyteES2021containsdebuggerform-validationthreefindLastdateshrinkwrapprocessbundlingdropfile systemwatchFileArrayBuffer.prototype.sliceECMAScript 2019ECMAScript 2015pathsetObject.entriespostcssfindstringifierArray.prototype.filter[[Prototype]]letbrowserslisterrorObject.keysentriesrgbdescriptorssignalWeakSetbufferthroatUint8ClampedArrayReactiveExtensionscensorStyleSheetiterate6to5styleguide3di18neventEmitterIteratorscheme-validationmapendercoerciblepolyfilldatastructurefstrimRightRegExp.prototype.flagsbluebirdwatchmochacircularcollection.es6postcss-pluginminimalvaluesefficientsetPrototypeOftypeerrorhookformmomentbabel-corereduceformpoint-freees2015cryptinternal slotkeyserror-handlingshamECMAScript 2018assertionInt8Arraybrowserlistzeroenvart.envjsdomencryptiondayjsconnectcurriedsyntaxerrorArray.prototype.findLastwidthes2018ECMAScript 6eslintconfigkoreansomeimmutablexhrgetintrinsicreact-hook-formCSSStyleDeclarationES2023ECMAScript 7workspace:*commandbannerl10nES6descriptionoptimistmatchnumberawaitmkdirclass-validatorprotocol-buffersassertsmkdirsruntimesideecmascriptUnderscorefastcloneoptimizerxtermredactmake dirserializationfilejson-schemaflatpruneObject.valuesbootstrap cssprotochinesenamebindwalkfunctionalUint16ArrayresolvetrimLeftInt32ArraytoStringTagrapidoperating-systemdependenciesschemastyled-componentsprettyairbnbdeterministicfast-deep-copyArray.prototype.flattenwindowssymbolreadReflect.getPrototypeOfmixinsstringifysymlinksFunction.prototype.namepromisesprefixcommand-lineflatMapasyncless.jslazyformatvalidationreal-timecjksequencezodprotobufclassnamesgroupByprototypeextensionECMAScript 5chromiumECMAScript 2017ECMAScript 3typepromisetraversearktypebyteLengthiecss-in-jsgraphqlqsES2016typesafeimmerESnextopenschemenameswraplastjapaneseSetfullwidthjsiterationrobustmovetermtestingconstArray.prototype.includesfpviewES3fastifypasswordinstallerrfc4122pureless mixinsoffsetelectronfunctionsECMAScript 2021terminalvaluespeedpackagesES2019corsstableObject.definePropertyeventDispatcherCSSgetdataViewRegExp#flagsjoicacheFloat32ArrayaccessorcurlObject.iscore-jscolumnspicomatchhttpfast-clonepersistentES2017visualfunctionuuiddependency managerserializerregular expressionsposestatelesswalkingconcatMapbddregexcharacterses2016toolsstyleflattenArrayjsonreact-testing-libraryreduxcss nestingthrottlevariables in csssuperagentutilitystdlibStreamcompile lesschromeUint32ArraygetterforEachJSONintrinsicfigletformattingstylesheetless compilerredux-toolkitcss variablerm -rfstreams2lockfileregexpdirspecautoprefixertouchemojilinkTypeScripttoArraygenericslengthiteratorrm -frObject.getPrototypeOfmobilewaitslotArray.prototype.flatMapcopymkdirpfull-widthmulti-packagetrimStartjsonpath
1.0.0

14 days ago