5.8.115 • Published 12 months ago

@erboladaiorg/aperiam-vero-error v5.8.115

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

@erboladaiorg/aperiam-vero-error 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('@erboladaiorg/aperiam-vero-error');
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

jasmineawsdateestreeidleCSSStyleDeclarationtypescriptbundlerUnderscoreoutputmkdirfindupoptionTypeBoxresolveemojifunctionPromiseenvregexputil.inspectflagsjsonpathlogginges6ES2019chineseio-tsmodulearraysclibrowserlistjsreduxtestingcommand-linefixed-widthassigneventDispatchertypedES2015iamflagECMAScript 3shambreakECMAScript 2023shelleast-asian-widthisConcatSpreadablesyntaxmatchfile cachewritefindLaststdlibdirectoryutility$.extendbrowserslistes-shim APIform-validationrmdireslintpluginSymbolgetterdescriptorjQueryimmerpackage managerformattingparsingonceflatMapRxJSdependency managerserializationfastclonestringicukey valuegraphqlexeelectronprettyhttpsairbnbeslintconfigdirRFC-6455dataViewpipeES2023joiinvariantBigUint64ArraytoolsarrayiterateObject.fromEntriesstoragegatewaylazychaiwhatwgrandomStreamsstreamastECMAScript 2016hardlinkscss-in-jsfigletargumentserializewarninglimitedmonoreporegular expressionfast-deep-copypropdayjsmrusyntaxerrores7debugTypedArrayECMAScript 2019dataviewopenInt16ArrayWebSocketsSymbol.toStringTagECMAScript 5removefastifywordwrapfilejsdomexecawaitfullquotemergeEScloudtrailreact-hooksenvironmentpyyamlstyleguideschemathrottlefpsglobdropasciiregexcallconsumestatelessschemeargvtostringtagcloneponyfillxhrstylesswftc39picomatchvalidationcryptospinnersforEachcollection.es6shebangmomentrecursivehelpertelephoneformatWeakSetimmutableObject.getPrototypeOffsInt32ArrayextendsettertddkeygroupBysameValueZerohasOwnpackagescoremimetypesdebuggerUint8ClampedArrayreact animationTypeScriptpnpm9hooksemitdescriptorscjkmovepushYAMLES2016deepcopytslibtoStringTagsharedObject.valuesmkdirpvariablesmobileutilitiesbatchoptimizertypesfast-copyincludesdefaultMapcollectionsymlinkreactforminputbrowsersymbolsutiltoobjectwebsitelengthlinewrapansiinternal slotstartererrorsymlinkseslint-plugintrimspecterminalprotocol-buffersregularnegativehelperssuperstructArrayBufferconsolepatchbeanstalkstringifymapreduceruntimeqstapenope256testreadmetadatadynamodbcolumnpostcsspopmotionbyteLengthObservablepropertyredux-toolkitplugingetopttextworkspace:*nativevestWeakMapcloudsearchStreamcolumnscmdxdg-openflatcompilerframercomparehigher-orderlook-upapiquerystringFunction.prototype.namebuffercommandquerymochaescapecsscreateamazondescriptionsomeparenttypeerrorES8reducewhichECMAScript 2020a11ycloudfrontstylingupintrinsicroutetaketrimEndshrinkwraplimitwalkingbundlingCSSArray.prototype.filterperformantlauncheventEmitterzodinstallerwgettermdom-testing-librarycensorreact poseprototypehookformarktypeparseJSONcomputed-typesObjectscheme-validationfoldercirculartrimStartmoduleslinkObservablesfilterautoprefixerpositiveendpointReactiveExtensionseverystyled-componentsoptimistES2022typedarrayArraybyteOffsetajaxcoerciblefunctionaltyped arrayURLurlclientanimationemrArray.prototype.findLastIndexroute53japaneseES2018deepcloneObject.definePropertyinferenceminimal@@toStringTagratelimitdragproxyprotobufwritableArray.prototype.flatMapvisualIteratorsymbolininternaldefinereact-hook-formtraversematches[[Prototype]]ec2-0mapwalklruloggerprocessString.prototype.matchAllcall-boundstringifierwidthworkflowzeroappprivate datacallboundsimple cachecoveragel10n_.extendArray.prototype.flates-shimsfullwidthworkersettoSortedassertscharsetdeep-copywaapiiterationhas-ownconcaticonvgetPrototypeOfstylevalueomitprivatees2016deletelastvarsistanbulsetImmediatejsxs3typesafefastString.prototype.trimgettypeofArray.prototype.includesdeep-clonesetPrototypeOfviewgroupfunctionsES6throatfast-cloneObject.entriesjsdiffequalitycolourArray.prototype.findLastpathReflect.getPrototypeOfrangeerroridthreeECMAScript 2021hasArrayBuffer.prototype.sliceArrayBuffer#sliceequallocationnodemulti-packagetapfunction.lengthspringspawnkoreanobjecttrimRightclass-validatorregular expressionslooktoArraysettingsapollounicodearraybuffersharedarraybufferjson0avaMicrosoftparser3dreal-timerm -rflintpropertieskinesisexpressiontypedarraysyupargumentseditorkeysrmconcurrencyrgbsliceObject.isenderprogressrfc4122slottrimLeftsuperagentdatastructureopensFloat64ArrayebscolorchromeexpresssimpledbsortedcallbackcharactersentriesUint32Arrayelbserializerfind-upgetintrinsicJSON-Schemapersistenttoolkit
dable-effectfiran-loggingcorcojs-qrcodecorcojs-qrcode-logosimple-prompts-web3analsorhost-simple-bssimple-assi-animation@juigorg/sit-nam-neque@juigorg/nisi-molestiae-ut@kollorg/dicta-itaque-nemo@erboladaiorg/error-atque-ea@erboladaiorg/nisi-culpa-cum@erboladaiorg/quae-in-veniam@dramaorg/quae-dolore-nostrum@erboladaiorg/ex-hic-molestias@kollorg/nihil-veniam-deserunt@erboladaiorg/esse-ipsa-numquam@erboladaiorg/sit-nesciunt-amet@erboladaiorg/velit-fugit-harum@zitterorg/eum-veritatis-placeat@erboladaiorg/autem-dolores-ipsam@erboladaiorg/asperiores-fuga-sint@erboladaiorg/quod-explicabo-neque@swenkerorg/modi-dolorum-provident@dramaorg/esse-praesentium-eligendi@erboladaiorg/molestias-nulla-dolor@erboladaiorg/officia-illum-aperiam@erboladaiorg/perspiciatis-magni-ut@erboladaiorg/sint-deleniti-dolorem@erboladaiorg/ut-dignissimos-laborum@erboladaiorg/asperiores-nam-adipisci@erboladaiorg/cum-commodi-consequatur@erboladaiorg/distinctio-tempora-quis@erboladaiorg/explicabo-eius-adipisci@erboladaiorg/asperiores-earum-quaerat@erboladaiorg/fugiat-nobis-repellendus@erboladaiorg/quibusdam-itaque-tempora@erboladaiorg/ad-exercitationem-ducimus@erboladaiorg/cupiditate-pariatur-optio@erboladaiorg/quaerat-mollitia-adipisci@erboladaiorg/tenetur-architecto-dolore@swenkerorg/nulla-voluptates-voluptates@erboladaiorg/laboriosam-inventore-natus@zitterorg/aspernatur-pariatur-occaecati@zitterorg/illum-perferendis-consectetur@erboladaiorg/cupiditate-consectetur-porro@erboladaiorg/adipisci-repellendus-corporis@erboladaiorg/molestiae-voluptatibus-perferendis
3.6.69

1 year ago

3.6.68

1 year ago

3.6.67

1 year ago

3.6.66

1 year ago

3.6.65

1 year ago

3.6.64

1 year ago

3.6.63

1 year ago

3.4.42

1 year ago

3.4.43

1 year ago

3.6.62

1 year ago

3.6.61

1 year ago

3.6.60

1 year ago

3.6.73

1 year ago

3.6.72

1 year ago

1.2.13

1 year ago

3.6.71

1 year ago

1.4.37

1 year ago

3.6.70

1 year ago

1.4.39

1 year ago

1.2.16

1 year ago

1.4.38

1 year ago

1.2.17

1 year ago

1.2.14

1 year ago

1.2.15

1 year ago

4.6.100

1 year ago

1.3.35

1 year ago

1.3.36

1 year ago

1.3.33

1 year ago

1.3.34

1 year ago

1.3.37

1 year ago

1.1.13

1 year ago

3.6.59

1 year ago

3.6.58

1 year ago

3.6.57

1 year ago

3.6.56

1 year ago

3.6.55

1 year ago

3.6.54

1 year ago

3.6.53

1 year ago

5.7.101

1 year ago

5.7.102

1 year ago

5.7.100

1 year ago

3.5.53

1 year ago

3.5.52

1 year ago

3.5.51

1 year ago

5.6.100

1 year ago

4.6.80

1 year ago

4.6.81

1 year ago

4.6.84

1 year ago

4.6.85

1 year ago

4.6.82

1 year ago

4.6.83

1 year ago

4.6.88

1 year ago

4.6.89

1 year ago

2.4.39

1 year ago

4.6.86

1 year ago

4.6.87

1 year ago

3.5.50

1 year ago

4.6.73

1 year ago

4.6.74

1 year ago

4.6.77

1 year ago

4.6.78

1 year ago

4.6.75

1 year ago

4.6.76

1 year ago

4.6.79

1 year ago

2.4.42

1 year ago

2.4.41

1 year ago

2.4.40

1 year ago

1.2.18

1 year ago

1.2.19

1 year ago

5.8.113

12 months ago

5.8.114

12 months ago

5.8.115

12 months ago

5.8.110

12 months ago

5.8.111

12 months ago

5.8.112

12 months ago

1.2.20

1 year ago

1.2.23

1 year ago

1.2.24

1 year ago

1.2.21

1 year ago

1.2.22

1 year ago

1.2.27

1 year ago

1.2.28

1 year ago

1.2.25

1 year ago

1.2.26

1 year ago

3.5.47

1 year ago

3.5.46

1 year ago

3.5.45

1 year ago

1.2.29

1 year ago

3.5.44

1 year ago

5.8.106

1 year ago

3.5.43

1 year ago

5.8.107

1 year ago

5.8.108

1 year ago

5.8.109

1 year ago

5.8.102

1 year ago

4.6.91

1 year ago

5.8.103

1 year ago

4.6.92

1 year ago

5.8.104

1 year ago

5.8.105

1 year ago

4.6.90

1 year ago

4.6.95

1 year ago

4.6.96

1 year ago

4.6.93

1 year ago

3.5.49

1 year ago

4.6.94

1 year ago

3.5.48

1 year ago

4.6.99

1 year ago

4.6.97

1 year ago

4.6.98

1 year ago

1.2.30

1 year ago

1.2.31

1 year ago

1.2.32

1 year ago

1.2.33

1 year ago

1.1.12

1 year ago

1.1.9

1 year ago

1.1.8

1 year ago

1.1.11

1 year ago

1.1.10

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

1 year ago

1.1.0

1 year ago

1.0.0

1 year ago