4.9.84 • Published 10 months ago

@taktikorg/omnis-excepturi v4.9.84

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months 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

10 months ago

4.9.83

10 months ago

4.8.83

10 months ago

4.8.82

10 months ago

4.7.82

10 months ago

4.7.81

10 months ago

4.7.80

10 months ago

4.7.79

11 months ago

4.7.78

11 months ago

4.7.77

11 months ago

4.7.76

11 months ago

4.7.75

11 months ago

4.7.74

11 months ago

4.7.73

11 months ago

4.7.72

11 months ago

4.7.71

11 months ago

4.7.70

11 months ago

4.7.69

11 months ago

4.7.68

11 months ago

4.7.67

11 months ago

4.7.66

11 months ago

4.6.66

11 months ago

4.6.65

11 months ago

4.6.64

11 months ago

4.6.63

11 months ago

4.6.62

11 months ago

4.6.61

11 months ago

4.6.60

11 months ago

4.6.59

11 months ago

4.6.58

11 months ago

4.6.57

11 months ago

4.6.56

11 months ago

4.6.55

11 months ago

4.6.54

11 months ago

4.6.53

11 months ago

4.6.52

11 months ago

4.6.51

11 months ago

4.6.50

12 months ago

4.6.49

12 months ago

3.6.49

12 months ago

3.6.48

12 months ago

3.6.47

12 months ago

3.6.46

12 months ago

3.6.45

12 months ago

3.6.44

12 months ago

2.6.44

12 months ago

2.6.43

12 months ago

2.6.42

12 months ago

1.6.42

12 months ago

1.5.42

12 months ago

1.5.41

12 months ago

1.5.40

12 months ago

1.5.39

12 months ago

1.5.38

12 months ago

1.5.37

12 months ago

1.4.37

12 months ago

1.4.36

12 months 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