1.1.8 • Published 2 years ago

@hishprorg/velit-nesciunt-esse v1.1.8

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years 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('@hishprorg/velit-nesciunt-esse');
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

childqueuefast-copyvarsidlecss lesshas-ownfindLastkinesisWebSocketextramatchobjprogressgenericsbabeltoReversedelasticacheimportexportwhatwgfnmatchenumerablebrowsercomparetrimLeftES6typescriptArray.prototype.flatMapreducerlastelectronES2021symbolsPushinvarianttextInt8ArraylinuxpasswordrobustObject.assigntoolkitcharacterendpointreadreplaya11yjoiinternales2016nested csstostringtageffect-ts$.extendvalueswaapiMapES2023es-shimsapollopluginsequencesymlinkmixinsrouteincludesstringifierdefinePropertyjapaneseeventEmitterconsumetrimRighteventDispatcherECMAScript 2017storagegatewayinstallerlesssigtermreact animationerror-handlingtoolsaccessoruploadnegativeviewopensslawesomesaucehttpsestreedayjsprivate datareversereact-testing-libraryflatteninputrulescodesinternal slotregular-expressionSymbolglobalsimporthelperArrayBufferes8asyncTypeBoxreal-timeuuidencryptioneveryUint32ArrayzxprivateexecutefastifychannelaccessibilityhelpersArrayBuffer.prototype.slicemobilelogdeepcopypopmotionvaluemonorepoexpressionclassnamesobjectpropertiesloadingvalidatorcoerciblecloudtrailjsxInt16ArraybrowserlistECMAScript 5fast-clonesubprocessdeepwalkWeakMapparserschema.gitignoretrimEndamazonnumberstarterES2018collectionanimationremoveharmonytrimStartreactgetECMAScript 2022datastructurerfc9562ObservableliveclassnamefindLastIndexutilitybannerpreprocessorsafesyntaxerrorconsole__proto__locallinkschemeworkerxhr6to5ebssignalshookformpredictablees5constworkspace:*byteLengthenvironmentautoscalingpathbyteOffsetzodregexArray.prototype.flatteneast-asian-widthStreamhotiamslotl10nstablenamekoreanexpressformsfulltoStringTagmatchesshamcurlcall-bindCSSStyleDeclarationwarningomitchinesepropsorttypesafeenderJSONcommandclitranspileres7deepcloneless compilertc39varESnextthreereadablestreamFloat64Arraytakegroupparsingcommand-line@@toStringTagmakeprefixworkflowpackage managercrypt0ajaxdataViews3jsdiffuser-streamsassertsetPrototypeOfdirectorycopyshellnpmstructuredCloneautoprefixerlazyperformantmake dirjwtescapebeanstalkhasOwnenvironmentstermresolveartmoduleslrubddimmerhardlinksrapidfunctionsprocess.envBigUint64Arrayfilterfigletscheme-validationvestexit-codecolorconfigurableregexpObject.getPrototypeOfclonewidthdescriptiondynamodbpoint-freereact-componentinstalltyped arraywindowslanguagees2017iterationexitquoteiteratorlogginghigher-orderURLglobgdprdropnegative zerojestformattingtddrfc4122wgetslicehttpsomecss variableArray.prototype.findLastIndexSystem.globalperformancemetadatapnpm9matchAllutilsortedchromestreamses6npmignorepinojson-schema-validatormovebrowserslisttypedreversedcolumnsbuffersrandomequalreact-hooksECMAScriptcss nestingECMAScript 2016Streamseslintpluginelbpureflagsdatebinaryroutingcalljsonschemanativearrayiecollection.es6loggerdependenciesUint8ClampedArraymapreducestylingbufferarraybuffertoArrayguidqstimeprettyerrormkdirunicodeprototypeflatMapfileESgroupByES8springObject.entrieskeySymbol.toStringTagtypereact-hook-formbindcallboundacornchaiTypeScripthooksfromvalidateInt32Arrayselfquerynodejsbootstrap cssramdaECMAScript 3-0yamlcallbackisvalidationcommanderserializationpersistentquerystringformglobal objecttypanionwritegesturesconfigCSSObject.keysauthObjectcall-boundpushdeterministicAsyncIteratorserializerponyfilloutputBigInt64Arrayemrweakmapmulti-packagerequestweaksetequalityArrayBuffer#slicehasOwnPropertybootstrap lessproxyec2gradients css3shimirqreduxjsdomclientfunction.lengthlockfilebundlerUint8ArrayObject.definePropertyMicrosoftURLSearchParamsiteratestyled-componentsfunctionmkdirscolorsframer256
5.3.73

2 years ago

5.3.72

2 years ago

5.3.71

2 years ago

5.3.70

2 years ago

5.2.70

2 years ago

5.2.69

2 years ago

5.2.68

2 years ago

5.2.67

2 years ago

5.2.66

2 years ago

5.2.65

2 years ago

5.2.64

2 years ago

5.2.63

2 years ago

5.2.62

2 years ago

5.2.61

2 years ago

5.2.60

2 years ago

5.2.59

2 years ago

5.2.58

2 years ago

5.2.57

2 years ago

5.2.56

2 years ago

5.2.55

2 years ago

5.2.54

2 years ago

5.2.53

2 years ago

5.2.52

2 years ago

5.2.51

2 years ago

5.2.50

2 years ago

5.2.49

2 years ago

5.2.48

2 years ago

5.2.47

2 years ago

5.2.46

2 years ago

5.2.45

2 years ago

4.2.45

2 years ago

4.2.44

2 years ago

4.2.43

2 years ago

4.2.42

2 years ago

4.2.41

2 years ago

4.2.40

2 years ago

4.2.39

2 years ago

4.2.38

2 years ago

4.2.37

2 years ago

4.2.36

2 years ago

4.2.35

2 years ago

4.2.34

2 years ago

4.2.33

2 years ago

3.2.33

2 years ago

3.1.33

2 years ago

3.1.32

2 years ago

3.1.31

2 years ago

3.1.30

2 years ago

3.1.29

2 years ago

3.1.28

2 years ago

3.1.27

2 years ago

3.1.26

2 years ago

3.1.25

2 years ago

3.1.24

2 years ago

3.1.23

2 years ago

3.1.22

2 years ago

3.1.21

2 years ago

3.1.20

2 years ago

3.1.19

2 years ago

3.1.18

2 years ago

2.1.18

2 years ago

2.1.17

2 years ago

1.1.17

2 years ago

1.1.16

2 years ago

1.1.15

2 years ago

1.1.14

2 years ago

1.1.13

2 years ago

1.1.12

2 years ago

1.1.11

2 years ago

1.1.10

2 years ago

1.1.9

2 years ago

1.1.8

2 years ago

1.1.7

2 years ago

1.1.6

2 years ago

1.1.5

2 years ago

1.0.5

2 years ago

1.0.4

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