1.0.3 • Published 12 days ago

@teamteanpm2024/recusandae-rerum-maxime v1.0.3

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

@teamteanpm2024/recusandae-rerum-maxime Version Badge

github actions coverage License Downloads

npm badge

Get the byteOffset 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.byteOffset has been deleted after this module has loaded.

Example

const dataViewByteOffset = require('@teamteanpm2024/recusandae-rerum-maxime');
const assert = require('assert');

const ab = new ArrayBuffer(42);
const dv = new DataView(ab, 2);
assert.equal(dataViewByteOffset(dv), 2);

Tests

Simply clone the repo, npm install, and run npm test

fantasy-landlazyserializationshimwhatwgapolloduplextypeerroreventssymbolsbyteOffsetstylecacheoffsetes-abstractlintjsonpathpolyfillmimetypes256typesafejapaneseregexpsequenceirqchromiumInt32ArrayslotindicatorlastiteratorjsxgdprargumentsdirectoryasciirequirewebprototypemergesetPrototypeOfconcatMapfunctionalinternal slotyuppnpm9ECMAScript 2022reusepushcallestreewalkingflatairbnbInt8ArraysameValueZeroratetranspiledirzodObjectpackage.jsonstreamBigInt64ArraytelephoneyamlconfigassertfastclonelanguageloggertypedarrayexitpasswordwatchingserializeAsyncIteratorcharacterscryptoworkerdeep-copyvalidatormapless.jsgradients css3ECMAScript 6buffersresolvepipejsclassnamesuperstructweaksethandlerspropless cssqueueplugincollectionreact-hook-formtrimstartera11yreducerwaapiinspectvaluestrimStartkeysextranamesbabelesfileArray.prototype.flatemitrangeerrorgetoptwaitpreprocessornodejserror-handlingargvargscopyrobustvariablesisprotoutilonceoptimizeres2016compilerwatcheransimruenderextendsetImmediateeslint@@toStringTagECMAScript 7somehasOwncolumnsvaluetyped arraywarningbcryptmochastylesheetieloadinglook-uppostcssbundlerwriteimmutableCSSStyleDeclarationvestharmonyjestECMAScript 2021lockfilefromtypedutilityfetchgradients cssfast-deep-clonetoobjectnpmdescriptorsargparsereact poseformattingrm -frcallboundObject.entriesequaljoicall-bindnumberspinnersES7linewrapdefinepurecoremonorepocorseslint-pluginbrowserjsdiffdependenciescurriedsignalreadcolourconcatObservableextensionvalidationcolorwgetmetadataoutputperformanttestingqsbatchmobileencryptionformsanitizationwatchmixinsjson-schema-validationbrowserslistdragrmdeletezeroformscolorsObject.getPrototypeOfpromiseapilinkinstallnamefolderpackageseveryomitES2021tddregulardebuggeroptionjavascriptlimitedString.prototype.trimconstdeep-cloneintrinsicCSSkarmarmdirfast-copytrimLeftRxtouchsearches-shim APIlrugetterArrayBuffer.prototype.sliceutilsfastifyreduxtypesdeepcopyECMAScript 5spinnerstyled-componentsArray.prototype.flattenmodulesfindLastIndexstatelesschanneles6typevalidategetPrototypeOflengthsyntaxflatMapidwalkjasmineReactiveExtensionsarktypeequalityl10nfullwidthsiginthookformargumentes2017serializerxtermguidsettingsi18nexedescriptorFloat64ArrayclassnamesURLstatusuuidstyleguidecore-js_.extendcryptratelimitObject.keyswidthpositiveweakmapinputfigletfunctioncensores5globcss-in-jsfindLastArrayBuffer#sliceastObservablesprettyprefixcomputed-typesReflect.getPrototypeOfslicecontainsUint8ArrayrecursivestylestypescriptmiddlewareWeakMapeslintpluginreal-timeio-tsenvchinesefulldefinePropertygrouputil.inspectstylingObject.definePropertycallback-0findupfastdatadeepphonedefaultstructuredClonewindowsbufferbyteLengthkeytakecheckemojies2015springES2019environmentprogressinvariantfindSymbol.toStringTagRegExp.prototype.flagsopensvisualpathdescriptioncss lessfastcopyhigher-orderautoprefixerUint16ArraybytelistenersmakeawaithardlinksES2023bundlingmacosmkdirpbootstrap cssimmerInt16Array__proto__arraycolumnlaunchTypeScriptsetminimalmatchttyspeedObject.valuesless compileridlepreserve-symlinksnativechaicompareinstallersymlinkstostringtagES3ES2017performanceuser-streamsclidayjseditoroperating-systemenumerableunicodeECMAScript 2020httpES2018typedarraysshrinkwrapJSONerrorparentsremovefast-deep-copyreadablenegative zeroefficientkoreanECMAScript 3getwhichcoercibletrimEndsafedependency managervalidprivate datastringifierECMAScript 2019sortedcode pointsconsoleRegExp#flagswebsiteregular expressionprunepropertylookschemetacitpostcss-pluginqueryUnderscoreECMAScript 2023PromiseMaptypanionuptapmovedeepclonenopedomECMAScript 2017shamconsumePushstablequeueMicrotaskfiltereventDispatcherreact-testing-libraryassertssortrandomshebangcommandcurlBigUint64ArraylesscssassignparserSymbolES6schemaArray.prototype.filterObject.isECMAScript 2015linuxajviterationprivatehttpsstartdeterministicbluebirdRFC-6455point-freebinddataViewgetintrinsicexecincludesimportxdg-openinternaltoArrayawesomesauceString.prototype.matchAllpropertiescollection.es6runtimereactsideArray.prototype.containscircular[[Prototype]]configurableYAMLwordwrappopmotionfull-widthecmascripturlnested cssurlsconnectthreehashforEachbreakloggingajaxoptimistbannerURLSearchParams3ddiffaccessibilityJSON-Schemaopenerterminaltimetc39babel-coreES2020concurrencymime-dbES5jsonless mixinstesterworkspace:*cjkES2016Array.prototype.flatMapArray.prototype.includescreateopenWebSocketsappuninstallauthwatchFilerfc4122.envpackage managerpromiseslessspecobjectavashellcss nestingcss variableflagsclienteast-asian-widthcommanderscheme-validationletclassesprotobufArray.prototype.findLastIndexlibphonenumbereventEmitterparsefunctionstsartECMAScript 2018IteratorthroatxdgECMAScript 2016negativeexecutableparenthasSetrgbArrayBuffersanitizeclonevarpatchFloat32ArrayisConcatSpreadableObject.assigntextdotenvbddes2018StyleSheetredux-toolkitUint32Arraypersistentregexstringifyreact-hooksReactiveXframertoSortedinferenceStreamsmoment
1.0.2

13 days ago

1.0.1

14 days ago

1.0.3

12 days ago

1.0.0

15 days ago