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.
currency-flags
Advanced tools
Readme
This package outputs two CSS files (minified and unminified) with classes for currency codes. It also outputs a folder with the new SVG circular flags.
Major version bump: Note that v4 uses SVG flags from wise-atoms that are circular for some of the flags and the rest of the flags are the old rectangular ones that have been turned in to circles using CSS
1. Install
yarn add currency-flags
2. Add CSS to page
3. Use
<div class="currency-flag currency-flag-usd"></div>
The currency-flag
selector has a default display
of inline-block
, size of 24x24
and a background-size
of cover
.
currency-flag-sm
, currency-flag-lg
and currency-flag-xl
modifiers are available.
The source for some of the flags is wise-atoms.
The source images for the rest of the (rectangular) flags are available in src/old-flags/${currency_code}.png
. The rectangular flags are also available as static-assets from https://wise.com/public-resources/assets/flags/rectangle/{currency-code}.png
svg
files to wise-atomssrc/styles.css
for the new currency, referencing the new flag name.package.json
according to semver and add an item that a release will be based on to CHANGELOG.md
. yarn install
to ensure the correct version in the lockfile.package.json
.FAQs
Flags for currency codes.
The npm package currency-flags receives a total of 2,634 weekly downloads. As such, currency-flags popularity was classified as popular.
We found that currency-flags demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers 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.