1.3.77 • Published 1 year ago

@hishprorg/culpa-iusto-corrupti v1.3.77

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

1 year ago

1.2.77

1 year ago

1.2.76

1 year ago

1.2.75

1 year ago

1.2.74

1 year ago

1.2.73

1 year ago

1.2.72

1 year ago

1.2.71

1 year ago

1.2.70

1 year ago

1.2.69

1 year ago

1.2.68

1 year ago

1.2.67

1 year ago

1.1.67

1 year ago

1.1.66

1 year ago

1.1.65

1 year ago

1.1.64

1 year ago

1.1.63

1 year ago

1.1.62

1 year ago

1.1.61

1 year ago

1.1.60

1 year ago

1.1.59

1 year ago

1.1.58

1 year ago

1.1.57

1 year ago

1.1.56

1 year ago

1.1.55

1 year ago

1.1.54

1 year ago

1.1.53

1 year ago

1.1.52

1 year ago

1.1.51

1 year ago

1.1.50

1 year ago

1.1.49

1 year ago

1.1.48

1 year ago

1.1.47

1 year ago

1.1.46

1 year ago

1.1.45

1 year ago

1.1.44

1 year ago

1.1.43

1 year ago

1.1.42

1 year ago

1.1.41

1 year ago

1.1.40

1 year ago

1.1.39

1 year ago

1.1.38

1 year ago

1.1.37

1 year 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