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.
@lunit/design-system-logo
Advanced tools
This package provides logos used in the Lunit projects.
All assets(src/assets/**
) should always be exported from Figma and up to date. If the Figma link below is incorrect, please contact the Product Design team.
At repository root:
nx build @lunit/design-system-logo
: Generates logo components and builds the logos.nx storybook @lunit/design-system-logo
: Running the storybook.Install the package in your project directory with:
npx @lunit/design-system-logo --favicon-path=<relative path>
If you want to save the favicon files, please set the relative path option.
We recommend that you use path imports(option 1). It can avoid pulling in unused modules.
// option 1 size: 11.7k (gzipped: 4.6k)
import Lunit from "@lunit/design-system-logo/Lunit";
// option 2 size: 578.1k (gzipped: 87.1k)
import { Lunit } from "@lunit/design-system-logo";
const Logo = () => (
<Lunit style={{ height: "20px" }} /> // only svg file
);
export default Logo;
If the public directory exists, The favicon files are saved in the public directory.
// public/index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" sizes="any" />
<link rel="icon" href="%PUBLIC_URL%/favicon.svg" type="image/svg+xml" />
<link rel="apple-touch-icon" href="%PUBLIC_URL%/apple-touch-icon.png" />
<title>Lunit</title>
</head>
<body></body>
</html>
If your project uses CRA, insert the code shown above into the HTML file.
FAQs
Lunit Design System Logo
We found that @lunit/design-system-logo demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 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.