Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
solid-spinner
Advanced tools
Dependency free SolidJS adaptation of Sam Herberts SVG Loaders library.
:purple_heart: View Spinners
yarn add solid-spinner
npm install solid-spinner --save
pnpm install solid-spinner
Spinner
component and specify the type of spinner.import { Spinner, SpinnerType } from 'solid-spinner';
<Spinner type={SpinnerType.puff} color="red" />;
import { Puff } from 'solid-spinner';
<Puff color="red" />;
Component Name | Type |
---|---|
AudioSpinner | audio |
BallTriangle | ballTriangle |
Bars | bars |
Circles | circles |
Grid | grid |
Hearts | hearts |
Oval | oval |
Puff | puff |
Rings | rings |
SpinningCircles | spinningCircles |
TailSpin | tailSpin |
ThreeDots | threeDots |
Each of these components should be able to accept any SVG tag presentation attributes as props.
// render the Puff loader with a stroke opacity of .125
<Spinner type={SpinnerType.puff} stroke-opacity=".125" />
// render the Puff loader with a stroke of mint green
<Puff stroke="#98ff98" />
// render the Puff loader with a stroke of mint green and a stroke opactiy of .125
<Puff stroke="#98ff98" stroke-opacity=".125"/>
# clone repo
git clone git@github.com:lenniezelk/solid-spinner.git
# cd into project directory
cd solid-spinner
# install packages
pnpm install
pnpm test
pnpm build
FAQs
Pure SVG loading spinners for SolidJS
We found that solid-spinner 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
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.