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.
@devfolioco/genesis
Advanced tools
Make sure you have react
and styled-components
installed in your project and then run:
yarn add @devfolioco/genesis
Basic Example:
import React, { Component } from 'react';
import { Button, ThemeProvider } from '@devfolioco/genesis';
export default class App extends Component {
render() {
return (
<div>
<ThemeProvider>
<Button appearance="primary">Devfolio!</Button>
</ThemeProvider>
</div>
);
}
}
It's required to import ThemeProvider and wrap all components in it, as it provides the colors and typography.
Make sure you have all the dependencies installed:
yarn
We use React Storybook for component development.
Start the server using:
yarn start
Write stories for the components in the respective folders as
component-name.stories.js
.
To build the storybook run:
yarn build-storybook
This generates a static Storybook in the "storybook-static" directory.
We rely on the generateIcons.js
script to dynamically create the icon components!
For e.g., Adding an asset named
devfolio.svg
tosrc/assests/icons
creates and exports an icon component namedDevfolio
fromAllIcons.tsx
.
FAQs
Devfolio's Design System
The npm package @devfolioco/genesis receives a total of 2 weekly downloads. As such, @devfolioco/genesis popularity was classified as not popular.
We found that @devfolioco/genesis 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.