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.
assets-management
Advanced tools
yPack support every type of file. Specifically:
.js .mjs
processed and traspiled.css .scss .sass .styl
processed and traspiled.svg
minified with svgo can be outputted or inlined in a base64 encoding depending on a optional ?inline
query string parameter.bmp .gif .jpe?g .png .avif
minified and outputted into their own file.*
process and outputted into their own chunkAll SVG files imported from your SCSS files will be optimized. SVG can also be manipulated, you can add/modify tags and attributes.
Transform parameter has following syntax: attr_name=attr_value optional_selector
.
Multiple values can be specified by separating them with comma: fill=red .path1, blue .path2
.
Parameters can be combined: fill=red&stroke=black
.
.img {background-image: url('./img.svg?fill=#fff')}
/* Fill all <path/> tags */
.img {background-image: url('./img.svg?fill=#fff path')}
/* Fill all <path/> tags, stroke element with id="qwe" */
.img {background-image: url('./img.svg?fill=#fff path&stroke=black #qwe')}
Note that sharp #
symbol in image query params should be encoded:
.img {background-image: url(img.svg?fill=#f0f)}
/* will be treated as */
.img {background-image: url(img.svg?fill=)}
The new SVG files will be created and saved like a chunk.
All WOFF, WOFF2, OTF, TTF files imported from your build files will be bundled and saved in a separate chunk.
FAQs
yPack support every type of file. Specifically:
The npm package assets-management receives a total of 1 weekly downloads. As such, assets-management popularity was classified as not popular.
We found that assets-management 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.
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.