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.
Tiny ANSI terminal coloring library
chalk 1,192,251 ops/sec
cli-color 130,947 ops/sec
ansi-colors 683,415 ops/sec
kleur 1,352,980 ops/sec
kleur/colors 1,383,478 ops/sec
colorette 1,503,513 ops/sec
felt-pen 1,414,047 ops/sec
nanocolors 1,530,478 ops/sec
chalk 13.964 ms
cli-color 98.851 ms
ansi-colors 3.832 ms
kleur 7.182 ms
kleur/colors 1.469 ms
colorette 2.221 ms
felt-pen 1.424 ms
nanocolors 2.494 ms
chalk 101 kB
cli-color 1249 kB
ansi-colors 25 kB
kleur 21 kB
colorette 16 kB
felt-pen 9 kB
nanocolors 16 kB
yarn add felt-pen
import * as pen from 'felt-pen'
console.log( pen.blue( `Hello, ${pen.bold( 'World' )}!!!` ) )
See the demo (mjs, cjs) for all supported ansi attributes.
GitHub have broken TTY. As workaround, set default shell in your workflow or job or run as in example:
defaults:
run:
shell: 'script -q -e -c "bash --noprofile --norc -eo pipefail {0}"'
FAQs
Tiny ANSI terminal coloring library
The npm package felt-pen receives a total of 17 weekly downloads. As such, felt-pen popularity was classified as not popular.
We found that felt-pen 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
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.