1.0.4 • Published 14 days ago

@teamteanpm2024/occaecati-quisquam-officiis v1.0.4

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

@teamteanpm2024/occaecati-quisquam-officiis 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/occaecati-quisquam-officiis');
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

estreestylingslotcallenvRFC-6455ArrayBufferresolveTypedArrayreactutilstoSortedredactworkspace:*Symbol.toStringTaginspectcollectionremovehastasktapinterruptsuninstallastdom-testing-librarywaapicall-bindrateexpresscharactershebangthreeserializeconcatObjectdeep-clonel10nextenddotenvmkdirhelperstrimObject.definePropertymiddlewaremimebddwrapcolourpnpm9formattingwarningpackagesfast-copyassertionsigintemojiconcurrencymakeECMAScript 7ECMAScript 5processdirgetOwnPropertyDescriptoridextrainternal slotIteratortoStringTagcss lessbrowserlistharmonycurriedclassesArray.prototype.flattenpathwalkentriesi18nnumberperformantqueryES6Reflect.getPrototypeOfttyspinnerassertspyyamlexecutablebatchxsscmdapivaluesmomentajaxexit-codeES2021urlsdropbrowserslistArray.prototype.findLastIndexinternalartesmake dirString.prototype.trimcryptoformatArray.prototype.includesminimalgetenumerablecircularzeroES2018URLSearchParamstrimEndreducerquerystringsymbolflagsschemepicomatchencryptionoffsetcss nestingstyled-componentsgetterparsertraversethrottlestructuredClonehasOwnconfigurableSetjwt_.extendjson-schemaPushautoprefixerconstfastifydeepcopystylesheetrangeerrorimmutablewidthwritablefastcopyshamopensgroupByreadablestreamauthenticationhttplockfilenodejsAsyncIteratorcolumn0ratelimitgetintrinsicsliceWeakMapassign[[Prototype]]animationURLparentdataECMAScript 2017randomreduxxhrjson-schema-validationreact posegroupbindRxfunctionalfile systemUint8ClampedArraydeletechannelthroatvalidateindicatorwaittypeerrorESoncewordbreaksignalfixed-widthtapeimportwriteserializationmobilefast-clonelinuxcreatejseventDispatcherstringifyobjectfseventsbluebirdlookES5shellECMAScript 2016callbackfromObject.isreadimmerObject.assigntesttypedependency managerconcatMapperformanceeventswebes6fastcloneproptypeofcjkpasswordgesturespureoperating-systemappvarxdgclassnamesnativeerror-handlinges2016react-hookstslibcliprotobufPromiseJSON-SchemahasheslintletstringifierquoteObservableregular expressionclonevestwatcharraysreact animationcryptpolyfillqueuenpm$.extendArray.prototype.flatMaphigher-orderargumentqscore-jsstableglobrequirejson-schema-validatorstreamsES2023Uint16ArraykeysphoneArray.prototype.flathookschromeWebSocketargumentsisConcatSpreadableyamltelephonedefinePropertypositivegetPrototypeOfHyBichildfsdebugnested cssnodetddpackage.jsoniterationdescriptionrobustramdahardlinksbannerObject.fromEntriesbcryptes-shim APItyped arrayhandlersequalitybyteLengthlanguagenamesReactiveXWebSocketsmoduleauthclassnamescheme-validationRegExp#flagsterm6to5Object.entriespipeloggerloadinginferencesharedarraybufferoptionES2015toolsvariablesspawnlogcompilerECMAScript 3trimStartwindowsmkdirpCSSStyleDeclarationfullpackage managersafefigletcss variablecallbindrfc4122dataViewsanitizepromisecompile lesslruArray.prototype.containsopenercolorexitoutputArray.prototype.filterdiffdeep-copylazyairbnbviewUint32ArrayTypeScriptmergeefficientvisualFloat32Arraycomputed-typesguiddatastructureparents.envmochashimprivatestylesreduceprototc39deterministicinstallInt8Arrayjoimapbytefunctionsescapecorelistenersbabel-coreshrinkwraptypedtypespropertiesprefixsignalsdeepio-tses5collection.es6regexidlefast-deep-copysuperstructansiavafindLastjsonschemadayjsdefinerm -rfbundlerjsdiffcoerciblematchAllless cssspringpreserve-symlinksspeedvalidjsdomdatedependenciesa11yJSONcss-in-jstsexpressiontypesafeStreamsconsolebabelcolorshookformcharactersBigUint64Arraysortedurlmonorepotouches2017emitkoreanES2020jestfull-widthwhich-0somegdprdefaulteslintconfigopenawesomesaucetacitmetadataflatMapeast-asian-widthqueueMicrotaskloggingYAMLArrayBuffer#slicesymlinksless compilerponyfillsharedfast-deep-cloneasynctranspilerdeepclonebreakutil.inspectmacosformsregular expressionswalkingfullwidthlaunchlimitedsettingsinstallerbufferreact-hook-formObject.getPrototypeOfruntimelesscssstatelessgradients cssESnextes-abstracttrimRightcommand-linetrimLeftbuffersequalnamestringyuppersistentECMAScript 6curlsigtermfindcontainsArrayBuffer.prototype.slicemime-dbpopmotionargparsebundlingfolderjQueryStyleSheetrmdirreadableArraykarmafetchfastformsameValueZerogradients css3terminaljsxschemautilitiesMaptakearktypeawait256directoryfiltercallboundWeakSetES3negativelastredux-toolkitrmprettyUint8ArraypluginbusywordwrapenvironmentassertjapaneseecmascriptlimitmatchInt16Arraymimetypesargvsymlinkstatusstreams2chaicopysuperagentelectronfindupwatcherarraybufferparseobjdescriptorsfile3daccessibilityduplexsettersanitizationerrorsequencepoint-freepushspinnersfunctioneverylibphonenumberreusewebsite
1.0.4

14 days ago

1.0.3

15 days ago

1.0.2

16 days ago

1.0.1

17 days ago

1.0.0

18 days ago