4.10.93 • Published 1 year ago

@diotoborg/facere-cupiditate v4.10.93

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

1 year ago

4.10.92

1 year ago

4.10.91

1 year ago

4.10.90

1 year ago

4.10.89

1 year ago

4.10.88

1 year ago

4.10.87

1 year ago

4.10.86

1 year ago

4.10.85

1 year ago

4.10.84

1 year ago

4.10.83

1 year ago

4.10.82

1 year ago

4.10.81

1 year ago

4.10.80

1 year ago

4.10.79

1 year ago

4.10.78

1 year ago

4.10.77

1 year ago

4.10.76

1 year ago

4.10.75

1 year ago

4.10.74

1 year ago

4.10.73

1 year ago

4.10.72

1 year ago

4.10.71

1 year ago

4.10.70

1 year ago

4.10.69

1 year ago

4.10.68

1 year ago

3.10.68

1 year ago

3.10.67

1 year ago

3.9.67

1 year ago

3.9.66

1 year ago

3.8.66

1 year ago

3.8.65

1 year ago

3.8.64

1 year ago

3.8.63

1 year ago

3.7.63

1 year ago

3.7.62

1 year ago

3.7.61

1 year ago

3.6.61

1 year ago

3.6.60

1 year ago

3.6.59

1 year ago

3.6.58

1 year ago

3.6.57

1 year ago

3.6.56

1 year ago

3.5.56

1 year ago

3.4.56

1 year ago

3.4.55

1 year ago

3.4.54

1 year ago

3.4.53

1 year ago

3.4.52

1 year ago

3.3.52

1 year ago

3.3.51

1 year ago

3.3.50

1 year ago

3.3.49

1 year ago

3.3.48

1 year ago

3.3.47

1 year ago

3.3.46

1 year ago

3.3.45

1 year ago

3.3.44

1 year ago

3.3.43

1 year ago

3.3.42

1 year ago

3.3.41

1 year ago

3.3.40

1 year ago

3.3.39

1 year 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