1.0.0 • Published 1 year ago

@bobyzgirlllnpm/deserunt-corrupti-aliquam v1.0.0

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

@bobyzgirlllnpm/deserunt-corrupti-aliquam Version Badge

github actions coverage dependency status dev dependency status License Downloads

npm badge

Robustly .call.bind() a function.

Getting started

npm install --save @bobyzgirlllnpm/deserunt-corrupti-aliquam

Usage/Examples

const assert = require('assert');
const callBind = require('@bobyzgirlllnpm/deserunt-corrupti-aliquam');
const callBound = require('@bobyzgirlllnpm/deserunt-corrupti-aliquam/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

charactershasOwnformatkinesiscommandutilityArrayBuffer.prototype.sliceES2017outputguideventEmitterhttpscode pointsfastclonesomelastdataViewargumentES2022querypositivebcryptserializefullcolorObject.valuesjoiES7upRegExp.prototype.flagsclihotroutepredictableargsoptimistmatchec2package managerextension[[Prototype]]phonelimitedstylesheetjsdiffworkspace:*wafcacheStreames-abstractHyBiflattenredirectformattingreplayeslint-plugincontainsES2021nested cssobjmatchAlllinkespreepropertyelectronflatbindpatchvisualapitrimrequiretouchECMAScript 5throttlemkdirppnpm9shamjwt@@toStringTagaccessorauthenticationuninstallpathsyntaxjasminesqstestingequalrobustdescriptionprogresscompilertaskunicodehas-ownrmdirtslibendpointeveryECMAScript 2018-0nativerangeerrorBigInt64Arraysnsspinnermiddlewareremoveperformancecss variablecloudwatchaccessibilitybrowserexpressionhttpopeninstallerArray.prototype.containseslintcloudsearchdirjavascriptnumberwrappicomatchestreeInt16ArraycjkebsES2018BigUint64Arraystreams2ArrayBufferoptionfile systemframeworknodeapolloasyncliveroutingrandomtrimRightArray.prototype.findLastIndexbusyObject.assigngetterJSON-Schemacodesprunesortedfullwidthpreserve-symlinksponyfillutil.inspectarrayes8jestStreamsdefinereduceutilsesloggingfunctionsfilterargvansiString.prototype.matchAllvalidrfc4122callbindspinnerstesterfluxtrimStartvalueECMAScript 2020bufferscolumnspeedqsratelimitgraphqlweaksetoncetapdirectoryESsharedarraybufferparserlengthminimaloptimizerreact-hook-formregularsimpledbhelperses2017bootstrap cssRFC-6455URLbootstrap lessfolderUint16Arraya11yi18nmodulecolumnsamazonlanguageentriestypestoArraystdlibMicrosofttypescripttypanioncreateObject.isreduxECMAScript 7slotcollection.es6lockfilechinesequerystringgetOwnPropertyDescriptorfigletincludesdependency managerduplexcryptolesscsssuperagentpipeserializationarktypesetImmediatetyped arrayschemeinternalSymbol.toStringTagstartercensorhashtoSortedtddstructuredClonedomfindupobjectTypeBoxparentsajaxio-tshookformauthfunctionalextraESnextajvtakecheckastmochatrimEndgrouplrubreakfiledescriptorspreprocessorreducerqueueimportexportcloudformationURLSearchParamsasciidatastructurestoragegatewaybundlingES2023stylescss lessregular expressionsidleloggercomputed-typesgdprwarningconnectenumerableiteratormime-dbReflect.getPrototypeOfECMAScript 2021deep-clonetc39statelesspackage.jsonautoscalingurlIteratorpromisecallbackinferenceWebSocketsdom-testing-library.envwatcherArray.prototype.findLastloadinglookwhich__proto__errorconsumemergekeysvariablescommand-lineimmerloadbalancingCSSwordwrapbyteOffsetelbclientSymbolawesomesauceinstalleast-asian-widthsortparsingcolorsnamelibphonenumberfindLastvalidateconcatMapsuperstructcssmixinsclass-validatorReactiveExtensionsgroupBydropfsstyled-componentshooksless cssES2016internal slotpromiseseslintpluginemrwaites6bundleragentbytefindietoStringTagpolyfillcharactertoolsRxJSfast-deep-copydependencieswordbreakObject.getPrototypeOfinvariantUint8Arraymake dirtyperoute53typedcircularbound256namesmkdirfrommatchespushkoreangetintrinsicoffsetshrinkwrapdeepspeccloudtrailemojifastifywatchinspecttelephonethroatdateassertionsafedeep-copyflagprefixecmascriptflatMapwatchFilegetPrototypeOfequalityObject.fromEntriesprivate dataAsyncIteratoreswhatwgiteratebatchruntimees2015ECMAScript 2016deterministicuuidES8efficientzeroObject.keysimportperformantextendinputsharedrdsdeepcopylimitcryptparseArray.prototype.flatchromeRegExp#flagslogstableECMAScript 2022readwritemulti-packagesyntaxerrores2016jsonpathStyleSheetES5Object.entriesdeleteArrayfetchwalksymlinkbyteLengthSethardlinksObservableses2018vestvariables in cssfast-deep-clonees5shebangemitcall-bindpropl10nmobileyupWebSocketassertstostringtagcolourwebimmutablestyleguideencryptionInt8ArraystateawaitsetPrototypeOftypeofcoreclassnametextassignmonorepoiterationInt32Arrayless compilerconfigurable
1.0.0

1 year ago