
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).
@piworks/angular-bootstrap-toggle-switch
Advanced tools
Toggle Switches for AngularJS (and optionally Bootstrap). Based off [Bootstrap switch](http://www.larentis.eu/switch/) by Matt Lartentis and forked from [cgarvis](https://github.com/cgarvis/angular-toggle-switch).
Toggle Switches for AngularJS (and optionally Bootstrap). Based off Bootstrap switch by Matt Lartentis and forked from cgarvis.
Note: This repo was forked from JumpLink's angular-toggle-switch to provide a way for the package to be installed with npm. No other improvement or maintaining was foreseen. So any contribution should be made to the original repo at first and then be sent to this repo via a pull request.
jumplink.github.io/angular-toggle-switch
Download angular-toggle-switch.min.js or install with bower.
$ bower install angular-bootstrap-toggle-switch --save
Or install with npm.
$ npm install @piworks/angular-bootstrap-toggle-switch
Load angular-toggle-switch.min.js
then add the toggle-switch
module to your Angular App.
angular.module('app', ['toggle-switch']);
See demo for usage.
If you want to use your bootstrap variables, include toggle-switch.less in your compilation stack. You can even choose among Bootstrap version 2 or 3 compatible source.
Testing is done using Karma Test Runner.
$ grunt test
$ grunt release
FAQs
Toggle Switches for AngularJS (and optionally Bootstrap). Based off [Bootstrap switch](http://www.larentis.eu/switch/) by Matt Lartentis and forked from [cgarvis](https://github.com/cgarvis/angular-toggle-switch).
The npm package @piworks/angular-bootstrap-toggle-switch receives a total of 329 weekly downloads. As such, @piworks/angular-bootstrap-toggle-switch popularity was classified as not popular.
We found that @piworks/angular-bootstrap-toggle-switch demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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.
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.