Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
github.com/senfung/go-heatmap
This is a toolkit for creating heatmaps. Heatmaps are awesome. I use them for a few things, and now you can, too.
There are quite a few things you can do here and they don't all have
the high level documentation they deserve currently. You can start by
looking at the example to get a feel for what you can do.
Basically, feed in a bunch of x,y
type data and get back a heatmap.
Awesome.
Here's an example from a real-live report:
Colors are always the hardest part, so I attempted to make it easy by providing three things:
gheat has a set of colors that are available by default under
the schemes
subpackage. You can preview them in
their documentation and use them directly.
The schemes
subpackage also has a tool for generating a color scheme
from an image. Given an image that looks like this:
You can use schemes.FromImage("/path/to/file")
to load it and use it
directly. Colors near the bottom are for sparsely populated areas and
colors near the top are for areas that are densely populated.
You can also compute a color scheme from spec using schemes.Build
.
This lets you specify starting and ending colors across multiple
segments. Fun away!
FAQs
Unknown package
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.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.