10.8.107 • Published 12 months ago

@diotoborg/itaque-officiis v10.8.107

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

ArrayBuffer.prototype.transfer Version Badge

github actions coverage License Downloads

npm badge

An ES6 spec-compliant ArrayBuffer.prototype.transfer shim. Invoke its "shim" method to shim ArrayBuffer.prototype.transfer if it is unavailable.

This package implements the es-shim API interface. It works in an ES5-supported environment and complies with the proposed spec.

Most common usage:

var assert = require('assert');
var transfer = require('@diotoborg/itaque-officiis');
var IsDetachedBuffer = require('es-abstract/2023/IsDetachedBuffer');

var ab = new ArrayBuffer('a');

assert.equal(IsDetachedBuffer(ab), false);
transfer(ab);
assert.equal(IsDetachedBuffer(ab), true);

if (!ArrayBuffer.prototype.transfer) {
	transfer.shim();
}

var ab2 = new ArrayBuffer('a');
assert.equal(IsDetachedBuffer(ab2), false);
ab2.transfer();
assert.equal(IsDetachedBuffer(ab2), true);

Tests

Simply clone the repo, npm install, and run npm test

ramdajson-schemaposeshebangInt32ArrayeslintconfigUint8ArrayartredirectObservableES2019directoryacornuninstallrssvalidatormomentreverseprototypeendpointqueueMicrotaskECMAScript 2020inspectignoreObject.getPrototypeOfjsdomemrequalgenericsTypeBoxworkflowbabel-corelinktypedObservablesdeterministicfunctionstoArrayimportexportmrupicomatchflagfeedsharedarraybufferdescriptorsrequestsimpledbStyleSheetajvCSSESclassnamereadserializationSystem.globalcreateObject.valuesES3streamtypeofserializeterm_.extenddefinedragglobal objectObject.keyspurefptouches8typed arrayoutputcallboundglobal this valueboundquerystringmergeextendbeanstalkgetOwnPropertyDescriptorenvironmentsdeep-clonedeepshrinkwrapenvrm -rfenderRxJSintrinsictakeshellexecuteasterisksexeccloudfrontformsiamesobjflatconfigurablestylesBigInt64ArraylrudeleteArray.prototype.flatMapArray.prototype.flatremovetostringtagmovereversedsetImmediatecode pointscloudwatchhelpersgetPrototypeOf-0mobilereworkes-abstractJSONinternalArray.prototype.filterwindowentriesmochasinatradataViewECMAScriptupcompilertoolstypescriptsameValueZerokinesislogString.prototype.trimperformantconsumevalidationconcatMappackagesparseroptionthreeelbswfECMAScript 2015webMaploggercolumnfind-upurldeep-copyreducesortfast-deep-copyslicerapidUint32ArrayresolvematchcloudsearchspawncloudformationpruneECMAScript 5findupargvprivatepyyamlchinesegetintrinsicpolyfilldebuggerArray.prototype.flattenglobalThiskeysttyfixed-widthpackageECMAScript 2021settingsharmonylintoffsetastomit0variablestc39ECMAScript 2023eventEmitterajaxbuffersvalidwalkingregular expressionprefixzodMicrosoftpropertychannelfilter__proto__writefindLastdatetoReversedinferencejsoncurriedES2016equalitysnsflagstypanionpromiseworkertextyuputilitylanguagewhatwgrmspringsqsieRegExp.prototype.flagswalkterminalownkoreanECMAScript 2017regular-expressionInt8ArrayamazonserializerjestString.prototype.matchAlleslint@@toStringTagjavascriptinstalldeepcopystreamsbrowserlookcurlclientphoneinvariantselfidlestarterJSON-SchematraversepostcssjoizxpluginglobalstacittrimStartiteratevestbusymodulenameeast-asian-widthhttpexpressdependency managerconsthttpsECMAScript 6processmkdirslastformatpush256gitignoreSymbol.toStringTagschemeconsoleECMAScript 2016visualarraybufferinternal slotreuseargumentmkdirsuperagentcollection.es6varInt16Arrayatomlook-upfolderPusheslintpluginsetregularbinarytransformbddsuperstructtddrfc4122arraymodulesmanagerarktypejson-schema-validatormapAsyncIteratorES5function.lengthvpcpackage.jsones2017rm -frprotocol-buffersclassesBigUint64Arrayreact animationgloberrorsymbolreact-hook-formrecursiveuser-streamsiteratorisConcatSpreadableforkenvironmenthooksxtermansiistanbulkarmajapaneseprivate datamonorepoSymbolbabelwarningIteratorES2021dynamodbtrimjsdifftimedescriptionparsefast-clonehtmlUnderscorepositivelistenersquerygesturesquotetoSortedmapreducemake dirdayjsagentcallback[[Prototype]]es-shimswaitelasticachegeteventsloggingclonecss-in-jscssSetidentifierstrimEndhasrmdirsetterextratesterworkspace:*instrumentationprotochromecommand-linesharedutil.inspectjson-schema-validationform-validationfastcloneprettyObject.isl10ncollectionObject.fromEntriesexecfilepreprocessorreadablebyteOffsetcopyfigletpropertiesreducerimportfastifyfpsapiglobaldatagroupmatchAllfetchhasOwndiffescapesymbolsrequireinstallersesFunction.prototype.nametrimRightWeakSetwaapiObjectECMAScript 2022hardlinksHyBirdsvarsinruntimeestreeenumerabletoobjectvalidatemulti-packageshamutilsCSSStyleDeclarationtypeYAMLrestES8Rxkeydescriptorhelperfull-widthdebugmakeES2022loadbalancingWeakMapReactiveXassignapollofindLastIndexstringifystringifierES2017dataviewfile6to5StreamssyntaxerrorreadablestreamtypeswritablergbgetoptURLSearchParamsairbnbs3a11ypatchefficientfnmatch
9.8.107

12 months ago

10.8.107

12 months ago

9.8.106

12 months ago

9.8.105

12 months ago

9.8.104

1 year ago

9.8.103

1 year ago

9.8.102

1 year ago

9.8.101

1 year ago

9.7.101

1 year ago

9.7.100

1 year ago

9.7.99

1 year ago

9.7.98

1 year ago

9.7.97

1 year ago

9.7.96

1 year ago

9.7.95

1 year ago

9.7.94

1 year ago

8.7.94

1 year ago

8.7.93

1 year ago

8.7.92

1 year ago

8.7.91

1 year ago

8.7.90

1 year ago

8.6.90

1 year ago

8.6.89

1 year ago

7.6.89

1 year ago

7.6.88

1 year ago

7.6.87

1 year ago

7.6.86

1 year ago

7.6.85

1 year ago

7.6.84

1 year ago

7.6.83

1 year ago

7.6.82

1 year ago

7.5.82

1 year ago

7.5.81

1 year ago

7.5.80

1 year ago

7.5.79

1 year ago

7.5.78

1 year ago

7.5.77

1 year ago

7.5.76

1 year ago

7.5.75

1 year ago

7.5.74

1 year ago

7.5.73

1 year ago

7.5.72

1 year ago

7.5.71

1 year ago

6.5.71

1 year ago

6.5.70

1 year ago

6.5.69

1 year ago

6.5.68

1 year ago

6.5.67

1 year ago

6.5.66

1 year ago

6.5.65

1 year ago

6.5.64

1 year ago

6.5.63

1 year ago

6.5.62

1 year ago

6.4.62

1 year ago

6.4.61

1 year ago

6.4.60

1 year ago

6.3.60

1 year ago

5.3.60

1 year ago

5.3.59

1 year ago

5.3.58

1 year ago

5.3.57

1 year ago

4.3.57

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

4.3.52

1 year ago

4.3.51

1 year ago

4.3.50

1 year ago

4.3.49

1 year ago

4.3.48

1 year ago

4.3.47

1 year ago

4.3.46

1 year ago

4.3.45

1 year ago

4.3.44

1 year ago

4.3.43

1 year ago

4.3.42

1 year ago

4.3.41

1 year ago

4.3.40

1 year ago

4.3.39

1 year ago

4.3.38

1 year ago

4.3.37

1 year ago

4.3.36

1 year ago

4.3.35

1 year ago

4.3.34

1 year ago

4.3.33

1 year ago

4.3.32

1 year ago

4.3.31

1 year ago

4.3.30

1 year ago

4.3.29

1 year ago

4.3.28

1 year ago

4.3.27

1 year ago

4.3.26

1 year ago

4.2.26

1 year ago

4.1.26

1 year ago

4.1.25

1 year ago

4.1.24

1 year ago

4.1.23

1 year ago

3.1.23

1 year ago

3.1.22

1 year ago

3.1.21

1 year ago

3.1.20

1 year ago

3.1.19

1 year ago

3.1.18

1 year ago

3.1.17

1 year ago

3.1.16

1 year ago

3.1.15

1 year ago

3.1.14

1 year ago

3.1.13

1 year ago

3.1.12

1 year ago

3.1.11

1 year ago

3.1.10

1 year ago

3.1.9

1 year ago

2.1.9

1 year ago

2.1.8

1 year ago

2.1.7

1 year ago

2.1.6

1 year ago

2.1.5

1 year ago

2.1.4

1 year ago

2.1.3

1 year ago

1.1.3

1 year ago

1.1.2

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago