4.7.132 • Published 10 months ago

@diotoborg/velit-maiores-voluptatibus v4.7.132

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

Symbol.prototype.description Version Badge

github actions coverage License Downloads

npm badge

An ECMAScript spec-compliant Symbol.prototype.description shim. Invoke its "shim" method to shim Symbol.prototype.description if it is unavailable. Note: Symbol#description requires a true ES6 environment, specifically one with native Symbols (eg, node >= v11.15.0)

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

Most common usage:

var description = require('@diotoborg/velit-maiores-voluptatibus');
var assert = require('assert');

assert(description(Symbol('foo')) === 'foo');
assert(description(Symbol()) === undefined);
assert(description(Symbol(undefined)) === undefined);
assert(description(Symbol(null)) === 'null');

if (!('description' in Symbol.prototype)) {
	// note: this should be the empty string, but in many engines,
	// it is impossible to distinguish Symbol() and Symbol('')
	// without globally replacing `Symbol`
	assert(description(Symbol('')) === undefined);

	description.shim();
}

assert(description(Symbol('foo')) === Symbol('foo').description);
assert(description(Symbol()) === Symbol().description);
assert(description(Symbol(undefined)) === Symbol(undefined).description);
assert(description(Symbol(null)) === Symbol(null).description);

assert(Symbol('').description === ''); // this works fine!

Tests

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

reusebeanstalkconcateveryistanbulquotetrimRighttouchlogroute53react animationdeep-cloneiterationjson cachedomargumentslaunchextensionnegativecharactersECMAScript 2021ECMAScript 2018nativeArray.prototype.findLastIndexenvRegExp.prototype.flagsstyled-componentseventDispatcherterminaltypedarraystypanionasserttrimStartelblookSetutilitiesbrowserlistoffsetYAMLtypedarrayjsdifflintconcurrencyArraytestingforEachhas-ownAsyncIteratorcolourstoragegatewayshellUint32ArraytrimEndpromisesFunction.prototype.namesharedarraybufferObject.isprogressmapreducesnsfpsString.prototype.trimconfigurablehasOwnPropertyform-validationpackage.jsoninputmoveHyBistreamprotobufkarmabundlertoolkitdefinesimple cacheserializerenvironmentsemitfigletextendfetchsequencepropertiesWebSocketgetterbufferstoolsdateimmerdragstringify$.extend_.extenddeletefilterarraybuffersortedawaitphonees6objectstarterscheme-validationES2015spinnersefficientoncequeueMicrotaskframerObject.valuesRxuninstallschemamkdirspropidentifiersrequireomitsymlinksReflect.getPrototypeOftypescommandwalkshebangruntimeeslintconfigrapidsortdayjsposedropl10npostcss-pluginmime-dbmake dircommand-linebddajaxassertiondiffasciihttpsrm -rfreal-timethrottleoptimizerjsdomremovedescriptiones7loggingES2018javascriptglobcolorECMAScript 2020preserve-symlinksmkdirpcolumnflatcensorexeasttaskperformancegetPrototypeOfES2020settingsidlehigher-orderawesomesauceweakmapgenericslocationcallboundtrimLeftfast-deep-cloneplugindynamodbarraybluebirdstringifierinferenceguides2018ec2assignconfigparentlistenerscjkes-abstractes2016syntaxduplexfastanimationcloudwatchES2017prefixcoercibleslicecolorsserializeObject.assignconsoleartdeep-copyinternal slotcssspringArray.prototype.flattengroupshamfindLastsesredactwidth@@toStringTagURLSearchParamsWeakMapbrowserlimitpathequalflattenUint8ArrayenvironmentdatastructureInt8ArraynamesloadbalancingavaxtermupopenslruECMAScript 2016debuggerES2021statelessdeepbreakyupECMAScript 5autoprefixermodule3destreedependenciesECMAScript 2015limitedrangeerrorhttpeslintiamcoveragefixed-widthES7yamlrfc4122fileisaccessibilityrouteexecutablecss-in-jsfile cachees5kinesistapepositivefile systemshrinkwrappruneagentquerystringfoldercodesdirwalkingcharsettelephoneescapespeeda11ybatchhooksfastcopychineseprototypetoArrayparserexecprettyvpcmochagetopt[[Prototype]]stylesautoscalingUint8ClampedArraywordwrapMapmaprmdirES8outputchannelCSSdom-testing-libraryfullwidthfast-deep-copyvisualshimrdspromisekeyECMAScript 7emrinternalprotomatchAlldescriptortestpropertyPromisenopeObject.definePropertychildtsObject.entriesArray.prototype.containsopenerisConcatSpreadableargumentzeroStyleSheetthreethroatdirectoryrecursivechromehelperqsreactes-shimsSymbolfromTypeBoxebscoreArrayBufferjsonsymbolsReactiveExtensionstypeofemojiwaits3regularincludesappcollectionpicomatchcolumnsdescriptorsArray.prototype.findLastnegative zeroreadablestreamdependency managerdebugkey valuespawnbundlingarrayssetImmediatexdgkey parextragetOwnPropertyDescriptorECMAScript 3waftoStringTagsymbolprivate dataglobalvaluesES2016regexMicrosoft-0privatelastsearchES5typescriptstartpnpm9reduxpackagesbyteLengthredirectstdlibownworkercompilerJSONfindLastIndexlockfilecollection.es6dataformatparsingcircularmomentcopytypesafeendertapcurlsqsnodecliproxyregular expressionjshintserializationObject.keystoobjectcode pointshelpersflatMapparsecallbindsetPrototypeOfworkflowlibphonenumberrmRegExp#flagsconcatMapprocessoptionregular expressionstddpackage managerwritableglobalsPushecmascriptentriesTypeScriptstableStreamsmonorepofunction.lengthrobustsettercall-bindjsonpathsymlinkiteratorredux-toolkitmimetypesboundUint16Arrayxdg-openstructuredClonedotenvwordbreaklinkinstallString.prototype.matchAllequalityamazonenumerableie.envexpresscomputed-typeswaapiIteratorhardlinksArray.prototype.includestslibjsxtypeFloat32ArrayhasOwnSymbol.toStringTagmerge__proto__asyncrm -frmetadataurlstringuuidmatchesObjectdefaultlazyexpressioniteratetrimcommanderinsetsimpledbStreamreadablecmdspecttyclass-validatoreditorWebSocketsformsargsbufferbindperformantTypedArrayES3arktypeeslint-plugindataViewregexpes2017testerfast-copygetBigUint64Arraysomestylecachereact poseJSON-SchemaURLquerypyyamlargviconvvalidationcloneworkspace:*ReactiveXcall-boundimportes-shim APIsameValueZeroFloat64ArrayslotstreamsclientflagtostringtagsidecomparepackageansiwriteObservablesdeepclonegesturesinstrumentationmime256matchglacierfastifykeysECMAScript 2023wgetsyntaxerrorairbnbES2023weaksetes2015rgbbyteindicatorelasticachepushinstallerECMAScript 2017i18nArray.prototype.filterstreams2look-uploggerpersistenttoSortedchaipostcssurlswhichjestobjnpmpopmotionvariablestypedRxJSxhrformwarningwrapschemeinvariantstylingqueuekoreanArray.prototype.flatMapreact-hook-formfind-upparentsbannercloudsearchArrayBuffer#slicemkdirpolyfillerrorbrowserslistaccessorzodmrucheckECMAScript 2022getintrinsicjasminecore-jsmulti-packagees8linewrapbusywebsiteawsutilfast-clonedefinePropertycloudtrailhookformESnextsharedeast-asian-widthvaluecontainstimefastclonecallbackvarsvalidatetextvestfsdeepcopyRFC-6455immutablecloudfrontES2019patchchromiumhasoptimistmodules0electrontyped arraypipegroupByroutingintrinsicprotocol-buffersratecryptolanguagejQuerystyleguidetc39readtermformattingfulltraversespinnerloadingjoiesio-tsmobilebyteOffsetapiES2022eventsassertsObject.getPrototypeOfswfgraphqlfunctionsreducerajvwhatwgunicodeicutakerequestapollonumbereventEmitterArrayBuffer.prototype.sliceratelimitBigInt64ArrayECMAScript 2019deterministicreduceCSSStyleDeclarationespreelengthES6react-testing-librarytypeerrordataviewsafeObject.fromEntriesfindupreact-hookscharacterinspectInt16ArrayjapanesesuperstructeslintpluginrandomconsumeopenconvertsuperagentutilitycallendpointhashmakeviewESWeakSetvalidArray.prototype.flatfunctionjsresolveflagsutil.inspectfunctionalgdprObservablefindUnderscoreInt32ArrayponyfillnodejsECMAScript 6importexportcloudformationidcreate
4.5.120

10 months ago

4.5.121

10 months ago

4.5.122

10 months ago

1.1.29

1 year ago

1.1.28

1 year ago

1.3.50

1 year ago

1.1.30

1 year ago

1.3.51

1 year ago

1.3.52

1 year ago

4.5.117

10 months ago

4.5.118

10 months ago

4.5.119

10 months ago

1.1.31

1 year ago

4.5.113

11 months ago

4.5.114

11 months ago

4.5.115

10 months ago

4.5.116

10 months ago

4.5.110

11 months ago

4.5.111

11 months ago

4.5.112

11 months ago

4.4.90

11 months ago

4.4.94

11 months ago

4.4.93

11 months ago

4.4.92

11 months ago

4.4.91

11 months ago

4.4.98

11 months ago

4.4.97

11 months ago

4.4.96

11 months ago

4.4.95

11 months ago

4.5.106

11 months ago

4.5.107

11 months ago

4.5.108

11 months ago

4.5.109

11 months ago

4.5.102

11 months ago

4.5.103

11 months ago

4.5.104

11 months ago

4.5.105

11 months ago

4.5.98

11 months ago

4.5.99

11 months ago

3.3.68

12 months ago

2.3.57

1 year ago

2.3.56

1 year ago

2.3.59

1 year ago

2.3.58

1 year ago

2.3.53

1 year ago

2.3.52

1 year ago

2.3.55

1 year ago

2.3.54

1 year ago

4.7.131

10 months ago

4.7.132

10 months ago

1.3.49

1 year ago

1.0.19

1 year ago

1.0.18

1 year ago

1.0.17

1 year ago

1.0.16

1 year ago

4.6.122

10 months ago

2.3.68

1 year ago

1.2.41

1 year ago

2.3.67

1 year ago

1.2.42

1 year ago

1.2.40

1 year ago

2.3.64

1 year ago

1.2.45

1 year ago

1.0.22

1 year ago

2.3.63

1 year ago

1.2.46

1 year ago

1.0.21

1 year ago

2.3.66

1 year ago

1.2.43

1 year ago

1.0.20

1 year ago

2.3.65

1 year ago

1.2.44

1 year ago

2.3.60

1 year ago

1.2.49

1 year ago

1.0.26

1 year ago

1.0.25

1 year ago

2.3.62

1 year ago

1.2.47

1 year ago

1.0.24

1 year ago

2.3.61

1 year ago

1.2.48

1 year ago

1.0.23

1 year ago

1.0.28

1 year ago

1.0.27

1 year ago

3.4.69

12 months ago

4.5.100

11 months ago

4.5.101

11 months ago

4.4.83

12 months ago

4.4.82

12 months ago

4.4.81

12 months ago

4.4.80

12 months ago

3.4.68

12 months ago

4.4.87

11 months ago

4.4.86

11 months ago

4.4.85

12 months ago

4.4.84

12 months ago

4.4.89

11 months ago

4.4.88

11 months ago

4.6.129

10 months ago

3.4.72

12 months ago

3.4.73

12 months ago

4.6.127

10 months ago

3.4.74

12 months ago

4.6.128

10 months ago

3.4.75

12 months ago

4.6.125

10 months ago

3.4.76

12 months ago

4.6.126

10 months ago

3.4.77

12 months ago

4.6.123

10 months ago

3.4.78

12 months ago

4.6.124

10 months ago

4.6.130

10 months ago

4.6.131

10 months ago

4.4.79

12 months ago

1.2.31

1 year ago

4.4.78

12 months ago

3.4.70

12 months ago

3.4.71

12 months ago

1.2.34

1 year ago

1.2.35

1 year ago

1.2.32

1 year ago

1.2.33

1 year ago

1.2.38

1 year ago

1.0.15

1 year ago

1.2.39

1 year ago

1.0.14

1 year ago

1.2.36

1 year ago

1.2.37

1 year ago

1.0.13

1 year ago

1.0.9

1 year ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.12

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

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