3.2.36 • Published 1 year ago

@kollorg/eligendi-nobis-blanditiis v3.2.36

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

@kollorg/eligendi-nobis-blanditiis 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/eligendi-nobis-blanditiis

Usage/Examples

const assert = require('assert');
const callBind = require('@kollorg/eligendi-nobis-blanditiis');
const callBound = require('@kollorg/eligendi-nobis-blanditiis/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

datelimitedsyntaxfixed-widthECMAScript 2016outputphonemrusortedwatchFilegroupbootstrap cssloggeraccessorscheme-validationinterruptspostcssruntimeArray.prototype.filtercallbackintrinsicclassnamesstringifyformattraverseWeakMapshellless mixinsonceapollofast-cloneeventDispatcherconcatMapflagstreamforEachsafetapeecmascriptbindimportexportCSSStyleDeclarationcoreavastyled-componentsformsconfigajvwordwrap[[Prototype]]dependency managerdataViewES7schemacloudfrontpackage managerhttpclieverysetBigUint64Arraycommandercomputed-typesES2021quoteratelimitvestpreprocessorsimpledbcollection.es6patch@@toStringTagjsdiffWeakSettyped arraysideperformanceES2017negative zerobytevisualRxinputfromwindowsexit-codenumberassertlockfileprocessreact-hooksmkdirpvalidatetrimStartdiffcall-bounddescriptorsnativees-shim APIsharedterminalES2020timeweaksettrimEndarktypeemojiroutingresolvebyteOffsetapiTypeBoxnpminternal slotairbnb__proto__privatespecUnderscorerangeerrorStreamstylingopendebuggerbrowserECMAScript 6toobjectfastifyeslint-plugines6mapreducemiddlewarewhichtypesafeimmerIteratorJSONECMAScript 5preserve-symlinkscssgetintrinsicschemetoolsswfclientspinnerszodhelpersregexpserializationTypedArrayMicrosoftES8streams2ES2018lesscssObject.definePropertyreact-testing-librarypackage.jsonmomentwarningpropertyautoscalingtermdatastructureerror-handlinggetlinuxawsagentgdprES3gradients css3-0parentscallbindtoArraypnpm9ObservableReactiveExtensionspositivesuperstruct256class-validatorcalloptionconcatbeanstalkplugincallboundupmixinstrimbusydeepES2022Array.prototype.flatMapUint8ClampedArrayobjectslotansiwhatwgdataviewargsoperating-systemwidthdependenciesjestObservablesa11yvalidnopejoiURLdescriptorwritablecurlstylemoduleponyfillBigInt64ArraysignalpackagesArray.prototype.containsajaxwatchingfseventsbatchkeyObject.keyspathperformantlazyjsonpathECMAScript 7bundlerlanguagepipestylesheetcompilerarraybufferutil.inspecthandlerssuperagentlivejwtfunctionwrapoptimizerprogressrouteECMAScript 2019uuidflattenaccessibilitycore-jscoercibleboundassignes-shimsstreamstesterfpstypeparser
3.2.24

1 year ago

3.2.23

1 year ago

3.2.26

1 year ago

3.2.25

1 year ago

3.2.28

1 year ago

3.2.27

1 year ago

3.2.29

1 year ago

3.2.20

1 year ago

3.2.22

1 year ago

3.2.21

1 year ago

2.2.17

1 year ago

2.2.16

1 year ago

3.2.35

1 year ago

3.2.34

1 year ago

3.2.36

1 year ago

3.2.17

1 year ago

3.2.19

1 year ago

3.2.18

1 year ago

3.2.31

1 year ago

3.2.30

1 year ago

3.2.33

1 year ago

3.2.32

1 year ago

2.2.15

1 year ago

2.2.13

1 year ago

2.1.12

1 year ago

2.2.14

1 year ago

2.2.12

1 year ago

2.1.11

1 year ago

2.1.10

1 year ago

2.1.9

1 year ago

2.1.8

1 year ago

2.1.7

1 year ago

2.1.6

1 year ago

2.0.6

1 year ago

2.0.5

1 year ago

2.0.4

1 year ago

2.0.3

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