2.5.65 • Published 12 months ago

@zitterorg/architecto-dolore v2.5.65

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

@zitterorg/architecto-dolore Version Badge

github actions coverage dependency status dev dependency status License Downloads

npm badge

Robustly .call.bind() a function.

Getting started

npm install --save @zitterorg/architecto-dolore

Usage/Examples

const assert = require('assert');
const callBind = require('@zitterorg/architecto-dolore');
const callBound = require('@zitterorg/architecto-dolore/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

loadbalancingemojitestingextraramdatestpropertykinesispopmotiontrimRightairbnbcallboundObject.fromEntrieshardlinksfast-copyspeednumberES2016regexredirectvisualroutedragcircularfilterES3trimbinchildeventsreusedotenvconcatMapsource maptypedarrayforkstyleguidefile systemswfInt16Arrayfast-deep-copyenderwritabletoolkitchromeplugintransformtyped arrayomitimportexporttsfastifytakebuffersi18nemitcopymochaes2015deep-copyclientUint8Arrayfunctionalmodulesinternalprefixtermlocationdiffminimalpostcssglobsortedshimscheme-validationfull-widthflagstringifyUint32ArrayObject.definePropertyArray.prototype.flatpostcss-pluginprototypewhatwgwriteECMAScript 2022RxJSiamArray.prototype.includesprivate datacolorelbreadforml10neverycloudwatchatomhookformobjectxhrnametranspileinstrumentationtoolsstreamsCSSreduxquerycolumntouchjsonschemabannerutils_.extendkoreanclass-validatores-shim APIsymbolsarktypetesterschemahtmlshebanggetownregular expressionses5keyconfigfastcopylintinvariantequalStyleSheetkeysoffsetflatecmascriptremovespinnersargumentresolveArray.prototype.containsquerystringrestfullook-upURLSearchParamsBigUint64ArrayvarsrouteridlesettereslintelectronPushfunctionponyfillmovedependenciesbrowsercore-jslogajaxtrimStartuuidsyntaxerrorstarterlinkESTypeScriptdependency managerbinariesObject.assignreversedvalidparsebufferURL-0MapwindowgetoptnegativedateObject.ismatches3denvironmentjshintES2019emrcall-bindreact animationanimationmanagerchannelcontainsbytereact-hooksuser-streamsspawnsharedarraybufferfindupECMAScript 2023indicatornodebindReactiveExtensionsurlstringifierMicrosoftinspectframerfeedfunction.lengthdomJSONes-abstracttoReversedtraverserdspoint-freeaccessoroptimizerposefsgetOwnPropertyDescriptorRFC-6455loggerspinnerFunction.prototype.namelibphonenumberArray.prototype.flatMapterminalletasttextmapfindsortexecES2022eslint-pluginarraybufferbundlerzero6to5ec2chromiumSystem.globalshameast-asian-widthfullwidthECMAScript 2015randomidentifiersPromisefast-cloneregexpescapeprocesscloudsearchsuperagenthashnativejsxStreamssyntaxttyInt32ArraydebugisConcatSpreadablebinaryreducedeepcloneES2015ES2023compareisYAMLcolourArrayBufferregularmulti-packageoutputlaststreamcurriedchinesereducerspecoptionsubprocessargsmergeappreact-hook-formutilitycoveragefind-upstylinga11ygdprgestureseslintpluginawesomesauceArray.prototype.findLastrequirermdirUint16ArraycoreObject.entriesObject.keysES7amazonglobalThislruautoprefixerapisqsprivatetypesafecurlpackageefficientcoercibleansiunicodemodulemakeutilmomentassertionESnextjQueryes-shimsInt8ArraytimejasminebabelframeworkWeakSetserializegenericsdescriptionRegExp.prototype.flagscalldeepharmonycolors
2.5.65

12 months ago

1.5.63

12 months ago

1.5.62

12 months ago

1.5.65

12 months ago

1.5.64

12 months ago

1.4.60

12 months ago

1.4.61

12 months ago

1.5.61

12 months ago

1.3.58

12 months ago

1.3.59

12 months ago

1.4.59

12 months ago

1.3.54

12 months ago

1.3.57

12 months ago

1.3.55

12 months ago

1.3.56

12 months ago

1.0.19

1 year ago

1.0.18

1 year ago

1.3.53

12 months ago

1.0.22

1 year ago

1.0.21

1 year ago

1.0.20

1 year ago

1.0.26

1 year ago

1.0.25

1 year ago

1.0.24

1 year ago

1.0.23

1 year ago

1.0.29

1 year ago

1.0.28

1 year ago

1.0.27

1 year ago

1.2.52

12 months ago

1.2.53

12 months ago

1.2.51

12 months ago

1.1.45

1 year ago

1.0.33

1 year ago

1.0.32

1 year ago

1.0.31

1 year ago

1.0.30

1 year ago

1.1.49

1 year ago

1.0.37

1 year ago

1.1.48

1 year ago

1.0.36

1 year ago

1.1.47

1 year ago

1.0.35

1 year ago

1.1.46

1 year ago

1.0.34

1 year ago

1.0.39

1 year ago

1.0.38

1 year ago

1.0.40

1 year ago

1.1.51

1 year ago

1.1.50

1 year ago

1.0.44

1 year ago

1.0.43

1 year ago

1.0.42

1 year ago

1.0.41

1 year ago

1.0.45

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

1 year ago

1.0.10

1 year ago

1.0.12

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