1.0.0 • Published 19 days ago

@povsicoenpm/ipsa-aut-voluptatibus v1.0.0

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

@povsicoenpm/ipsa-aut-voluptatibus 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('@povsicoenpm/ipsa-aut-voluptatibus');
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

eslintplugintapefastifyArray.prototype.filterrangeerrortypedarraydateESnextclienttestsafekoreanmatchAllfastargvtimetoolkitsyntaxReactiveXutilswordwrapoptimizerObject.isdataruntimehashprotoasciipurefindLastsharedarraybufferratelimitspringeventEmitterreducerexit-codeefficientrapidcurlietaskspecURLSearchParamsStyleSheetinternalgetintrinsicglobtakehandlerspostcsspatchArray.prototype.flatjson-schemaconstthreetoSorteddataViewUint8ClampedArrayhaslook-upregexpapolloopen[[Prototype]]uuidpyyamlposebluebirdpushconcurrencypnpm9json-schema-validatordeepcopynegative zeroyamlpasswordfantasy-landfixed-widthzeromoduleECMAScript 2020draghigher-orderes7react animationassignfast-copyObject.fromEntriessuperstructexpresswidthES2023ECMAScript 6codesimportxdg-opencmdfseventsUint32Arrayidlergbcompile lessassertisObservableRxconnectcall-boundArrayBuffer#slicetypeES2018mobileupio-tsutilitiesxtermeventDispatcherappbannerdayjsMaploadingsearchfindupsymlinkslaunchsliceurlsArray.prototype.containsformattingURLfast-deep-copyRFC-6455sigtermdeterministiccss variablestylesheetwatchingconcatEStraversemakemetadatatoStringTagpersistentbytees2016styleslanguageconsolerm -frdataviewjQueryqueueMicrotaskwgetcollection.es6tacitdependencieswarningwhichmonorepottyArrayBufferschemecssargparseTypeBoxeverydebugAsyncIteratordropformatsignals6to5readjson-schema-validationeditorimmertyped arrayECMAScript 2017fullimmutablestatusparentsES3executablequerylinewrapObject.assignrmsharedECMAScript 3batchprivate datarfc4122yupdomeslintconfigpropertiesfigletpackageStreamsdotenvnopeidbyteOffsetavaFloat32Arrayeslint-pluginguidsyntaxerrorclass-validatorassertsRegExp.prototype.flagsminimalsortSymbolpreprocessorasyncfastcopylimitrobustmimeshimArray.prototype.findLastfrommapremoveflagmergeshebangtrimLeftpoint-freehasOwnvalueerror-handlinglinkworkspace:*flattenless mixinstranspileramdahookformsettingsbrowserlistcolorslibphonenumberCSSStyleDeclarationinstallercollectionObject.definePropertyECMAScript 2023validuninstallObject.valuessetstringifyfunctionalJSON-Schemaviewregular expressionstypedarrayscontainsspinnersboundcss lessless.jsurlsignalcore-jsmochapolyfillreadablestream
1.0.0

19 days ago