3.11.96 • Published 1 year ago

@taktikorg/molestiae-praesentium v3.11.96

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

1 year ago

3.11.95

1 year ago

3.11.94

1 year ago

3.11.93

1 year ago

3.11.92

1 year ago

3.11.91

1 year ago

3.11.90

1 year ago

3.11.89

1 year ago

3.11.88

1 year ago

2.11.88

1 year ago

2.11.87

1 year ago

2.11.86

1 year ago

2.11.85

1 year ago

2.11.84

1 year ago

2.11.83

1 year ago

2.11.82

1 year ago

2.10.82

1 year ago

2.10.81

1 year ago

2.10.80

1 year ago

2.10.79

1 year ago

2.10.78

1 year ago

2.10.77

1 year ago

2.10.76

1 year ago

2.9.76

1 year ago

2.9.75

1 year ago

2.9.74

1 year ago

2.9.73

1 year ago

2.9.72

1 year ago

2.9.71

1 year ago

2.9.70

1 year ago

2.9.69

1 year ago

2.9.68

1 year ago

2.9.67

1 year ago

2.9.66

2 years ago

2.9.65

2 years ago

2.9.64

2 years ago

2.8.64

2 years ago

2.8.63

2 years ago

2.8.62

2 years ago

2.8.61

2 years ago

2.8.60

2 years ago

2.8.59

2 years ago

2.8.58

2 years ago

2.8.57

2 years ago

2.8.56

2 years ago

2.8.55

2 years ago

2.8.54

2 years ago

2.8.53

2 years ago

1.8.53

2 years ago

1.8.52

2 years ago

1.8.51

2 years ago

1.8.50

2 years ago

1.8.49

2 years ago

1.8.48

2 years ago

1.8.47

2 years ago

1.8.46

2 years ago

1.8.45

2 years ago

1.8.44

2 years ago

1.8.43

2 years ago

1.7.43

2 years ago

1.7.42

2 years ago

1.7.41

2 years ago

1.7.40

2 years ago

1.7.39

2 years ago

1.6.39

2 years ago

1.5.39

2 years ago

1.5.38

2 years ago

1.5.37

2 years ago

1.5.36

2 years ago

1.5.35

2 years ago

1.5.34

2 years ago

1.4.34

2 years ago

1.4.33

2 years ago

1.4.32

2 years ago

1.4.31

2 years ago

1.4.30

2 years ago

1.4.29

2 years ago

1.4.28

2 years ago

1.4.27

2 years ago

1.4.26

2 years ago

1.4.25

2 years ago

1.4.24

2 years ago

1.4.23

2 years ago

1.4.22

2 years ago

1.3.22

2 years ago

1.3.21

2 years ago

1.3.20

2 years ago

1.2.20

2 years ago

1.2.19

2 years ago

1.2.18

2 years ago

1.2.17

2 years ago

1.2.16

2 years ago

1.2.15

2 years ago

1.1.15

2 years ago

1.1.14

2 years ago

1.1.13

2 years ago

1.1.12

2 years ago

1.1.11

2 years ago

1.1.10

2 years ago

1.1.9

2 years ago

1.1.8

2 years ago

1.1.7

2 years ago

1.1.6

2 years ago

1.1.5

2 years ago

1.1.4

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago