5.7.85 • Published 10 months ago

@erboladaiorg/assumenda-cupiditate v5.7.85

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('@erboladaiorg/assumenda-cupiditate');
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

formatbinfpsobjectArray.prototype.includespackage managerpreserve-symlinkscjkbeanstalkauthpropertiesfull-widthreducerReactiveExtensionsserializationownES2021has-owncryptoSymbol.toStringTagsignalsnameless mixinspicomatchoptionwafencryptionpackage.jsonintrinsicformchanneltypedarrayzxreact-hookselasticacheTypeScriptInt32ArraystringifyasyncgenericslibphonenumberArraypatchcompile lessbannertypescript@@toStringTagcheckWebSockettoStringTagcommandfpInt8Arrayoutputurlbootstrap cssinputruntimejson-schema-validationforEachESspinnereslintECMAScript 2019redux-toolkiteslintconfigliveeventDispatchergraphqlreact-componentwritableinspectObservableslengthforkweakmapagentpromiseclassesless.jspropargumentoptimizererror-handlingfileartjwttsfromentriesdependency managerwindowscoercibleendpointinternaltoolkitsequencereact posebcryptselfreadablestreamsetargsoptimistquoteperformancemkdirsdatestyleguideidentifiersnopestylesheetES8includesthreecore-jsarraysfixed-widthcertificatesinstallfunctionES2022concatMapRxJSCSShooks3djoitc39.envstylessymlinkestreeloggersharedarraybufferback-end.gitignoreglobal this valuebytetermprefixstateefficientrequirelastfast-deep-clonetoobjectvestargvutiltoolscurriedworkspace:*zerogetintrinsicpostcssarktypeRFC-6455widthnamesWeakSetspinnersdataViewscheme-validations3elbterminalclisortedObjectESnextES2019getOwnPropertyDescriptordiffjsonYAMLmomentansichromiumtypespostcss-pluginphonepreprocessorcryptfast-copyregexpES7css variableroutelogcallbindexpressschemevariables in cssdeterministictostringtagpinohashwgetmovestringifiertrimLeftramdaInt16Arrayjsstyled-componentsreduceespreejQueryminimaltranspilerjson-schemaglobHyBicolourcolumnses6irqexpression$.extendquerymruRegExp#flagsSystem.globaltrimSymbolstylingenvironmenttouchArray.prototype.containsio-tsStreamses-shim APIgradients cssdraganimationcolorsArray.prototype.flatvisualescapedirfluxlazyhardlinksStyleSheet
5.7.85

10 months ago

5.7.84

10 months ago

5.7.83

10 months ago

5.7.82

10 months ago

5.7.81

10 months ago

5.7.80

11 months ago

5.7.79

11 months ago

5.6.79

11 months ago

5.6.78

11 months ago

5.6.77

11 months ago

5.5.77

11 months ago

5.5.76

11 months ago

5.5.75

11 months ago

5.5.74

11 months ago

5.5.73

11 months ago

5.5.72

11 months ago

5.5.71

11 months ago

5.5.70

11 months ago

5.5.69

11 months ago

5.5.68

11 months ago

5.5.67

11 months ago

5.5.66

11 months ago

4.5.66

11 months ago

4.5.65

11 months ago

4.5.64

11 months ago

4.5.63

11 months ago

4.5.62

11 months ago

4.5.61

11 months ago

3.5.61

11 months ago

3.5.60

11 months ago

3.5.59

11 months ago

3.5.58

11 months ago

3.5.57

11 months ago

2.5.57

11 months ago

2.5.56

11 months ago

2.5.55

12 months ago

2.5.54

12 months ago

2.5.53

12 months ago

1.5.53

12 months ago

1.5.52

12 months ago

1.5.51

12 months ago

1.5.50

12 months ago

1.5.49

12 months ago

1.5.48

12 months ago

1.5.47

12 months ago

1.5.46

12 months ago

1.5.45

12 months ago

1.5.44

12 months ago

1.5.43

12 months ago

1.5.42

12 months ago

1.5.41

12 months ago

1.5.40

12 months ago

1.5.39

12 months ago

1.5.38

12 months ago

1.5.37

12 months ago

1.4.37

1 year ago

1.4.36

1 year ago

1.4.35

1 year ago

1.3.35

1 year ago

1.3.34

1 year ago

1.3.33

1 year ago

1.3.32

1 year ago

1.3.31

1 year ago

1.3.30

1 year ago

1.3.29

1 year ago

1.3.28

1 year ago

1.3.27

1 year ago

1.3.26

1 year ago

1.3.25

1 year ago

1.3.24

1 year ago

1.2.24

1 year ago

1.2.23

1 year ago

1.1.23

1 year ago

1.1.22

1 year ago

1.1.21

1 year ago

1.1.20

1 year ago

1.1.19

1 year ago

1.1.18

1 year ago

1.1.17

1 year ago

1.1.16

1 year ago

1.1.15

1 year ago

1.1.14

1 year ago

1.1.13

1 year ago

1.1.12

1 year ago

1.1.11

1 year ago

1.1.10

1 year ago

1.0.10

1 year ago

1.0.9

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