4.10.93 • Published 10 months ago

@diotoborg/facere-cupiditate v4.10.93

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

@diotoborg/facere-cupiditate Version Badge

github actions coverage dependency status dev dependency status License Downloads

npm badge

Robustly .call.bind() a function.

Getting started

npm install --save @diotoborg/facere-cupiditate

Usage/Examples

const assert = require('assert');
const callBind = require('@diotoborg/facere-cupiditate');
const callBound = require('@diotoborg/facere-cupiditate/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

fluxstarterwaapivaluepasswordpopmotionrgbES3$.extendnamereactpureglobalThiscloudsearchhelpersfindLastIndexwgetjQuerybindglobal this valuefull-widthArrayBufferreact animationlrugetPrototypeOfmetadataprivate databyteLengthes5textlintObject.entriesprotocol-buffersasyncutil.inspectES2021estreeObject.isquerynested cssArray.prototype.flatMappinomatchAllirqpyyamlttyweakmapfast-clonearraybufferwarningenderwalkObject.fromEntriescss-in-jsminimalobjectclassnames.gitignoreprotobufObject.valuesdotenvformattingbyteequalitytrimEndpostcss-plugincensorRFC-6455testes2016argsnodejsnumberreadablestreamlivestablewritabletrimStartargvslotsuperstructcolumnsjsbufferserializationrdsECMAScript 5figletexecfileerror-handlingMicrosoftflagfetchvalidatorfastcloneapollorobustTypeBoxmergescheme-validationflatMapMapreact-hooksartutilitygetsyntaxlibphonenumberReactiveXes2017toSortedPromiseconcatMapcryptogenericscjkECMAScript 7stringifiersortedfastcopycommanderbundlingchromiumharmonyArray.prototype.containstypedarrayglobal objectacornReactiveExtensionsbyteOffsettoolkitsymbolsreplayvalidateless compilerInt16ArrayvaluescurlECMAScriptmatchclassesArrayBuffer.prototype.slicel10n3durlWeakMaps3vpcjapanesefileinferenceObject.assignroutingcolumnfilteroffsetES8languagedependenciesentriesnativemockingfixed-widthvariables in cssdynamodbcollectionreduxbrowserdatastructuretostringtagemrinputRegExp#flagsviewramdatypesaferecursiveES2016PushxhrsharedfullquerystringmockcssclassnamedeletemixinsTypedArrayruntimesigtermanimationcall-binddeepcopyownutilsextrachaicomputed-typesenvtddpostcssArray.prototype.flatspeedeast-asian-widthreadRegExp.prototype.flagsobjopenssltraverserapidsignedajaxtrimLeftlazyschemeJSON-SchematypesmanagerremoveposeyupsqsxtermCSSStyleDeclarationcreatebeanstalkstylesheetsetPrototypeOfqschildArray.prototype.findLastcompile lesssetterArray.prototype.findLastIndexregularutilitiesdeep-copylogassertstypanionregular-expressioncompilerapipredictableUint16ArrayajvObjectconfigcss lessnamesio-tsdescriptionsortjsxbinshamfpbannertrimRightdeepclonepnpm9astObject.getPrototypeOfrouteindicatorfpsform-validationBigInt64Arrayless.jsStyleSheetjson-schema-validatorspinnerbinaryawesomesaucesymbolauthdeepcolorcertificatesparsertelephoneforEachgradients css3constglacierECMAScript 2017String.prototype.matchAllfront-endperformance-0queuecircularfantasy-landoperating-systemarktypeECMAScript 2020queueMicrotaskweaksetsafegdprESnextchineseisConcatSpreadableObject.keysObservablesgetintrinsicchannelECMAScript 2018YAMLextendfullwidthglobalscalltypeglobbootstrap csspluginauthenticationkoreandragbrowserslistpoint-freeproxyrangeerrorpreprocessorcollection.es6randomECMAScript 6WebSocketbootstrap lessinterruptsimmutablecallbound[[Prototype]]mapreducedataViewyamlhookform_.extendtypescriptpropertiespropertywritenodepackagesdirectoryexecutejest.envtypeofhigher-orderflattensharedarraybufferdires-shimsstring6to5react-hook-formcss nestingeventsparsenopejsonschemapatchprefixsignalsprocessjsdiffautoprefixeroptimistfast-deep-clonepathphonewindowtakeECMAScript 3i18nexit-codefast-deep-copyvalidationpipeesjavascripthookscloudwatchspinnersES2017omitmkdirimportexportcolourWebSocketsback-endcallbackdropECMAScript 2021hashspecstatusassertenumerablefunction.lengthrulesjsonchromeidentifiersmobilemodulesasciivarsaccessibilityWeakSettoStringTagoptionRxes2018colorstoobjectzerofastifyreact-componentexpressiondefineSetserverservicetacitreact posesequencees6AsyncIteratorreuseInt32ArrayStreamsdiffmulti-packagecorestylesdayjsconcatlogginglockfilejwttrimpromiseCSSponyfilldeterministicbinariesformsredux-toolkitmapclass-validatorarrayfunctionalcurriedswfmrusimpledbuser-streamsarraysbcryptexitECMAScript 2015assertiontypednegative zerooptimizerebsfsInt8ArrayES2020windowsformatlessECMAScript 2019helperbrowserlist
4.10.93

10 months ago

4.10.92

10 months ago

4.10.91

10 months ago

4.10.90

10 months ago

4.10.89

10 months ago

4.10.88

10 months ago

4.10.87

10 months ago

4.10.86

10 months ago

4.10.85

10 months ago

4.10.84

10 months ago

4.10.83

10 months ago

4.10.82

10 months ago

4.10.81

10 months ago

4.10.80

11 months ago

4.10.79

11 months ago

4.10.78

11 months ago

4.10.77

11 months ago

4.10.76

11 months ago

4.10.75

11 months ago

4.10.74

11 months ago

4.10.73

11 months ago

4.10.72

11 months ago

4.10.71

11 months ago

4.10.70

11 months ago

4.10.69

11 months ago

4.10.68

11 months ago

3.10.68

11 months ago

3.10.67

11 months ago

3.9.67

11 months ago

3.9.66

11 months ago

3.8.66

11 months ago

3.8.65

11 months ago

3.8.64

11 months ago

3.8.63

11 months ago

3.7.63

11 months ago

3.7.62

11 months ago

3.7.61

11 months ago

3.6.61

11 months ago

3.6.60

11 months ago

3.6.59

11 months ago

3.6.58

11 months ago

3.6.57

11 months ago

3.6.56

11 months ago

3.5.56

12 months ago

3.4.56

12 months ago

3.4.55

12 months ago

3.4.54

12 months ago

3.4.53

12 months ago

3.4.52

12 months ago

3.3.52

12 months ago

3.3.51

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

1 year ago

3.3.37

1 year ago

3.2.37

1 year ago

3.2.36

1 year ago

2.2.36

1 year ago

2.2.35

1 year ago

2.2.34

1 year ago

2.2.33

1 year ago

2.2.32

1 year ago

2.2.31

1 year ago

2.2.30

1 year ago

2.2.29

1 year ago

2.1.29

1 year ago

2.0.29

1 year ago

2.0.28

1 year ago

2.0.27

1 year ago

2.0.26

1 year ago

2.0.25

1 year ago

2.0.24

1 year ago

2.0.23

1 year ago

2.0.22

1 year ago

2.0.21

1 year ago

1.0.21

1 year ago

1.0.20

1 year ago

1.0.19

1 year ago

1.0.18

1 year ago

1.0.17

1 year ago

1.0.16

1 year ago

1.0.15

1 year ago

1.0.14

1 year ago

1.0.13

1 year ago

1.0.12

1 year ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

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