1.0.0 • Published 1 year ago
@saoviettest/sed-quasi-error-animi v1.0.0
@saoviettest/sed-quasi-error-animi 
Robustly .call.bind()
a function.
Getting started
npm install --save @saoviettest/sed-quasi-error-animi
Usage/Examples
const assert = require('assert');
const callBind = require('@saoviettest/sed-quasi-error-animi');
const callBound = require('@saoviettest/sed-quasi-error-animi/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
Object.fromEntriesjoifile systemWeakSetasciiespreeweaksetarraybuffermkdirshardlinkszodSetPushtypesafeloadingfullyupUnderscorebundlingInt32ArrayES2023setterregextypespredictableRegExp.prototype.flagshascloudformationassertshookformeslintArrayBuffer#slicecliobjstylinglimitedcode pointsless mixinsserializationlook-upprogresssidejwtartform-validationjsdifftrimRightECMAScript 7prettyfetchArray.prototype.findLastIndexprunerandomutilfast-copyimportexportemrArrayliverequireformESstringifierwaitbyteOffsetArray.prototype.flatMapsettingstelephonecharacterInt16Arraylogger$.extendJSONdataviewECMAScript 6extraes2017ECMAScript 2015warningwordwrapstdlibes2015encryptionnamesconfigurableES3parsematchextenddebuggersafeassertioncreateoffsetpromisemake dirconcatHyBiawesomesaucees2018performancetoolsjestcryptooptimizerprototypejasmineregular expressionschinesei18nindicatores8Symbol.toStringTagavaownexeceslintconfigdatereadObject.definePropertyeslint-plugingrouperrorcloudfronttrimttymimetrimStartawaituninstalltermhasOwnPropertyresolveinstallerwritablevariableswhatwgequalityairbnbclass-validatoreventEmitterpackage.jsonsymboltoobjectECMAScript 5schemepasswordiamroute53ES8coerciblecjknegative zerofunctionalarktypespinnerstddshamprotostyleguideauthtimejapaneseoptiontyped arrayparenthigher-orderio-tssequencenumberrmdirFunction.prototype.namesyntaxerrorefficientflagless cssRegExp#flagsunicodenpmcolorfileUint32ArrayconnectwalkpropArrayBufferCSSStyleDeclarationformatassertmonorepotypeofxhrsessuperagentreducebcrypteventsmatchAllArray.prototype.flatbufferquerystringgetterstateArrayBuffer.prototype.sliceoutputendpointajaxstructuredCloneelbwatchingnameintrinsicmaploggingterminalsharedarraybufferec2urljavascriptdayjscompile lessdirutil.inspectshebangtestingdependency manager-0ratelimitbindwidthmatchesguidpackage managerpromisesinferenceagentcommand-linehelperstouchroutingdefineInt8ArrayJSON-SchemadefinePropertypropertyaccessibilityspinneridECMAScript 2019commanderfastifymrushellES2018symlinksproxyES2022visualFloat32ArrayreactObservabledom-testing-librarycore-jsrm -frECMAScript 3ECMAScript 2021folderperformantdependenciesvalidargumentrdsspecfast-deep-cloneasynctypanioncallimportcss variableexpressfigletshimargsUint8Arraybeanstalkes7esqueuecomparepositivetrimLeftString.prototype.trimgetoptdebugObjectmodulesjsxlastbytedynamodbcensorreact-hooksmodule[[Prototype]]containswatcherapimiddlewareponyfillCSSfindvalidationlesswgetremovepreserve-symlinksgenericsframeworklockfileschemaES2016styless3flatMappackagescorsinchannelcss lessstylesheetbddhas-ownduplextoSortedlocationdiffmochautilitylookdeleteconsumebrowserslistclassnamescolumnstestsimpledbfixed-widthinvariantbyteLengthreduxreusereducerReflect.getPrototypeOfstarterwafuuidjsonchaiminimalUint16ArraycolourlesscssObject.assignparserautoprefixersharedpackageconcatMapgradients css3l10njsajvURLformscodesoptimistECMAScript 2023banneriterateviewbrowserliststyled-componentshttpscloudtrailzerovalueconsolereact-testing-librarydropECMAScript 2018fluxtyped@@toStringTagbreakruntimestreams2flatTypeScriptmimetypeseslintpluginlinknodetypestringtrimEndflattenArray.prototype.filtera11ysomestreamimmutableupglacieremojiemitserializemoveequaliterationclienttypedarraywatchFiledescriptionrecursivevestcopyfpsgraphqllintbuffersfunctionskoreanworkerECMAScript 2016__proto__regexpcheckes5validatecall-boundsnsjsdomkarmapersistentrapidcharactersES2020envbatchcurlES2015internalgetOwnPropertyDescriptorimmerdescriptorcoresymlinkfsES5rfc4122readablestreamfull-widthjQueryratedataViewECMAScript 2017logdescriptors0less.jststesteres6setmomentisquoteECMAScript 2022metadataObject.keysshrinkwrapwebrgbfindupapolloopenfunctionBigUint64ArrayhasOwninternal slotsqselasticacheAsyncIteratorphoneES6nativeexpressionconcurrencyworkspace:*private datafullwidthcachevalueseventDispatcherebslanguagetaptextcircularcallbindlinewraprmReactiveXloadbalancingArray.prototype.flattenwordbreakstringifyES2021limitRFC-6455StyleSheetcollection.es6typeerrorthrottleawswhichcryptObject.entriesfastcopyswftoStringTagESnextregularamazonstreamsfastestreebrowsertc39ansiTypedArraysymbolsTypeBoxcall-bindstatelessarraybluebirdIteratorspeedpreprocessorarrayswatchkeytoArrayvpcsearches2016fromeveryclasseswriteArray.prototype.containssuperstructnopeRxtoolkitplugin256escapecommandPromiseStreamauthenticationworkflowaccessorentriesstyleassignhttpObject.isfindLastIndexsortedpostcss-plugincsselmES2019inspectclassnamesameValueZeroconfigformattingcloudsearchkeysArray.prototype.includestypedarraysfseventspipedeepcloneWebSocketcloudwatchtostringtagnested cssdeep-copyURLSearchParamstslibbootstrap cssmkdirstablemkdirpObject.getPrototypeOfastomitbundlercollectionReactiveExtensionstypescriptcloneredactenumerableparentslibphonenumberhashwalkingfastcloneeast-asian-widthpicomatchchromefindLastvariables in css.envenderregular expressionreadablelruoncepostcsswrapbounddeep-clonegroupBychromiumgetPrototypeOfbootstrap lessdomglobtraverseprefixscheme-validationenvironmentgetdeepcopybusyweakmapsetImmediatetape_.extendcallboundxtermargparsepolyfillredirectObject.valuesArray.prototype.findLastdotenvargvless compilersyntaxsortfast-deep-copytakeslicemakefind-upsetPrototypeOf
1.0.0
1 year ago