4.5.71 • Published 11 months ago

@hishprorg/veniam-aperiam-voluptatum v4.5.71

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

@hishprorg/veniam-aperiam-voluptatum Version Badge

github actions coverage dependency status dev dependency status License Downloads

npm badge

Robustly .call.bind() a function.

Getting started

npm install --save @hishprorg/veniam-aperiam-voluptatum

Usage/Examples

const assert = require('assert');
const callBind = require('@hishprorg/veniam-aperiam-voluptatum');
const callBound = require('@hishprorg/veniam-aperiam-voluptatum/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

toSorted$.extendruntimeworkspace:*keysdescriptorschemeyupArrayBuffer.prototype.slicesettingsTypeScriptprettyerrorcloudtrailprotoirqstreamextracloudsearchenderecmascriptlanguageexecuteUnderscorenodetesterobjectES2021System.globalpolyfillloggervestloadbalancingtc39jestfromhasOwnPropertyvalidreal-timejQueryfastcopyuninstallArray.prototype.findLastglobalttycommanderinstallstablequerystringprotobufconfiggetPrototypeOftoolsdefineECMAScript 2016sharedarraybufferaccessibilityincludeschannelES3requiresigtermairbnbrulesreversedless.jsjsdiffes2016sequencegesturesconsttoStringTagMaputilitymkdirspredictablepromisemake dirbootstrap lesstouchparsingponyfilldeepcloneprefixarktypeelb_.extendpureenvironmentidlees2017definePropertymonorepopackage.jsonHyBicalllesscsswidthcjkInt32ArrayasyncoutputzeromatchhttpObject.iscryptconsoletransportieendpointcodesspringIteratorsymlinkES2023getterbabelasciipnpm9bundlingFloat32Arrayeslintconfigrapidkeyflagsasterisksfparraybufferpyyamlmomenthigher-orderregexpdataviewtypanionvartoArraytacitArray.prototype.findLastIndextsjwtcontainsiamhardlinksregular expressionqueueparsebinariesdiffec2internalcss lesstoobjectpatchfpsjson-schema-validationsyntaxstoragegatewayintrinsicslotString.prototype.matchAllclilesslru.envviewassertsefficientprivatemodulessuperstructsignalswindowequalityfunctionsomedom-testing-librarycircularfull-widthcallboundbabel-corejshintawsswfgroupreducefunctionalstatusposedeletereact poseassigntranspiletranspilerdeterministicrobustESnextexecfileES8agentObject.valuesconcatMapamazoncss-in-jssubprocesscollectiondependenciesvpcObject.fromEntriestypescriptuploadbytebundlerless csscreateassertionlocaldeepmrunamepathfs.gitignoreshamfunctionsreversetestingfastclonegetintrinsicfluxES7east-asian-width[[Prototype]]equalpostcss-pluginSymbol.toStringTagasserti18nserializationtypeprocessJSON-Schemadotenvnpmignorenegative zeromacosroutetslibtelephonekoreanes8specArray.prototype.containschromiumramdaurlglobalThisletimmutabletakeArray.prototype.includesArrayBufferhooksentriesECMAScript 2023prototypeconsumesharedprunevariables in cssinspectvaluesflagbeanstalkbddcolumnStreamsgenericsdirclass-validatorparserownwaitRxJSschematddtermutilloggingcurriedexecjoiArrayBuffer#sliceargsES2016passworddragpropclassestypedarrayssymlinkssimpledbObservablestringimportexportformspopmotioneventDispatcherESshrinkwraplistenersworkflowWebSocketterminalwindowsless mixinsReactiveXzodexpressrandomcompile lesss3lazyES2022enumerableURLcss nestingpluginECMAScript 2020hookformtrimStartcommand-lineArray.prototype.flattenindicatorspinnerredactWebSocketseslintbufferselfReactiveExtensionsstylingreadablestatelessbinfilterprivate datagitignorearraybuffersapitypesshebangFloat64Arraycall-bindobjstyleguidees2018iterationgradients cssfast-deep-clonechai3dglobal this valuestylesheetfindLastIndexcomputed-typesgetopt6to5mobilespawnnumberxtermcertificatesObject.definePropertyinterruptsinternal slotregular-expressionastconcatcollection.es6function.lengthelmObjectSymbolcurlfastifywaftoolkitObject.assignES2019cryptosnseverywritesortedtrimEndutil.inspectquoteextendreact-hook-formbusyuuidnested csssignalrecursivemergevarses-shimsnegativebannerbyteOffsetemrwaapidaterequestbrowserslistcachepackage managerfetchpicomatchworkerArrayfantasy-landgraphqlreduceroptionperformanceweakmaplintelasticacheemitMicrosoftObject.getPrototypeOfRFC-6455expressionECMAScript 2019zxsafevalidatortypesafeshellguides6stringifygettypeofTypedArraytyped arraydirectoryesformsetPrototypeOfInt16ArrayqueueMicrotaskiteratorlibphonenumberstylesObservablespreserve-symlinksartrfc4122regex-0statelinuxform-validationreplayFunction.prototype.nameelectrontrimdeepcopybyteLengthimmershimescapebrowserlisteventEmitterUint32ArraydataViewchromereadablestreamreact-componentrangeerrorlinkio-tseffect-tscoercibleES2015authenticationcssines-abstractspinnersWeakSetmovepipesetImmediateclientaccessortypeerrormanagerargvjsdomprogresscolourcompareStreamvalidationoffsetsortsigintredux-toolkitArray.prototype.flatECMAScript 2021visualenvironmentshasOwnoperating-systemRxserializerinputsameValueZeroacornhasprotocol-bufferssliceperformantTypeBoxglobal objectglobalsstyleArray.prototype.flatMapgetOwnPropertyDescriptorreduxnopeforkmkdirframercolumnsnativecheckboundforEachisConcatSpreadabledomdescriptorscommandcore-jsclassnameomitrfc9562stringifierencryptionECMAScript 5fullwidthwalkcss variableanimationapolloreactnpmsignediscolorxhrUint8ClampedArraypostcsslivetostringtagflattenwhatwgbinaryutilitiesfileeslintpluginsetroutingreact-testing-libraryES2018valuedescriptionoptimistECMAScript 2022metadatargbwgetsesmodulesymbolscall-bounddeep-copysymbolautoscalingglacierreact animationsetterjapanesefullECMAScript 2017identifierscloudformationcharacterspeedinvariant@@toStringTagonceutilsdeep-clonegradients css3helperJSONpropertyjavascripterror-handlingyamlmapscheme-validationes2015formatcloudfront256datastructureCSSStyleDeclarationflatjson-schema-validatorstructuredClonecore
4.5.71

11 months ago

4.4.71

11 months ago

4.4.70

11 months ago

4.4.69

11 months ago

4.4.68

11 months ago

4.4.67

11 months ago

4.4.66

11 months ago

4.4.65

11 months ago

4.4.64

11 months ago

4.4.63

11 months ago

4.4.62

11 months ago

4.4.61

11 months ago

4.4.60

11 months ago

4.4.59

11 months ago

4.4.58

11 months ago

4.4.57

11 months ago

4.4.56

11 months ago

4.4.55

11 months ago

4.4.54

12 months ago

4.4.53

12 months ago

4.4.52

12 months ago

4.3.52

12 months ago

4.3.51

12 months ago

4.3.50

12 months ago

4.3.49

12 months ago

4.3.48

12 months ago

4.3.47

12 months ago

4.3.46

12 months ago

4.3.45

12 months ago

4.2.45

12 months ago

4.2.44

12 months ago

4.1.44

12 months ago

4.1.43

12 months ago

4.1.42

12 months ago

4.1.41

12 months ago

4.1.40

12 months ago

4.1.39

12 months ago

4.1.38

12 months ago

4.1.37

1 year ago

4.1.36

1 year ago

4.1.35

1 year ago

4.1.34

1 year ago

4.1.33

1 year ago

4.1.32

1 year ago

4.1.31

1 year ago

4.1.30

1 year ago

4.1.29

1 year ago

4.1.28

1 year ago

4.1.27

1 year ago

4.1.26

1 year ago

4.1.25

1 year ago

3.1.25

1 year ago

3.1.24

1 year ago

3.0.24

1 year ago

3.0.23

1 year ago

3.0.22

1 year ago

3.0.21

1 year ago

3.0.20

1 year ago

3.0.19

1 year ago

3.0.18

1 year ago

3.0.17

1 year ago

3.0.16

1 year ago

3.0.15

1 year ago

3.0.14

1 year ago

3.0.13

1 year ago

3.0.12

1 year ago

3.0.11

1 year ago

3.0.10

1 year ago

3.0.9

1 year ago

2.0.9

1 year ago

2.0.8

1 year ago

2.0.7

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

2.0.2

1 year ago

2.0.1

1 year ago

2.0.0

1 year ago

1.0.0

1 year ago