
Research
/Security News
Popular Tinycolor npm Package Compromised in Supply Chain Attack Affecting 40+ Packages
Malicious update to @ctrl/tinycolor on npm is part of a supply-chain attack hitting 40+ packages across maintainers
@foundation/graph
Advanced tools
Add a force graph view to your react application. This module was built for use in the foundation suite but can be used in any react-based app.
Start by installing the package...
npm install @foundation/graph
Create a simple react component with your graph:
import React from 'react'
import { Graph, Nodes, Links } from '@foundation/graph'
const MyGraph = props => (
<Graph
nodes={[
{ id: 'foo' },
{ id: 'bar' },
{ id: 'baz' }
]}
links={[
{ source: 'foo', target: 'bar' },
{ source: 'foo', target: 'baz' }
]}
>
<Links />
<Nodes />
</Graph>
)
We support a variety of other features like panning/zooming, dragging, and node
selection. Documentation coming soon, see the /src
directory for now.
Contributions are more than welcome. We'd like to keep this package somewhat lightweight with a simple interface that allows consumers to wrap it. If you have an idea, feel free to open a ticket so we can discuss implementation options.
FAQs
Network graph modules for the foundation analysis suite.
We found that @foundation/graph 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
/Security News
Malicious update to @ctrl/tinycolor on npm is part of a supply-chain attack hitting 40+ packages across maintainers
Security News
pnpm's new minimumReleaseAge setting delays package updates to prevent supply chain attacks, with other tools like Taze and NCU following suit.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.