5.6.86 • Published 10 months ago

@taktikorg/esse-totam v5.6.86

Weekly downloads
-
License
MIT
Repository
github
Last release
10 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('@taktikorg/esse-totam');

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

gradients css3wafschemaIteratorgetPrototypeOfspeedasyncchannelES6assertionequalphonecloudtraileventspropertyrgbbuffersjson-schema-validatorenvironmentsES2020mergereal-timeArray.prototype.findLastIndexRegExp#flagsTypeBoxoptionglobalThises6walktranspileflagsfetchhasOwnworkspace:*ES2023spawndomexpressArray.prototype.flatMapconfigerrorless mixinsglobtrimRighttoolsES5prototypeperformantdependency managerlengthmonorepoECMAScript 3scheme-validationprotocol-bufferscompile lessschemepropreact-componentajvquotehttpsvalidtddcloudwatchbindmatchAllrangeerrorinvariantarraysexec6to5shebangmapreducees-shim APIdescriptionpipehelpersES2021jsonnopearraybufferdescriptorclientcolumnworkerregexstyleguideCSSStyleDeclarationqueueloggingvpcMicrosoftperformanceescapebyteeslintcore-jsutilitiesWebSockettrimStartObject.isclonecallbackmockingfile systemgetoptargsio-tsartserializermoveclassnamesutil.inspectES2017managerrouting.gitignorecachecryptobusyfixed-widthfasterror-handlingoptimizerlibphonenumberflatoptimistSymbol.toStringTagvarsprivatestylesruntimestringifystablereadclass-validatoranimationcliRxJSexit-codehigher-orderchecksequenceObject.defineProperty_.extendreact-testing-librarycss nestingsortserializeonceslotpredictableReactiveXwhatwgESnextpaths3assertspromisebinBigInt64ArrayObject.keysroute53figletparsemappackage.jsonignoreinspectStyleSheetdropnamestypedjapaneseUint32ArrayfullRFC-6455omitArray.prototype.flatflatMappreprocessorshimextendnumberresolvejQueryreadableharmonyenvjsxArrayBuffer#slicetypepackagescrypteveryvariables in csstyped arraylesscssquerystringes2016negative zerocallbindwarninges-shimsincludesieECMAScript 7serializationprettydataViewfpprefixes-abstracttestelectronuploadstreamsmacosforEachchildrandomtacitqueueMicrotaskObject.valuesbannerjsruleses2015keystatuszodpersistentpatchtoSortedpinoconfigurablecollection.es6BigUint64ArrayECMAScript 2017tostringtagvalueWeakSetamazondotenvjson-schema-validationpopmotionreplayES8matchdiffobjSystem.globalUnderscoresymbolfunctionsbundlerArrayprotobufStreamscreatedataArrayBuffer.prototype.sliceeffect-tslocalreduxdeep-clonepluginObject.getPrototypeOfjavascriptbyteOffsetastes2017operating-systemSeteslintconfigglobalenumerableuser-streamsfast-deep-copyObject.assignsyntaxerrorbcryptmakeArray.prototype.includesremovelinuxcolorcollectionprocessexpressionvalidatecorelocationirqenvironmentcommandersyntaxcomputed-typesfileebsagentemitcss variablepoint-freesomeframereast-asian-widthmetadataliveimportexportmulti-packagejestec2datastructureapollohotwidthmake dirTypeScriptvalidationtypanionESFunction.prototype.namees2018ES2019URLchromiumspinnercopymockextratrimEndString.prototype.trimtypedarraysformatRxchinesegradients cssWebSocketsxhrajaxtslibhandlerselmcurriedArray.prototype.flattenjoiredactstreamtypedarrayiterateprogressYAMLlastmkdirsminimaluninstallfunction.lengthECMAScriptgetfastcopyflattensignedgroupjsdiffsetImmediatesignalbufferbrowseraccessibilityglobal objectformslanguageregular-expressionpnpm9dynamodbSymbolreact-hooksproxylazyzxoffsetpreserve-symlinkslessES2022shrinkwrapreusetypeerrorreadablestreamcjkefficientwgeturlglobal this valueqsPromisefluxrobustinternalawesomesauceentriesfpssettingsselfsignalsvisuallockfilesortedkinesisservicebrowserslistgetterapisnsfantasy-landgdprlintstyled-componentsAsyncIteratorhas-ownstylesheetwindowES2015installES3propertieswhichtoStringTaghasless csstextfindLastback-endhasOwnPropertyfindiscolorsa11yECMAScript 2018estreebinariesbyteLengthkeysconcatMapcallboundnodejsArray.prototype.filterintrinsicweakmapMapbeanstalkbabel-coresharedarraybufferimmutableargvnamesigtermeventDispatcher.envlistenerspushinferenceutilconsolesymbolsserverjshintECMAScript 2020typesesstatedayjshardlinkspositiveconcatnested cssbrowserlistdeep-copybootstrap lessmkdirpmobilefastclonefront-endassigncommand-linefunctionregexpjsdompicomatchfull-widthl10neslintplugintranspilersuperagentcss lessvariablesfilterelasticachetrimsuperstructtimeexitnpmignorethreedatextermhashstarterinstallertsasciiECMAScript 2016redirectpolyfillsubprocesscolourstylegraphqlisConcatSpreadableforksimpledbeslint-plugininternal slotwaitcontainsinfastifyreact poseless.jsgetOwnPropertyDescriptorES2016fsclassesdeepcloneparserflagvestyupHyBiECMAScript 2023loggermodulecall-bindcss-in-jsdescriptorsauthenticationkoreanrapid-0iterationgesturesmixinsarrayECMAScript 2021traverseFloat32Arrayfast-clonehelperObject.fromEntriesauth3dreactarktype$.extendsetterjwtramdaaccessorbinaryString.prototype.matchAlllrumomentstoragegatewaychromelinkweaksetbootstrap csshandlerloadinghookssetfunctionalnativecolumnsmkdirpackage managerterminalposees5ttyansitouchespreestatelessvalidatorautoscalingboundjson-schemacodesInt32ArrayautoprefixerroutewindowsconsumeslicerdsWeakMaphttpfullwidthpostcss-pluginfnmatch__proto__emridleES2018deepECMAScript 2022importtestingglaciervardeepcopyworkflowfast-deep-cloneloadbalancingstructuredCloneponyfillUint8ClampedArrayPushqueryconstasterisksfast-copyStreamendpointassertbddTypedArrayopensslUint8ArraytoobjectrecursivefindLastIndexshamdirdataviewReactiveExtensionsrequirechaitelephoneObject.entriesJSONtc39react animationutils256calldependenciesArrayBufferformencryptiondirectoryvaluesswfObservableindicatorJSON-SchemawaapisafeshellpasswordobjecttoolkitcurlcommandtransportreducersharedtermcircularURLSearchParamssymlinkcloudsearchviewsymlinksreact-hook-formwritableECMAScript 6Float64Arrayes7mruacornawscloudformationes8unicodesetPrototypeOfloggroupByECMAScript 2015execfileformattingcomparedefinePropertygetintrinsicspecargument@@toStringTagdeterministicgitignoredom-testing-libraryRegExp.prototype.flagstoArraystringifierECMAScript 5[[Prototype]]sideexecuteReflect.getPrototypeOfUint16Arrayfrompyyamlequalityregular expressioncertificatesmodulesclassnameownCSSsqstakeutilitypostcssArray.prototype.containsspringmatchesregularsesglobalsjsonschemaObjectspinnerscall-boundcompilersigintcharacterstylingtypesafeendertypescriptInt8Arraytypeofdragiamrequestprotobabelstringiteratorprivate dataelbArray.prototype.findLastcloudfrontzeronpmecmascriptECMAScript 2019yamlnodeoutputi18nInt16Arrayform-validationprunetrimLefteventEmitterdeletesameValueZerotesterwriteless compilerhookformpureredux-toolkitgenericscensorES7reduceinput
5.6.86

10 months ago

5.6.85

10 months ago

5.6.84

10 months ago

5.5.84

10 months ago

5.5.83

10 months ago

5.5.82

10 months ago

5.5.81

10 months ago

5.5.80

11 months ago

5.5.79

11 months ago

5.5.78

11 months ago

5.5.77

11 months ago

5.5.76

11 months ago

5.5.75

11 months ago

5.5.74

11 months ago

5.5.73

11 months ago

5.5.72

11 months ago

5.5.71

11 months ago

5.5.70

11 months ago

5.5.69

11 months ago

5.5.68

11 months ago

5.5.67

11 months ago

5.5.66

11 months ago

5.5.65

11 months ago

5.5.64

11 months ago

4.5.64

11 months ago

4.5.63

11 months ago

4.5.62

11 months ago

4.5.61

11 months ago

4.5.60

11 months ago

4.5.59

11 months ago

4.5.58

11 months ago

4.5.57

11 months ago

4.5.56

11 months ago

4.4.56

11 months ago

4.4.55

11 months ago

4.4.54

11 months ago

4.4.53

11 months ago

4.4.52

12 months ago

4.4.51

12 months ago

4.4.50

12 months ago

3.4.50

12 months ago

3.3.50

12 months ago

3.3.49

12 months ago

3.3.48

12 months ago

3.3.47

12 months ago

3.3.46

12 months ago

3.3.45

12 months ago

3.3.44

12 months ago

3.3.43

12 months ago

3.3.42

12 months ago

3.3.41

12 months ago

3.3.40

12 months ago

3.3.39

12 months ago

3.3.38

12 months ago

3.3.37

12 months ago

3.3.36

12 months ago

3.3.35

12 months ago

3.3.34

1 year ago

3.3.33

1 year ago

3.3.32

1 year ago

3.2.32

1 year ago

3.2.31

1 year ago

3.2.30

1 year ago

3.2.29

1 year ago

3.2.28

1 year ago

2.2.28

1 year ago

2.2.27

1 year ago

2.2.26

1 year ago

2.2.25

1 year ago

2.2.24

1 year ago

2.2.23

1 year ago

2.2.22

1 year ago

2.2.21

1 year ago

2.2.20

1 year ago

2.2.19

1 year ago

2.2.18

1 year ago

2.2.17

1 year ago

2.2.16

1 year ago

2.2.15

1 year ago

2.2.14

1 year ago

2.1.14

1 year ago

1.1.14

1 year ago

1.1.13

1 year ago

1.1.12

1 year ago

1.1.11

1 year ago

1.1.10

1 year ago

1.1.9

1 year ago

1.1.8

1 year ago

1.1.7

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