5.7.85 • Published 1 year ago

@erboladaiorg/assumenda-cupiditate v5.7.85

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

1 year ago

5.7.84

1 year ago

5.7.83

1 year ago

5.7.82

1 year ago

5.7.81

1 year ago

5.7.80

1 year ago

5.7.79

1 year ago

5.6.79

1 year ago

5.6.78

1 year ago

5.6.77

1 year ago

5.5.77

1 year ago

5.5.76

1 year ago

5.5.75

1 year ago

5.5.74

1 year ago

5.5.73

1 year ago

5.5.72

1 year ago

5.5.71

1 year ago

5.5.70

1 year ago

5.5.69

1 year ago

5.5.68

1 year ago

5.5.67

1 year ago

5.5.66

1 year ago

4.5.66

1 year ago

4.5.65

1 year ago

4.5.64

1 year ago

4.5.63

1 year ago

4.5.62

1 year ago

4.5.61

1 year ago

3.5.61

1 year ago

3.5.60

1 year ago

3.5.59

1 year ago

3.5.58

1 year ago

3.5.57

1 year ago

2.5.57

1 year ago

2.5.56

1 year ago

2.5.55

1 year ago

2.5.54

1 year ago

2.5.53

1 year ago

1.5.53

1 year ago

1.5.52

1 year ago

1.5.51

1 year ago

1.5.50

1 year ago

1.5.49

1 year ago

1.5.48

1 year ago

1.5.47

1 year ago

1.5.46

1 year ago

1.5.45

1 year ago

1.5.44

1 year ago

1.5.43

1 year ago

1.5.42

1 year ago

1.5.41

1 year ago

1.5.40

1 year ago

1.5.39

1 year ago

1.5.38

1 year ago

1.5.37

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