3.8.85 • Published 1 year ago

@hishprorg/eos-asperiores v3.8.85

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year 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

1 year ago

3.8.84

1 year ago

3.8.83

1 year ago

3.8.82

1 year ago

3.7.82

1 year ago

3.7.81

1 year ago

3.7.80

1 year ago

3.7.79

1 year ago

3.7.78

1 year ago

3.7.77

1 year ago

3.7.76

1 year ago

3.7.75

1 year ago

3.6.75

1 year ago

3.6.74

1 year ago

3.6.73

1 year ago

3.5.73

1 year ago

3.5.72

1 year ago

3.5.71

1 year ago

3.5.70

1 year ago

3.4.70

1 year ago

3.4.69

2 years ago

3.4.68

2 years ago

3.4.67

2 years ago

3.4.66

2 years ago

3.4.65

2 years ago

3.4.64

2 years ago

3.4.63

2 years ago

3.4.62

2 years ago

3.4.61

2 years ago

3.4.60

2 years ago

3.4.59

2 years ago

3.4.58

2 years ago

3.4.57

2 years ago

3.4.56

2 years ago

3.4.55

2 years ago

3.4.54

2 years ago

3.4.53

2 years ago

3.4.52

2 years ago

3.4.51

2 years ago

3.4.50

2 years ago

3.4.49

2 years ago

3.4.48

2 years ago

3.4.47

2 years ago

3.4.46

2 years ago

3.4.45

2 years ago

3.4.44

2 years ago

3.4.43

2 years ago

3.4.42

2 years ago

3.4.41

2 years ago

3.4.40

2 years ago

3.4.39

2 years ago

3.4.38

2 years ago

3.3.38

2 years ago

3.3.37

2 years ago

2.3.37

2 years ago

2.3.36

2 years ago

2.3.35

2 years ago

2.3.34

2 years ago

2.3.33

2 years ago

2.3.32

2 years ago

2.3.31

2 years ago

2.3.30

2 years ago

2.3.29

2 years ago

2.3.28

2 years ago

2.3.27

2 years ago

2.3.26

2 years ago

2.3.25

2 years ago

2.2.25

2 years ago

2.2.24

2 years ago

2.2.23

2 years ago

2.2.22

2 years ago

2.2.21

2 years ago

2.2.20

2 years ago

2.2.19

2 years ago

2.2.18

2 years ago

2.2.17

2 years ago

2.2.16

2 years ago

2.2.15

2 years ago

2.2.14

2 years ago

2.2.13

2 years ago

2.2.12

2 years ago

2.2.11

2 years ago

2.2.10

2 years ago

2.2.9

2 years ago

1.2.9

2 years ago

1.2.8

2 years ago

1.2.7

2 years ago

1.2.6

2 years ago

1.2.5

2 years ago

1.2.4

2 years ago

1.1.4

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago