4.6.61 • Published 12 months ago

@zitterorg/inventore-sint v4.6.61

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

@zitterorg/inventore-sint 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('@zitterorg/inventore-sint');
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

preprocessorstyled-componentsdomequalsameValueZeronpmignorematchesajvreact-hook-formglobal this valuelocationtextsomePushemitmaketrimStartprocessdefinedeepcloneexecuteredirectguidvestquoteplugin.envinputi18nhaslintfindLastIndexjsdiffcharacter256performantacornnopedirectoryUnderscorepostcssdeeprequireansiInt8Arrayserializationqueryfile systemclassesES6selfObject.keysHyBiremoveES8SetECMAScript 2020cryptoconcatdeep-clonepicomatchRegExp.prototype.flagsObservablestacithelperautoscalingtypedarraysloggingmanipulationpoint-freechromedeepcopypuremergefullwidthform-validationstructuredClonesetPrototypeOfcheckdatatostringtagperformancetypeerrorqueuecompilerrandomRFC-6455Array.prototype.findLastIndexsearchglobalsmanager6to5localestranspilemodulesprotoistanbulredactfetchinspecturldiffdotenvunicodefantasy-landoptionignoreECMAScript 7react animationmomentclass-validatorfunctionaltouchwalkdayjsnametschaispinnerinferencecode pointsbrowserlistmkdirparraybufferdescriptioncloudformationfeedes2016descriptorsfind-upprotocol-bufferschildidentifiersstringifyoffsetcommanderfpgitignoregenericsrfc4122ECMAScript 2016numberjoicloudsearchdatetakeArray.prototype.findLastFunction.prototype.namekinesiscurllockfileworkerjsonreverseduninstalles2015Object.isfsstablespawnString.prototype.matchAllrestfuljskoreangetoptgroupcallbindextendArrayBuffergetbinaryYAMLpositivezxReactiveXvariablesjestestreereadablemapreducefullbannerconfigurablestyleguidezeropushroutingsubprocess__proto__WeakSetyamlautoprefixerserializeArray.prototype.flattencontainsoptimistroute53argvsinatraAsyncIteratorjsxdebugregularlastjasmineapimulti-packagesyntaxerrorconcatMapkeybusywritablecsssymlinksjsonschemadragcolourECMAScript 2019astmatchlanguagebundlerpropertyponyfillES2021getintrinsicescapel10nutilitiesespreeStreamenumerableargumentReflect.getPrototypeOfowncjkfigletjshinttslibregular expressionURLcollectionECMAScriptloggerStreamsvalidtypetoobjectArrayagentArrayBuffer.prototype.slicedeleteconstES2017trimEndUint16ArrayqueueMicrotasktddforksettingscollection.es6telephoneprivate dataxtermparsercolumnFloat64Arrayajaxpipecachecall-bindspeedcircularresolvereadablestreamvalidateelbaccessorbuffersgraphqlsideURLSearchParamsslotstylesmatchAllglobtraverseFloat32ArraypatchcoveragehasOwnkeysESnextcommandMicrosoftformsrmdirUint32ArraybincolorscoreawsinttychromiumemojispecfunctionrmatomreduceSymbol.toStringTagflatMapreusemobiledom-testing-librarypinohtmlfastcopyproxysuperstructreact-hookscreateyupreversegetPrototypeOfassignJSONparsetesterrssargssetterindicatoreslint-pluginclassnametrimLeftsharedelasticacheincludesiedeterministicjson-schema-validatoravaprefixgdprbindIteratorES2022look-upenderfast-deep-copyglaciergesturesruntimeprettymkdirscallboundpackagedataviewiteratestoragegatewaysortedbyteOffsetreducerArray.prototype.containsstreamscss-in-jsObject.definePropertypackage managertoStringTagpackage.jsonECMAScript 2022command-lineSystem.globaltapemetadata3dairbnbdependenciesfastcloneweaksetWeakMapquerystringxmlRxJSnegativeES2018es7environmentsidECMAScript 6shimes2018CSSelectronbeanstalkenvironmentcloudfrontnodeprototypewaapisimpledbclassnameshardlinksTypeScript.gitignoreio-tsString.prototype.trimsafeomitdeep-copysharedarraybuffertermthreeletcodesvisualeverystarterObject.valuesiamvar@@toStringTagsymbolWebSocketparentinvariantcoercibleflagsextraeventEmittereventspackagescurriedhas-ownworkflowoutputes-abstractjQuerycloneimportexpressionzodenvexecfilemochaInt16ArraycharacterspropertiesUint8ArraybabelES2019asciiECMAScript 5Objectramdaflagroutejsdomfunction.lengthnamesRxfindLastdefinePropertycolortypedarrayoptimizersestesttranspilerfixed-widthfilterECMAScript 2018ECMAScript 2017binariesconsolereworkbrowserbytenativereal-timefastifystreamlooklinkutilitydataViewgetterregextypeofjavascriptnpmglobalrestschemafpsArray.prototype.includesredux-toolkitpruneeast-asian-widthmoduleinternalmkdirUint8ClampedArrayJSON-Schemacore-jsinternal slottypedfnmatchupECMAScript 2015Object.assignarraysharmonyweakmapspringStyleSheetES2016objvalidationtc39rm -frhigher-orderECMAScript 2023pyyamltypanionhooksnodejstapebsmrupnpm9toolkitbrowserslistvalidatorwidthTypedArray[[Prototype]]es5es-shimsES3toArraytestingloadingworkspace:*shell0windowfastdependency managerloadbalancingcallbackrecursivees-shim APIposeeslintconfigArray.prototype.filterstringifiermoverequestfindupasterisksglobal objectES7lengthboundtypesvalueschinesemapbddformappjson-schema-validationsource mappromiserdsconfigReactiveExtensionschannelreduxstylingPromisehookformassertionisrgbRegExp#flagsterminalkarmaInt32ArrayCSSStyleDeclarationassertpathserializeraccessibilitylogsymbolsutilswhichTypeBoxcopyuser-streamsefficientshamphoneES5isConcatSpreadableimportexportutilreacttransportswffindfull-widthArrayBuffer#sliceinstallimmer
4.6.61

12 months ago

4.4.60

1 year ago

4.5.61

12 months ago

4.5.60

12 months ago

4.3.60

1 year ago

4.3.57

1 year ago

4.3.59

1 year ago

4.3.58

1 year ago

4.3.56

1 year ago

4.3.55

1 year ago

4.3.54

1 year ago

4.3.53

1 year ago

3.3.51

1 year ago

3.3.52

1 year ago

3.3.53

1 year ago

2.1.16

1 year ago

2.1.17

1 year ago

3.2.46

1 year ago

3.2.45

1 year ago

3.2.48

1 year ago

3.1.36

1 year ago

3.2.47

1 year ago

3.1.35

1 year ago

3.1.38

1 year ago

3.2.49

1 year ago

3.1.37

1 year ago

3.1.39

1 year ago

3.2.42

1 year ago

3.2.41

1 year ago

3.2.44

1 year ago

2.1.18

1 year ago

3.2.43

1 year ago

2.1.19

1 year ago

2.1.27

1 year ago

2.1.28

1 year ago

2.1.25

1 year ago

2.1.26

1 year ago

2.1.23

1 year ago

2.1.24

1 year ago

2.1.21

1 year ago

2.1.22

1 year ago

2.1.20

1 year ago

1.1.16

1 year ago

3.2.51

1 year ago

3.2.50

1 year ago

3.1.41

1 year ago

3.1.40

1 year ago

2.1.29

1 year ago

2.1.34

1 year ago

2.1.35

1 year ago

2.1.32

1 year ago

2.1.33

1 year ago

2.1.30

1 year ago

2.1.31

1 year ago

1.1.15

1 year ago

1.1.12

1 year ago

1.1.11

1 year ago

1.1.14

1 year ago

1.1.13

1 year ago

1.1.9

1 year ago

1.1.8

1 year ago

1.1.10

1 year ago

1.1.7

1 year ago

1.1.6

1 year ago

1.1.5

1 year ago

1.1.4

1 year ago

1.1.3

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago