1.3.77 • Published 11 months ago

@hishprorg/culpa-iusto-corrupti v1.3.77

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/culpa-iusto-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

executereact animationlruES2021callboundomitajvclass-validatorclassnamevalues[[Prototype]]outputes-shim APIrdsisvisualdropflagsignalfantasy-landstylesheetfixed-widthmobilel10nrapidforEachs3es2015ES7yupArray.prototype.flatdescriptorstoolkitprefixsigtermfull-widthvalueie@@toStringTagtrimJSON-SchematddFloat64Arrayefficientdeep-clonereducersortproxydayjsObject.assignlintconcatMapdeterministicreplayassertiontextjsonschemaArray.prototype.findLastarktypeescapetypedarraystouchES2020vesthas-ownstoragegatewaycheckvarsuuidconcatgradients css3.envhookssharedless compileropenssldeepcopyflagsuser-streamslessextramovejestsideinstallbabel-corelet6to5beanstalkajaxfast-deep-copycompilercolourfptypedxhrjsdiffECMAScriptcollection.es6commandnpmignorewindowvarsameValueZeroestreesuperstructdom.gitignorepinoasteriskspropertychromiumamazonphoneasynctoSortedtypanionwaitnegativeoffsetsomecontainsdatastructure0real-timetoArraywriteWebSocketES8uninstallES2019zodfastcopynopeacornfast-copyassertSetcryptostyled-componentsspinnertoReversedttycjkcloudfrontutil.inspectrequestjsontesterObject.entriesbootstrap lessbcrypterrorzxshamsymlinksArray.prototype.flatMapglobqueryjoiintrinsicES2015HyBiassertsexpressiondependency managerdescriptionpostcssresolvewaapireact-hook-formSymbol.toStringTageventsformsfigletsyntaxerrores-abstractcall-boundsqsmixinsfindLastRegExp#flagsserializerimportjson-schema-validationcollectionFloat32Arrayes6redux-toolkithookformcircularpruneinspectAsyncIteratorUint8ClampedArrayrequiremapnodejschannelexit-codeECMAScript 5electronless cssenvtostringtagelmglobalemrcallanimationvariablespureelbSystem.globalfullhasOwn__proto__spawnchilditerationtsregexpmanagerwritablesubprocesswgettypeofcomputed-typeseffect-tsownnumberTypedArraytoobjectObjectcacheReflect.getPrototypeOfcensor$.extendcloudwatchdirgetoptFunction.prototype.namepathtermsafeoptimistES5pluginpreserve-symlinksstringgetOwnPropertyDescriptorlesscssharmonyECMAScript 6recursiveregexmodulearrayguiddiffBigUint64ArrayformattingmkdirsObject.definePropertyECMAScript 3loadingconsumerangeerroransigettercompile lessroute53testingUint16ArrayECMAScript 2021regularpackagespyyamlentriesflatglobal this valuematchesindicatorredactconstparsingshrinkwrapincludestoStringTagnpmECMAScript 2018livehigher-orderregular expressionglobalsBigInt64ArraybusypatchfilesuperagentcolumnsstablepredictableloggingpropertiesframercolorsObject.valuestyped arrayes5es-shimsaccessorrgbterminaloption3dshebangfastArraymomentenumerablestringifyes7xtermECMAScript 2019handlersarraystoolsStreamURLextendposestylingsymbolsdefinePropertymkdirpStreamstypeerrortrimLeftserializationkinesisES2022utilsignoreexecfilefullwidthprotocol-buffersiamtransportzerovariables in cssreact-hookskeysclonecolorcloudsearchqsmapreducesortedawesomesaucecopykoreanhelperquotejapaneseprocessgenericsstylemacosRxJSstatereact-componentgraphqlfindvalidationObservabledeepweaksetECMAScript 2020pushyamlprivate datapreprocessorcommand-linemkdirparsetc39loggermetadataperformancebufferURLSearchParamsECMAScript 7sharedarraybufferargschinesepicomatchfastclonelengtheast-asian-widthbrowsercallbackES2016sliceschemeremovequerystringwafWebSocketsstylesglobal objectnamewidthreduxYAMLlogless.jsUint32ArrayexecinternalRxMapESnextcloudformationcore-jsinvariantbytePushcodesequalformatlocalreuseworkflowtslibonceSymbol
1.3.77

11 months ago

1.2.77

11 months ago

1.2.76

11 months ago

1.2.75

11 months ago

1.2.74

11 months ago

1.2.73

11 months ago

1.2.72

11 months ago

1.2.71

11 months ago

1.2.70

11 months ago

1.2.69

11 months ago

1.2.68

11 months ago

1.2.67

11 months ago

1.1.67

11 months ago

1.1.66

11 months ago

1.1.65

11 months ago

1.1.64

11 months ago

1.1.63

11 months ago

1.1.62

11 months ago

1.1.61

11 months ago

1.1.60

11 months ago

1.1.59

11 months ago

1.1.58

11 months ago

1.1.57

11 months ago

1.1.56

12 months ago

1.1.55

12 months ago

1.1.54

12 months ago

1.1.53

12 months ago

1.1.52

12 months ago

1.1.51

12 months ago

1.1.50

12 months ago

1.1.49

12 months ago

1.1.48

12 months ago

1.1.47

12 months ago

1.1.46

12 months ago

1.1.45

12 months ago

1.1.44

12 months ago

1.1.43

12 months ago

1.1.42

12 months ago

1.1.41

12 months ago

1.1.40

12 months ago

1.1.39

12 months ago

1.1.38

12 months ago

1.1.37

12 months ago

1.1.36

1 year ago

1.1.35

1 year ago

1.1.34

1 year ago

1.1.33

1 year ago

1.0.33

1 year ago

1.0.32

1 year ago

1.0.31

1 year ago

1.0.30

1 year ago

1.0.29

1 year ago

1.0.28

1 year ago

1.0.27

1 year ago

1.0.26

1 year ago

1.0.25

1 year ago

1.0.24

1 year ago

1.0.23

1 year ago

1.0.22

1 year ago

1.0.21

1 year ago

1.0.20

1 year ago

1.0.19

1 year ago

1.0.18

1 year ago

1.0.17

1 year ago

1.0.16

1 year ago

1.0.15

1 year ago

1.0.14

1 year ago

1.0.13

1 year ago

1.0.12

1 year ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

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