5.12.126 • Published 11 months ago

@diotoborg/perspiciatis-voluptates-alias v5.12.126

Weekly downloads
-
License
MIT
Repository
github
Last release
11 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

11 months ago

4.8.61

1 year ago

4.8.60

1 year ago

4.8.63

1 year ago

4.8.62

1 year ago

4.8.65

1 year ago

4.8.64

1 year ago

4.8.67

1 year ago

4.6.44

1 year ago

2.3.28

1 year ago

4.8.66

1 year ago

4.6.45

1 year ago

4.8.69

1 year ago

4.8.68

1 year 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

1 year ago

2.5.44

1 year ago

4.10.81

1 year ago

2.5.41

1 year ago

2.5.42

1 year ago

4.10.76

1 year ago

4.10.77

1 year ago

4.10.78

1 year ago

4.10.79

1 year 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

12 months ago

4.11.111

12 months ago

3.6.44

1 year ago

5.12.125

11 months ago

4.11.109

12 months ago

4.11.107

12 months ago

4.11.108

12 months ago

4.11.105

1 year ago

4.11.106

1 year ago

4.11.103

1 year ago

4.11.104

1 year ago

4.11.101

1 year ago

4.11.102

1 year ago

4.11.100

1 year ago

4.8.70

1 year ago

4.8.72

1 year ago

4.8.71

1 year ago

4.8.74

1 year ago

4.6.51

1 year ago

4.8.73

1 year 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

12 months ago

4.11.98

1 year ago

5.11.111

12 months ago

4.11.97

1 year ago

5.11.114

12 months ago

4.11.96

1 year ago

5.11.113

12 months ago

4.11.95

1 year ago

4.11.99

1 year ago

4.9.75

1 year ago

4.9.74

1 year ago

4.9.76

1 year 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

1 year ago

4.11.94

1 year ago

4.11.93

1 year ago

4.11.92

1 year ago

4.11.91

1 year ago

5.11.123

12 months ago

4.11.87

1 year ago

5.11.122

12 months ago

4.11.86

1 year ago

5.11.125

12 months ago

4.11.85

1 year ago

5.11.124

12 months ago

4.11.84

1 year ago

5.11.121

12 months ago

4.11.89

1 year ago

5.11.120

12 months ago

4.11.88

1 year 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

12 months ago

2.2.21

1 year ago

5.11.116

12 months ago

4.11.83

1 year ago

5.11.115

12 months ago

4.11.82

1 year ago

5.11.118

12 months ago

4.11.81

1 year ago

2.4.41

1 year ago

5.11.117

12 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