
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@bosh-code/preact-slot
Advanced tools
A Preact implementation of the @radix-ui/react-slot component meant for use with shadcn/ui component library. This component exposes the same API as the Radix UI Slot, and should be a drop-in replacement when building Preact component libraries using shadcn/ui components.
Install the package
pnpm add --save-peer @bosh-code/preact-slot
I recommend setting up a path alias for @radix-ui/react-slot to point to this package, so that no changes are made to
any shadcn/ui components that you may be using in your library.
// tsconfig.json
{
"compilerOptions": {
// ...
"paths": {
"@radix-ui/react-slot": [
"./node_modules/@bosh-code/preact-slot"
]
}
}
}
pnpm install
pnpm playground
pnpm build
pnpm dev
pnpm test
FAQs
A Preact implementation of @radix-ui/react-slot.
The npm package @bosh-code/preact-slot receives a total of 12 weekly downloads. As such, @bosh-code/preact-slot popularity was classified as not popular.
We found that @bosh-code/preact-slot demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.