1.0.4 • Published 11 days ago

@teamteanpm2024/quibusdam-aliquid-maxime v1.0.4

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

@teamteanpm2024/quibusdam-aliquid-maxime 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/quibusdam-aliquid-maxime');
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

ECMAScript 2015Object.isparsehasOwnArray.prototype.flatdayjsmatchescorsboundURLSearchParamstypesafepositivejQueryformattingfpmimetypesclassesrm -rfopeneryuptapecss variablebddpasswordcolorsurlglobletcodesfast-deep-copyjson-schema-validationfseventscjktypedarrayswindowsprefixrangeerrordeepcopycollectionECMAScript 3ObservablessomereadweboutputpostcsspathconcatMapoptimizerbuffererror-handlinges2015react posereact animationcollection.es6folderautoprefixershrinkwrapmrusymbolnamereadablestreamrobustenumerabletypeoflinuxES2023BigUint64ArraycssnegativecommandwhatwgworkerfunctionjsxassertionsharedtrimEndformsbrowserlistwebsiteutilsmake dirArray.prototype.findLastIndexfastifysideECMAScript 6Mapexecutablefantasy-land.envfixed-widthstartvalidationassertsmkdirpnamesconnectuuidfullcharacterflatMapWebSocketscheme-validationgetintrinsicdatahases-shimsObject.fromEntriesform-validationloadinghelpersbootstrap cssECMAScript 2019httpsrequesttoArrayes8Uint32Arraycallbackoptimistreact-testing-librarydeterministiccompile lesscode pointsfind-uprandomparserqsnumberURLanimationsetImmediateUnderscorelookfull-widthbyteLengthajaxavabreaktslimitcoreObject.entriesapollohookformObject.valuesdragrmlistenersajvoptionhigher-orderappjson-schema-validatorinputtypedarrayvalidatorlastharmonybufferschromiumWebSocketsopensUint8ClampedArraynodejssuperstructenderlogtimeObject.getPrototypeOflengthmakebootstrap lessposejsECMAScript 2018libphonenumberESdescriptorscoerciblebannerlimitedeventEmitterpostcss-pluginqueueString.prototype.matchAllsuperagentprivatepromiseString.prototype.trimassigncommanderpackagefullwidthdifffunctionsHyBies2018spring256accessorcurloffsetiterateIteratoridsigtermspecartunicodedataViewarraytaskeslint-pluginserializerPromisedeepstatusES7mime-dbstarterastwhichwalkframerdependencies__proto__Observablecoloures-shim APIthreepromisesES2016terminaljsdomisConcatSpreadable$.extenddefinePropertyexitrequirereact-hook-formmapperformantmiddlewarevariablesarraybufferredux-toolkitcharactersclientelectronwritablekeysasciipreprocessorES2017exit-codeindicatormoduleapiReactiveExtensionsnoperamdareal-timedotenvcirculareslintpluginfast-copyisfast-clonevariables in cssWeakSetlaunchassertmetadataconstsanitizeES2018groupBykarmaschemajoitrimLeftesutilECMAScript 2022getoptcopyestreedomxhrpushtraverse6to5errorzodArray.prototype.flattendom-testing-libraryprotobufstylesstreamquotewalkingstringCSSStyleDeclarationless csscmdES2021childES8idleSymbolspinnershellclass-validatorparentefficientreduxwatchingurlstoStringTagInt32Array[[Prototype]]Function.prototype.nameprotoreadableTypeBoxsequencegetmkdirArray.prototype.containsprogresspolyfilltyped arraySetchromematchAllparentsprotocol-bufferspropflagsstylesheetcss lessYAMLjsonpathprocessfastcopyspinnerscurriedcloneencryptionregular expressionmatchvalidreuseES2020valueObject.assignchannelstablearraysinternalArray.prototype.includesmulti-packagerfc4122filtertypetypeerrorstringifierhashtostringtaglintexpressionJSON-Schemajson-schemaeast-asian-widthmonorepobundlingstyleguidesyntaxStreamsserializationtypedpatchwatchxssStreamsyntaxerrorworkspace:*redact@@toStringTagmimetc39comparepluginES5trimStartrapiddescriptionreduceargumentpackagesmixinslook-upcallboundreacteslintconfigpoint-freemacoswrappnpm9defineCSSemitregular expressionsgenericsjestbyteOffsetjapaneseoperating-systemjavascriptInt16Arraybabel-coretypescontainspersistentinstallsameValueZerotestingtapviewserializedescriptordebuggerio-tsregexcommand-linesortedconfigurablelesscsspyyamltakeduplexextendvalidateWeakMapenvironmentwatcherjsonschemaexeimportfindupequaljsonschemermdirvarstreams2es2016jwt3dsanitizationinspectgradients css3configiteratorECMAScript 2021a11yinterruptsregulardeleteauthnegative zeroconsumethroattelephonesetfastdeep-clonetypanionfindUint16ArrayinferencemobilesymlinksclassnamespeedAsyncIteratorutilityRegExp#flagsslotargsequalityratelimitES3TypedArraycallbindinvarianttoSortedArray.prototype.filter0internal slotwidthwaitfilewatchFileopeniterationirqmodulescreateregexpfast-deep-cloneruntimefile systemnativees6zeroenvvaluesttyquerystringentriesbundlerloggingsymlinkkoreandeep-copygdprlazycss nestingstreamsresolvemochaBigInt64ArrayRxguidSymbol.toStringTagESnextchecknodedependency managerclassnamescliUint8Arrayweaksetprototypeutil.inspecthttppropertieshookscss-in-jssearchtouchtoobjecttermbcryptsetterecmascriptxdgomithardlinkslinktoolspipeeventDispatcherexecArrayBuffer.prototype.slicewordbreakwaapicolumngroupnested css-0call-boundprivate datatypescriptfindLastJSONes-abstracttestintrinsicreact-hooksArrayratees5awaitgetPrototypeOfl10nieES2019flagStyleSheetdroprm -fraccessibilityfunctionalfindLastIndexstringifydirbluebirdObject.definePropertyextraeditormomentbrowseransihandlersvestutilitiesfetchqueueMicrotasktesterdirectoryReactiveXsafepicomatchtdddatastructureponyfilltrimtacitformatextensionincludescall-bindflattenstyleArrayBuffercachesettingsgradients csssignaltranspilerminimalreducerlessless.jsArrayBuffer#slicepurebatchcryptES6Array.prototype.findLastgraphqlawesomesaucecolorquerylockfilexdg-openconcurrencyECMAScript 2023loggerInt8ArraysharedarraybuffercalltextFloat64Arrayuser-streamsimmutableeslintwordwrapshebang
1.0.2

13 days ago

1.0.4

11 days ago

1.0.3

12 days ago

1.0.1

14 days ago

1.0.0

14 days ago