6.10.79 • Published 12 months ago

@erboladaiorg/ipsam-soluta-officia v6.10.79

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

@erboladaiorg/ipsam-soluta-officia 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/ipsam-soluta-officia

Usage/Examples

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

ttyreact-hooksvalueqsfunction.lengthmodulescall-boundeveryajvfluxiterateconfigfunctionserializeweakmapstringES2015hasPushwhatwg3dcloudtraileventEmittertesterAsyncIteratormkdirjestasteriskscollectionescapefnmatchstoragegatewayfilterchromeenveventssesi18npyyamlconfigurableURLSearchParamsapolloregularArrayBuffer#sliceRegExp#flagsfpreal-timetoolkitexecjavascriptmobilefindLastIndexincludesfindLastomitvestes-shim APIfast-deep-copywidthmomentcss lessfunctionssignal-0outputjwtaccessortypessyntaxcloudformationvarInt32ArraytoSorted$.extendlesscssrgbartArray.prototype.filterTypeScriptglobalssomeRegExp.prototype.flagsECMAScriptpoint-freeisConcatSpreadableglaciertransportformownWebSocketnativeclisubprocessgradients css3deep-copyphonepropertyArrayBuffer.prototype.slicepopmotionuploadECMAScript 2022react-testing-libraryreadinstylehttpacornECMAScript 2018nameReflect.getPrototypeOfcommanderspeedapimovecore-jstriml10nwafpackage.jsonES5xtermrandomfullbuffersprotocol-buffersjslogginginputvarsextendajaxfpsglobal objectgitignorearraybufferbrowserlistsimpledbObject.entriesassertsposesigtermstyled-componentslessTypeBoxECMAScript 2019uninstallvalidatorredactStreamses7styleguideuuidInt8ArrayvalidfastifyECMAScript 5getwindowscurlspinnerkeyString.prototype.trimsharedarraybuffereast-asian-widthelbmatcheshas-ownboundformatpackagesglobal this valueexecutefixed-widthgetintrinsicauthenticationreducerURLmanagerfullwidthclassnamereact-componentgetoptUnderscoreestreedescriptionfull-widthfigletform-validationtraverseless compilerjson-schema-validatorguides2018es5variables in cssdefinescheme-validationloadingdropoptimistdeepfasthasOwnPropertya11yPromisedefinePropertybyteLengthcloneponyfillwarningroutingsymbolscolorsregular-expressioninferencepackage manageremriterationprivate datatypescriptarktypereactreduceprettyES2022promiseinstallerargshttpsmakeirqec2ES2017tc39mergetypeerrorvisualawesomesauceansiES2016datebcryptArray.prototype.flatiteratorreverseless csscallboundmappurelistenersvalidationcensorjQueryvpcjoipathdataregular expressionloggerkinesismatchInt16Arraysignedjsonschemastatusconsoletslibcollection.es6readableargumenttranspilersetImmediateminimaltrimLeftglobES2021negativeoffsetmonorepoRxdatastructurehelpersharedisstringifysigintJSON-Schemabrowserslistcomparetypeofes6byteOffsetwaitstructuredCloneautoscalingbeanstalksafeviewtyped arraydataviewgetOwnPropertyDescriptorArraydotenvfast-copyqueryrecursivecodeshooksclassessnscallbackES7TypedArraysequencexhrCSSeslintconfighelpersdom-testing-librarySymbol.toStringTagprop@@toStringTagcoerciblehandlerswindowshellselfcommand-linedragbinaryoncecompile lessastclassnamesdomchineseFloat64ArrayMicrosoftqueueMicrotaskUint16ArraytranspileglobalObject.assignmkdirpletnested cssassignidlezerouser-streamsES6tstrimStartcryptoworkerRFC-6455groupnameseslintprogressvalueslogtypedarraycall-bindECMAScript 6pnpm9elmprotoflatMapreplaycommandpluginmulti-packagebindkoreanharmonybootstrap cssreadablestreamhardlinksmruresolveES2018sqsefficientopensslqueueinterruptsebscheckwgetrfc9562gdprramdadataViewflatthreecryptparserreduxless mixinsflattenObject.fromEntriesprocessbufferschemeconcatMapjsdomreact-hook-formtypedarraysfiledependenciespositiveprototypepipemapreduceroute53setgetterredux-toolkithasOwn.gitignoreES2023ArrayBuffermake dirpostcss-pluginformattingsliceObject.definePropertypinos3requireWebSocketslintautoprefixercorecomputed-typeszodprefixtoolsfsfastcopyyamlidentifiersjsonclient_.extendelectron.envtextforEachshrinkwrapstatelesslinuxtostringtaglanguageconcatinternales-shimscacheeventDispatchercss-in-jslinksameValueZeronumbercolumncallbindnpmignorerequestspringoperating-systemes-abstractcss variableArray.prototype.flatMapspecexit-codecloudfrontcolorchildECMAScript 2020matchAllimmerregexparraysendpointpredictableexpressionstarterfast-deep-clonetoobjectSetendergraphqlbinimportexportbddmkdirsmetadataconsumedynamodbObjectequalECMAScript 2021performantcss nestingfunctionalBigInt64ArrayecmascriptJSONextraspinnerscircularutilsserializerECMAScript 2015lengthpersistentquerystringYAMLIteratorlazyObject.getPrototypeOfHyBiaccessibilityStreamArray.prototype.flattenlocales8workflowsetPrototypeOfvariablesstreamstelephonestylinghookformanimationjsxdeepcloneclass-validatorroutetypedinternal slotnopeschemaencryptionObject.keyses2015fastcloneWeakSetcssdeepcopycolourRxJS[[Prototype]]superagentECMAScript 2016streampicomatchremovecompilerESnextsortES2020optimizercertificateswriteformsassertString.prototype.matchAlljson-schemarapidfast-cloneutil.inspectenumerablecloudsearchpostcssexitreuseworkspace:*equality
6.10.79

12 months ago

6.10.78

12 months ago

6.10.77

12 months ago

6.10.76

12 months ago

6.10.75

12 months ago

6.10.74

12 months ago

6.10.73

1 year ago

6.10.72

1 year ago

6.10.71

1 year ago

5.10.71

1 year ago

5.10.70

1 year ago

5.10.69

1 year ago

5.10.68

1 year ago

5.10.67

1 year ago

5.10.66

1 year ago

5.10.65

1 year ago

5.10.64

1 year ago

5.10.63

1 year ago

5.10.62

1 year ago

5.10.61

1 year ago

5.9.61

1 year ago

5.9.60

1 year ago

5.9.59

1 year ago

5.9.58

1 year ago

5.9.57

1 year ago

5.9.56

1 year ago

5.9.55

1 year ago

5.9.54

1 year ago

5.9.53

1 year ago

5.8.53

1 year ago

5.8.52

1 year ago

5.8.51

1 year ago

5.8.50

1 year ago

4.8.50

1 year ago

4.8.49

1 year ago

4.8.48

1 year ago

4.7.48

1 year ago

4.7.47

1 year ago

4.6.47

1 year ago

4.6.46

1 year ago

4.6.45

1 year ago

4.6.44

1 year ago

4.6.43

1 year ago

4.6.42

1 year ago

4.6.41

1 year ago

4.6.40

1 year ago

4.6.39

1 year ago

4.6.38

1 year ago

4.6.37

1 year ago

4.6.36

1 year ago

4.6.35

1 year ago

4.6.34

1 year ago

4.6.33

1 year ago

3.6.33

1 year ago

3.5.33

1 year ago

3.4.33

1 year ago

3.4.32

1 year ago

2.4.32

1 year ago

2.4.31

1 year ago

2.4.30

1 year ago

2.3.30

1 year ago

2.3.29

1 year ago

2.3.28

1 year ago

2.3.27

1 year ago

2.3.26

1 year ago

2.3.25

1 year ago

2.3.24

1 year ago

2.3.23

1 year ago

2.3.22

1 year ago

2.3.21

1 year ago

2.3.20

1 year ago

2.3.19

1 year ago

2.3.18

1 year ago

2.3.17

1 year ago

2.3.16

1 year ago

2.3.15

1 year ago

2.3.14

1 year ago

2.3.13

1 year ago

2.3.12

1 year ago

2.3.11

1 year ago

2.3.10

1 year ago

2.3.9

1 year ago

2.2.9

1 year ago

2.2.8

1 year ago

2.2.7

1 year ago

2.2.6

1 year ago

2.2.5

1 year ago

2.2.4

1 year ago

2.2.3

1 year ago

2.2.2

1 year ago

2.1.2

1 year ago

2.0.2

1 year ago

2.0.1

1 year ago

2.0.0

1 year ago

1.0.0

1 year ago