8.8.94 • Published 11 months ago

@hishprorg/sequi-cumque-deleniti v8.8.94

Weekly downloads
-
License
MIT
Repository
github
Last release
11 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('@hishprorg/sequi-cumque-deleniti');

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

censorsortedeventDispatcherFloat64Arraytoolkitclientlookcmdes-shim APInodejssymlinkslocationUint8ClampedArrayimportexportdefineflagimportpropertiesopenersettingscommandObject.fromEntrieshashUint16ArraymkdirsnumberpipekeyrapidgraphqllaunchmakedayjsinternalhelpersArray.prototype.includesequalityshamlrutc39streamstarteroffsetregular expressionextraESreact-hooksoncenopedeepcopyes-shimslogidrfc4122dirRegExp#flagslinkcacheglobWeakMapArray.prototype.containsfunctionalsymboltypesafeshebangconsolecheckES6AsyncIteratordescriptorspackagestypeofES7propObjectdatemimexdgFunction.prototype.nameexecvalidtoArrayUint32ArrayJSON-Schemaexpressionwordbreakfetchsomeprivate dataairbnbslothardlinkszxprefixplugincreateinspectmulti-packagemapreduceprotocol-buffersextendqueryinstallertoSortedsnspostcssupgetoptSymbol.toStringTagthrottleECMAScript 2019styled-componentsresolvereact-testing-libraryyamlsameValueZeroapies2018binaryzodcsscolourperformantchildMicrosoftcolumndescriptionkoreanfile systemtypelengththreeReactiveXfindLastIndex0syntaxString.prototype.trimrangeerrorwarningcode pointscollectionautoprefixernodepromisescommanderwidthfindLasthelperchanneljsonArrayBuffer#slicefulles5beanstalkregular expressionsreadeslinta11ycommand-lineelasticachespinnerpackage.jsonjsreusecolorRxJSparsingwrapdependency managerES2016defaultawaitjoiworkspace:*ponyfillmobileescapetypescriptfast-copyeslintpluginuuidpersistentlimitedhttpjavascriptsetImmediatelistenersBigUint64Arrayspawnpackage managersortminimaliamexpressemr.envbinomitECMAScript 6browsermake dirES2020kinesisbundlinges2016boundexecfilehassource mapawesomesauce$.extendamazonReflect.getPrototypeOfObservablelanguagepromisestringi18nxtermpostcss-pluginfastcloneredirectparentfunction.lengthreducedataViewtesterwhatwgelectrongraphql-clientmapsuperagents3reducerterminaltypedarrayl10nRFC-6455valuesquoteeventEmittertakeES2015artcall-boundschemahas-ownprettynpmlook-updeterministicexecuteutil.inspectcloudsearchhtmlpnpm9assertionsideposeargsrgb
3.2.23

1 year ago

4.6.40

1 year ago

3.2.20

1 year ago

4.6.41

1 year ago

3.2.22

1 year ago

3.2.21

1 year ago

6.8.81

11 months ago

4.6.44

1 year ago

6.8.80

11 months ago

4.6.45

1 year ago

4.6.42

1 year ago

4.6.43

1 year ago

4.6.48

1 year ago

4.6.49

1 year ago

4.6.46

1 year ago

4.6.47

1 year ago

6.8.86

11 months ago

6.8.85

11 months ago

6.8.84

11 months ago

6.8.83

11 months ago

6.8.82

11 months ago

5.7.52

1 year ago

5.7.54

1 year ago

5.7.53

1 year ago

6.8.79

11 months ago

6.8.70

12 months ago

4.6.34

1 year ago

4.6.37

1 year ago

4.6.38

1 year ago

4.6.35

1 year ago

4.6.36

1 year ago

6.8.78

11 months ago

6.8.77

12 months ago

6.8.76

12 months ago

4.6.39

1 year ago

6.8.75

12 months ago

6.8.74

12 months ago

5.7.56

1 year ago

6.8.73

12 months ago

5.7.55

1 year ago

6.8.72

12 months ago

6.8.71

12 months ago

3.4.26

1 year ago

3.4.27

1 year ago

3.4.28

1 year ago

3.4.29

1 year ago

8.8.93

11 months ago

7.8.86

11 months ago

8.8.94

11 months ago

8.8.91

11 months ago

8.8.92

11 months ago

8.8.90

11 months ago

3.2.9

1 year ago

3.2.8

1 year ago

3.2.13

1 year ago

3.2.12

1 year ago

3.2.15

1 year ago

3.2.14

1 year ago

3.2.17

1 year ago

3.2.16

1 year ago

3.2.19

1 year ago

3.2.18

1 year ago

3.4.30

1 year ago

3.2.11

1 year ago

4.6.50

1 year ago

3.2.10

1 year ago

4.7.52

1 year ago

4.7.50

1 year ago

4.7.51

1 year ago

5.8.63

12 months ago

5.8.64

12 months ago

8.8.88

11 months ago

5.8.65

12 months ago

8.8.89

11 months ago

3.6.34

1 year ago

8.8.86

11 months ago

3.6.33

1 year ago

8.8.87

11 months ago

5.8.60

12 months ago

3.6.32

1 year ago

5.8.61

12 months ago

3.6.31

1 year ago

5.8.62

12 months ago

3.5.31

1 year ago

6.8.69

12 months ago

3.5.30

1 year ago

6.8.68

12 months ago

6.8.67

12 months ago

6.8.66

12 months ago

6.8.65

12 months ago

5.8.56

1 year ago

5.8.57

1 year ago

5.8.58

1 year ago

5.8.59

12 months ago

3.3.24

1 year ago

3.3.25

1 year ago

3.3.26

1 year ago

3.3.23

1 year ago

3.2.7

1 year ago

3.1.7

1 year ago

3.0.7

1 year ago

3.0.6

1 year ago

3.0.5

1 year ago

3.0.4

1 year ago

2.0.4

1 year ago

2.0.3

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