Product
Socket Now Supports uv.lock Files
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
@icon-magic/config-reader
Advanced tools
This module is responsible for finding the closest config file(iconrc.json/iconrc.js/icon) to an icon and resolving all the paths in the config file so it's relative to the icon bundle. It helps in
This is the primary method that the bundle exposes and is responsible for taking a set of input paths and constructing a map of the path to the icon and it's corresponding config JSON that should, entirely represent the characteristics of the icon. It validates the structure of all the configs as well.
An example input iconrc.json looks like this. Refer to @icon-magic/config-reader/schemas/config-schema for a detailed description of the various fields
{
"iconPath": "*",
"variants": [
{
"path": "./filled.svg"
},
{
"name": "someOtherName",
"path": "./outline.svg"
}
],
"sizes": [24],
"resolutions": [1],
"build": {
"outputPath": "./out"
},
"generate": {
"outputPath": "./out",
"types": [
{
"name": "svg",
"plugins": []
},
{
"name": "raster",
"plugins": []
}
]
}
}
For more details on the interfaces, refer to @icon-magic/icon-models
FAQs
Icon magic config parsing/reading/writing package.
The npm package @icon-magic/config-reader receives a total of 16 weekly downloads. As such, @icon-magic/config-reader popularity was classified as not popular.
We found that @icon-magic/config-reader demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.