
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.
Module for concatenating SVG files into JavaScript.
SVG symbols are great for styling and accessibility, but can not load cross domain, or from external file and in IE (9,10,11). Javascript provides us a cacheable, cross-domain method load the icons, without adding extra overhead to each html-file.
const svgtojs = require('svg-to-js');
const options = {
svgFileName: 'core-icons.js', // Name of js-widh-svgs-file to create
svgFileNameMin: 'core-icons.min.js', // Name of minified js-widh-svgs-file
srcPath: path.join(__dirname, '../src'), // Folder of original svg files
distPath: path.join(__dirname, '../dist'), // Where to put js-widh-svgs-file
banner: 'Copyright 2015-2017' // Text to add to top of file
}
svgtojs(options)
.then(() => console.log('Merged and minified SVG')))
.catch((err) => console.log(err.stack));
FAQs
Module for concatenating SVG files into JavaScript
The npm package svg-to-js receives a total of 14 weekly downloads. As such, svg-to-js popularity was classified as not popular.
We found that svg-to-js 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.
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.