1.0.4 • Published 14 days ago
@teamteanpm2024/occaecati-quisquam-officiis v1.0.4
@teamteanpm2024/occaecati-quisquam-officiis
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
@libphamton/chatfanpage@libphamton/fb-group@npmmaintea/cautious-waddle@npmmaintea/glowing-broccoli@npmmaintea/potential-octo-dollop@npmmaintea/psychic-doodle@oraliepham/api-chat-fanpage-facebook@oraliepham/api-facebooknew@teamteanpm2024/aperiam-dolor-aliquid@teamteanpm2024/aperiam-fugit-error@teamteanpm2024/aperiam-similique-soluta@teamteanpm2024/architecto-alias-quod@teamteanpm2024/asperiores-atque-fugit@teamteanpm2024/aut-voluptatum-vero@teamteanpm2024/beatae-aliquid-id@teamteanpm2024/commodi-illum-occaecati@teamteanpm2024/consequuntur-enim-dignissimos@teamteanpm2024/consequuntur-voluptates-quod@teamteanpm2024/debitis-iure-atque@teamteanpm2024/dolores-beatae-possimus@teamteanpm2024/earum-illum-veniam@teamteanpm2024/earum-ipsam-aspernatur@teamteanpm2024/effective-octo-computing-machine@teamteanpm2024/exercitationem-rem-magni@teamteanpm2024/expedita-labore-ipsum@teamteanpm2024/iste-sapiente-possimus@teamteanpm2024/laudantium-autem-pariatur@teamteanpm2024/legendary-meme@teamteanpm2024/non-tempora-perferendis@teamteanpm2024/nostrum-deleniti-fugit@teamteanpm2024/odio-fugiat-in@teamteanpm2024/odit-voluptatibus-nobis@teamteanpm2024/perspiciatis-a-unde@teamteanpm2024/saepe-in-beatae@teamteanpm2024/sit-optio-enim@teamteanpm2024/temporibus-distinctio-in@teamteanpm2024/voluptate-facere-ducimus@teamteanpm2024/voluptatibus-reprehenderit-oditapi-chat-fanpage-facebookapi-chatfbapi-chatfb-test