2.0.30 • Published 1 year ago

@juigorg/quae-doloremque-quas v2.0.30

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

@juigorg/quae-doloremque-quas Version Badge

github actions coverage dependency status dev dependency status License Downloads

npm badge

Robustly .call.bind() a function.

Getting started

npm install --save @juigorg/quae-doloremque-quas

Usage/Examples

const assert = require('assert');
const callBind = require('@juigorg/quae-doloremque-quas');
const callBound = require('@juigorg/quae-doloremque-quas/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

widthECMAScript 2022ES6invariantPromisestringifiertypaniondirelectronfunctionECMAScript 7deterministicschememake dircollectionbrowsersliststylesheetairbnbtestmodulesnativeieenderencryptionlibphonenumberfast-copykinesisredux-toolkitprunelimitRxJStapeidclass-validatorreadableStyleSheetansicurlECMAScript 2017Uint8ClampedArrayswffile systemdynamodbcharacterskarmazerotakeparentsstreamsUint32ArraycircularString.prototype.matchAllmergeSetUint8ArraygetPrototypeOfcommanderoutputsameValueZerostylesemrfpses-abstractvariables in csscryptoio-tsdebuggerfssortedcacheformattingObject.getPrototypeOfshamoptimistcall-boundsuperstructopenObject.definePropertydescriptorseslint-plugines7beanstalkjsfolderassignfluxwalkmiddlewareissyntaxerrorcss-in-jsserializeqsdom-testing-libraryspeedinternal slotoptimizerajvMapmetadatacomputed-typesUnderscoretoArraybusycolorsprototyperoutelinewrapECMAScript 2016contains.envsymbolsrdspreserve-symlinksnopetypesafeimportECMAScript 5testererrorcomparesidewrapclassescompilerjestless.jspiperecursivelocationvestwafJSON-Schemadeep-copywhichglaciertrimRightcallbindchromedayjsregularcallboundtrimcommand-lineeventEmittercolumnsgetintrinsictrimEndjasmineimmutablematchAlllesscss@@toStringTagnegative zerocolorBigUint64ArrayES8symlinkssharedarraybuffermomentform-validationi18nstyleguideES2018groupByruntimees2015predictablepropertiesreact-hook-formbannerconfigurableObject.fromEntriesArray.prototype.flatMapplugines-shimsrfc4122uuidprivatepositivearktypefastcopyargparseextensiondeepclonedirectoryCSSStyleDeclarationregular expressionsimpledbReactiveXtypespropmapexpressionbrowserlogdescriptionrequestfulliterateforEachonceebsObject.issymlinkjsonwriteespreemulti-packageasyncguidauthECMAScript 2018esprotocol-buffersl10nreduxsqsstyleArrayBuffer#slicedependency managerinternalenvironmentcss lessArray.prototype.includesBigInt64Arrayemitpostcss-pluginReactiveExtensionsa11yupdiffgradients cssownECMAScript 2019tty[[Prototype]]tsprivate dataagentmoveliveURLSearchParamsschemacolournodebddapolloassertsqueuejsxes5ES2015iamES2016less csshttpmoduleWebSocketssyntaxmimebrowserlistECMAScript 6flatMapworkflowes2016monorepoclassnameSymbol.toStringTagextendcloudtrailthroatredirectentriesauthenticationinputassertcorequerystringcodesremovestoragegatewayworkershellfind-upnameES2017ponyfillcensorzodfindupgettypeofstarterrmpromisehookspersistentcjkSymbolreuseString.prototype.trimaccessibilityidlechineselengthmruRegExp.prototype.flagses-shim APIjoimimetypeseverysafestyling256classnamescallbackdeleteeventDispatchertaskfilterECMAScript 2015globcore-jssomeec2isConcatSpreadableformfastclone-0settingseast-asian-widthless mixinsenumerablerandomobjviewsnsobjectHyBiFunction.prototype.namestreamstreams2statelesshookformmkdirppackagesES7duplexObjectrequireeslintconfigpathoptionsesshrinkwrapPushwatchFileAsyncIteratorJSONbindescapexhrReflect.getPrototypeOfsymbolstyled-componentswritableObject.keyspackagemkdirsstringifyequalitycloudsearchincludeshigher-orderpolyfillpackage managerloadingquerychromiumformsclientutilES3unicodeCSScolumnes2018redactapireplayformatcoercibleshimwatchtrimStartrgbvpcasciitrimLeftreduceArrayregular expressionsimmerconcatreadautoprefixerbundlingvalidateparsingchannelinbytereducerdependenciesfull-widthpatchassertiontostringtagimportexportelbboundjavascript0figletESsearchtapbufferchaiawesomesaucespinnerpasswordconcurrencytermconsumearraysnpmtypeerrorkeysRegExp#flagsprotocollection.es6StreamargumentmapreducelintcheckES2023elmtraverseomittoSortedcloudwatchstringwebbluebirdlinktestinglistenersgraphqltextartwatchinghas-owndeepmatchespromisesroute53rm -frinstallerwalkingwatcherflagsdebugStreamsoffsetperformantfast-deep-copyelasticachesharedwordwrapcss nestingcharacterastavaInt16ArrayfullwidthhelpersObject.valuesflagreacthashregexfile__proto__picomatchtslibaccessorprogressparserframeworkcorsbyteLengthWeakMapspeclazypackage.jsonjsonpathprotobufwhatwgeslintnodejstoolkitloggingcssrateexpressbuffersdatastructureslothttpsObject.entrieslook-uplookfindLastbcrypttddshebangterminalqueueMicrotaskreact-testing-libraryECMAScript 3Int32ArrayeslintpluginTypeScriptmixinslrufseventsquoteconsolecall-bindpreprocessorgetOwnPropertyDescriptortimeamazonlessnamescliawaitArray.prototype.flatmime-dbtypedstableautoscalingFloat32Arraydatabootstrap lessmakereadablestreampnpm9commandindicatorWebSocketwgettc39slicearraybuffernumberstdlibspinnersgroupmochatypedarraybundlerfast-clonenegativevariablesawsinspectreact-hooksYAMLIteratorESnextdeep-clonevalidbatchecmascriptlockfileconcatMapiteratoruninstallphonegettergetoptvisualhardlinksECMAScript 2020byteOffsetresolvedropfast-deep-cloneworkspace:*installhasrapidrangeerrorsetlastiteration
2.0.28

1 year ago

2.0.29

1 year ago

2.0.30

1 year ago

2.0.19

1 year ago

2.0.17

1 year ago

2.0.18

1 year ago

2.0.26

1 year ago

2.0.27

1 year ago

2.0.24

1 year ago

2.0.25

1 year ago

2.0.22

1 year ago

2.0.23

1 year ago

2.0.20

1 year ago

2.0.21

1 year ago

2.0.16

1 year ago

2.0.15

1 year ago

2.0.13

1 year ago

2.0.14

1 year ago

2.0.12

1 year ago

2.0.11

1 year ago

2.0.10

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

1.0.1

1 year ago

1.0.0

1 year ago