6.3.119 • Published 10 months ago

@taktikorg/reprehenderit-necessitatibus-culpa v6.3.119

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

@taktikorg/reprehenderit-necessitatibus-culpa 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/reprehenderit-necessitatibus-culpa

Usage/Examples

const assert = require('assert');
const callBind = require('@taktikorg/reprehenderit-necessitatibus-culpa');
const callBound = require('@taktikorg/reprehenderit-necessitatibus-culpa/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

opencreateruntimemonorepooutputbrowserlistsimple cacheanimationTypedArrayassertioncommanderlocationcmderrorcoveragenumberform-validationformcallbackemojidebugawesomesauceArray.prototype.includesES2017hookformObject.keysquoteguidtypeerrorlaunchformattinggraphql0checkWeakMapObject.getPrototypeOfpackagestreams2MicrosoftmomentbannerECMAScript 2018deep-copytraverseInt32ArrayfindLastrecursiveECMAScript 3ECMAScript 2023shellObjectserializetapnameviewreducershamtslibapiassertrangeerror_.extendpostcssecmascriptArray.prototype.flatelectronparenticonvcryptosyntaxerrortimeexpressionjson cacheefficientrequirelockfilefileajvtypanionglobalsjsxeslintconfigcodesutilitytoSortedbddspeedes-abstracttrimStartdescriptionjssqsjQueryparserendpointautoscalingRFC-6455cloudtrailfunctionclass-validatorfind-upserializationgrouppropertyprocessowntypedES5Array.prototype.findLastIndexjestES2015hasOwnwalkjapaneseWebSocketslengthsesPromisepicomatchhas-ownArray.prototype.containscolumnsconcatMapkeysstarterECMAScript 6tc39sharedObject.valueskinesisgetintrinsicquerystringroutingstyleguidechailoadingargumentsfile cachenopetrimEndlibphonenumbershimwalking256lazyreact-hooksdeleteshebangWebSocketmime-dbio-tseventEmitterprefixwarningESnextdotenvassertsmapopensclientebsgetOwnPropertyDescriptortddfixed-widthregular expressionsintrinsicansifullwidthslotequalitysymlinkstrimLeftECMAScript 2016superagentwordwrappopmotionvisualvaluesdescriptorzodtrimbyteLengthcommandenders3$.extendsharedarraybufferpathtyped arraysafeECMAScript 7toArrayStreamlook-upicudebuggerinternal slotES2020awsreadableconsolespawnindicatorutillimitedIteratorgdprsortedInt16ArraycharacterttyarktypefindLastIndexes2016Function.prototype.nameconfigratelimitweakmapRegExp.prototype.flagsminimalairbnbunicodesimpledbposeresolvepluginurlscharsetequalfunctionalObject.assignrm -frfull-widthfast-deep-copypyyamleventDispatchercall-boundcolorcallboundwhichhasOwnPropertyphoneECMAScript 2022defaultelasticachecollectionjoiconcatinferenceObservablesmakestableObject.entries[[Prototype]]identifiersgesturesenvfindupponyfillspringinvariantspinnersgetPrototypeOfdomes5limitfoldertostringtagSymbolappES8real-timeECMAScript 2019bufferslanguageperformancetermuninstallomitJSON-SchemaglobalprogressTypeScripthaschildmkdirpoptimizerregular expressionbundlingdataviewpushsearchvarses-shim APIfindReactiveXidledefineoptimistvalidationarrayscode pointsmoveSymbol.toStringTagfunctionscompareworkerstructuredClonerdsmake dirimportexportmrupositiverm -rfyupshrinkwrapredirectjavascriptjshintcharacterses7queryprivate databufferfstesterJSONamazoni18nthrottlelistenerslastjsonAsyncIteratorwebsiteduplextestingglobnode.envbyteesawaitartcore-jskoreandeepcloneECMAScript 20173dnegative zerostoragegatewayescapeinmoduleargsCSSiterateremoveObject.definePropertyObservabledom-testing-librarycoloures-shimsextrabusy@@toStringTagapolloenvironmentworkspace:*protobufpnpm9package managerwriteStyleSheetqsES2018dynamodbcolumnsetPrototypeOfdropreact posePushschemaES2019ECMAScript 2020stylestelephonesideemrsymbolsstylecallbindrobustBigInt64Arrayredux-toolkitArray.prototype.flattensorttouchreusecomputed-typesthreeRxbindperformantpreserve-symlinkstextvpcistanbulArrayBuffer.prototype.slicenamesparentscjkcoercible__proto__figletpromisestoolslinttoobjectnpm-0asciiteststreamsmatchAllimmutableprettyisConcatSpreadableTypeBoxrmdirwritableES7promisebundleres8pipeterminalpropertiesjsdiffmobilewaapitypesfilterformatArraymimeenvironmentsmergeobjmapreducexdg-openbyteOffsetiamchromiumvalidatelinewrapcontainsbreakvaluegroupByrapidtsec2modulesnodejsreactwaitprotoinstrumentationglacierl10nenumerableObject.isUnderscoreclistringifyoncestringURLarrayfetchString.prototype.matchAllstylingtoStringTagimportfastdependenciesforEachcompilerflagstringifieraccessorreaddragcall-bindcollection.es6command-lineES2016genericsUint8ClampedArrayhashURLSearchParamsavaasyncexeRegExp#flagsformsexpressECMAScript 2015rmframerarraybufferdateSetproxyimmeroptionArrayBuffer#slicecensorflathelperspackagesCSSStyleDeclarationECMAScript 2021Float64ArraysettypeofbrowserslistESconfigurablebluebirdhttpstakeinternalcssboundlogstatelessmulti-packagereduceconsumewraplrueverydatastructurextermes2015deterministictypescriptagentregexpjsonpathdeepcopyparsingtaskdayjsfunction.lengthexeciterationloggingroute53mkdirobjectflagsInt8ArrayjasmineReactiveExtensionstypeautoprefixersnscloneloggeres2018toolkitspinnerES2022chineseStreamsoffsetnativecopyextensionvestES2023symbolparseHyBiaccessibilityupprotocol-bufferssuperstructes6mimetypeslookfromswfpostcss-plugincloudformationstyled-componentsrgbcolorsxhrcloudwatchhigher-orderfile systemxdgworkflowfast-deep-cloneeventspackage.jsonbrowseriteratorreadablestreamqueueMicrotaskutil.inspectwordbreakwhatwgsameValueZeroYAMLFloat32Arrayinstaller
6.3.106

11 months ago

6.3.107

11 months ago

6.3.108

11 months ago

4.2.80

12 months ago

6.3.109

11 months ago

4.2.81

12 months ago

6.3.102

11 months ago

6.3.103

11 months ago

6.3.104

11 months ago

6.3.105

11 months ago

4.2.86

12 months ago

4.1.30

1 year ago

6.3.110

11 months ago

4.2.87

12 months ago

4.1.31

1 year ago

6.3.111

11 months ago

4.2.88

12 months ago

4.1.32

1 year ago

6.3.112

11 months ago

4.2.89

12 months ago

4.1.33

1 year ago

4.2.82

12 months ago

4.2.83

12 months ago

4.2.84

12 months ago

4.2.85

12 months ago

4.1.34

1 year ago

4.1.35

1 year ago

5.3.94

11 months ago

5.3.93

11 months ago

6.3.117

11 months ago

6.3.118

10 months ago

6.3.119

10 months ago

4.2.70

1 year ago

6.3.113

11 months ago

6.3.114

11 months ago

6.3.115

11 months ago

6.3.116

11 months ago

4.2.75

12 months ago

4.2.76

12 months ago

4.2.77

12 months ago

4.2.78

12 months ago

4.1.22

1 year ago

4.2.71

12 months ago

4.2.72

12 months ago

4.2.73

12 months ago

4.2.74

12 months ago

4.1.27

1 year ago

4.1.28

1 year ago

4.1.29

1 year ago

4.2.79

12 months ago

4.1.23

1 year ago

4.1.24

1 year ago

5.3.96

11 months ago

4.1.25

1 year ago

5.3.95

11 months ago

4.1.26

1 year ago

6.3.98

11 months ago

6.3.99

11 months ago

6.3.96

11 months ago

6.3.97

11 months ago

5.2.93

11 months ago

5.2.92

11 months ago

5.2.91

11 months ago

5.2.90

11 months ago

4.2.42

1 year ago

4.2.43

1 year ago

4.2.44

1 year ago

4.2.45

1 year ago

4.2.40

1 year ago

4.2.41

1 year ago

4.2.46

1 year ago

4.2.47

1 year ago

4.0.22

1 year ago

4.2.48

1 year ago

4.2.49

1 year ago

4.2.39

1 year ago

5.2.89

12 months ago

4.2.35

1 year ago

4.2.36

1 year ago

4.2.37

1 year ago

4.2.38

1 year ago

3.0.22

1 year ago

4.2.64

1 year ago

2.0.15

1 year ago

4.2.65

1 year ago

2.0.16

1 year ago

4.2.66

1 year ago

4.2.67

1 year ago

2.0.14

1 year ago

4.2.60

1 year ago

4.2.61

1 year ago

4.2.62

1 year ago

4.2.63

1 year ago

4.2.68

1 year ago

4.2.69

1 year ago

2.0.19

1 year ago

2.0.17

1 year ago

2.0.18

1 year ago

4.2.53

1 year ago

4.2.54

1 year ago

6.3.100

11 months ago

4.2.55

1 year ago

6.3.101

11 months ago

4.2.56

1 year ago

2.0.22

1 year ago

4.2.50

1 year ago

4.2.51

1 year ago

2.0.20

1 year ago

4.2.52

1 year ago

2.0.21

1 year ago

4.2.57

1 year ago

4.2.58

1 year ago

4.2.59

1 year ago

2.0.13

1 year ago

2.0.12

1 year ago

2.0.11

1 year ago

2.0.9

1 year ago

2.0.10

1 year ago

2.0.8

1 year ago

2.0.7

1 year ago

2.0.6

1 year ago

2.0.5

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

2.0.0

1 year ago

1.0.0

1 year ago