Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
@types/react-spinkit
Advanced tools
TypeScript definitions for react-spinkit
npm install --save @types/react-spinkit
This package contains type definitions for react-spinkit (https://github.com/KyleAMathews/react-spinkit).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-spinkit.
/// <reference types="react" />
declare namespace spinner {
export interface SpinnerProps {
/**
* Specify spinner to use.
*/
name?:
| "three-bounce"
| "double-bounce"
| "rotating-plane"
| "folding-cube"
| "wave"
| "wandering-cubes"
| "pulse"
| "chasing-dots"
| "circle"
| "cube-grid"
| "wordpress"
| "ball-grid-beat"
| "ball-grid-pulse"
| "line-spin-fade-loader"
| "ball-spin-fade-loader"
| "ball-pulse-rise"
| "line-scale"
| "line-scale-pulse-out"
| "line-scale-pulse-out-rapid"
| "line-scale-party"
| "ball-triangle-path"
| "ball-scale-ripple-multiple"
| "ball-pulse-sync"
| "ball-beat"
| "ball-scale-multiple"
| "ball-zig-zag"
| "ball-zig-zag-deflect"
| "ball-clip-rotate"
| "ball-clip-rotate-pulse"
| "ball-clip-rotate-multiple"
| "ball-scale-ripple"
| "triangle-skew-spin"
| "pacman"
| undefined;
/**
* Set the time before the spinner fades in
*/
fadeIn?: "full" | "half" | "quarter" | "none" | undefined;
/**
* Change the default "spinner" className.
*/
overrideSpinnerClassName?: string | undefined;
/**
* Component className.
*/
className?: string | undefined;
/**
* Programmatically set the color of the spinners (does not work
* for circle or folding-cube); this can either be a hex value or a color word
*/
color?: string | undefined;
style?: React.CSSProperties | undefined;
}
export interface Spinner extends React.ComponentClass<SpinnerProps> {
}
}
declare const spinner: spinner.Spinner;
export = spinner;
These definitions were written by Qubo, Mleko, Tom Crockett, and zzanol.
FAQs
TypeScript definitions for react-spinkit
The npm package @types/react-spinkit receives a total of 10,929 weekly downloads. As such, @types/react-spinkit popularity was classified as popular.
We found that @types/react-spinkit 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
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.