5.12.126 • Published 10 months ago

@diotoborg/perspiciatis-voluptates-alias v5.12.126

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

@diotoborg/perspiciatis-voluptates-alias Version Badge

github actions coverage dependency status dev dependency status License Downloads

npm badge

Robustly .call.bind() a function.

Getting started

npm install --save @diotoborg/perspiciatis-voluptates-alias

Usage/Examples

const assert = require('assert');
const callBind = require('@diotoborg/perspiciatis-voluptates-alias');
const callBound = require('@diotoborg/perspiciatis-voluptates-alias/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

glacierrandomphoneredux-toolkitshamenvlinkuninstallcheckcollectionRegExp#flagsvalueprocessredirectArrayBufferstylesmapidentifiersinstallxdgwrapinvariantes-shim APIquotedeterministicFunction.prototype.nameUint32ArrayincludesgroupByautoscalingtypedtrimEndexpressioncolumnspackageeast-asian-widthruntimevaluesArray.prototype.findLastIndexupfinduptypesafeidleendpointieconfigframeworkwhatwgponyfillfixed-widthfind-upcollection.es6fastcopytypeerrorvalidatemimetypespropertiesdragsharedarraybufferconfigurableargvfullwidthmakeArray.prototype.filterIteratorgetsorticuwaapiES2018japaneselrurm -rfemrbuffersqsdeepclonevarsassertsargsespreeopenerstringifiermetadataframerhas-ownregularBigInt64ArrayschemetrimStartutil.inspectthroatvariablesbeanstalkvalidationshrinkwrappackage managerpropertyECMAScript 3modulesUint8ArrayelasticachePushurlECMAScript 7postcssvalidlastUint8ClampedArraypnpm9Int16ArraysymbolRegExp.prototype.flagsweaksetECMAScript 2023cloudsearchmkdirinputxtermequalityefficientutilitiesshellsymlinkhooksemitestreeimmutableinternalquerytapremoveastes2016takeeventDispatcherwordwraphelpersslotreducerfunctionstypaniontouchtc39websiteObject.isarraycreateInt8Arraygetoptfastcloneprefixes8extensionsharedimporturlsextraeslintdom-testing-librarypipekinesisinternal slotcharsetpackagesfile systemstylingcloudformationhttpaccessibilityargparseiconvserializercode pointsECMAScript 5propjestecmascriptdeepfiltertypedarraysasciisequencedynamodbl10npluginterminalawaitspinnerprogressES2016bundlingstreams2callbacktextcensorcallglobalssyntaxchairegexpoffsetRxURLSearchParamsESnextsetImmediatelimitedcommanderreuseunicodesetterFloat32ArrayschematimestarterlengthpromiseseditorstatelessObject.keysrecursivetyped arraysymbolscmddependenciesjQuerywritepyyamlhashclientagentnegative zerodotenvdatastructurecore-jsjsonloadingdefinePropertyreduxexecwidthpolyfillArrayBuffer#slicepatchJSONloadbalancingavalook-upnamesUnderscoreposelanguageReactiveExtensionsstyled-componentsObservablesInt32Arrayincompilerroute53duplexglobalbddfunctionalflatMaptypedarraykarmacolourprivate datatestingjavascriptjsonpathqueueMicrotaskformattingobjectmulti-packageURLsuperagentFloat64Arraystringnativesidewebchromiumxdg-openwalkingawsrequiremochatesterString.prototype.matchAlldeep-copyiteratoreventsdayjsdefinecolorsArray.prototype.findLastes-abstractenumerableES2015eslintpluginreadablestreammimeSymbol.toStringTagpreserve-symlinksdeep-clonesymlinksdataviewstableObject.entrieskeyspositiveparentsvpccoercibleStyleSheeteveryTypedArrayperformancefetchs3optimizertypeofnamees2015i18nes-shimslockfilemkdirsbatchaccessorObject.definePropertyObjectqsownfast-copyebsclonefromES5ES2020fastifyslicewaitemojiargumentsreducefigletapicodesspecstylecolumnsortedrobustexecutabledomscheme-validationkeyspinnersMicrosofttrimshebangtoStringTagworkflowcjkprunebyteLengthrmdirserializezodansihasjshintWeakSettypeskoreanpicomatchmatchcall-boundArray.prototype.flattenprotoespersistentdependency managerdeepcopychildECMAScript 2017superstructisbrowseropensRFC-6455containsObservablechannelextendswfinspectTypeBoxtrimLeftchromeiterationECMAScript 2015commandtypeArrayBuffer.prototype.slicevestHyBitestdateclass-validatorcryptohasOwnidES_.extendnoderateanimationObject.valuestypescriptbannerwalkregular expressionrm -frentriesdatawritableObject.fromEntrieses5call-binduuidparsemake dirzeroES2017prettyutilityUint16Arrayformshim-0WebSocketsrfc4122comparewarningautoprefixerindicatorES6genericsbufferscoreString.prototype.trimratelimitECMAScript 2020nodejsECMAScript 2022fast-deep-clonergbfastpushcallboundawesomesauceObject.getPrototypeOfenvironmentsisConcatSpreadablesesjsmkdirpObject.assignrouteBigUint64Arrayes6flattenrmarktype.envspawnfpsbyteOffsettslibboundassertiondeleteintrinsicES2022requestttygdprcssminimalparentgetPrototypeOfstreamsAsyncIteratorbrowserslistcloudtrailgetintrinsicarraysserializationcachecloudwatchfileeslint-pluginStreamspromisebindfolderReflect.getPrototypeOfmatcheshardlinksloggingconcatreaderrorpackage.jsonroutingamazonlintproxyECMAScript 2021electronsettingstoolsiterateSetmonoreponumberreact-testing-libraryReactiveXoptiontoobjectreadableeventEmitterlistenerseslintconfigbundlerES8form-validation0PromiseflatstreamelbrapidonceES2021forEachimportexportargumenttermStreamreact-hook-formparserthrottlecomputed-typesdataViewbusynopefindlibphonenumberYAMLobjmobilemomenthookformimmerreactprototypesafestoragegatewayweakmap@@toStringTagdirectoryinferenceairbnbstdlibes2018concurrencyformsbreakjsdomjoiasserttrimRightcircularES2019threewgetquerystringequalflagnpmwafgettercopymruappprotocol-buffersCSSJSON-SchemaspringvisualtsspeedoutputinstallerchineseajaxopenxhrsameValueZeroarttapehttpsprivateapolloworkspace:*full-widthCSSStyleDeclarationstringifysearches2017function.lengthviewlogiamfindLastIndexregexconsumedescriptionreact-hooksstartutilES7byteredactSymbolcli3dArray.prototype.flatcss-in-jsexpresscolor[[Prototype]]WebSocketwordbreakECMAScript 2016Array.prototype.flatMaptaskender256tdd
5.12.126

10 months ago

4.8.61

1 year ago

4.8.60

1 year ago

4.8.63

12 months ago

4.8.62

12 months ago

4.8.65

12 months ago

4.8.64

12 months ago

4.8.67

12 months ago

4.6.44

1 year ago

2.3.28

1 year ago

4.8.66

12 months ago

4.6.45

1 year ago

4.8.69

12 months ago

4.8.68

12 months ago

2.3.29

1 year ago

4.6.48

1 year ago

4.6.49

1 year ago

4.6.46

1 year ago

4.6.47

1 year ago

2.5.43

1 year ago

4.10.80

11 months ago

2.5.44

1 year ago

4.10.81

11 months ago

2.5.41

1 year ago

2.5.42

1 year ago

4.10.76

12 months ago

4.10.77

12 months ago

4.10.78

12 months ago

4.10.79

12 months ago

2.3.35

1 year ago

4.8.59

1 year ago

2.3.34

1 year ago

2.1.13

1 year ago

2.3.37

1 year ago

2.3.36

1 year ago

2.3.31

1 year ago

2.3.30

1 year ago

2.3.33

1 year ago

2.3.32

1 year ago

4.11.110

10 months ago

4.11.111

10 months ago

3.6.44

1 year ago

5.12.125

10 months ago

4.11.109

10 months ago

4.11.107

11 months ago

4.11.108

11 months ago

4.11.105

11 months ago

4.11.106

11 months ago

4.11.103

11 months ago

4.11.104

11 months ago

4.11.101

11 months ago

4.11.102

11 months ago

4.11.100

11 months ago

4.8.70

12 months ago

4.8.72

12 months ago

4.8.71

12 months ago

4.8.74

12 months ago

4.6.51

1 year ago

4.8.73

12 months ago

4.6.52

1 year ago

4.6.50

1 year ago

4.6.55

1 year ago

4.6.53

1 year ago

4.6.54

1 year ago

5.11.112

10 months ago

4.11.98

11 months ago

5.11.111

10 months ago

4.11.97

11 months ago

5.11.114

10 months ago

4.11.96

11 months ago

5.11.113

10 months ago

4.11.95

11 months ago

4.11.99

11 months ago

4.9.75

12 months ago

4.9.74

12 months ago

4.9.76

12 months ago

4.7.56

1 year ago

2.2.17

1 year ago

4.7.57

1 year ago

2.4.39

1 year ago

2.2.18

1 year ago

2.2.15

1 year ago

4.7.55

1 year ago

2.2.16

1 year ago

2.2.13

1 year ago

2.2.14

1 year ago

4.7.58

1 year ago

2.4.38

1 year ago

4.7.59

1 year ago

2.4.37

1 year ago

4.11.90

11 months ago

4.11.94

11 months ago

4.11.93

11 months ago

4.11.92

11 months ago

4.11.91

11 months ago

5.11.123

10 months ago

4.11.87

11 months ago

5.11.122

10 months ago

4.11.86

11 months ago

5.11.125

10 months ago

4.11.85

11 months ago

5.11.124

10 months ago

4.11.84

11 months ago

5.11.121

10 months ago

4.11.89

11 months ago

5.11.120

10 months ago

4.11.88

11 months ago

2.2.19

1 year ago

2.2.28

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

5.11.119

10 months ago

2.2.21

1 year ago

5.11.116

10 months ago

4.11.83

11 months ago

5.11.115

10 months ago

4.11.82

11 months ago

5.11.118

10 months ago

4.11.81

11 months ago

2.4.41

1 year ago

5.11.117

10 months ago

2.4.40

1 year ago

3.5.44

1 year ago

1.1.13

1 year ago

1.1.9

1 year ago

1.1.12

1 year ago

1.1.11

1 year ago

1.1.10

1 year ago

1.1.8

1 year ago

1.1.7

1 year ago

1.1.6

1 year ago

1.1.5

1 year ago

1.1.4

1 year ago

1.1.3

1 year ago

1.1.2

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.0

1 year ago