
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
A scss library for working with strings
npm i sstring -D
Currently sstring consists of two functions only, string-camelize and string-capitalize and they're just doing what the name implies.
Here's how it works at a blush:
@each $name, $value in (
primary: yellow,
secondary: peachpuff
) {
.u-background#{string-capitalize($name)} {
background: $value;
}
}
@each $value in (xx-small, x-small, small, medium, large, x-large, xx-large) {
.u-#{string-camelize(fontSize + '-' + $value)} {
font-size: $value,
}
}
Which results in:
.u-backgroundPrimary {
background: yellow;
}
.u-backgroundSecondary {
background: peachpuff;
}
.u-fontSizeXxSmall {
font-size: xx-small;
}
.u-fontSizeXSmall {
font-size: x-small;
}
.u-fontSizeSmall {
font-size: small;
}
.u-fontSizeMedium {
font-size: medium;
}
.u-fontSizeLarge {
font-size: large;
}
.u-fontSizeXLarge {
font-size: x-large;
}
.u-fontSizeXxLarge {
font-size: xx-large;
}
Transforms a string to camelCase.
Capitalizes a string.
In order to run specs, issue the following from your terminal:
npm test
Run dev-server
npm start
Create a build (for whatever purpose)
npm run build
FAQs
A scss library for working with strings
We found that sstring 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.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.