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.
@c2fo/components
Advanced tools
C2FO's shared TypeScript and React component library based on [Material-UI](https://material-ui.com/)
C2FO's shared TypeScript and React component library based on Material-UI
👋 If you’re new to TypeScript and React, checkout this cheatsheet
Install via npm
$ npm i @c2fo/components --save
Import in your react and typescript app
// TextButton.js
import React, { FC } from 'react'
import { Button } from '@c2fo/components'
interface TextButtonProps {
text: string;
}
export const TextButton: FC<TextButtonProps> = props => {
return <Button>{props.text}</Button>
}
Alongside development is convenient, but requires you to edit dependencies in both @c2fo/components
and your app.
🧠 Remember you'll have to restore each project with the commands below to release or build your app remotely
$ npm un react react-dom --save-dev
$ npm link
$ cd ../my-app
$ npm un @c2fo/components --save
$ npm link @c2fo/components
$ npm unlink
$ npm i react react-dom --save-dev
# Release your changes, or ask for help doing this (see 'Releasing' section)
$ cd ../my-app
$ npm unlink @c2fo/components
$ npm i @c2fo/components --save
Start the storybook to develop components without your app
$ npm run storybook
If you're developing in Visual Studio Code, copy the contents of .vscode/settings.suggested.json
to .vscode/settings.json
Please see the documentation under the doc
folder.
Publishing to npm happens automatically with Github Actions. See .github/workflows/publish.yml
🥾 This library was bootstrapped with TSDX
TODO: Document responsible teams/people and a process
FAQs
(DEPRECATED) C2FO React Component Library
The npm package @c2fo/components receives a total of 6 weekly downloads. As such, @c2fo/components popularity was classified as not popular.
We found that @c2fo/components demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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.