5.11.129 • Published 10 months ago

@diotoborg/neque-inventore-corporis v5.11.129

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months 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('@diotoborg/neque-inventore-corporis');

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

regulargradients css3graphqlcommand-linecolumnsObject.entriesschemautillistenersECMAScript 2018lengthquerybufferES5namelinewrapworkflowcalllimitedgradients cssJSONArrayBuffer#sliceES2017getPrototypeOfdatastructureunicodedataviewtrimRightcjkchromiumgdprtestersyntaxqsfindLastIndexcollection.es6metadataebspropes-shim APIRegExp#flagsECMAScript 2021mergeArray.prototype.findLastjQuerywarningcloudsearchprivate dataspinnercryptovalidatePromisereduceoncelessStyleSheetObject.issorteddatalocation256yupfpspropertyECMAScript 2020xtermlook-upcheckhttpObject.fromEntriesec2resolverfc4122stringifiersymlinksinternaltypeofjoiredux-toolkitdescriptorsWebSocketsairbnbredactfastcloneratelimitavastatelesssuperagenteslintconfigmapreducenamesmoveregular expressionwhatwgtypesfastdataViewaccessibilitysyntaxerrorfindupjestidFloat64ArraycloudwatchwaitObservableremovecopyfixed-widthiteratorarrayspositiveECMAScript 2017globbatch[[Prototype]]mruhasOwnworkerutilitiesECMAScript 2023groupByconcatpackage.jsonextendECMAScript 5estreejasmineinspectReflect.getPrototypeOfsameValueZeromatchless mixinstelephoneruntimeterminalidlesymbolscheme-validationutil.inspectstylewordbreakESxhrfindLastmapjsequalconcatMapenvironmentECMAScript 2015lockfilei18nespreecoercibleimportexportsetvalidationsymlinkzeroparentaccessorRxelmmime-dbstringsideboundprotocol-buffers$.extendes6typanioncomparestyled-componentsreduxregexpbyteLengthpostcss-pluginexpressionvaluestapES2019deepwrapUint16Arrayreadablestreamdropdeepcopyrmdirurla11yclassnamesjapaneseloadingtrimLeftl10nparentsTypedArraytypeES7busyclassesexpresschinesetesthotpolyfillcloudtrailmkdirdiffclass-validatorcss nestingUint8ClampedArrays3argvbrowserslistvisualStreamselbprotobufinstallervalueweakmaprequestquotesortbrowserlistECMAScript 2016immutablefiltergetintrinsicBigInt64Arrayes2018YAMLextensionMapfetchRxJSargsfast-copyawaitpostcssconsumeES3route53jsdiffcharactersfastifydeep-cloneObject.assignsharedarraybufferrecursivetypedObjectcommanderrdsstringifyrangeerrorreducerphonecolourschemeES8deterministicforEachtoSortedpipeString.prototype.matchAllreadablenegativedotenvUint8ArrayerrornodejstrimECMAScript 2022structuredCloneeslintpluginpredictableformobjtrimStartoptioneslintenumerablebreakprefixfast-clonelinkcallbackfluxtc39setImmediatesharedcss lessfiglettextemrtypeerrormodulesloggertypedarrayscircularoptimistajvoptimizerstylingbrowsercall-boundasciijavascriptESnextlruinferencecorsform-validationcloudfrontrm -frless cssdom-testing-libraryexecqueuegenericsECMAScript 6numberclientfullinstallRegExp.prototype.flagsfunctionalreal-time
@diotoborg/vero-atque@diotoborg/vero-eligendi-deleniti@diotoborg/vero-quaerat@diotoborg/vero-sit-doloribus@diotoborg/vitae-quo@diotoborg/voluptate-eius@diotoborg/voluptate-fuga@diotoborg/voluptate-sequi-natus@diotoborg/voluptatum-veritatis@diotoborg/voluptatum-voluptas-enim@diotoborg/a-odio@diotoborg/ad-non@diotoborg/atque-dolorem-ratione@diotoborg/consectetur-consequuntur@diotoborg/consectetur-fuga@diotoborg/consectetur-modi-reprehenderit@diotoborg/consequatur-aut@diotoborg/consequatur-sunt@diotoborg/consequatur-velit-quae@diotoborg/consequuntur-dolorem-dicta@diotoborg/consequuntur-laboriosam@diotoborg/consequuntur-laborum@diotoborg/corporis-labore@diotoborg/enim-veritatis@diotoborg/esse-accusantium-ratione@diotoborg/esse-distinctio-repellat@diotoborg/est-beatae@diotoborg/et-maxime-hic@diotoborg/eum-porro@diotoborg/eum-tempora-distinctio@diotoborg/excepturi-incidunt@diotoborg/facilis-pariatur@diotoborg/et-voluptatum-mollitia@diotoborg/eveniet-officia@diotoborg/exercitationem-culpa@diotoborg/explicabo-optio@diotoborg/facilis-unde@diotoborg/fuga-molestias@diotoborg/fuga-nihil@diotoborg/esse-perspiciatis-voluptatem@diotoborg/et-facere-iusto@diotoborg/eum-est-nulla@diotoborg/excepturi-deserunt-eaque@diotoborg/et-architecto@diotoborg/eveniet-magnam@diotoborg/explicabo-nam-iste@diotoborg/fuga-rem-inventore@diotoborg/est-necessitatibus@diotoborg/eum-deleniti-tempora@diotoborg/eveniet-eaque-fugit@diotoborg/explicabo-laboriosam-maxime@diotoborg/explicabo-vitae-velit@diotoborg/eos-quidem@diotoborg/error-nesciunt-qui@diotoborg/est-voluptate@diotoborg/eveniet-pariatur-esse@diotoborg/explicabo-pariatur@diotoborg/eligendi-est-unde@diotoborg/ex-repellat@diotoborg/facilis-perferendis@diotoborg/corporis-voluptatum-saepe@diotoborg/delectus-necessitatibus-voluptatum@diotoborg/dignissimos-officiis@diotoborg/distinctio-quaerat@diotoborg/distinctio-quia@diotoborg/dolore-odio-est@diotoborg/dolorum-saepe@diotoborg/earum-eligendi@diotoborg/corporis-repellat-dicta@diotoborg/deleniti-totam-suscipit@diotoborg/dolor-earum-quia@diotoborg/dolor-iure@diotoborg/dolorem-dolorem@diotoborg/dolores-velit@diotoborg/doloribus-error@diotoborg/eaque-iusto@diotoborg/eius-pariatur@diotoborg/cum-aliquam@diotoborg/cupiditate-perferendis-repudiandae@diotoborg/deserunt-illo-tempora@diotoborg/ea-consectetur@diotoborg/ducimus-eveniet@diotoborg/dolorum-unde@diotoborg/corporis-quia@diotoborg/corporis-optio-tenetur@diotoborg/debitis-blanditiis-dolore@diotoborg/deserunt-eum@diotoborg/dolore-nesciunt@diotoborg/dolorum-tempora@diotoborg/eius-animi-ullam@diotoborg/earum-eum-doloribus@diotoborg/culpa-at-cumque@diotoborg/cumque-repellat@diotoborg/cumque-velit-eius@diotoborg/dicta-recusandae-veniam@diotoborg/dignissimos-aliquam@diotoborg/distinctio-sed@diotoborg/dolorem-possimus@diotoborg/eaque-illum-qui@diotoborg/corrupti-beatae
5.11.129

10 months ago

5.11.128

10 months ago

5.10.119

10 months ago

5.10.118

10 months ago

5.10.117

10 months ago

5.10.116

10 months ago

5.10.122

10 months ago

2.3.28

1 year ago

5.10.121

10 months ago

2.3.27

1 year ago

5.10.120

10 months ago

2.3.29

1 year ago

2.3.24

1 year ago

5.10.125

10 months ago

2.3.23

1 year ago

5.10.124

10 months ago

2.3.26

1 year ago

5.10.123

10 months ago

2.3.25

1 year ago

2.3.22

1 year ago

2.3.21

1 year ago

3.4.50

1 year ago

3.4.51

1 year ago

3.4.52

1 year ago

3.4.53

1 year ago

4.5.60

1 year ago

2.3.39

1 year ago

2.3.38

1 year ago

5.10.115

10 months ago

2.3.35

1 year ago

5.10.114

10 months ago

2.3.34

1 year ago

5.10.113

10 months ago

2.3.37

1 year ago

5.10.112

10 months ago

2.3.36

1 year ago

2.3.31

1 year ago

2.3.30

1 year ago

2.3.33

1 year ago

2.3.32

1 year ago

1.2.16

1 year ago

1.2.17

1 year ago

1.2.15

1 year ago

5.8.96

11 months ago

5.8.97

11 months ago

5.8.98

11 months ago

5.8.99

11 months ago

5.6.71

12 months ago

5.8.95

11 months ago

5.6.70

12 months ago

3.3.50

1 year ago

2.3.46

1 year ago

2.3.45

1 year ago

2.3.42

1 year ago

2.3.41

1 year ago

2.3.44

1 year ago

2.3.43

1 year ago

1.1.15

1 year ago

2.3.40

1 year ago

5.6.62

1 year ago

5.6.61

1 year ago

5.6.64

12 months ago

5.6.63

12 months ago

5.6.60

1 year ago

5.9.112

10 months ago

5.6.69

12 months ago

5.6.66

12 months ago

5.6.65

12 months ago

5.6.68

12 months ago

5.6.67

12 months ago

3.5.57

1 year ago

3.5.56

1 year ago

3.5.55

1 year ago

3.5.54

1 year ago

3.5.53

1 year ago

3.3.46

1 year ago

5.7.95

11 months ago

3.3.47

1 year ago

5.11.125

10 months ago

3.3.48

1 year ago

3.3.49

1 year ago

5.7.92

11 months ago

5.7.91

11 months ago

5.7.94

11 months ago

5.7.93

11 months ago

5.7.90

11 months ago

2.2.21

1 year ago

5.7.85

11 months ago

5.7.84

11 months ago

5.7.87

11 months ago

5.5.60

1 year ago

1.2.18

1 year ago

5.7.86

11 months ago

1.2.19

1 year ago

5.7.81

12 months ago

5.7.80

12 months ago

5.7.83

11 months ago

5.7.82

11 months ago

5.8.110

11 months ago

5.8.111

10 months ago

5.8.112

10 months ago

4.5.58

1 year ago

4.5.59

1 year ago

1.2.20

1 year ago

4.5.57

1 year ago

1.2.21

1 year ago

5.11.127

10 months ago

5.7.89

11 months ago

5.11.126

10 months ago

5.7.88

11 months ago

5.7.74

12 months ago

5.7.73

12 months ago

5.7.76

12 months ago

5.7.75

12 months ago

5.8.106

11 months ago

5.8.107

11 months ago

5.8.108

11 months ago

5.7.72

12 months ago

5.8.109

11 months ago

5.7.71

12 months ago

5.8.102

11 months ago

5.8.103

11 months ago

5.8.104

11 months ago

5.8.105

11 months ago

5.8.100

11 months ago

5.8.101

11 months ago

5.7.78

12 months ago

5.7.77

12 months ago

5.7.79

12 months ago

1.1.14

1 year ago

1.1.12

1 year ago

1.1.11

1 year ago

1.1.10

1 year ago

1.1.13

1 year ago

1.1.9

1 year ago

1.1.8

1 year ago

1.1.7

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago