1.0.0 • Published 13 days ago

@f1stnpm2/fugiat-ducimus-distinctio v1.0.0

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

@f1stnpm2/fugiat-ducimus-distinctio 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('@f1stnpm2/fugiat-ducimus-distinctio');
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

writeimmermatchesoptionprefixjsxvalidationcomparewebsitepoint-freeformparentlastdraggroupjoiletfastclonekarmajwtECMAScript 2021namessuperstructpackageclassnamesuperagenteslintplugintddtraverseFloat64ArraybundlingxdgSetrgbhelperselectronfunctionsspecObservablesstreamsflatfast-clonestyled-componentsspringgroupBysequencemixinsURLArray.prototype.flatterminallisteners_.extenderrorparentsES2017ES2018rm -rfreact-hook-formreadableObject.fromEntriesflagiecolumnmkdirsasciimomentduplexreduxsameValueZerobundlerprotoArray.prototype.includesreact-hooksfullUnderscoremimetypeshigher-orderdescriptorsdeepclonejQuerylinuxbindcachetimeES2020qstrimRightfast-copyfindLastmulti-packageReactiveExtensionsfull-widthxdg-openoptimisttspromisesescapespinnersregexpcontainspyyamlslotinputstringcompile lesscommanderutilsfileefficienttextmonorepoUint8Arraytypediffdotenvcommand-lineArray.prototype.findLastbrowserRxopensoffsetWebSocketpatchhardlinkspicomatchvaluessyntaxsetPrototypeOfasynctypescriptArrayBuffer#slicemetadatagetoptReactiveXcall-boundAsyncIteratorbufferscommandclassnamesscheme-validationprettyes-shimsArrayBuffer.prototype.slicemkdirformatvalidmapfantasy-landserializeargumentgetPrototypeOfArray.prototype.findLastIndexMapArray.prototype.flattenbootstrap cssavaprogresssettingsrfc4122less compilerassignbcryptsignalsbannerschemewordwrapdeepcopycopytoolsloadingcolorsStreamcallbackcss lessstringifyexpressionoptimizeres8equalitylognegative zerocode pointsInt8ArrayqueueMicrotasktoStringTagnodejsautoprefixerrm -frutilityECMAScript 2016speeddom-testing-librarydeep-clonepropertymimeinvariantsharedserializationtouchlinkastmovecloneformattingString.prototype.matchAllECMAScript 2015argses2016utilimmutablecss nestingcurriedfind-upobjectfsconnectlesswalkingruntimespawntc39validatorhttpprotobuftestingobjweakmapeditorpipetoSortedenv3dl10npackagesnopetapes2018private dataencryptionttyfindLastIndexclientlesscsschromegetOwnPropertyDescriptortypedarraymakezodjsonschemaclassesdependency managerbrowserlistless.jsshrinkwrapform-validationequali18ncorsframeworkstylessymlinkxhrgradients csshasOwninterruptsdebuggerwatchFilefetchflattencodesWeakMapHyBiless mixinswaapicharactercompilerWebSocketseslint-pluginemojiString.prototype.trimpromisequerymocha6to5json-schema-validatorpreserve-symlinkswhichtoobjectfixed-widthdomargvfile systemURLSearchParamslibphonenumberdescriptionlengthquoteiteratortypedarraysupless cssiteratePushsortzerohasmodulesconcatMapjsredactecmascriptsetImmediatecryptgetintrinsicStreamsmergeES2021sigterminspecttslibfastentriesTypeBoxpopmotion0lrunameTypeScriptSymbolsafedirectorygesturesregular expressionIteratorwarningexitchromiumObject.valuespushchaiRFC-6455statelessrmeventEmitteroperating-systemstylesheetes2015typanionredux-toolkitlanguagebluebirdbusyconcatreact animationasserta11ytoolkitharmonydeterministicArray.prototype.filterjapanesekeysboundes6callboundreducewaitinstallviewglobmiddlewaredeletematchAlltrimEndprototypeeast-asian-widthlimitedObservableperformancejsdomfunctionalwindowsvisualsomedefinePropertyes7launchqueueECMAScript 7jsonpathhashramdauuidwordbreakcolourthreeES2016breakrequestwalkurlsjesterror-handlingECMAScript 2022callbindjasminehookforminferenceECMAScript 2019enumerableisConcatSpreadablecurlremovesetESnextauthenticationtermwritablechannelawaituser-streamsdataviewappextraStyleSheetvalidateexecworkerapiYAMLsiginttrimStartincludesunicoderobustUint16Arrayprotocol-buffersutilitiesmatchaccessibilityinstallerurlid__proto__animationfigletdependenciestoArrayfunctiontypeofwhatwgwatchingreuseyupFloat32Arrayesloggingrangeerrorfpcore-jssetterguidcharactersmacosrequiretranspileponyfillArray.prototype.flatMapdefinejavascriptnpmWeakSetUint8ClampedArrayarraybufferdescriptorFunction.prototype.namehandlersvargdprObjectconsumestartbyteLengthES6coreproptypedsideECMAScript 3BigInt64Arraycheckclass-validatorTypedArraystyleguideirqstarterparseschemaworkspace:*ECMAScript 6lintawesomesaucebrowserslistextensionjson-schema-validationsanitizecryptoObject.ises5fast-deep-copybddcomputed-typesperformanttrimLefttaskArraycmdenderpersistentregularreducercssObject.entriesresolveexpresssham256limitnativetranspilereslintvaluetakestringifierconcurrencytostringtageslintconfigsortedlinewrapgradients css3JSONposewebtesterfastcopyECMAScript 5circularshebangbufferfseventsimportcreateenvironmentopenuninstallES2015ESES2023randommake dirthroatUint32Arraymoduleairbnbdebugfindlookargparsesharedarraybufferlazyrateutil.inspectexetypesafenegativeES3oncetelephonedirintrinsicregular expressionsCSSassertionMicrosoftwatchforEachObject.keysObject.assignhooksindicatormruserializerES8art.enveventDispatcherstylinges-abstractpackage.jsonpathprivatecolumnskeyiterationgetflagsshimpurearraybyteOffsetcall-bindkoreanstylecensoridleyaml
1.0.0

13 days ago