2.13.111 • Published 10 months ago

@patrtorg/laboriosam-hic v2.13.111

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('@patrtorg/laboriosam-hic');

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

typescriptmkdirphashgraphqlcallboundjsonrecursiveexecformatprefixjsdomtypeObject.valuesinferencepipemonorepoes7chromeforEachSymbol.toStringTagutilshas-ownpropertieswaapiESnexttranspilefixed-widthfulltyped arrayregular-expressionvarsECMAScript 2023String.prototype.matchAllestreejshintprotobyteLengthimmutableWebSocketsrequestbusytapeastmockzerohassimpledbtransportbrowserlistcoreinstrumentationlistenersinternaltacitvalidcensorcode pointsjasmineconstcall-boundwgetarraylrupushworkflowcore-jsStreamsarktypenumberschemamake dirasynctypeerroramazonwidthrouteoutputcallbindletwhichextendBigInt64ArrayeventsflagJSON-Schemaequalitycsstrimscheme-validationbufferlook-upArray.prototype.containses-shimsstyled-componentsflattendomECMAScript 2016eslint-plugintestprotocol-buffersrestfulloggerchildsubprocessexecfiledeep-copyspinnerjsxelasticacheObject.keyscolorsfastmovehttpinvariantenvweaksetes2018whatwgArrayBuffer#slicesnsapixmlserializerindicatorsomefnmatchregular expressiondom-testing-libraryreact animationcss-in-jsignorefunction.lengthreact-testing-libraryInt32ArraycurriedfunctionalredirectescapeclassnameES2019ES2018threeeffect-tsperformanttextjestseserroristanbuldircachevarinstallerpositivestoragegatewaynamesruntimevisuallinkFloat64ArraycreateTypeBoxansiloadbalancingeslintconfigform-validationcall-binddroptoolkitxhrarraybufferassertzodclassnamesArray.prototype.findLastIndexenvironmentreuseautoscalingArray.prototype.flatMapshebangECMAScript 2015expressSymbolhooksFloat32ArrayECMAScript 2021unicodeimportexport-0private datadragflagspyyamlpopmotionimportcheckkeyES3.gitignoreajvHyBitypesafees8sortnopeES2017regexpfilejapanesevpcspeedelbclassesarraysmkdirsrdsassertionReactiveXidprunechaiec2react-hook-formjson-schema-validatoroptimistfindLastIndexfast-deep-copydataviewproxyfigletpluginObject.entriesassignCSSeventEmitterpostcssObjectgetPrototypeOfcommand-linereversedmkdirArray.prototype.flattenArrayBufferbyteOffset_.extendnodevalidationmapdefinePropertyparse0uninstallincludesdescriptorstddES2021cloudformationtakes3globalsyamlformscolumnsdescriptorisConcatSpreadablefolderaccessorjQueryRegExp#flagseveryECMAScript 2017higher-ordermodulespackagepoint-free__proto__argscircularspawnchineseupoptimizertypanionfunctionfpsaccessibilityistoobjectdiffbinObject.getPrototypeOfES5nativehelperscallrulesUint32Arraypinokeysramdafilterdependenciesparserregular expressionsprogressatomi18nlocationshaminstallremoveprototyperestfastclonelookconsumesetqueueconcatMapquerystablegettercloneWeakMaptesterquerystringvalidatetimestringifieridentifierses5mergeesdateworkerinputgetOwnPropertyDescriptorES6awesomesauceredux-toolkitmobileRxdeep-cloneECMAScript 2019redactnodejssharedarraybufferdeepclonepreprocessorbeanstalkbytetoolsbannerhtml[[Prototype]]searchfind-upstylesstringifysinatraStreamcomputed-typesbuffersgroupByWebSocketweakmap@@toStringTagendpointgetintrinsichookformArray.prototype.findLastpropertyfunctionshelper3defficientenderspecframerpnpm9httpsArray.prototype.flatcloudtrailtraversefindpatchArrayrobustECMAScript 2018prettytypesreact-hookskarmarangeerrorES8schemepicomatchfastcopyreducerUint8ArraymetadataanimationwafebsObservablecloudfrontreadablestreamfetchuser-streamssqslintsettersyntaxtrimEndasterisksBigUint64Arrayterminaldebugbrowserslistcommandsliceclass-validatorjsonschemaMapappdefineprivatemanipulationlengthcloudsearchexpressioniteratePushutiltranspilerdependency manageracorntrimLeftcryptoboundgitignore$.extenddynamodbbindtoSorteddeterministictslibpathtoStringTagES2015gesturesfsentriestoReversedxtermhasOwnPropertyuuidpropECMAScript 5managervariablespackagesArray.prototype.includessetPrototypeOfformsymbolsback-endreduxoncecompareinspectiteratorargvlocalqueueMicrotaskcolourrm -friestylinghandlerassertsnpmignoreespreematchAllrapidInt16ArrayCSSStyleDeclarationes2016trimStartrgbservicetermemitString.prototype.trimfront-endloggingflatMapbabelgetserializecjkoffsetnameintrinsicttydayjses2015sameValueZeroreducejavascriptroutingjsdiffoptionStyleSheetcollection.es6extracharacteremojireworkcolumnTypeScriptecmascriptstyleminimalPromiseobjecteslintclientshrinkwraptypedtelephonefromfast-deep-clonees-abstracteast-asian-widthRxJStouchquoteserializationvaluetypedarrayUint16ArraytstoArraypolyfillurlsyntaxerrorECMAScript 2022agentdataViewshima11yavaECMAScript 2020rmsidermdirequalAsyncIterator6to5enumerablewaitprotobufwalkingESObservablescontainshasOwncompilerFunction.prototype.namenpmlanguagestructuredClonefpfast-clonesafereact posesettingsforksymlinkstostringtagIteratormockingbinaryobjviewcopyreactautoprefixerregexfast-copydeleteObject.fromEntriesartworkspace:*owndatasetImmediatereadmapreducecloudwatchvalidatorjson-schema-validationexecuteemrcoercibleroutermochaprocesstappurebundlingutilitiesRegExp.prototype.flagsObject.assignfindupchromiumeventDispatchernegativeInt8ArrayUnderscoreglacierawsdeepapolloflates6qsfantasy-landfile systemkinesispackage managerinternal slotURLwritepostcss-pluginrssdebuggerphoneframeworkswffullwidthSetRFC-6455makeslotsortedformattingcoverageObject.ispackage.jsonObject.definePropertyservergenericsrm -rfzxenvironmentsparentsstreamsidlegroupArrayBuffer.prototype.slicevaluesbinariesio-tsvestasciiECMAScript 6JSONposewalkES2023real-timemrurequireyupsuperagentmatchesbddspinnersclimatchcallbackcolorsharedstringtestingelectronlastconfigurablefeedlogTypedArraychannelponyfillshellparentpromiseconfigstarterutilitymulti-packageES2016koreandirectorycurlcollectionReactiveExtensionsinECMAScript 7route53libphonenumberresolve256full-widthMicrosoftimmerfastifyargumentmoduleomitutil.inspectES2022tc39findLastWeakSetloadingmomentperformancesource mapspringrfc4122bundlerYAMLwritableECMAScript 3URLSearchParams.envreversetrimRightcodesdescriptionconcatreadableairbnbsuperstruct
2.13.110

10 months ago

2.13.111

10 months ago

2.13.109

10 months ago

2.12.109

10 months ago

2.12.108

10 months ago

2.11.108

10 months ago

2.10.108

10 months ago

2.10.107

10 months ago

2.10.106

10 months ago

2.10.105

10 months ago

2.10.104

10 months ago

2.10.103

10 months ago

2.10.102

10 months ago

2.10.101

10 months ago

2.10.100

10 months ago

2.10.99

10 months ago

2.10.98

10 months ago

2.10.97

10 months ago

2.10.96

10 months ago

2.10.95

10 months ago

2.10.94

11 months ago

2.10.93

11 months ago

2.10.92

11 months ago

2.10.91

11 months ago

2.10.90

11 months ago

2.10.89

11 months ago

2.10.88

11 months ago

2.9.88

11 months ago

2.9.87

11 months ago

2.9.86

11 months ago

2.9.85

11 months ago

2.8.85

11 months ago

2.8.84

11 months ago

2.8.83

11 months ago

2.8.82

11 months ago

2.8.81

11 months ago

2.7.81

11 months ago

2.7.80

11 months ago

2.7.79

11 months ago

2.7.78

11 months ago

2.7.77

11 months ago

2.7.76

11 months ago

2.6.76

11 months ago

2.6.75

11 months ago

2.6.74

11 months ago

2.6.73

11 months ago

2.6.72

11 months ago

2.6.71

11 months ago

2.6.70

11 months ago

2.6.69

11 months ago

2.6.68

12 months ago

2.6.67

12 months ago

2.6.66

12 months ago

2.6.65

12 months ago

2.6.64

12 months ago

2.6.63

12 months ago

2.6.62

12 months ago

2.6.61

12 months ago

2.6.60

12 months ago

2.6.59

12 months ago

2.6.58

12 months ago

2.6.57

12 months ago

2.5.57

12 months ago

2.5.56

12 months ago

2.5.55

12 months ago

2.5.54

12 months ago

2.5.53

12 months ago

2.5.52

12 months ago

2.5.51

12 months ago

2.5.50

12 months ago

2.4.50

1 year ago

2.4.49

1 year ago

2.4.48

1 year ago

2.4.47

1 year ago

2.4.46

1 year ago

2.4.45

1 year ago

2.3.45

1 year ago

2.3.44

1 year ago

2.3.43

1 year ago

2.3.42

1 year ago

2.3.41

1 year ago

2.3.40

1 year ago

2.3.39

1 year ago

2.3.38

1 year ago

2.3.37

1 year ago

2.3.36

1 year ago

2.3.35

1 year ago

2.3.34

1 year ago

2.3.33

1 year ago

2.3.32

1 year ago

2.3.31

1 year ago

2.3.30

1 year ago

2.3.29

1 year ago

2.3.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.1.16

1 year ago

2.1.15

1 year ago

2.1.14

1 year ago

2.1.13

1 year ago

2.1.12

1 year ago

2.1.11

1 year ago

2.1.10

1 year ago

2.1.9

1 year ago

2.1.8

1 year ago

2.1.7

1 year ago

2.1.6

1 year ago

2.1.5

1 year ago

2.1.4

1 year ago

2.0.4

1 year ago

2.0.3

1 year ago

2.0.2

1 year ago

2.0.1

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago