4.9.84 • Published 1 year ago

@taktikorg/omnis-excepturi v4.9.84

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@taktikorg/omnis-excepturi Version Badge

github actions coverage dependency status dev dependency status License Downloads

npm badge

Robustly .call.bind() a function.

Getting started

npm install --save @taktikorg/omnis-excepturi

Usage/Examples

const assert = require('assert');
const callBind = require('@taktikorg/omnis-excepturi');
const callBound = require('@taktikorg/omnis-excepturi/callBound');

function f(a, b) {
	assert.equal(this, 1);
	assert.equal(a, 2);
	assert.equal(b, 3);
	assert.equal(arguments.length, 2);
}

const fBound = callBind(f);

const slice = callBound('Array.prototype.slice');

delete Function.prototype.call;
delete Function.prototype.bind;

fBound(1, 2, 3);

assert.deepEqual(slice([1, 2, 3, 4], 1, -1), [2, 3]);

Tests

Clone the repo, npm install, and run npm test

typanionowndeepcloneArray.prototype.flattenprotocol-buffersnpmramdaspinnersasteriskspicomatchpackage managercall-bindworkerzodliveCSShttpfantasy-land6to5intrinsicrequestcsscloudwatchbrowserslistprunechildreact-componentjsonfetchpersistentsignedoptimisttypedarraysettingshandleryamlqueueMicrotaskjsES2020joifunctionaldescriptionmapnopeequalityfast-copydeep-copyArrayBufferjson-schematostringtageventstoSortedESgetPrototypeOfmetadataES2015writeless mixinsapollocompareansiutilitieses7scheme-validationlrutc39awsjsxperformancewritablestarteruser-streamsprocesssidefindboundpackagesES2017importsettercensorhotimportexportjesthasOwnieObservabledeterministicbytenameignorehas-ownglacierSystem.globalexitnativeagentECMAScript 2017whichgetterincludesBigInt64Arraypoint-freemonorepoclonelesscssinferencecryptofront-endmockingstatecolumnsbeanstalkcss-in-jsvestsigtermfastfile systemregular expressionassertiontyped arrayecmascripttsfunctionsassertssyntaxregexpweaksetstringifygenericses2015clientstylingschemafluxomitcloudfrontES2021routingInt8ArraysafeES5URLES2019gesturesfastclone3delasticacheUint8ClampedArraylocalvalidtacitdynamodbtakebinariesSymbolreact-hook-formstylestranspilerES3exit-codepositivepurerandomWebSocketstructuredCloneECMAScript 2020negative zerointernal slotObject.entriestextextraES2018Object.keysfastcopyvarcallbindObject.getPrototypeOfcolorsflatMapcallglobdom_.extendWeakMapelectronkinesistermttygetOwnPropertyDescriptorenderinspectremovefileidentifierstranspileviewSetRFC-6455hardlinksfixed-widthlengthespreeserializationescapeglobal objectCSSStyleDeclarationexpressreact-hookses5lintgradients css3toStringTaggroupByprefixenvironmentio-tsPromiseless cssgdpruploadstatusfast-deep-clonekeyhashdom-testing-libraryassertlazycss lessdatamanagerESnextflaginputidlejQuerycommandertelephonecliwalklogwindowsprivate datasymbolcjktypescriptredactconcatMapiterationURLSearchParamses2017collectioneslint-pluginObjectcomputed-typesdateshebangpluginlanguagereuseserializerschemesomemacosregularformsreact animationthreerecursiveoperating-systemarktypeFloat32Arraycss nestingastes-abstractchromiumless.js256letsetassignenumerablejsdiffnested cssresolvefnmatchcloudsearchajvbines2018postcss-pluginiamindicatorconfigWebSocketsgetoptnegativefullwidthdeepTypedArraystyleguidemodulesObject.assigndefinePropertysortArray.prototype.flatsuperstructservicefindLastIndexstreamsanimationrequirecallbackserializeRegExp#flagsonceObject.fromEntrieswaapimatchRxJSECMAScript 2019artBigUint64Arraycallboundutiltypedtypespinnerhelpersautoprefixereverya11ypyyamltypeerroramazontrimRightsqsStyleSheetpostcssworkflowbootstrap lesscompile lessmkdirsstringifierairbnbtrimStartuninstallsequenceutil.inspectreplayjsdomoptionFloat64ArraycompilerspeedrouteposetrimEnddiffsharedarraybufferimmutableTypeScriptbusysimpledbinstaller.envMapECMAScript 6multi-packagedescriptorerrorfast-deep-copysnsArrayBuffer#sliceformatcreatesignalshimJSON-SchemautilsUint8ArrayObservablescore-jsString.prototype.matchAllECMAScript 2018Reflect.getPrototypeOfeventDispatcherArrayBuffer.prototype.slicebabelchromereal-timestoragegatewaytesterbufferObject.valuesiteratorWeakSetarraysspawnsharedredirectsymbolsrgbhookformECMAScript 2022Microsoftxhrgraphqlacornfull-widthharmonydircodesapimoveaccessortypedarraysfigletcharacterglobalsES7accessibilityECMAScript 2021JSONworkspace:*toArraykeyscommand-linecopyi18nArraybundlingdrages2016symlinkloggingexecfileES2022subprocessdependenciesjwtquerystringcoerciblecurriedconsumeefficientdropArray.prototype.flatMapES2016env@@toStringTagopensslconcatsymlinkshookseast-asian-widthdataViewbddcollection.es6bcryptcommandstring0preserve-symlinksinstallgroupeseventEmitterpropertiesredux-toolkitlessasciiStreamreduxhandlersgetintrinsicargvtraverseback-end$.extendArray.prototype.filterstreammatchesiterateencryptioncontainstoobjectminimalIteratorform-validationruntimeArray.prototype.findLastprivatecolumnmomentoutputbannerargumentObject.istddyupcloudtrailmapreducefpmoduleisnpmignoreglobalThistestingchanneles6ECMAScript 7httpsoffsetforkString.prototype.trimbindcheckless compilerdeep-cloneStreamsmixinsvariablesES6es-shimscss variablevisualenvironmentsvariables in csswarningnamesemitargsdataviewFunction.prototype.nameponyfillkoreanprotoec2cloudformationpnpm9make dirtypesafereadablebrowserlistjsonschemachinesephonevalidatorclassnamesquotepredictableconstforEachUnderscorevalidationglobalInt32Arrayjshintloggermergebabel-corepopmotionawesomesauceprogressmatchAll[[Prototype]]s3function.lengthwgetnumberUint16ArrayArray.prototype.includesperformantSymbol.toStringTagexecoptimizerpropertyimmerArray.prototype.containstslibswfsetPrototypeOfparsertestrobustqstypesECMAScript 5gradients csszerowafsyntaxerrorreducershrinkwrappathlastUint32Arraypipeslotcoregetconsolemobilees-shim APIlinuxhigher-orderirqclassnamefastify
4.9.84

1 year ago

4.9.83

1 year ago

4.8.83

1 year ago

4.8.82

1 year ago

4.7.82

1 year ago

4.7.81

1 year ago

4.7.80

1 year ago

4.7.79

1 year ago

4.7.78

1 year ago

4.7.77

1 year ago

4.7.76

1 year ago

4.7.75

1 year ago

4.7.74

1 year ago

4.7.73

1 year ago

4.7.72

1 year ago

4.7.71

1 year ago

4.7.70

1 year ago

4.7.69

1 year ago

4.7.68

1 year ago

4.7.67

1 year ago

4.7.66

1 year ago

4.6.66

1 year ago

4.6.65

1 year ago

4.6.64

1 year ago

4.6.63

1 year ago

4.6.62

1 year ago

4.6.61

1 year ago

4.6.60

1 year ago

4.6.59

1 year ago

4.6.58

1 year ago

4.6.57

1 year ago

4.6.56

1 year ago

4.6.55

1 year ago

4.6.54

1 year ago

4.6.53

1 year ago

4.6.52

1 year ago

4.6.51

1 year ago

4.6.50

1 year ago

4.6.49

1 year ago

3.6.49

1 year ago

3.6.48

1 year ago

3.6.47

1 year ago

3.6.46

1 year ago

3.6.45

1 year ago

3.6.44

1 year ago

2.6.44

1 year ago

2.6.43

1 year ago

2.6.42

1 year ago

1.6.42

1 year ago

1.5.42

1 year ago

1.5.41

1 year ago

1.5.40

1 year ago

1.5.39

1 year ago

1.5.38

1 year ago

1.5.37

1 year ago

1.4.37

1 year ago

1.4.36

1 year ago

1.4.35

1 year ago

1.4.34

1 year ago

1.4.33

1 year ago

1.4.32

1 year ago

1.4.31

1 year ago

1.4.30

1 year ago

1.4.29

1 year ago

1.4.28

1 year ago

1.4.27

1 year ago

1.3.27

1 year ago

1.2.27

1 year ago

1.2.26

1 year ago

1.2.25

1 year ago

1.2.24

1 year ago

1.2.23

1 year ago

1.2.22

1 year ago

1.2.21

1 year ago

1.2.20

1 year ago

1.2.19

1 year ago

1.2.18

1 year ago

1.2.17

1 year ago

1.2.16

1 year ago

1.2.15

1 year ago

1.2.14

1 year ago

1.2.13

1 year ago

1.2.12

1 year ago

1.2.11

1 year ago

1.2.10

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.1.6

1 year ago

1.1.5

1 year ago

1.1.4

1 year ago

1.1.3

1 year ago

1.1.2

1 year ago

1.1.1

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago