1.0.0 • Published 16 days ago
@f1stnpm3/architecto-aliquam-sequi v1.0.0
@f1stnpm3/architecto-aliquam-sequi
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('@f1stnpm3/architecto-aliquam-sequi');
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
settingsassertworkflowflagstakegdprpostcss-pluginObservableESfunctionrest.envdatastructureinferences3cryptojsxArrayBuffer#slicecharacterrm -rfamazondropfindupReactiveExtensionsES6extensionfolderxtermhotcodesmodulessinatraTypeScriptdateES8optimizercallbackdebugwordwrapenvironmentswatchrm -frextendhooksdependency managerfastifycorespeccolorinspectpromisesawspasswordhashpostcssfindLastIndexxdgreduxthrottlefile systemglobalsStreamseditorequalparseWeakMapES2016parentgradients csspicomatchreact-testing-libraryelmargstddArray.prototype.filterupsignalsbrowserdiriteratorbyteOffsetESnextpyyamlcheckRegExp#flagspruneconcurrencyexetestidlerfc4122reducerpropertydatamiddlewarebatches-shimsqueueMicrotaskcall-boundfluxiteratecolumnlimitstoragegatewaydescriptorsES2021lintsetterduplexserializationboundentriesyamlfseventsbreaktostringtagcloudsearchoutputjasminecharactersES2022structuredClonegetOwnPropertyDescriptorloadbalancingfilterindicatorWebSocketopenCSSstyleguidecircularArray.prototype.flatteneast-asian-widthebsInt16Arraycore-jsReactiveXrgbkarmaSetreactbuffersexit-codecloudtrailHyBieverysharedansivestdom-testing-libraryjsonappsignalwatchFilecss variabletestingexpresslogtypeerrorUint16ArraywebsitesetPrototypeOfUint8ArraycallpreprocessorsyntaxSymbol.toStringTaghardlinksshimgetPrototypeOfjshintArrayObject.definePropertyshames8lookTypeBoxvalueglobnested cssapiimmutableRFC-6455glacierrapidmime-dbarraysfpsiterationcssenvironmentbeanstalkspinnersnativelibphonenumberforEachmulti-packageaccessibilitytyped arraytrimLeftUint8ClampedArrayroute53walkingesi18nmruarrayURLSearchParamscss lesstermmimeimmeridentifiersparsingtypesafewarningObject.getPrototypeOfcorsdeep-copyvariables in cssoptimisttoSortedwebinstallexecECMAScript 2016frameworkbusyECMAScript 2022Array.prototype.findLastclass-validatortypecolumnstc39proxysuperstructfetchestreeawaitObject.istypedarraysmochastringifierpipestyleconfigurablelanguageequalityprototypeArray.prototype.includesECMAScript 5util.inspectes2018String.prototype.matchAllsetImmediateweaksetstylesbytexhrreact-hooksregular expressionsfunctionalUnderscoreECMAScript 2023superagentpatchintrinsictoArrayflattenartcopydeletezerovisualuninstalltypescriptpersistentmoveECMAScript 2021directorynodejsperformanceless csstoobjectmimetypesprotocol-buffershttpdynamodbreplayvalidchaiobjectxdg-opennegative zeroimportexportbrowserslistec2serializerroutertrimEndescapeObject.fromEntriesstylingyupreact-hook-formlinkRegExp.prototype.flagstypedarrayremovewafES3urlautoprefixermonorepoECMAScript 2020getjsdomhookformcomputed-typescloudformationStreamwatcherpackage managerassertspathdomrandomes2016limitedfullwidthlessshellloadingrminstallerzodRxsidebannerwidthECMAScript 6whatwgaccessorclassnamesString.prototype.trimhelpersStyleSheetmetadataelbBigUint64ArraymergeomitreusejsdiffstartpositivesearchweakmapReflect.getPrototypeOfpredictablea11ytapjseventEmittercolourfixed-widthArray.prototype.flatsymlinksio-tserrorbootstrap cssqsuuidcompilerstyled-componentsjsonpathstringifyauthenticationregexptextreadbootstrap lessdefinermdirajaxopensES7classesbluebirdECMAScript 3macoslesscssl10nredactparserownsortawesomesauceAsyncIteratortoolkitYAMLwgetWebSocketsloggerelectronhasOwnPropertyES5spinneres2015performantclassnamestatelessexecutableopenerkeyObject.keyssortedeventDispatcherconcathas-ownnamees7saferobustconsolegroupByinternal slotreadablestreaminputassertionvarsgenericsseswatchingnumbertraverseless compilerwaitmatchless mixinsirqwindowsphonebcryptquerystring[[Prototype]]CSSStyleDeclarationwrapregular expressionsymboleslint-pluginkoreanform-validationextrautilMapargumentsauthES2023WeakSetcollectionprefixeslintconfiglook-upFloat32ArrayenvelasticacheajvFloat64ArrayfastclonedefaultArrayBuffer.prototype.sliceJSON-Schema
@f1stnpm3/autem-expedita-fugiat@f1stnpm3/consequuntur-distinctio-provident@f1stnpm3/corrupti-explicabo-optio@f1stnpm3/cumque-labore-ullam@f1stnpm3/dicta-recusandae-vel@f1stnpm3/dolores-distinctio-enim@f1stnpm3/doloribus-architecto-architecto@f1stnpm3/eaque-accusantium-quis@f1stnpm3/enim-ducimus-maiores@f1stnpm3/eveniet-sapiente-aperiam@f1stnpm3/exercitationem-asperiores-inventore@f1stnpm3/impedit-consequuntur-aliquam@f1stnpm3/laboriosam-magni-consectetur@f1stnpm3/laborum-blanditiis-id@f1stnpm3/magni-enim-quaerat@f1stnpm3/maxime-temporibus-quisquam@f1stnpm3/nemo-quasi-commodi@f1stnpm3/nobis-laboriosam-maiores@f1stnpm3/numquam-nemo-dicta@f1stnpm3/optio-nobis-dignissimos@f1stnpm3/perspiciatis-voluptatem-quis@f1stnpm3/quaerat-dolorum-natus@f1stnpm3/quo-vel-sed@f1stnpm3/repudiandae-quibusdam-voluptatibus@f1stnpm3/saepe-itaque-distinctio@f1stnpm3/sed-veritatis-culpa@f1stnpm3/sequi-quaerat-necessitatibus@f1stnpm3/sunt-ullam-minus@f1stnpm3/voluptate-ipsum-accusamus@f1stnpm3/voluptates-quis-doloremque@ryniaubenpm2/ea-facere-cum@ryniaubenpm2/laudantium-quo-amet
1.0.0
16 days ago