9.6.82 • Published 1 year ago

@taktikorg/sed-tempora v9.6.82

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year 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

1 year ago

9.6.81

1 year ago

9.6.80

1 year ago

8.6.80

1 year ago

8.6.79

1 year ago

8.6.78

1 year ago

8.6.77

1 year ago

8.6.76

1 year ago

8.6.75

1 year ago

7.6.75

1 year ago

7.6.74

1 year ago

7.5.74

1 year ago

7.5.73

1 year ago

7.5.72

1 year ago

7.5.71

1 year ago

7.5.70

1 year ago

7.5.69

1 year ago

7.5.68

1 year ago

7.5.67

1 year ago

7.5.66

1 year ago

7.5.65

1 year ago

7.5.64

1 year ago

7.4.64

1 year ago

7.4.63

1 year ago

7.4.62

1 year ago

7.4.61

1 year ago

6.4.61

1 year ago

6.4.60

1 year ago

6.4.59

1 year ago

6.4.58

1 year ago

6.4.57

1 year ago

6.4.56

1 year ago

6.4.55

1 year ago

6.4.54

1 year ago

6.4.53

1 year ago

6.4.52

1 year ago

6.4.51

1 year ago

6.4.50

1 year ago

6.4.49

1 year ago

6.4.48

1 year ago

6.4.47

1 year ago

6.4.46

1 year ago

5.4.46

1 year ago

5.4.45

1 year ago

5.4.44

1 year ago

5.4.43

1 year ago

5.4.42

1 year ago

5.4.41

1 year ago

5.4.40

1 year ago

5.3.40

1 year ago

5.3.39

1 year ago

5.3.38

1 year ago

5.3.37

1 year ago

5.3.36

1 year ago

5.3.35

1 year ago

5.3.34

1 year ago

5.3.33

1 year ago

5.3.32

1 year 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