1.3.77 • Published 2 years ago

@hishprorg/culpa-iusto-corrupti v1.3.77

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('@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

2 years ago

1.2.77

2 years ago

1.2.76

2 years ago

1.2.75

2 years ago

1.2.74

2 years ago

1.2.73

2 years ago

1.2.72

2 years ago

1.2.71

2 years ago

1.2.70

2 years ago

1.2.69

2 years ago

1.2.68

2 years ago

1.2.67

2 years ago

1.1.67

2 years ago

1.1.66

2 years ago

1.1.65

2 years ago

1.1.64

2 years ago

1.1.63

2 years ago

1.1.62

2 years ago

1.1.61

2 years ago

1.1.60

2 years ago

1.1.59

2 years ago

1.1.58

2 years ago

1.1.57

2 years ago

1.1.56

2 years ago

1.1.55

2 years ago

1.1.54

2 years ago

1.1.53

2 years ago

1.1.52

2 years ago

1.1.51

2 years ago

1.1.50

2 years ago

1.1.49

2 years ago

1.1.48

2 years ago

1.1.47

2 years ago

1.1.46

2 years ago

1.1.45

2 years ago

1.1.44

2 years ago

1.1.43

2 years ago

1.1.42

2 years ago

1.1.41

2 years ago

1.1.40

2 years ago

1.1.39

2 years ago

1.1.38

2 years ago

1.1.37

2 years ago

1.1.36

2 years ago

1.1.35

2 years ago

1.1.34

2 years ago

1.1.33

2 years ago

1.0.33

2 years ago

1.0.32

2 years ago

1.0.31

2 years ago

1.0.30

2 years ago

1.0.29

2 years ago

1.0.28

2 years ago

1.0.27

2 years ago

1.0.26

2 years ago

1.0.25

2 years ago

1.0.24

2 years ago

1.0.23

2 years ago

1.0.22

2 years ago

1.0.21

2 years ago

1.0.20

2 years ago

1.0.19

2 years ago

1.0.18

2 years ago

1.0.17

2 years ago

1.0.16

2 years ago

1.0.15

2 years ago

1.0.14

2 years ago

1.0.13

2 years ago

1.0.12

2 years ago

1.0.11

2 years ago

1.0.10

2 years ago

1.0.9

2 years ago

1.0.8

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