4.7.132 • Published 2 years ago

@diotoborg/velit-maiores-voluptatibus v4.7.132

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

2 years ago

4.5.121

2 years ago

4.5.122

2 years ago

1.1.29

2 years ago

1.1.28

2 years ago

1.3.50

2 years ago

1.1.30

2 years ago

1.3.51

2 years ago

1.3.52

2 years ago

4.5.117

2 years ago

4.5.118

2 years ago

4.5.119

2 years ago

1.1.31

2 years ago

4.5.113

2 years ago

4.5.114

2 years ago

4.5.115

2 years ago

4.5.116

2 years ago

4.5.110

2 years ago

4.5.111

2 years ago

4.5.112

2 years ago

4.4.90

2 years ago

4.4.94

2 years ago

4.4.93

2 years ago

4.4.92

2 years ago

4.4.91

2 years ago

4.4.98

2 years ago

4.4.97

2 years ago

4.4.96

2 years ago

4.4.95

2 years ago

4.5.106

2 years ago

4.5.107

2 years ago

4.5.108

2 years ago

4.5.109

2 years ago

4.5.102

2 years ago

4.5.103

2 years ago

4.5.104

2 years ago

4.5.105

2 years ago

4.5.98

2 years ago

4.5.99

2 years ago

3.3.68

2 years ago

2.3.57

2 years ago

2.3.56

2 years ago

2.3.59

2 years ago

2.3.58

2 years ago

2.3.53

2 years ago

2.3.52

2 years ago

2.3.55

2 years ago

2.3.54

2 years ago

4.7.131

2 years ago

4.7.132

2 years ago

1.3.49

2 years ago

1.0.19

2 years ago

1.0.18

2 years ago

1.0.17

2 years ago

1.0.16

2 years ago

4.6.122

2 years ago

2.3.68

2 years ago

1.2.41

2 years ago

2.3.67

2 years ago

1.2.42

2 years ago

1.2.40

2 years ago

2.3.64

2 years ago

1.2.45

2 years ago

1.0.22

2 years ago

2.3.63

2 years ago

1.2.46

2 years ago

1.0.21

2 years ago

2.3.66

2 years ago

1.2.43

2 years ago

1.0.20

2 years ago

2.3.65

2 years ago

1.2.44

2 years ago

2.3.60

2 years ago

1.2.49

2 years ago

1.0.26

2 years ago

1.0.25

2 years ago

2.3.62

2 years ago

1.2.47

2 years ago

1.0.24

2 years ago

2.3.61

2 years ago

1.2.48

2 years ago

1.0.23

2 years ago

1.0.28

2 years ago

1.0.27

2 years ago

3.4.69

2 years ago

4.5.100

2 years ago

4.5.101

2 years ago

4.4.83

2 years ago

4.4.82

2 years ago

4.4.81

2 years ago

4.4.80

2 years ago

3.4.68

2 years ago

4.4.87

2 years ago

4.4.86

2 years ago

4.4.85

2 years ago

4.4.84

2 years ago

4.4.89

2 years ago

4.4.88

2 years ago

4.6.129

2 years ago

3.4.72

2 years ago

3.4.73

2 years ago

4.6.127

2 years ago

3.4.74

2 years ago

4.6.128

2 years ago

3.4.75

2 years ago

4.6.125

2 years ago

3.4.76

2 years ago

4.6.126

2 years ago

3.4.77

2 years ago

4.6.123

2 years ago

3.4.78

2 years ago

4.6.124

2 years ago

4.6.130

2 years ago

4.6.131

2 years ago

4.4.79

2 years ago

1.2.31

2 years ago

4.4.78

2 years ago

3.4.70

2 years ago

3.4.71

2 years ago

1.2.34

2 years ago

1.2.35

2 years ago

1.2.32

2 years ago

1.2.33

2 years ago

1.2.38

2 years ago

1.0.15

2 years ago

1.2.39

2 years ago

1.0.14

2 years ago

1.2.36

2 years ago

1.2.37

2 years ago

1.0.13

2 years ago

1.0.9

2 years ago

1.0.11

2 years ago

1.0.10

2 years ago

1.0.12

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago