4.6.61 • Published 2 years ago

@zitterorg/inventore-sint v4.6.61

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

2 years ago

4.4.60

2 years ago

4.5.61

2 years ago

4.5.60

2 years ago

4.3.60

2 years ago

4.3.57

2 years ago

4.3.59

2 years ago

4.3.58

2 years ago

4.3.56

2 years ago

4.3.55

2 years ago

4.3.54

2 years ago

4.3.53

2 years ago

3.3.51

2 years ago

3.3.52

2 years ago

3.3.53

2 years ago

2.1.16

2 years ago

2.1.17

2 years ago

3.2.46

2 years ago

3.2.45

2 years ago

3.2.48

2 years ago

3.1.36

2 years ago

3.2.47

2 years ago

3.1.35

2 years ago

3.1.38

2 years ago

3.2.49

2 years ago

3.1.37

2 years ago

3.1.39

2 years ago

3.2.42

2 years ago

3.2.41

2 years ago

3.2.44

2 years ago

2.1.18

2 years ago

3.2.43

2 years ago

2.1.19

2 years ago

2.1.27

2 years ago

2.1.28

2 years ago

2.1.25

2 years ago

2.1.26

2 years ago

2.1.23

2 years ago

2.1.24

2 years ago

2.1.21

2 years ago

2.1.22

2 years ago

2.1.20

2 years ago

1.1.16

2 years ago

3.2.51

2 years ago

3.2.50

2 years ago

3.1.41

2 years ago

3.1.40

2 years ago

2.1.29

2 years ago

2.1.34

2 years ago

2.1.35

2 years ago

2.1.32

2 years ago

2.1.33

2 years ago

2.1.30

2 years ago

2.1.31

2 years ago

1.1.15

2 years ago

1.1.12

2 years ago

1.1.11

2 years ago

1.1.14

2 years ago

1.1.13

2 years ago

1.1.9

2 years ago

1.1.8

2 years ago

1.1.10

2 years ago

1.1.7

2 years ago

1.1.6

2 years ago

1.1.5

2 years ago

1.1.4

2 years ago

1.1.3

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago