3.11.96 • Published 10 months ago

@taktikorg/molestiae-praesentium v3.11.96

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

@taktikorg/molestiae-praesentium Version Badge

dependency status dev dependency status License Downloads

npm badge

An ES2015 spec-compliant Function.prototype.name shim. Invoke its "shim" method to shim Function.prototype.name if it is unavailable. Note: Function#name requires a true ES5 environment - specifically, one with ES5 getters.

This package implements the es-shim API interface. It works in an ES5-supported environment and complies with the spec.

Most common usage:

Example

var functionName = require('@taktikorg/molestiae-praesentium');
var assert = require('assert');

assert.equal(functionName(function foo() {}), 'foo');

functionName.shim();
assert.equal(function foo() {}.name, 'foo');

Supported engines

Automatically tested in every minor version of node.

Manually tested in:

  • Safari: v4 - v15 (4, 5, 5.1, 6.0.5, 6.2, 7.1, 8, 9.1.3, 10.1.2, 11.1.2, 12.1, 13.1.2, 14.1.2, 15.3, 15.6.1)
  • Chrome: v15 - v81, v83 - v106(every integer version)
    • Note: This includes Edge v80+ and Opera v15+, which matches Chrome
  • Firefox: v3, v3.6, v4 - v105 (every integer version)
    • Note: in v42 - v63, Function.prototype.toString throws on HTML element constructors, or a Proxy to a function
    • Note: in v20 - v35, HTML element constructors are not callable, despite having typeof function
  • IE: v6 - v11(every integer version
  • Opera: v11.1, v11.5, v11.6, v12.0, v12.1, v12.14, v12.15, v12.16, v15+ v15+ matches Chrome

Tests

Simply clone the repo, npm install, and run npm test

descriptorsjsclistreamECMAScript 2019rulesECMAScript 6fantasy-landbundlerworkspace:*cjkeffect-tsflagsbddbrowserlistinstrumentationparseproxy256chaisafeReactiveXES2017dataviewsomefigletString.prototype.matchAllECMAScript 2021prefixaccessibilitytostringtagis_.extendinternalESnextdefinePropertycolourSystem.globalECMAScript 2020cloudsearchmkdirreversedbuffersdebuggeres2016bundlingforkcoercibleaccessorunicodemonorepodeletetesterregular-expressionespreeelasticacheflatshrinkwrapidjson-schemaassertiondynamodbvalidestreeString.prototype.trimreact-hookswgetavaES2020vpcInt16ArraypinolastuuidconstchildequalelectronvalidationmetadatajsdomInt32ArrayupsuperagentprogressarraysECMAScript 7code pointsfunctionsinatraqueuecoverageinspectjasminetoolses5compareObjectArray.prototype.flatindicatorprotoarraybufferURLSearchParamsgetPrototypeOfairbnbstreamsRxJSreact poseintrinsicspeczxbyteeventsbusyponyfillprocessvalidatereduxiezerojson-schema-validatorInt8ArrayArray.prototype.includesguidRFC-6455identifiersJSONsqsdirequalitySymbol.toStringTagURLprotobufgetter3dcommand-linenopesortedchromecachejsdiffRegExp.prototype.flagspromisefile systembyteLengthagentconsolesuperstructcolorrapidECMAScript 5descriptorlibphonenumbervaluesMaptermes-shimstapsyntaxgetOwnPropertyDescriptortrimEndAsyncIteratorlook-upextendpropertySymbolartWebSocketesposeoptimizermomentawswaitkarmacryptoclass-validatorsyntaxerrorbrowserescapecall-bindasterisksfastifykinesissimpledbjestshebangwritabletoReversedcurlreducedeepcopystylingperformantgroupcolumnBigInt64ArrayvaluemapreducegitignoreObject.isthreefindawesomesaucepostcss-plugintscloudtrail[[Prototype]]props3spinnersrouterrangeerrorcloudwatchFloat64ArrayArrayBuffer#slicedependency managerworkflowignorepropertiescallboundxtermyupebsformscompilerECMAScripttypanionhookformimportexportforEachtypedeverywriteglobal this valueloadbalancingjson-schema-validationelbjavascriptfunction.lengthcolorsasciizodcallbindtouchnames.enves2017tc39cloudformationeslint-plugininputwhichUint8ArrayworkermochaBigUint64Arraytakeprototypejoiexpressremoverm -frinstallMicrosoftreadtypeowntrimRightslicelookbinariesObject.entriesgethigher-orderiteratorautoprefixerreadablestreampackage manager$.extendcontainsurluser-streamsimmerappECMAScript 2017npmignoremergejsonschemaregexmkdirstoStringTagfast-copyes-shim APIwindowregular expressionsrequestUint16ArrayReflect.getPrototypeOffull-widthreverseoptioncloneformselftransformio-tses2015commandregexp6to5isConcatSpreadablermdires8matchAllobjectconcatArray.prototype.filterredactrssoptimistrmES2016PushcharacterfastcloneTypeBoxarraydayjsdeep-clonedataclassnameshtmltextqscircularcopyhelpersnpmArrayBuffer.prototype.sliceviewStreamspushES2015css-in-jstypedarraysemojibindsameValueZerojapanesekeyenumerableassertObject.assignStreamroutingPromiseweaksetArray.prototype.findLastenvironmenthas-owntranspilerfetchpopmotiondomenvdeepcloneastYAMLdotenvdom-testing-libraryArrayBufferpuretrimLeftECMAScript 2022mkdirppackageArrayrandompostcsssideconsumeomitfunctionsinvariantserializerflagweakmapcharacterseast-asian-widthtslibharmonyutilitiesimmutableECMAScript 2015loggingvarsramdaES5JSON-Schemaloggergesturesrm -rflinkfindLastIndexyamlfunctionalglobal objectquoteCSSStyleDeclarationpathsortoutputincludesWeakMapfindLasteventDispatcherdirectoryES6nodeobjchannelexecfilespringutilsl10nnegativescheme-validationquerystringTypeScriptgetoptEShttprequireFloat32ArraycensorflatMapECMAScript 2023manipulationES2022codeswebexecUint32ArrayfilemakeObject.fromEntriessettings
3.11.96

10 months ago

3.11.95

10 months ago

3.11.94

10 months ago

3.11.93

10 months ago

3.11.92

10 months ago

3.11.91

11 months ago

3.11.90

11 months ago

3.11.89

11 months ago

3.11.88

11 months ago

2.11.88

11 months ago

2.11.87

11 months ago

2.11.86

11 months ago

2.11.85

11 months ago

2.11.84

11 months ago

2.11.83

11 months ago

2.11.82

11 months ago

2.10.82

11 months ago

2.10.81

11 months ago

2.10.80

11 months ago

2.10.79

11 months ago

2.10.78

11 months ago

2.10.77

11 months ago

2.10.76

11 months ago

2.9.76

11 months ago

2.9.75

11 months ago

2.9.74

11 months ago

2.9.73

11 months ago

2.9.72

11 months ago

2.9.71

11 months ago

2.9.70

11 months ago

2.9.69

11 months ago

2.9.68

11 months ago

2.9.67

11 months ago

2.9.66

11 months ago

2.9.65

11 months ago

2.9.64

12 months ago

2.8.64

12 months ago

2.8.63

12 months ago

2.8.62

12 months ago

2.8.61

12 months ago

2.8.60

12 months ago

2.8.59

12 months ago

2.8.58

12 months ago

2.8.57

12 months ago

2.8.56

12 months ago

2.8.55

12 months ago

2.8.54

12 months ago

2.8.53

12 months ago

1.8.53

12 months ago

1.8.52

12 months ago

1.8.51

12 months ago

1.8.50

12 months ago

1.8.49

12 months ago

1.8.48

12 months ago

1.8.47

12 months ago

1.8.46

1 year ago

1.8.45

1 year ago

1.8.44

1 year ago

1.8.43

1 year ago

1.7.43

1 year ago

1.7.42

1 year ago

1.7.41

1 year ago

1.7.40

1 year ago

1.7.39

1 year ago

1.6.39

1 year ago

1.5.39

1 year ago

1.5.38

1 year ago

1.5.37

1 year ago

1.5.36

1 year ago

1.5.35

1 year ago

1.5.34

1 year ago

1.4.34

1 year ago

1.4.33

1 year ago

1.4.32

1 year ago

1.4.31

1 year ago

1.4.30

1 year ago

1.4.29

1 year ago

1.4.28

1 year ago

1.4.27

1 year ago

1.4.26

1 year ago

1.4.25

1 year ago

1.4.24

1 year ago

1.4.23

1 year ago

1.4.22

1 year ago

1.3.22

1 year ago

1.3.21

1 year ago

1.3.20

1 year ago

1.2.20

1 year ago

1.2.19

1 year ago

1.2.18

1 year ago

1.2.17

1 year ago

1.2.16

1 year ago

1.2.15

1 year ago

1.1.15

1 year ago

1.1.14

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.1.3

1 year ago

1.1.2

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago