Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Functional SVG Handling Library
FxSVG use the ECMAScript Module system.
There are two type packages provided.
npm install fxsvg
import { $$createSVGTransformTranslate } from "fxsvg";
import FxSVG from "fxsvg";
const $el = document.querySelector("svg rect");
const transform = $$createSVGTransformTranslate({ tx: 10, ty: 20 });
FxSVG.getBaseTransformList($el).initialize(transform);
FxSVG supports only modern browsers that follow the ECMAScript 6+ spec and SVG 1.1+ spec.
FxSVG uses $$
property of window
object as a namespace for itself.
npm install fxsvg
<script src="path/to/node_modules/fxsvg/dist/fxsvg.js"></script>
const { $$el } = $$;
const $rect = $$el(`<rect x="10" y="10" width="100" height="100"></rect>`);
const { controller } = $$.controlTranslateTransform()($rect);
controller.append({ tx: 10 }).append({ ty: 10 }).end();
FxSVG always welcome all the developers who want to join in. Please following the guide when you contribute.
FAQs
Functional SVG Handling Library
The npm package fxsvg receives a total of 136 weekly downloads. As such, fxsvg popularity was classified as not popular.
We found that fxsvg demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.