5.4.88 • Published 10 months ago

@erboladaiorg/saepe-sunt v5.4.88

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

@erboladaiorg/saepe-sunt Version Badge

github actions coverage dependency status dev dependency status License Downloads

npm badge

Robustly .call.bind() a function.

Getting started

npm install --save @erboladaiorg/saepe-sunt

Usage/Examples

const assert = require('assert');
const callBind = require('@erboladaiorg/saepe-sunt');
const callBound = require('@erboladaiorg/saepe-sunt/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

comparevalidateindicatorchinesestyled-components.env@@toStringTagRegExp.prototype.flagspinomodulerouteinstallerbyteLengthasciiwalksafejestless cssquotefsclientfindLastIndeximmutableramda[[Prototype]]binariesFloat32ArrayMapbinarypasswordproxymonorepomkdirpreusegitignoreajaxeslinterror-handlingsetImmediatesymbolECMAScript 2019consumeJSONis_.extendECMAScript 2022hotdombrowserslistregexpES6yamlmapserializecorematchAlluser-streamsredux-toolkitwaitgetPrototypeOfformcommanders3real-timejapaneseignoretrimnodeworkerisConcatSpreadablesliceutilsschemamockingstylingtypedqueryeventDispatcherclass-validatorTypedArrayArrayespreeglobals-0lintformatfiltertoSortedreact posefull.gitignoreairbnbObservablemruperformanceutilitypersistentlibphonenumberURLSearchParamsshamautoprefixercurriedsubprocessutil.inspectfastifyESArray.prototype.flattenObject.entries6to5ES2021toStringTagtypedarraysflagsinternal slotconcattraverseieexpressdescriptorslinuxfindflattenArray.prototype.filtergenericsES2015selfes2017dynamodbawsstylereducersuperstructworkspace:*languagemake dirsignalsscheme-validationsetterregular-expressionArrayBuffer.prototype.sliceintrinsiclruinputeffect-tselasticachedeleteroutingdom-testing-librarycharacterbannertransportsidelazyrapidyuppnpm9Object.definePropertyelbESnextspecredactfastclonehasOwnconfigshimwhatwgutilfile systemnpmignoretrimLefttostringtagvisualECMAScript 2018ES2016validationconfigurablerequestES7call-boundArray.prototype.flatless mixinstddregularjsoncomputed-typesbabel-corelocationpicomatchapollojsdomtc39keycolumnBigInt64ArraySymbolflagloadbalancingstableidentifierses6browserlistObject.valueswaapiiterationjQuerysyntaxvpcmodulesUint8ClampedArrayES2023WeakSetArray.prototype.flatMapoutputdateiammkdirsrdscirculartacitbootstrap csseast-asian-widthgdprincludesl10nIteratortestinges8namesprefixlengthstatelesshandlerpreserve-symlinkspropendpointnegativedeepcopyasyncglobal this valueUint32ArrayjsxECMAScript 2017omitequalitythreeworkflowArray.prototype.findLastIndexdataviewprettysymlinksdeepcloneanimationchaimatchesarraybuffercodessymlinktypescriptObject.getPrototypeOfObject.issharedECMAScript 2021optimizerString.prototype.trimframerreact-componentStreamsymbolsjscensornegative zerocommand-linereduxdeep-copyhas-ownwritecollectionpushfluxarrayscore-jsfastprocessjson-schema-validatorReactiveExtensionses5ECMAScript 2020logestermstructuredClonemergefptrimEndescapemockPromisecallreactAsyncIteratoraccessibilityfantasy-landhandlersbabeluploadYAMLsomedataViewtoobjectcloneunicodeObject.keysrecursivediffreact-testing-libraryhasOwnPropertyjsdiffeslint-plugintestexitBigUint64Arrayawesomesaucecheckstreamdotenvuninstallgesturesa11ytyped arraychromemetadatatypedarrayemitECMAScriptforEachInt32Arrayefficientcreatecallbindletes7utilitiescloudwatchRxJShelperdeepnameobjcallboundmomentoptionenvironmentprotocol-bufferstypeoffast-clonelinkdirinspecttypeirqfast-deep-cloneglacierpolyfillzerotoolkitlesscssownvaluesstoragegatewayspeedgetintrinsicoperating-systemruntimeloadinglocalserverregexredirectstatusdefinePropertywafObject.fromEntrieserrorReactiveXcontainsequalstylescacheURLjson-schemaviewoncefindLastzxWebSocketsRxdeep-clonehookformelectronqueueES5reduceboundTypeBoxchromiumcompile lesses2018readpipeeslintconfigpathurlfpsinferenceec2ttyoptimistprotobufstringECMAScript 2015ECMAScript 2016iteratorloggingeverydescriptionhelperscolourexit-codecommandUint16ArrayCSSStyleDeclarationcjkremovereadablestreamcertificatesexecStyleSheetvararktypeless.jswindowsminimalencryptiondependenciesreadablepatchsetauthenticationWebSocketformschannelwarningnested cssnativetypesafesuperagentpluginObjectArrayBuffercss nestingtoArrayWeakMapperformantpackage managerhooksexpressionJSON-SchemaUint8Arrayspinnersortestreeshelljsonschemaaccessorquerystringpackage.jsoninstallcssvaluesigtermopensslpromisetypanionglobal objecttouchcopytimeclihttpcurlagentexecfileRegExp#flagsdayjsconstpropertiesvalidloggerfixed-widthenvargswgetmakesortedserializerfull-widthcloudtrailgetoptauthlockfileargumenttranspilerbundlingES2022fnmatchclasseszodjavascriptECMAScript 6directorybytemobilereact-hooksString.prototype.matchAllvestbindfast-deep-copyxhriteratesqsweakmap256sigintswfamazondescriptorcolorservicecallbackkinesisdatastructureemrflatMapchildautoscalingartconcatMapmixinscompilerglobalThisformattingtscloudsearchfast-copystarterdependency managerpropertyfunctionalObject.assignArray.prototype.findLasttesterasterisksjshintentriesapiassertiondropcolorscryptconsoleelmprototypegetOwnPropertyDescriptorserializationshrinkwrapfunction.lengthnpmmapreduceresolveRFC-6455less compilerextendsetPrototypeOfes-abstractglobaltake3dECMAScript 3typesstringify__proto__slotextraStreamsstreamsenderSetpruneeslintpluginspinnersparseES2017hasfigletnopeassertparser0function
5.4.88

10 months ago

5.4.87

10 months ago

5.4.86

10 months ago

5.4.85

11 months ago

5.4.84

11 months ago

5.4.83

11 months ago

5.4.82

11 months ago

4.4.82

11 months ago

4.4.81

11 months ago

4.4.80

11 months ago

4.4.79

11 months ago

4.4.78

11 months ago

4.4.77

11 months ago

4.4.76

11 months ago

4.4.75

11 months ago

4.4.74

11 months ago

4.4.73

11 months ago

4.4.72

11 months ago

4.4.71

11 months ago

4.3.71

11 months ago

4.3.70

11 months ago

4.3.69

11 months ago

4.3.68

11 months ago

3.3.68

11 months ago

3.3.67

11 months ago

3.3.66

11 months ago

3.3.65

11 months ago

3.3.64

11 months ago

3.3.63

11 months ago

3.3.62

11 months ago

3.3.61

11 months ago

2.3.61

11 months ago

2.3.60

11 months ago

2.3.59

12 months ago

2.3.58

12 months ago

2.3.57

12 months ago

2.3.56

12 months ago

2.3.55

12 months ago

2.3.54

12 months ago

2.3.53

12 months ago

2.3.52

12 months ago

2.3.51

12 months ago

2.3.50

12 months ago

2.3.49

12 months ago

2.2.49

12 months ago

1.2.49

12 months ago

1.2.48

12 months ago

1.2.47

12 months ago

1.2.46

12 months ago

1.2.45

12 months ago

1.2.44

12 months ago

1.2.43

12 months ago

1.2.42

12 months ago

1.2.41

1 year ago

1.1.41

1 year ago

1.1.40

1 year ago

1.1.39

1 year ago

1.1.38

1 year ago

1.1.37

1 year ago

1.1.36

1 year ago

1.1.35

1 year ago

1.1.34

1 year ago

1.1.33

1 year ago

1.1.32

1 year ago

1.1.31

1 year ago

1.1.30

1 year ago

1.1.29

1 year ago

1.1.28

1 year ago

1.1.27

1 year ago

1.1.26

1 year ago

1.1.25

1 year ago

1.1.24

1 year ago

1.1.23

1 year ago

1.1.22

1 year ago

1.1.21

1 year ago

1.1.20

1 year ago

1.1.19

1 year ago

1.1.18

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