2.4.30 • Published 2 years ago

@zitterorg/voluptate-aliquam v2.4.30

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('@zitterorg/voluptate-aliquam');

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

objes8jsoncoveragegetoptutilsdataViewArray.prototype.findLastIndexidnpmbufferscore-jsconfighelpersrfc4122validwidthString.prototype.matchAllschemeharmonypipedeep-copyfppushargvglobal objectfantasy-landfast-deep-copyRegExp.prototype.flagsinspectworkeracorntrimArray.prototype.flatMapmatchAlljson-schema-validatorregular expressionspinnerslooksharedarraybufferstringifymruclassesArraypackage managerRFC-6455validatorlinttoobjectSymbolwalkdirectoryclimanagerhookformprunebytefastifykeyoncereact-hook-formObject.getPrototypeOfreadworkflowmkdirpendpointprivatereadablestreamomitreduxrgbObject.valuesArrayBufferhigher-orderexecObject.definePropertyaccessibilityserializefilecloudfrontECMAScript 2017fixed-widthreducercurlinstrumentationsharedasterisksfast-deep-cloneglobalreact poseamazonguidcolumnReflect.getPrototypeOfelbroutefastcopydefineenderpurecomparetoSorted6to5poseassertserializationcloudtrailoptimizerArray.prototype.findLastoptioncommanderthree@@toStringTagimportexportArray.prototype.includesieawesomesaucewhichsnsglobal this valueenvironmentsrmsearchcachefnmatchcollection.es6testersomeimmutableexecutevesthttpsmodule.gitignoreobjectnodejsFunction.prototype.nameextendsortedes2017parsevisualefficientagenttoolsenvironmentjasmineRegExp#flagsclientprototypegenericsprogressregular-expressionpoint-freeasciiECMAScript 2016setPrototypeOfhashroute53BigInt64ArrayECMAScript 6shelltyped arraycodesajaxECMAScript 5typemulti-packagetrimRightsafeconsoleObjectiamparentequalityschemawritableloggingyupfpssymbolsespreecommandPushworkspace:*tddreworkpackagetoolkitnamesesquotestringifierassertsclass-validatorlanguagegetintrinsicwebgitignorevarsES3ES2018fullwidth_.extendes2015shebangkeysObservablessyntaxerrorsestextglobrandomcallrulespluginchildhas-owncode pointsstylingxhrparseres2018stylefslruforkjsxhttpeventses5glacierpnpm9minimaljoiintrinsiclengthfile systemfastcolorsinternal slottostringtagArray.prototype.containsloggercryptosetImmediatesymbolnumberregular expressionscolorfulleslint-pluginttystructuredClonehasOwnajvcss-in-jsquerynpmignoreistanbulapp0ECMAScript 2022Int8Arrayshimdynamodbquerystringtimesuperagenttypeerrorexecfilepackagesbundlinges6curriedterminaldeepcopy-0subprocessbeanstalkjsdifftypanionisECMAScript 2018linkECMAScript 2015matchesjesttrimLeftInt32Arraycall-boundviewelasticachestyled-componentserrorexpressionvaluemobilenopeinternalruntimeconsumeECMAScript 2020ansisameValueZerowaapivarprocessObject.entriesrm -rfpatchflagsextracolouraccessoruser-streamstapetoArrayhasfromfindJSONregexfastclonetakerdswalking256reducenegativegetreuseboundenvfoldertraverserm -frtransformdirflaglook-upgroupdatecollectionjQuerystreamscopybddtapfast-cloneramdaprotoroutingdatagraphqlinputcircularwindowjson-schemaartcall-bindpicomatchtypestranspilermatchlogrssstringStyleSheetidentifiersdropwarninginstallerspringes-shimsjshintArray.prototype.filterlistenerstoStringTagcheckebsdeepclonedebuggerreact animationmetadatabufferawsperformantbrowserlisttestunicodeURLeast-asian-widthgesturesdom-testing-libraryvpcES2020TypeBoxjavascriptqueueswfflattenUint8ClampedArraySetAsyncIteratorvalidationeslintconfigcharactersargsES7rmdirReactiveXownspawnWebSocketsreversedeverypositiveincludesECMAScript 2019atomtypedObject.assignimmersyntaxES2022concatfunctiongdprglobalsECMAScript 3cjkES8writeescapedebugreact-testing-libraryfiglettouchpopmotionlet3dsqsentriesES2019TypedArraydependency managerbundlerdotenvmkdirsprefixtranspilefilterxtermcommand-linesidetypeoffunction.lengthrequirexmlcallboundreact-hookslockfileslotpostcssconcatMapassign[[Prototype]]setterpromisegetteroutputflatrangeerrorkoreanSymbol.toStringTagenumerablecharactertransportprotobufiteratorfindupnative
2.5.65

2 years ago

2.5.61

2 years ago

2.5.62

2 years ago

2.5.63

2 years ago

2.5.64

2 years ago

2.5.58

2 years ago

2.5.59

2 years ago

2.5.60

2 years ago

2.5.55

2 years ago

2.5.56

2 years ago

2.5.57

2 years ago

2.5.54

2 years ago

2.5.51

2 years ago

2.5.52

2 years ago

2.5.53

2 years ago

2.4.39

2 years ago

2.5.47

2 years ago

2.4.36

2 years ago

2.5.48

2 years ago

2.4.35

2 years ago

2.5.49

2 years ago

2.4.38

2 years ago

2.4.37

2 years ago

2.5.43

2 years ago

2.4.32

2 years ago

2.5.44

2 years ago

2.4.31

2 years ago

2.5.45

2 years ago

2.4.34

2 years ago

2.5.46

2 years ago

2.4.33

2 years ago

2.5.40

2 years ago

2.5.41

2 years ago

2.4.30

2 years ago

2.5.42

2 years ago

2.5.50

2 years ago

2.4.18

2 years ago

2.4.17

2 years ago

2.4.19

2 years ago

2.4.14

2 years ago

2.4.16

2 years ago

2.4.15

2 years ago

2.4.29

2 years ago

2.4.28

2 years ago

2.4.25

2 years ago

2.4.24

2 years ago

2.4.27

2 years ago

2.5.39

2 years ago

2.4.26

2 years ago

2.3.14

2 years ago

2.4.21

2 years ago

2.4.20

2 years ago

2.4.23

2 years ago

2.4.22

2 years ago

2.2.14

2 years ago

2.2.13

2 years ago

1.2.12

2 years ago

1.2.13

2 years ago

1.2.11

2 years ago

1.2.8

2 years ago

1.2.9

2 years ago

1.2.10

2 years ago

1.2.7

2 years ago

1.1.7

2 years ago

1.0.7

2 years ago

1.0.6

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