5.4.88 • Published 1 year ago

@erboladaiorg/saepe-sunt v5.4.88

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

1 year ago

5.4.87

1 year ago

5.4.86

1 year ago

5.4.85

1 year ago

5.4.84

1 year ago

5.4.83

1 year ago

5.4.82

1 year ago

4.4.82

1 year ago

4.4.81

1 year ago

4.4.80

1 year ago

4.4.79

1 year ago

4.4.78

1 year ago

4.4.77

1 year ago

4.4.76

1 year ago

4.4.75

1 year ago

4.4.74

1 year ago

4.4.73

1 year ago

4.4.72

1 year ago

4.4.71

1 year ago

4.3.71

1 year ago

4.3.70

1 year ago

4.3.69

1 year ago

4.3.68

1 year ago

3.3.68

1 year ago

3.3.67

1 year ago

3.3.66

1 year ago

3.3.65

1 year ago

3.3.64

1 year ago

3.3.63

1 year ago

3.3.62

1 year ago

3.3.61

1 year ago

2.3.61

1 year ago

2.3.60

1 year ago

2.3.59

1 year ago

2.3.58

1 year ago

2.3.57

1 year ago

2.3.56

1 year ago

2.3.55

1 year ago

2.3.54

1 year ago

2.3.53

1 year ago

2.3.52

1 year ago

2.3.51

1 year ago

2.3.50

1 year ago

2.3.49

1 year ago

2.2.49

1 year ago

1.2.49

1 year ago

1.2.48

1 year ago

1.2.47

1 year ago

1.2.46

1 year ago

1.2.45

1 year ago

1.2.44

1 year ago

1.2.43

1 year ago

1.2.42

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