2.10.100 • Published 10 months ago

@patrtorg/esse-ut v2.10.100

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

@patrtorg/esse-ut Version Badge

github actions coverage dependency status dev dependency status License Downloads

npm badge

Robustly .call.bind() a function.

Getting started

npm install --save @patrtorg/esse-ut

Usage/Examples

const assert = require('assert');
const callBind = require('@patrtorg/esse-ut');
const callBound = require('@patrtorg/esse-ut/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

syntaxfullwidthsymbolsglobcommandeverytddlastbytetranspileprotobufsettingsstatusmoduleESnexttelephonejson-schema-validationArray.prototype.findLasttrimEndtypeerrorargsebsMapeslintgitignoregetterArrayBuffer.prototype.slicepoint-freeincludesfixed-widthBigInt64ArrayBigUint64ArrayES7jsdomSystem.globalglobalweaksetstarterletnpmstringifyoperating-systemStyleSheetinspectprototypearta11yoptimizerintrinsicsyntaxerrorquerymkdirpsharedarraybufferlinuxcontainsjson-schemagetPrototypeOfsigintTypedArrayelasticachegetintrinsiccolourchineseremovedomchannelinstallerstylesheetCSSStyleDeclarationeast-asian-widthnopebannerinternal slotshebangaccessibilityinterruptsbabelprogressconfigendpointInt8Arraylesscsses-abstractarraysWeakSetes-shimssymlinksenumerableloggermomentindicatorcloudtrailauthinvariantvarsstreamsarraysuperagentjQuerycss-in-jswidthcallbackReactiveExtensionsnamesdescriptorreduxecmascriptutilrecursivephonematchAllpreprocessorrequestlanguageselfbinjavascriptpersistenterrorloggingescapegenericswaitisstyled-componentsqueueMicrotasktaketty3dmixinsclassnameRxlocalcolumnsmodulesSettrimRightless compilercloudsearchformsfindLastIndexcorees7Array.prototype.flattenmanageruploadserializefast-deep-clonetc39writeconsumereact poseaccessordeleteoptiontypanionsettertrimStartfluxString.prototype.matchAllECMAScript 2018package managerstateless[[Prototype]]matchnegative zerospawnInt32ArrayTypeScriptbundlernpmignorelengthES2019droplocationloadingESperformanceimmutablewhichclassnamesisConcatSpreadablepostcsscss variablefasthttphasOwnES2023signalwindowidlespinnertransportpluginhookformeventsmapPushinferencetestingpipeRFC-6455serializerflagsterminalchromiumJSON-SchemadataViewfast-deep-copyentriesuninstallpositiveArraycreate0Float32ArrayflatMapreact-testing-librarybundlingArray.prototype.flatMapfront-endECMAScriptpushwarning@@toStringTagdayjsObservableprotofilterArray.prototype.containsStreamajvIteratorarktypeprettyreadablestreamFloat64Arraypathcore-jsmockfstraversebrowserslistyuprouteES5callboundsortedservicexhrlivemakeastzxHyBihotWeakMapproxyconstoncees2017rdsfindLaststringifierflattenserializationclass-validatorECMAScript 2019schemepackagesTypeBoxwafmkdirenvSymbol.toStringTagbuffersArrayBuffergesturesvartypecall-bindtextdirObject.getPrototypeOfnodejsbrowserbootstrap css6to5less mixinsjwtpicomatchquerystringawsl10nES2017pinofull-widtheslintpluginvpcinstallES2016acornlogmetadataminimalrgbInt16ArrayRegExp.prototype.flagssubprocessdeepcopysetImmediateeffect-tscommand-linetouchtypedarraysArrayBuffer#sliceregexpscheme-validationmapreducestructuredCloneeslint-pluginequalestreeexpressionreplayoffsetfast-clonechaidiffurlObject.valuesES8importexportparsesameValueZerocurriedsqss3charactercache
2.9.99

10 months ago

2.9.100

10 months ago

2.10.100

10 months ago

2.9.98

10 months ago

2.9.97

10 months ago

2.9.96

10 months ago

2.9.95

10 months ago

2.9.94

10 months ago

2.9.93

10 months ago

2.9.92

10 months ago

2.9.91

10 months ago

2.9.90

10 months ago

2.9.89

10 months ago

2.9.88

10 months ago

2.9.87

10 months ago

2.9.86

10 months ago

2.8.86

10 months ago

2.8.85

10 months ago

2.8.84

10 months ago

2.8.83

10 months ago

2.8.82

10 months ago

2.8.81

10 months ago

2.8.80

10 months ago

2.8.79

10 months ago

2.8.78

11 months ago

2.8.77

11 months ago

2.8.76

11 months ago

2.8.75

11 months ago

2.8.74

11 months ago

2.8.73

11 months ago

2.8.72

11 months ago

2.8.71

11 months ago

2.8.70

11 months ago

2.7.70

11 months ago

2.7.69

11 months ago

2.7.68

11 months ago

2.7.67

11 months ago

2.7.66

11 months ago

2.7.65

11 months ago

2.7.64

11 months ago

2.7.63

11 months ago

2.7.62

11 months ago

2.7.61

11 months ago

2.7.60

11 months ago

2.7.59

11 months ago

2.6.59

11 months ago

2.6.58

11 months ago

2.6.57

11 months ago

2.6.56

11 months ago

2.6.55

11 months ago

2.6.54

11 months ago

2.6.53

11 months ago

2.6.52

11 months ago

2.6.51

11 months ago

2.6.50

12 months ago

2.6.49

12 months ago

2.6.48

12 months ago

2.6.47

12 months ago

2.6.46

12 months ago

2.6.45

12 months ago

2.6.44

12 months ago

2.6.43

12 months ago

2.6.42

12 months ago

1.6.42

12 months ago

1.6.41

12 months ago

1.6.40

12 months ago

1.6.39

12 months ago

1.6.38

12 months ago

1.6.37

12 months ago

1.6.36

12 months ago

1.6.35

12 months ago

1.6.34

12 months ago

1.6.33

12 months ago

1.5.33

12 months ago

1.5.32

1 year ago

1.5.31

1 year ago

1.5.30

1 year ago

1.5.29

1 year ago

1.5.28

1 year ago

1.5.27

1 year ago

1.5.26

1 year ago

1.5.25

1 year ago

1.5.24

1 year ago

1.5.23

1 year ago

1.5.22

1 year ago

1.5.21

1 year ago

1.5.20

1 year ago

1.5.19

1 year ago

1.5.18

1 year ago

1.5.17

1 year ago

1.5.16

1 year ago

1.5.15

1 year ago

1.5.14

1 year ago

1.5.13

1 year ago

1.5.12

1 year ago

1.5.11

1 year ago

1.4.11

1 year ago

1.4.10

1 year ago

1.3.10

1 year ago

1.3.9

1 year ago

1.2.9

1 year ago

1.2.8

1 year ago

1.2.7

1 year ago

1.2.6

1 year ago

1.2.5

1 year ago

1.2.4

1 year ago

1.2.3

1 year ago

1.1.3

1 year ago

1.1.2

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.0

1 year ago