9.4.89 • Published 11 months ago

@dramaorg/cumque-animi-porro v9.4.89

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

@dramaorg/cumque-animi-porro Version Badge

github actions coverage dependency status dev dependency status License Downloads

npm badge

Robustly .call.bind() a function.

Getting started

npm install --save @dramaorg/cumque-animi-porro

Usage/Examples

const assert = require('assert');
const callBind = require('@dramaorg/cumque-animi-porro');
const callBound = require('@dramaorg/cumque-animi-porro/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

regular expressionsajaxdataviewshrinkwrapurlinvariantairbnbfast-clonetrimStartrequestsetPrototypeOfreadablestreamdeleteWebSocketmonorepovestconnecthasReactiveXbrowserslistdeep-copydescriptorcontainsclis3whatwgcompile lessObject.keysweakmapformcolorexpressionmoduleworkflowpathforEachjsxString.prototype.matchAllESnextprogressoperating-systemstringfindLastIndexmatchAllcollection.es6ES2015StyleSheetArray.prototype.flatnegative zerowatchFilepropertiesconcatMapes2018jasminefindLastreal-timeObject.fromEntriessymbolscloudfrontcirculares8consumenodejsSymbol.toStringTaggroupByTypedArrayutileventsspeedrandommimeconsoledefinePropertyform-validationclassnamesObject.assignebsslotmulti-packagea11ykoreanfunctionalshimpromisescurlenumerablewrapcopypolyfillpruneFloat32Arraybundlingtc39protobufreduxgetes5fetchMapchanneltyped arrayauthECMAScript 2022bundlerObject.isArray.prototype.findLastnested csssnsxhrperformantrobusttostringtagpostcsscodesfile system@@toStringTaginstallhookformcharactersvisualHyBiURLSearchParamsdeepcopyWebSocketsshellfoldergraphqleslint-pluginesmacoslimitedtaketypanionequalstreamsassigninstallercolorsfileECMAScript 3safeJSONeslintpluginhashUint16Arrayajv__proto__hoteslintisConcatSpreadablelistenersserializerreplayreact-hook-formerror-handlingvalidateeast-asian-widthcolourshebangtrimRightdatastructurepreprocessorimportomitstatusUint32ArrayformstypedarraywordwrapUint8Arrayreact-testing-libraryrecursivemkdirscallbacksortargsnativefull-widthcloudformationclassesconfigsearchroutefullwidthvaluesemrcommanderkarmaendpointbddkeyES2017code pointsprocesses-shim APIsameValueZerohas-ownwgetUint8ClampedArrayrateexpressmoveworkercssfind-upsharedarraybuffertaputilityRegExp.prototype.flagsobjdatalogginggetintrinsicfilter_.extendkeyselbtouchArray.prototype.findLastIndexqueueMicrotaskconfigurabletraversepropiteratearrayECMAScript 7npmjsonpathsyntaxpersistentbyteOffsetpromisepasswordprotorouting256proxyloadbalancingzodcompilerinterruptsenderttyzeroiebusyparentpackage.json-0Observablesroute53lesscssmake dirECMAScript 2018fsdynamodblinewrap.envspecinasciiECMAScript 2021typesafeES8Float64ArrayMicrosoftless compilerObject.entriesclassnamecloudtraillastlinuxpipematchcjkstringifierless csstestinglogstylesheetsignalsassertdom-testing-librarygetOwnPropertyDescriptorspinnersaccessoremitformattingtsestreenopermes-abstractTypeBoxdependency managersyntaxerrorcss-in-jsquoteyupES6matchesbootstrap csstermtslib[[Prototype]]reducerflattenautoprefixer0sqsStreamsArray.prototype.flatMapbreakcolumnamazonsomeelectronstylemime-dbdateflatMapjestcall-boundtoArrayserializetoStringTagclonecss lessindicatorglobfpssetgradients css3superstructstructuredCloneinternal slotimmutablerangeerrormetadataES2021flatpatchtesterspinnercss nestingsetterES2018walkbatchdropinferencedirtestwritableutilitieslook-uptrimschemapluginclass-validatorsymbolES2019jsdomeslintconfigiteratorphonecallbindarraybufferpushstoragegatewayECMAScript 2017ratelimitshamObject.definePropertylinkjwttextregular expressiondependenciesgroupYAMLmergequeryArrayBuffer.prototype.slicemkdirpreduceprivate databrowserlistbufferInt32Arrayidleoptimizerargumentfigletpyyamlecmascriptwatchingcorsparseswf
5.0.30

1 year ago

5.0.31

1 year ago

5.0.32

1 year ago

5.0.33

1 year ago

5.0.34

1 year ago

5.0.35

1 year ago

5.0.36

1 year ago

5.0.37

1 year ago

5.0.38

1 year ago

5.0.39

1 year ago

3.0.17

1 year ago

5.0.22

1 year ago

5.0.23

1 year ago

5.0.24

1 year ago

5.0.25

1 year ago

9.3.88

12 months ago

5.0.26

1 year ago

5.0.27

1 year ago

5.0.28

1 year ago

5.0.29

1 year ago

7.3.69

1 year ago

7.3.68

1 year ago

9.3.87

12 months ago

9.3.86

12 months ago

9.3.85

12 months ago

7.3.67

1 year ago

9.3.84

12 months ago

7.3.66

1 year ago

7.3.70

1 year ago

7.1.55

1 year ago

7.1.56

1 year ago

8.3.80

12 months ago

8.3.81

12 months ago

8.3.82

12 months ago

8.3.83

12 months ago

8.3.84

12 months ago

6.0.49

1 year ago

6.0.48

1 year ago

6.0.47

1 year ago

9.4.89

11 months ago

4.0.21

1 year ago

4.0.20

1 year ago

9.4.88

12 months ago

4.0.22

1 year ago

8.3.76

12 months ago

8.3.77

12 months ago

8.3.78

12 months ago

8.3.79

12 months ago

7.2.57

1 year ago

7.2.56

1 year ago

7.2.59

1 year ago

7.2.58

1 year ago

8.3.70

1 year ago

8.3.71

12 months ago

8.3.72

12 months ago

8.3.73

12 months ago

8.3.74

12 months ago

8.3.75

12 months ago

7.2.60

1 year ago

7.2.62

1 year ago

7.2.61

1 year ago

3.0.20

1 year ago

7.2.64

1 year ago

7.2.63

1 year ago

7.2.66

1 year ago

7.2.65

1 year ago

3.0.18

1 year ago

3.0.19

1 year ago

5.0.40

1 year ago

5.0.41

1 year ago

5.0.42

1 year ago

5.0.43

1 year ago

5.0.44

1 year ago

6.0.52

1 year ago

5.0.45

1 year ago

6.0.51

1 year ago

5.0.46

1 year ago

6.0.50

1 year ago

5.0.47

1 year ago

6.0.54

1 year ago

6.0.53

1 year ago

7.0.54

1 year ago

7.0.55

1 year ago

3.0.16

1 year ago

3.0.12

1 year ago

3.0.13

1 year ago

3.0.14

1 year ago

3.0.15

1 year ago

3.0.11

1 year ago

3.0.10

1 year ago

3.0.9

1 year ago

3.0.8

1 year ago

3.0.7

1 year ago

3.0.6

1 year ago

3.0.5

1 year ago

3.0.4

1 year ago

2.0.4

1 year ago

2.0.3

1 year ago

2.0.2

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago