Research
Security News
Kill Switch Hidden in npm Packages Typosquatting Chalk and Chokidar
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
..a sassy offiziermesser for frontend development
Helium is a Sass toolkit that provide to the developer a lot of functions, mixins and variables to easily write complex stylesheets.
By default this library produces no output, you can import it and use some of its utils without your css growing in size beyond the expected.
@use 'helium';
$colors: (
1: helium.random-color(),
2: helium.random-color(),
3: helium.random-color(),
);
.my-button {
// ...styles
@each $class, $color in $colors {
&.#{$class} {
background: $color;
}
}
}
Note that in this way you are importing a css file.
<link rel="stylesheet" type="text/css" href="https://unpkg.com/helium" />
For a better experience:
npm i sass helium
@use 'helium' with (
$reset: true // this will print a basic reset to start with
);
Referring to the above example, due to the nature of Sass Modules to use an utility you need to prefix them:
@use 'helium' with (
$reset: true
);
.my-navbar {
@include helium.is-fixed-top;
}
// We recommend to, at least, shortening `helium` to `h`
// @use "helium" as "h";
To avoid the helium.
repetition, if you are not using another frameworks that would enter in conflict with helium you can do this:
@use 'helium' as * with (
$reset: true
);
.my-class {
@include is-fixed-top;
}
Docs are still under development, please do not hesitate to ask for information!
FAQs
Sassy offiziermesser for front-end development
We found that helium 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
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
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.