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

1 year ago

3.4.68

1 year ago

3.4.67

1 year ago

3.4.66

1 year ago

3.4.65

1 year ago

3.4.64

1 year ago

3.4.63

1 year ago

3.4.62

1 year ago

3.4.61

1 year ago

3.4.60

1 year ago

3.4.59

1 year ago

3.4.58

1 year ago

3.4.57

1 year ago

3.4.56

1 year ago

3.4.55

1 year ago

3.4.54

1 year ago

3.4.53

1 year ago

3.4.52

1 year ago

3.4.51

1 year ago

3.4.50

1 year ago

3.4.49

1 year ago

3.4.48

1 year ago

3.4.47

1 year 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