7.5.85 • Published 1 year ago

@taktikorg/cupiditate-corrupti v7.5.85

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year 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('@taktikorg/cupiditate-corrupti');

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

schemereact-hook-formutilitiesPushoperating-systemprototypeshellECMAScript 7toStringTagredux-toolkithasbabeltrimStarttestschemaquotefile systemconstagentlinkglobal objectfunction.lengthdeep-clonereplayutilityargvfindshrinkwrap0toSortedmakewaftakebusyfpsmonorepoexpressoptimisthookformfilelivenativeless csspasswordcloudwatchES2016es2018fast-deep-clonefastcopyvestinvariantformattingsymlinkObject.entriesrgbespreetypanionsomesharedarraybufferregular-expressionentriesloggingwaapihotinternalsortjson-schema-validationzerosymlinkscacheutilsredactbyteinterruptscommander6to5toolkitsortedzxcompile lessInt8ArrayES2017dom-testing-libraryvariablesnpmsyntaxerrorRegExp.prototype.flagsbyteLengthObservablesCSSStyleDeclarationless compilerES7pnpm9deepclonejapaneserandomfast-copygraphqljsonschemaqueryopenssltoolscloudsearchgeteventDispatcheroutputtouchsignedES2018s3protoauthenticationclonefsfast-deep-copysignalsexitlockfilestringifywindowsjQueryhelpersJSON-SchemaArray.prototype.flatinspectwritablecircularfluxReflect.getPrototypeOfparsercheckassertionnumbersignalreducercolorshigher-orderflagsObject.keysselfbyteOffsetreduceargseslint-pluginfastcloneES2022Int32Arraytesterjsontypescriptstylepropertiestddflatarraysestreecore-js-0ArrayBufferArray.prototype.filterless.jsdeterministicpositivemocktypeprivatebinariesiterationextendfindLastIndexcurlweakmapansiprefiximportexportglobalfunctionalless mixinsajvstarterframerRxJSvalidation$.extendvariables in cssoptionequalfnmatchclassessettingsshamnopeRFC-6455efficient.gitignoretypedarraysBigInt64Arraytyped arrayviewFloat32Arraycoercible
7.5.85

1 year ago

7.5.84

1 year ago

7.5.83

1 year ago

7.5.82

1 year ago

7.5.81

1 year ago

7.5.80

1 year ago

6.5.80

1 year ago

6.5.79

1 year ago

5.5.79

1 year ago

5.5.78

1 year ago

5.5.77

1 year ago

5.4.77

1 year ago

5.4.76

1 year ago

5.4.75

1 year ago

5.4.74

1 year ago

5.4.73

1 year ago

5.4.72

1 year ago

5.4.71

1 year ago

5.4.70

1 year ago

5.4.69

1 year ago

5.3.69

1 year ago

5.3.68

1 year ago

5.3.67

1 year ago

5.3.66

1 year ago

5.3.65

1 year ago

5.3.64

1 year ago

5.3.63

1 year ago

5.3.62

1 year ago

5.3.61

1 year ago

5.3.60

1 year ago

5.3.59

1 year ago

5.3.58

1 year ago

5.3.57

1 year ago

5.2.57

1 year ago

5.2.56

1 year ago

5.2.55

1 year ago

5.2.54

1 year ago

5.2.53

1 year ago

5.2.52

1 year ago

5.2.51

1 year ago

5.2.50

1 year ago

5.2.49

1 year ago

5.2.48

1 year ago

5.2.47

1 year ago

5.2.46

1 year ago

5.2.45

1 year ago

5.2.44

1 year ago

5.2.43

1 year ago

5.2.42

1 year ago

5.2.41

1 year ago

5.1.41

1 year ago

5.1.40

1 year ago

5.1.39

1 year ago

5.1.38

1 year ago

4.1.38

1 year ago

4.1.37

1 year ago

4.1.36

1 year ago

4.1.35

1 year ago

4.1.34

1 year ago

4.1.33

1 year ago

4.1.32

1 year ago

4.1.31

1 year ago

3.1.31

1 year ago

3.1.30

1 year ago

3.1.29

1 year ago

3.1.28

1 year ago

3.1.27

1 year ago

3.1.26

1 year ago

3.1.25

1 year ago

3.1.24

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

2.1.17

1 year ago

2.1.16

1 year ago

2.0.16

1 year ago

2.0.15

1 year ago

2.0.14

1 year ago

2.0.13

1 year ago

2.0.12

1 year ago

2.0.11

1 year ago

2.0.10

1 year ago

2.0.9

1 year ago

2.0.8

1 year ago

2.0.7

1 year ago

2.0.6

1 year ago

2.0.5

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