6.7.112 • Published 2 years ago

@devtea2026/quia-dolores-tempore-non v6.7.112

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

ArrayBuffer.prototype.slice Version Badge

github actions coverage License Downloads

npm badge

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

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

Most common usage:

var assert = require('assert');
var slice = require('@devtea2026/quia-dolores-tempore-non');

var ab = new ArrayBuffer(1);
var arr = new Uint8Array(ab);
arr[0] = 123;

var ab2 = slice(ab);

var arr2 = new Uint8Array(ab2);
arr2[0] = 234;

assert.deepEqual(arr, new Uint8Array([123]));
assert.deepEqual(arr2, new Uint8Array([234]));

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

var ab2 = ab.slice();

var arr2 = new Uint8Array(ab2);
arr2[0] = 234;

assert.deepEqual(arr, new Uint8Array([123]));
assert.deepEqual(arr2, new Uint8Array([234]));

Tests

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

curljQuerybddinvariantregular expressionlockfilejscolorponyfillparsingsimpledbUint16Arrayfull-widthmime-dbnegativewrapwaitArray.prototype.includesonceCSSargvchromejavascripttypedarrayless.jsexecommandflagsstringifywafkinesisimmerregeximportexportmatchESnextargumentfluxserializeexpressless mixinsvisualhasOwnencryptionstatelessimmutablesqsECMAScript 5drop.envReactiveExtensionscorereact-testing-libraryECMAScript 2021ReactiveXkoreanbluebirdyamlworkertermbusywindows$.extendtypedterminalformsparentio-tsconnectspecansiObject.valuessuperagentassignwalkreadablestreamconcatnodefullloggerdeepcopycodessinatraexitredux-toolkitcharacterparentsreadIteratoroptimistES2020middlewarecallelectronlook-upreactextensiontoolkitString.prototype.trimurlfetcheslintconfigjshintwatchingemitbeanstalkinspectsetterfileprefixsafeclassnameoffsetstoragegatewaymomentwatchFilechildnamessortedshebangarraycloudtrailsymbolsfile systemvestfast-clonecall-bindopenertypesfast-deep-copy0symlinksflagduplexauthlengthUint32ArraypackagesSetmkdirsglobales-shim APIwhichsharedarraybufferappworkspace:*positivewhatwgclonewritableconsoletaskindicatoryupglacierparseES6polyfillguidvalidfolderhasenvironmentstylingpackage.jsonargsstyled-componentshashpropavawarningObject.entriesapiutilitiesrangeerrorObject.definePropertybyteOffsetjsonpathtelephonepicomatcherrorObject.getPrototypeOfxdg-openenderESsettingshookskarmabcryptdirwordwrapeslintpluginobjectdataViewsyntaxerrorFunction.prototype.nameframeworktoolsInt8ArrayiteratecloudwatchformattingUint8ArrayfastifyReflect.getPrototypeOfnopeajvlaunchjoiArray.prototype.flatenumerableconcurrencytoobjectidentifiersunicodeexit-codedom-testing-librarymakeRxexpressionairbnbconcatMapArray.prototype.filterHyBireact-hooksfind-upnested cssbufferslivetrimLeftwebreduceisConcatSpreadablefsroute53extragenericsWeakMapflattenelbbyteLengthmulti-packageworkflowregulareslintreusebundlingbufferdeep-copydateeverytouchefficientshimsetImmediatemoduleECMAScript 2022dotenvequalitybannerprivatelibphonenumbercopylimitfindcss nestingfromcall-boundtyped arraycircularhttpsoutputbundlercryptohttpqueueMicrotaskTypeBoxrestfulsignalsmodulespropertiesvariablesECMAScript 2018-0trimRightJSON-SchemaECMAScript 2016less cssES2016RxJSlogreal-timetypeerrorwebsitees5Uint8ClampedArrayObservablesbrowserscheme-validationinperformantfastclonenegative zerogroupelmdeterministic256command-lineECMAScript 2015jwtwritepnpm9preprocessorswfargumentssharedschemapostcsses2016compile lessArrayBuffer#slicemimetypesArray.prototype.findLastIndexeventDispatcherpostcss-plugintextconsumeobjcssWeakSetstyleECMAScript 6viewplugines-abstracttimehigher-orderStyleSheetdayjssearch__proto__jasminecode pointsgetterfilterECMAScript 2017spinnercore-jsrdsvaluesexecArray.prototype.flattenuninstallMapqueuesomeES8gradients cssFloat32Arraytesterbrowserslistinputform-validationfastthrottlerestredactregexpequalObjectoptimizerArray.prototype.containspackageschemefindLastES2015mochaquotetraversewalkingtddstreamsarraybufferaccessibilityiteratorsetStreamsdefinestreamcolumnparseromitpruneassertsemojiES5ECMAScript 2020arraysoperating-systemES2017rgbpasswordstdliblrulastRFC-6455uuidlesscssdeep-cloneloadbalancingstartreact-hook-formpromisemimechromiumcolouresdiffprocessstablephonelinewrapsymbolpredictablespinnersclass-validatordatacreateless compilerdomdefinePropertyendpointes2015bootstrap cssTypedArraynpmperformancemobileinternaloptionwgetpushasciipackage managerserializationecmascriptpathArrayBuffer.prototype.slicelookruntimetypecommanderdescriptorsestreejsdomES2022callbackdependencieshardlinksES2018fixed-widthcollectionmixinsformatstringratelimitfast-copyTypeScriptutil.inspectbreakclichineselistenerscjkfastcopytapesignalstaterecursiveenvironmentsprotoroutercss variablequeryutilityObject.ismatcheshas-owniterationvariables in csscloudformationboundprogressxhrgetoptsymlinkremovechannelargparsecrypttypesafeminimalsetPrototypeOfs3censorSymbolYAMLbrowserlistURLpatchshamfullwidthURLSearchParamsajaxeventEmittercheckInt32Arrayhelperscss-in-jshotrequiresideformsequencetsmonorepofindLastIndexcss lessrmdirgetPrototypeOfprivate dataslotbindrmes8error-handlinggetcompilercomputed-typesarktypeObject.keyslintzodObservablereadableurlspreserve-symlinksastnumberArrayenvArray.prototype.flatMapdescriptormetadatastylesttyinferencevalidatees2017loadingstylesheetBigInt64Arraydefaultflatprotocol-buffersincludesawaitnativepromiseskeymacosmapreduceupcoerciblefunctionalnodejsmatchAllWebSocketpipegdprpersistentflatMapvpcRegExp.prototype.flagstesttoSortedcachesigtermdebuggermergeES2021jsdifftostringtag@@toStringTagcloudsearchfseventsdeeptrimStartES2019
6.7.112

2 years ago

6.7.111

2 years ago

6.7.110

2 years ago

6.7.109

2 years ago

6.7.108

2 years ago

6.7.107

2 years ago

5.7.107

2 years ago

5.7.106

2 years ago

3.1.56

2 years ago

5.6.94

2 years ago

3.1.55

2 years ago

3.1.58

2 years ago

3.1.57

2 years ago

5.6.91

2 years ago

5.6.90

2 years ago

3.1.59

2 years ago

5.6.93

2 years ago

5.6.92

2 years ago

3.1.50

2 years ago

3.1.52

2 years ago

3.1.51

2 years ago

3.1.54

2 years ago

3.1.53

2 years ago

3.1.67

2 years ago

3.1.66

2 years ago

5.6.86

2 years ago

3.1.61

2 years ago

3.1.60

2 years ago

3.1.63

2 years ago

3.1.62

2 years ago

3.1.65

2 years ago

3.1.64

2 years ago

4.2.75

2 years ago

4.2.76

2 years ago

4.2.77

2 years ago

4.2.74

2 years ago

5.6.88

2 years ago

5.6.87

2 years ago

5.6.89

2 years ago

2.1.27

2 years ago

2.1.28

2 years ago

5.3.85

2 years ago

3.1.45

2 years ago

3.1.47

2 years ago

3.1.46

2 years ago

3.1.49

2 years ago

3.1.48

2 years ago

2.1.29

2 years ago

2.1.38

2 years ago

2.1.39

2 years ago

2.1.36

2 years ago

2.1.37

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

5.7.101

2 years ago

2.1.30

2 years ago

5.7.102

2 years ago

2.1.31

2 years ago

5.7.100

2 years ago

5.7.105

2 years ago

5.7.103

2 years ago

5.7.104

2 years ago

3.2.68

2 years ago

3.2.67

2 years ago

3.2.69

2 years ago

2.1.45

2 years ago

2.1.43

2 years ago

2.1.44

2 years ago

2.1.41

2 years ago

2.1.42

2 years ago

2.1.40

2 years ago

5.5.86

2 years ago

5.7.96

2 years ago

5.2.82

2 years ago

5.7.95

2 years ago

5.2.81

2 years ago

5.7.98

2 years ago

5.2.80

2 years ago

5.7.97

2 years ago

5.7.94

2 years ago

3.2.71

2 years ago

3.2.70

2 years ago

3.2.73

2 years ago

3.2.72

2 years ago

3.2.74

2 years ago

5.7.99

2 years ago

5.2.85

2 years ago

5.2.84

2 years ago

5.2.83

2 years ago

5.2.79

2 years ago

5.2.78

2 years ago

5.2.77

2 years ago

2.0.19

2 years ago

2.0.26

2 years ago

2.0.27

2 years ago

2.0.24

2 years ago

2.0.25

2 years ago

2.0.22

2 years ago

2.0.23

2 years ago

2.0.20

2 years ago

2.0.21

2 years ago

5.4.85

2 years ago

5.4.86

2 years ago

2.0.18

2 years ago

2.0.17

2 years ago

2.0.15

2 years ago

2.0.16

2 years ago

2.0.14

2 years ago

2.0.13

2 years ago

2.0.12

2 years ago

2.0.11

2 years ago

2.0.10

2 years ago

2.0.9

2 years ago

2.0.8

2 years ago

2.0.7

2 years ago

2.0.6

2 years ago

2.0.5

2 years ago

2.0.4

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago