1.1.3 • Published 23 days ago

@teamteanpm2024/possimus-blanditiis-suscipit v1.1.3

Weekly downloads
-
License
MIT
Repository
github
Last release
23 days ago

@teamteanpm2024/possimus-blanditiis-suscipit Version Badge

github actions coverage dependency status dev dependency status License Downloads

npm badge

Robustly .call.bind() a function.

Getting started

npm install --save @teamteanpm2024/possimus-blanditiis-suscipit

Usage/Examples

const assert = require('assert');
const callBind = require('@teamteanpm2024/possimus-blanditiis-suscipit');
const callBound = require('@teamteanpm2024/possimus-blanditiis-suscipit/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

emojisignalsdateformatgetPrototypeOfisConcatSpreadabledotenvyuputilfindupObject.defineProperty.envnodejstslibdomdeepcopyArray.prototype.flatteneventEmitterlesscssbindcurriedES3privateCSSStyleDeclarationxdges2017prettyvariablesforEachasciistringifiertyped arraysanitizepipecolournpmcommand-linexdg-openbluebirdRFC-6455hasOwni18nUnderscorermbyteOffsetmulti-packageUint8Arraypackagesjson-schema-validatortimeECMAScript 5logwatchFilegenericscss nestingvalidatormatchAlllimitedfunctionalparseString.prototype.matchAllsetio-tsfast-deep-clonefastcopyreactArray.prototype.containsArrayBuffer#sliceglobartexecdependenciesreducergetintrinsicintrinsiccore-jsutilsJSONparentreact-hookslockfilecall-boundbabelcachehelpersSetoperating-systemapollouninstallfullimmutablelook-upapicolorsless compiler[[Prototype]]rm -frsymlinklrutesterqsefficientmomentsameValueZerohigher-orderbyteprefixObject.entrieselectrontypeerroreventsjson-schemanativeexejsdifflengthtoArraynumberassigneslintjoiES2023vartrimLeftcssECMAScript 3streamwhichuuidconfigurableInt8Arraytestincludesfull-widthES2016ES2018spinnerpyyamljsonpreprocessorthroatjsxsequenceObject.assignidmake direntriesfast-copyhasrmdirregexbreakreadablethreetapesymbolslistenerstouchjasminewatchingsetPrototypeOfutil.inspectindicatornested csssortrm -rfes2015shebangtoobjectassertsiteratedeep-copyramdawebsitedefinewebES2015deterministicprogressprotocol-bufferspicomatchhookforminputPromisecheckbcrypttypanionInt32ArrayisES2021argvfastArrayBufferObservabletsviewsharedarraybufferrandomECMAScript 2022propertyargparsechromebuffermacoscryptassertionchromiumarraystreams2es6whatwgwordbreakloggingobjdebuggerObservablesObject.isplugincompilerlinkecmascriptcolumnsutilitiesbuffersUint8ClampedArrayes2016tapoptimistmime-db__proto__terminalmetadatastructuredClonecoerciblespawnawaitcreateweakmapbrowserslistArray.prototype.includesstreams_.extendhooksslotrateHyBixssloadingformattingregulareveryquotefindLastIndexscheme-validationtelephoneoptimizertypesafepolyfillmruboundformsstartinvariantcharacterObject.valuesconfigcmdless csssuperagentposearrayscomparebannerwalkingawesomesauceObject.keysduplexECMAScript 2020shimsidejsonpathstylingencryptionsignalbusyschemecontainsjsbootstrap lessaccessibilityzeroconsumereducespecpoint-freeclass-validatorBigUint64Arrayreact posestatelessieemitECMAScript 2015datastructurecodesmodulefunctionscurlprocessESserializationirqcircularperformantmkdirplessIteratorbrowserpreserve-symlinksspeedvisualruntimezodidlechinesedebugsetImmediateformlinuxconcatMaplookWebSocketreact animationargumentstakereadablestreamopenprototypecallbackcommanderhandlershardlinksupgetterECMAScript 6ECMAScript 2016code pointsArray.prototype.flatlazyloggerextrasymlinkscjkcollection.es6fixed-widthansilimitsomebabel-coremovepropertiessigtermwidthgdprdescriptorharmonydeepobjectECMAScript 2023groupBycharacterswritefast-clonethrottleautoprefixergradients csspackage.jsones7robustjsonschemafast-deep-copybddtypedataViewfastclonecollectionexpressionextendfiglettrimEndflagpnpm9toolkitsliceweaksetsuperstructRxJScolumnlintpasswordReactiveExtensionsvaluecss variableonceminimalprotobufMapgetOwnPropertyDescriptorl10nshrinkwrapcors3dinternaldiffclassesdataexitnopeequalsyntaxauthenticationrgbxtermes-shim APIserializedataviewString.prototype.trimtrimStartpromisestraversexhrpathvalidtoolsopenereditorframerratelimitbundlerpromiseexpressajaxparentsESnextwrap0authcoreStreames2018findLastStreamsargsCSSa11ypureperformancegroupshamstyled-componentstypescripthttpsregular expressionsWeakMapcompile lessSymbol.toStringTagstylesopenssettingseslint-pluginletgradients css3fantasy-landcall-bindpushES2020styleObjectES2017texttaskarraybuffersafespinnerspositivecss lessargumenttddBigInt64Arrayvariables in csstoSortedreact-testing-librarydayjsjQueryoffsetfseventsdirnegative zeroYAMLfpECMAScript 2021waitUint16ArrayreusetypedarrayFloat64ArraynegativeinstallmochatestingReactiveXnamesES2019enderfstypeoftranspileArray.prototype.flatMapcallboundurlscomputed-typesschemaparseres8flagses5propfullwidthappwordwrapECMAScript 2019descriptorsestreefileclassnameslibphonenumberECMAScript 7yamlkarmasearchprunemkdirsaccessorajvFunction.prototype.nameES5trimreal-timerapidclassnameescapestatusclienteslintconfigserializerbatch-0dropredacthashchaiwaapireadregexpguidRxjwtchildReflect.getPrototypeOfconstdefaulttermdescriptionenumerablerequirereact-hook-formURLresolvewatcherbyteLengtheast-asian-width$.extendlanguagerecursiveuser-streamspackage managerspringremoveunicodelinewrapstyleguidesyntaxerrorrfc4122json-schema-validationtrimRightsymbolES2022stringworkspace:*deepcloneanimationStyleSheetinterruptsinternal slot
1.1.3

23 days ago

1.1.2

24 days ago

1.1.1

25 days ago

1.1.0

26 days ago

1.0.0

26 days ago