Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
@iconify/types
Advanced tools
@iconify/types is a TypeScript package that provides type definitions for Iconify JSON data. It is used to ensure type safety when working with Iconify icons in TypeScript projects.
IconifyJSON
Defines the structure of Iconify JSON data, including properties like prefix, icons, width, and height.
{
"prefix": "mdi",
"icons": {
"home": {
"body": "<path d='M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z'/>"
}
},
"width": 24,
"height": 24
}
IconifyIcon
Defines the structure of an individual icon, including properties like body, width, and height.
{
"body": "<path d='M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z'/>",
"width": 24,
"height": 24
}
IconifyAlias
Defines the structure of an icon alias, including properties like parent and hFlip.
{
"parent": "home",
"hFlip": true
}
React Icons provides a collection of popular icon libraries for React applications. Unlike @iconify/types, which focuses on type definitions, react-icons provides ready-to-use React components for icons.
FontAwesome SVG Core is a package for using FontAwesome icons in web projects. It provides a comprehensive set of icons and utilities for managing them, but it is specific to FontAwesome, whereas @iconify/types is more generic.
Material Icons is a package that provides Google's Material Design icons. It is similar to @iconify/types in that it offers a collection of icons, but it is specific to Material Design.
Type definitions for using Iconify libraries and JSON files with TypeScript.
FAQs
Types for Iconify data
We found that @iconify/types demonstrated a not healthy version release cadence and project activity because the last version was released 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
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.