9.6.82 • Published 10 months ago

@taktikorg/sed-tempora v9.6.82

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

@taktikorg/sed-tempora Version Badge

github actions coverage dependency status dev dependency status License Downloads

npm badge

Robustly .call.bind() a function.

Getting started

npm install --save @taktikorg/sed-tempora

Usage/Examples

const assert = require('assert');
const callBind = require('@taktikorg/sed-tempora');
const callBound = require('@taktikorg/sed-tempora/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

preserve-symlinkswarningUint8Arrayobjecttslibminimalpinocontainsfppackage manageremrYAMLutilityvaluegroupByenumerableECMAScript 7characteraccessibilitypoint-freecolorsutilsdropsignedback-endencryptioncloudtrailcloudfrontdefineprotoclientsignalsvalidatorreplaycomputed-typesintrinsicjsontoSortedsetImmediatenodeArray.prototype.containsmrumockingeventDispatchergetterhookformlastassertionES7validationtacitlesscsspasswordremoveserver.gitignoremonoreporeadablestreamfront-endidentifierspicomatchownserializercensorredactAsyncIteratorshrinkwrapspinnerforEaches6flatbyteLengthargvpreprocessorl10nlibphonenumberStreamnamesoncetestingcallboundmacospropertieshandlercolorequalinspectrequireECMAScript 2017toobjectObject.definePropertyconsumefantasy-landastinstallerArray.prototype.filterapiwalkidleloggeranimationassignerroriterationsymbolsloglanguagegenericsIteratorzerodeletemakeiecryptotypeerrorUint16ArrayhotthreeobjrdsextendCSSdescriptionObject.getPrototypeOfimmutableviewoffsethasfast-deep-copystringifierbundlingmatcheschinese.envWebSocketsec2babeltrimEndArraytyperegexcreatefileFloat32ArrayreducedataviewstylesheetparserschemaArrayBuffer#slicequeueECMAScript 2022ansidomglobalcertificatespnpm9agentfunctionsloggingtostringtagfast-deep-cloneletBigUint64ArrayclonenativefastifypathworkflowString.prototype.trimstylingcss variablecircularfnmatchnpmPromiseconcatMapextraES2022commanderweakmapconfigdataViewreact-hooksObject.fromEntriesglobal this valueSymbolmobilequerystringistrimcolourhttpsrandominterruptsURLSearchParamsgesturesworkspace:*servicetimesortedtc39__proto__Object.entrieschildswfArray.prototype.includesemitamazonspringoptiondirectorykoreanbuffersES2015codesSystem.globalbddassertstextES3sqspatchramdaeslintauthstring0equalityUnderscoretypesafenegative zerospeedmetadata_.extendArray.prototype.flatMaprobustrgbdeterministicexit-codeuninstallpackage.jsonInt32Arrayrapidvartyped arrayredirectES2018make dir
9.6.82

10 months ago

9.6.81

10 months ago

9.6.80

10 months ago

8.6.80

10 months ago

8.6.79

10 months ago

8.6.78

10 months ago

8.6.77

10 months ago

8.6.76

10 months ago

8.6.75

11 months ago

7.6.75

11 months ago

7.6.74

11 months ago

7.5.74

11 months ago

7.5.73

11 months ago

7.5.72

11 months ago

7.5.71

11 months ago

7.5.70

11 months ago

7.5.69

11 months ago

7.5.68

11 months ago

7.5.67

11 months ago

7.5.66

11 months ago

7.5.65

11 months ago

7.5.64

11 months ago

7.4.64

11 months ago

7.4.63

11 months ago

7.4.62

11 months ago

7.4.61

11 months ago

6.4.61

11 months ago

6.4.60

11 months ago

6.4.59

11 months ago

6.4.58

11 months ago

6.4.57

11 months ago

6.4.56

11 months ago

6.4.55

11 months ago

6.4.54

11 months ago

6.4.53

11 months ago

6.4.52

11 months ago

6.4.51

11 months ago

6.4.50

11 months ago

6.4.49

12 months ago

6.4.48

12 months ago

6.4.47

12 months ago

6.4.46

12 months ago

5.4.46

12 months ago

5.4.45

12 months ago

5.4.44

12 months ago

5.4.43

12 months ago

5.4.42

12 months ago

5.4.41

12 months ago

5.4.40

12 months ago

5.3.40

12 months ago

5.3.39

12 months ago

5.3.38

12 months ago

5.3.37

12 months ago

5.3.36

12 months ago

5.3.35

12 months ago

5.3.34

12 months ago

5.3.33

12 months ago

5.3.32

12 months ago

5.3.31

1 year ago

5.3.30

1 year ago

5.3.29

1 year ago

5.3.28

1 year ago

4.3.28

1 year ago

4.3.27

1 year ago

4.2.27

1 year ago

4.2.26

1 year ago

4.2.25

1 year ago

4.2.24

1 year ago

4.2.23

1 year ago

4.2.22

1 year ago

4.2.21

1 year ago

4.1.21

1 year ago

4.1.20

1 year ago

4.1.19

1 year ago

3.1.19

1 year ago

3.1.18

1 year ago

2.1.18

1 year ago

2.1.17

1 year ago

2.1.16

1 year ago

2.1.15

1 year ago

2.1.14

1 year ago

2.1.13

1 year ago

1.1.13

1 year ago

1.1.12

1 year ago

1.1.11

1 year ago

1.1.10

1 year ago

1.1.9

1 year ago

1.1.8

1 year ago

1.1.7

1 year ago

1.1.6

1 year ago

1.1.5

1 year ago

1.1.4

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago