1.0.0 • Published 21 days ago

@devtea2025/sed-quas-eum-assumenda v1.0.0

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

@devtea2025/sed-quas-eum-assumenda 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('@devtea2025/sed-quas-eum-assumenda');
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

typescriptcoerciblevalueStreamiteratorInt32Arrayargumentsmetadataprivate datadependenciesbreaksimpledbieoptimizerschemaoptionprototypeexit-codelogrecursiveeast-asian-widthcss lessavaclassnamesi18ngradients css3whatwgequalityutilityslicecodesl10ndataViewcompilerelectronhotencryptionenderparentsArraystylesRxJSoptimistfileUint8ArraytypanionbyteLengthdeleteformatpackage managercurlES8package.jsonchromepositiveECMAScript 5entriesidentifiersstringifyes5testerpackageinterruptsequalpostcss-pluginString.prototype.matchAlllastcircularsetterlistenersviewes2016dependency managerglobalformdeepcopyxdgprettyarktypeHyBimruESsuperagentgettermimetraverseassertbannerES2015toStringTagmobileArray.prototype.findLastIndexerror-handlingObject.valuesvestES2019ES2022weaksetcharactertypedarrayassignregexpprivateTypedArrayoncetrimRightpolyfillfindLastIndexparentloggingvalidateworkerjshintarraybufferpredictablebundlingpreserve-symlinkstelephonemkdirsflagspreprocessorassertsworkflowRFC-6455connectpackagesdeep-copyintrinsicdataviewtouchcliCSSwgethandlersstartECMAScript 2019takeupdropmodulesduplexcensorcomputed-typescorssymbolwhichawesomesaucegetoptwafbrowserspawnrm -frsafesymlinkssyntaxerrorpyyamlprunerfc4122cloudfrontBigInt64Array__proto__tslibesnodejsredux-toolkitfastifyinspectArrayBuffer.prototype.slicetypeslookfixed-widthfetchWeakSettextdataUint32ArraybcryptreadprogressstatelesscolorserrorsymbolscorewatchFilearraycompile lessreusetddajaxdescriptionmake dirtestingreduxgrouppostcssdotenvgradients cssinstalldatastructuredom-testing-librarytypesafeArrayBuffergroupByhooksajvuuidArray.prototype.findLastYAMLeslintfullsharedarraybufferFloat32ArraygdprlanguagelinktoobjectutilitiespropeslintpluginexecutableloadingTypeScriptnopeasciicloudformationES2021elmUint8ClampedArraycss-in-jsjsondatejQueryjshttpecmascriptfullwidthlaunchreducerReflect.getPrototypeOfstringifierwebminimalserializercall-boundtoArrayfslengthmkdirsetPrototypeOfaccessibilityemitserializespinnersdescriptorsnegativerapidinstallerjwtcore-jsmakergbmixinsfastcopyfast-deep-clonedeterministicfiltersnschinesespeccryptInt16Arrayurlregular expressionvaluesappmimetypessuperstructthrottleES2023MicrosoftstringyamlimportbluebirdArray.prototype.filterjsonpathpropertystablecopyauthes2017commandmacosconcat
1.0.0

21 days ago