4.7.132 • Published 11 months ago

@diotoborg/velit-maiores-voluptatibus v4.7.132

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

12 months ago

4.5.121

12 months ago

4.5.122

12 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

12 months ago

4.5.118

12 months ago

4.5.119

12 months ago

1.1.31

1 year ago

4.5.113

12 months ago

4.5.114

12 months ago

4.5.115

12 months ago

4.5.116

12 months ago

4.5.110

1 year ago

4.5.111

1 year ago

4.5.112

12 months ago

4.4.90

1 year ago

4.4.94

1 year ago

4.4.93

1 year ago

4.4.92

1 year ago

4.4.91

1 year ago

4.4.98

1 year ago

4.4.97

1 year ago

4.4.96

1 year ago

4.4.95

1 year ago

4.5.106

1 year ago

4.5.107

1 year ago

4.5.108

1 year ago

4.5.109

1 year ago

4.5.102

1 year ago

4.5.103

1 year ago

4.5.104

1 year ago

4.5.105

1 year ago

4.5.98

1 year ago

4.5.99

1 year ago

3.3.68

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

11 months ago

4.7.132

11 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

12 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

1 year ago

4.5.100

1 year ago

4.5.101

1 year ago

4.4.83

1 year ago

4.4.82

1 year ago

4.4.81

1 year ago

4.4.80

1 year ago

3.4.68

1 year ago

4.4.87

1 year ago

4.4.86

1 year ago

4.4.85

1 year ago

4.4.84

1 year ago

4.4.89

1 year ago

4.4.88

1 year ago

4.6.129

12 months ago

3.4.72

1 year ago

3.4.73

1 year ago

4.6.127

12 months ago

3.4.74

1 year ago

4.6.128

12 months ago

3.4.75

1 year ago

4.6.125

12 months ago

3.4.76

1 year ago

4.6.126

12 months ago

3.4.77

1 year ago

4.6.123

12 months ago

3.4.78

1 year ago

4.6.124

12 months ago

4.6.130

12 months ago

4.6.131

11 months ago

4.4.79

1 year ago

1.2.31

1 year ago

4.4.78

1 year ago

3.4.70

1 year ago

3.4.71

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