3.2.35 • Published 1 year ago

@kollorg/assumenda-optio-perspiciatis v3.2.35

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@kollorg/assumenda-optio-perspiciatis Version Badge

github actions coverage dependency status dev dependency status License Downloads

npm badge

Robustly .call.bind() a function.

Getting started

npm install --save @kollorg/assumenda-optio-perspiciatis

Usage/Examples

const assert = require('assert');
const callBind = require('@kollorg/assumenda-optio-perspiciatis');
const callBound = require('@kollorg/assumenda-optio-perspiciatis/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

stylefull-widthmochazeroextensiondataparseriamrm -frObject.entriesexpressmetadatachineseebsbluebirdowncloudfrontES2016walkingSetdeep-copyECMAScript 2022eventDispatcherprogresshookformloadingstatesuperagentprivatefast-copyshrinkwraprateserializationregularUint16Arrayworkspace:*serializereduxpolyfillsliceeslintplugindefinePropertysameValueZeroreact-hooksarktypefullhelpersjavascriptreduceinternalpackagesdescriptorformsBigInt64Arrayprotobufchannelsettingscolumnspostcssdotenvreact-hook-formnodejsspeedcontainssharedarraybufferzodcompile lessshamdirectorytypeofES2020$.extendnativemulti-packagepredictablecharactersdom-testing-libraryTypedArraykinesiscss-in-jscommandpushArrayBufferArray.prototype.containsbootstrap csswrapmkdirplruproxyextendavareplaystreams2schemeclassnamesArraydeeprangeerrorregular expressionslotimmerfluxjwtlastansiECMAScript 2016installerpackage.jsonReactiveXlessefficientautoprefixerconnectassertionFunction.prototype.namecommanderhooksthrottlecallbindfigletastframeworkoncetostringtagfilefunctionalObject.getPrototypeOfsuperstructprettylazyURLSearchParamsflattenSymbol.toStringTagmake dirinspectredact__proto__concatconcatMapArray.prototype.flatcensorchromees5ts[[Prototype]]utilES2015viewECMAScript 2017configurableAsyncIteratormime-dbdropform-validationES3dayjsassertscreatecomputed-types_.extendformatecmascriptPromiseInt32ArrayReactiveExtensionsString.prototype.trimjsonpathUint32ArrayWebSocketawaitcss lessstyleguidecall-boundECMAScript 2020rdsIteratorcolumnrobustArray.prototype.filterawesomesauceintrinsicoptimizerdynamodbfind-upparenthashless compilereslintconfigspinnerpropertiesuuidmapreduceiswhichdebugqswaitoffset0xtermESnexttypedquotegetPrototypeOfutil.inspectfast-clonewatchingelectronfixed-widthidqueuelocationdescriptionsetterMapshellgdprinvariantterminalfast-deep-copywidthcolourdirauthenticationroute53positiveformattingglaciertypesenvironmentTypeBoxmoduledeepclonees7cloudwatchsafeminimalshimhotelbArray.prototype.flattenagentmimeless mixinsrequireurlwafcryptoargssymbolsprefixswfarraysjsxhttpsajaxloadbalancingesvpcvaliddeterministicES2022eslint-pluginautoscalingtapequerystringtypeerrorreactnameserrorsequencefastdataViewES2017propertynested csscloneECMAScript 2019real-timebreakvalueconsoleECMAScript 3idlestatelesses-shimsArray.prototype.includes.envcolorsreact-testing-librarycheckgetOwnPropertyDescriptorloggertrimLeftfetchomitjoies2017fastcopystylesheetargparseSymbolclassnamecollection.es6ECMAScript 2018compilerObservablees2018linkgetintrinsicawsconcurrencyStyleSheetwatcherbyterecursivereuseHyBifpsendpointECMAScript 5ES8formmatchAlljsdom
2.1.18

1 year ago

2.1.19

1 year ago

2.2.31

1 year ago

2.2.32

1 year ago

2.2.30

1 year ago

3.2.35

1 year ago

3.2.34

1 year ago

3.2.33

1 year ago

2.2.19

1 year ago

3.2.32

1 year ago

2.2.28

1 year ago

2.1.16

1 year ago

2.2.29

1 year ago

2.1.17

1 year ago

2.2.26

1 year ago

2.2.27

1 year ago

2.2.24

1 year ago

2.2.25

1 year ago

2.2.22

1 year ago

2.2.23

1 year ago

2.2.20

1 year ago

2.2.21

1 year ago

2.1.15

1 year ago

1.1.12

1 year ago

1.1.15

1 year ago

1.1.14

1 year ago

1.1.13

1 year ago

1.1.11

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.2

1 year ago

1.0.3

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago