10.8.107 • Published 10 months ago

@diotoborg/itaque-officiis v10.8.107

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

10 months ago

10.8.107

10 months ago

9.8.106

10 months ago

9.8.105

10 months ago

9.8.104

10 months ago

9.8.103

10 months ago

9.8.102

10 months ago

9.8.101

10 months ago

9.7.101

10 months ago

9.7.100

10 months ago

9.7.99

10 months ago

9.7.98

10 months ago

9.7.97

10 months ago

9.7.96

10 months ago

9.7.95

10 months ago

9.7.94

10 months ago

8.7.94

10 months ago

8.7.93

10 months ago

8.7.92

10 months ago

8.7.91

10 months ago

8.7.90

10 months ago

8.6.90

11 months ago

8.6.89

11 months ago

7.6.89

11 months ago

7.6.88

11 months ago

7.6.87

11 months ago

7.6.86

11 months ago

7.6.85

11 months ago

7.6.84

11 months ago

7.6.83

11 months ago

7.6.82

11 months ago

7.5.82

11 months ago

7.5.81

11 months ago

7.5.80

11 months ago

7.5.79

11 months ago

7.5.78

11 months ago

7.5.77

11 months ago

7.5.76

11 months ago

7.5.75

11 months ago

7.5.74

11 months ago

7.5.73

11 months ago

7.5.72

11 months ago

7.5.71

11 months ago

6.5.71

11 months ago

6.5.70

11 months ago

6.5.69

11 months ago

6.5.68

11 months ago

6.5.67

11 months ago

6.5.66

11 months ago

6.5.65

11 months ago

6.5.64

11 months ago

6.5.63

12 months ago

6.5.62

12 months ago

6.4.62

12 months ago

6.4.61

12 months ago

6.4.60

12 months ago

6.3.60

12 months ago

5.3.60

12 months ago

5.3.59

12 months ago

5.3.58

12 months ago

5.3.57

12 months ago

4.3.57

12 months ago

4.3.56

12 months ago

4.3.55

12 months ago

4.3.54

12 months ago

4.3.53

12 months ago

4.3.52

12 months ago

4.3.51

12 months ago

4.3.50

12 months ago

4.3.49

12 months ago

4.3.48

12 months 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