
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
github.com/yury-dymov/react-bootstrap-button-loader
Bootstrap Button with Spinner feature
Demo and playground are available here
import Button from 'react-bootstrap-button-loader';
<Button loading={this.state.loading}>Press me!</Button>
Note: All props are optional.
Bootstrap style, supported values: default
, primary
, success
, info
, warning
, danger
, link
.
Deprecated in a favor of variant
Set this prop true
to disable button.
Note: button in loading state is disabled and this behavior is not overridable even if false
value is explicitly provided.
This prop controls Button loading state.
While loading, Button is disabled and icon provided via props is replaced with Spinner.
Buttons with icons are better!
Provided icon is shown if Button is not in a loading state. Otherwise Spinner is rendered.
Controls spinAlignment, supported values: 'left' and 'right'
Spinner color for loading state.
While white color used by default works fine for most cases, for different bootstrap themes and bsStyles it might be better to use other colors instead.
Bootstrap style, supported values: primary
, ``secondary,
success,
info,
warning,
danger,
link,
light,
dark`.
MIT (c) Yury Dymov
FAQs
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.
Research
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.