Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
get-symbol-description
Advanced tools
Changelog
v1.0.1 - 2024-02-05
168adf2
npmignore
to autogenerate an npmignore file fa3b323
eslint
, @ljharb/eslint-config
, aud
, es-value-fixtures
, foreach
, object-inspect
, tape
9301b9e
eslint
, @ljharb/eslint-config
, aud
, auto-changelog
, object-inspect
, tape
a92a011
66cea29
84079e1
eslint
, @ljharb/eslint-config
, object-inspect
, safe-publish-latest
, tape
9f298a5
hasown
instead of has
e993bd6
aud
, npmignore
, tape
5044bed
@ljharb/eslint-config
, aud
, tape
3923eab
es-errors
, so things that only need those do not need get-intrinsic
a24f5c5
call-bind
, get-intrinsic
accd484
object-inspect
, tape
6c66623
object-inspect
, tape
586dfe3
@ljharb/eslint-config
, aud
bc8c7e0
for-each
instead of foreach
ca97918
5ce0c56
get-intrinsic
b656c5c
get-intrinsic
74cf3b6
6cf76c8
Readme
Gets the description of a Symbol. Handles Symbol()
vs Symbol('')
properly when possible.
var getSymbolDescription = require('get-symbol-description');
var assert = require('assert');
assert(getSymbolDescription(Symbol()) === undefined);
assert(getSymbolDescription(Symbol('')) === ''); // or `undefined`, if in an engine that lacks name inference from concise method
assert(getSymbolDescription(Symbol('foo')) === 'foo');
assert(getSymbolDescription(Symbol.iterator) === 'Symbol.iterator');
Simply clone the repo, npm install
, and run npm test
FAQs
Gets the description of a Symbol. Handles `Symbol()` vs `Symbol('')` properly when possible.
The npm package get-symbol-description receives a total of 27,394,302 weekly downloads. As such, get-symbol-description popularity was classified as popular.
We found that get-symbol-description demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.