
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
@4tw/vue-cli-plugin-svg-icon
Advanced tools
Adds webpack rules to generate optimized svg sprites.
Adds webpack rules to generate optimized svg sprites.
yarn add --dev @4tw/vue-cli-plugin-svg-icon
Provide a svgDir
option under pluginOptions
in your vue.config.js
config.
module.exports = {
pluginOptions: {
svgDir: path.resolve(__dirname, 'src/assets/svg'),
},
}
All svg files under the svgDir
are processes and provided as an import.
The imports are aliased under svg
.
import Icon from 'svg/your_icon.svg'
The imported module provides a symbol from the svg-sprite-loader
FAQs
Adds webpack rules to generate optimized svg sprites.
We found that @4tw/vue-cli-plugin-svg-icon demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.