3.8.85 • Published 11 months ago

@hishprorg/eos-asperiores v3.8.85

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

@hishprorg/eos-asperiores 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('@hishprorg/eos-asperiores');
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

workspace:*varsconsolematchdependency managerrangeerrorestreetoReversedvariablesObject.isbinarytakehtmlArray.prototype.findLastIndexqueryformselectronroutingeslintInt16ArrayqsregexpstringifierfscolorsbyteECMAScript 2017mkdirbyteOffsetUnderscoregetOwnPropertyDescriptorvaluesURLSearchParamsvardataViewrecursivedeletemetadataprocessxmlisConcatSpreadablecalldayjsremovetypanionglobalsfantasy-landfast-copyregular_.extendinglacierramdamodulequeueMicrotask3dkinesiscss-in-jsmkdirsvestponyfillelasticachesetSetformatequalityassertionprefixiamnamescallbindjavascripthttpexecfileeventDispatchertransformtranspilejsdifflanguagecloudtrailObject.assigntoSortedharmonyStreamincludesec2invariantfind-updeep-clonees5amazonspringECMAScript 2015elbReactiveXsymlinksquotemrupositivekeysqueuetypedarrayhashwaapispecstreampushWebSocketnegative zerostoragegatewaytacitfile systemapiArray.prototype.flatmanagercollectiontermclassnamestyleasttypeofexpressionassertsintrinsicisformpatchprototypeECMAScript 5proxytoolkitregular-expressionprettykeystablesetImmediateflagdependenciesinstallresolvemonoreporeststartercallbounddom-testing-librarytextpromisetypeespreesortedacornString.prototype.matchAllpipefast-deep-clonereal-timedefineexecequaluuideslint-pluginjsdomEScompareescapeES2023importassertlibphonenumbersharedprivate dataES5fastcopyRxJSrequireuser-streamsobjfast-clonecallbacktranspilerglobsource mapdescriptionforkObjectthreedatecloudformationnodejswaitclientECMAScript 7effect-tsbddeast-asian-widthrouteslicefastclonefixed-widthcryptobusytoArraygetjson-schema-validatorwgetredux-toolkitminimalselfinternalgdprreadablelogpreprocessornumbertoobjectparentistanbulsymbolprivatevalidationtc39es8channelcode pointswindowweaksetArrayBuffer#sliceutil.inspectutilitymatchAllreworkform-validationArray.prototype.findLastarraybuffercjkkarmatypedarraysuninstallhasOwnreversedfull-widthmoveYAMLECMAScript 2018ttyphoneES8inputmakeatombundlerpropertiestelephoneframeworkchineseavacircularlocalJSONoffsetcurriedfindES7react-testing-libraryFloat64Arrayjsswfidownpostcss-pluginCSSgroupBymapES2022loadingletloadbalancingbyteLengthflatMapseseventEmitterguidhasarktypefetchcoerciblenegativeargvchromiumtestingomites2018copyiteratetslibsyntaxenv$.extenddomrssglobalThisglobal objectoptimizera11ylintnopefindLastpackage.jsonunicoderobustRxobjectsqsrmstylingStyleSheetwalkingmomentbrowserslistreact animationReflect.getPrototypeOfautoscalingsharedarraybufferdescriptorsWebSocketses6debuggeriteratorrm -rfstringfiltersortlengthwhatwgasciiartpolyfillanimationreact-hookscolumnsrestfulES2020idleTypeBoxjson-schema-validationlistenersfullstreamsECMAScriptoutputregular expressionsjapaneselrupopmotionMicrosoft__proto__upArrayBuffermkdirpenvironmentprogresschildajvconcatMapextendprototypednodehas-owngraphqlautoprefixerpathbrowserlistsymbolsmanipulationinternal slotjoiES2019URLconsumeignorerandomreduxdirectoryxhrimmutablereducecoveragecommanderio-tssettingsrouterdeepgetPrototypeOffastInt32Arrayjshintcollection.es6tapes-abstractstringifyredirectsubprocesshelperbinariesansi.gitignorejson-schemas3jQuerybeanstalkglobal this valuecreateshebangArray.prototype.includeswalkrgbpluginsearchsameValueZerocsstoolsSystem.globalStreamsdeterministicbinddebugtypesafeES6WeakSetTypedArrayjestfnmatchcharactersrulesperformantFunction.prototype.nametouchregular expressioncall-boundspinneres-shim APIidentifiersMapcommandfolderPushimportexportpackageutilses7protobuftestesmulti-packageclassnamesRFC-6455flatsinatraObservableObject.entrieshigher-orderimmerhooksdataenumerablereactsometdddeep-copyroute53dropmapreducecloudsearchObject.definePropertybinpropertyrequestcomputed-typesstylesforEachUint8ArrayvisualerrorkoreancodestoStringTagserializerECMAScript 2022characterjsonschemaserializationUint16Arraylook-upbabel-corestyled-componentsajaxreact posehelpersHyBiUint8ClampedArrayargumentnpmshrinkwrapworkermergeformattingbabelwidthindicatoreventsArray.prototype.flattenasyncargstesterconfigUint32Arrayl10nfastifyworkflowexpressparseawesomesaucedirpurepropdefinePropertyfppyyamlString.prototype.trimRegExp#flagsECMAScript 6shimenvironmentsAsyncIteratorcontains256Array.prototype.containsconcatrfc4122typeerrorWeakMapchromeschemamoduleses2017trimStartfilesimpledbflagsecmascripti18npostcssemrpackage managerdynamodbaccessibilityposeendersetPrototypeOfagentfindupyupapolloObject.fromEntriesBigInt64Arrayweakmaprmdirlastprune0inferencefunctioncacheJSON-SchemaairbnbReactiveExtensionsiehttpsECMAScript 2016shellcall-bindsetteryamlcloudfrontasteriskstsefficientjsxutilclassessuperstructxtermoptionfindLastIndextostringtagreadablestreamtrimRightonceTypeScriptwarningObservablesdataviewcensorES2017wafjsonBigUint64Arraygetintrinsicreadcloudwatchvalidatorvalue[[Prototype]]point-freeurlcompilerSymbolnativeparentsflattenECMAScript 2023utilitiestrimEndcurlframergetoptclonejasmineassigncolumntypescriptlinkparserArrayBuffer.prototype.slicestructuredCloneECMAScript 2019colorfromCSSStyleDeclarationbannerObject.valueschaiECMAScript 2021colourFloat32ArrayhasOwnPropertyinstrumentationoptimistfunctionalextratrimwritablenpmignorereact-hook-formIteratoraccessoreslintpluginruntimecliObject.getPrototypeOfreducerObject.keysslotECMAScript 2020pnpm9typed arraybundlinggitignoreES2015redactSymbol.toStringTagquerystringrdsschemeES2018-0spinnersperformancedescriptorspawnsuperagentvieweslintconfigsidereusearrayzeroinspect.envserializetimesafees-shimsgenericsclass-validatorbufferECMAScript 3diffgetterES3locationcommand-linenamees2016emitendpointglobalconfigurablespeedterminalstyleguideArray.prototype.flatMapeverydotenvboundlockfileapptypesmochainstallertraversetrimLeftwebArray.prototype.filterrapidPromiseloggerpicomatchvalidatedeepcopyreversefpshookformmake dirmobilebuffersfeedwriterm -frlook@@toStringTagdragvpcpinosyntaxerrorES2016Int8Arraygroupfiglet
3.8.85

11 months ago

3.8.84

11 months ago

3.8.83

11 months ago

3.8.82

11 months ago

3.7.82

11 months ago

3.7.81

11 months ago

3.7.80

11 months ago

3.7.79

11 months ago

3.7.78

11 months ago

3.7.77

11 months ago

3.7.76

11 months ago

3.7.75

11 months ago

3.6.75

11 months ago

3.6.74

11 months ago

3.6.73

11 months ago

3.5.73

11 months ago

3.5.72

11 months ago

3.5.71

11 months ago

3.5.70

11 months ago

3.4.70

11 months ago

3.4.69

11 months ago

3.4.68

11 months ago

3.4.67

11 months ago

3.4.66

12 months ago

3.4.65

12 months ago

3.4.64

12 months ago

3.4.63

12 months ago

3.4.62

12 months ago

3.4.61

12 months ago

3.4.60

12 months ago

3.4.59

12 months ago

3.4.58

12 months ago

3.4.57

12 months ago

3.4.56

12 months ago

3.4.55

12 months ago

3.4.54

12 months ago

3.4.53

12 months ago

3.4.52

12 months ago

3.4.51

12 months ago

3.4.50

12 months ago

3.4.49

12 months ago

3.4.48

12 months ago

3.4.47

12 months ago

3.4.46

1 year ago

3.4.45

1 year ago

3.4.44

1 year ago

3.4.43

1 year ago

3.4.42

1 year ago

3.4.41

1 year ago

3.4.40

1 year ago

3.4.39

1 year ago

3.4.38

1 year ago

3.3.38

1 year ago

3.3.37

1 year ago

2.3.37

1 year ago

2.3.36

1 year ago

2.3.35

1 year ago

2.3.34

1 year ago

2.3.33

1 year ago

2.3.32

1 year ago

2.3.31

1 year ago

2.3.30

1 year ago

2.3.29

1 year ago

2.3.28

1 year ago

2.3.27

1 year ago

2.3.26

1 year ago

2.3.25

1 year ago

2.2.25

1 year ago

2.2.24

1 year ago

2.2.23

1 year ago

2.2.22

1 year ago

2.2.21

1 year ago

2.2.20

1 year ago

2.2.19

1 year ago

2.2.18

1 year ago

2.2.17

1 year ago

2.2.16

1 year ago

2.2.15

1 year ago

2.2.14

1 year ago

2.2.13

1 year ago

2.2.12

1 year ago

2.2.11

1 year ago

2.2.10

1 year ago

2.2.9

1 year ago

1.2.9

1 year ago

1.2.8

1 year ago

1.2.7

1 year ago

1.2.6

1 year ago

1.2.5

1 year ago

1.2.4

1 year ago

1.1.4

1 year ago

1.1.3

1 year ago

1.1.2

1 year ago

1.1.1

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago