Hostile 99% javascript Download

bootstrap-switch-button-react 1.2.0

“[![MIT License](https://img.shields.io/github/license/gitbrent/bootstrap-switch-button-react.svg)](https://github.com/gitbrent/bootstrap-sw…”

ActiveXObject constructor referenceActiveXObject name reference

Evidence

At least four Markdown-style heading lines CHANGELOG.md · lines 1–40
1# Changelog
2All notable changes to this project will be documented in this file.
3
4The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
7## [1.2.0] - 2019-12-05
8### Added
9- Added `componentDidUpdate` to fix update on props change [\#6](https://github.com/gitbrent/bootstrap-switch-button-react/pull/6) ([GustavoDinizMonteiro](https://github.com/GustavoDinizMonteiro))
10- Added missing methods to typescript defs [\#11](https://github.com/gitbrent/bootstrap-switch-button-react/issue/11) ([evark](https://github.com/evark))
11### Changed
12- Replaced inner `label` tags with `span` for accessibility
13- Updated demo to bootstrap 4.4.1
14
15## [1.1.0] - 2019-07-29
16### Added
17- Added new typescript defs (`bootstrap-switch-button-react.d.ts`)
18### Changed
19- Fixed dependencies in `package.json`
20
21## [1.0.0] - 2019-04-03
22### Added
23- New demo/api page (test folder) and a new height-test page
⋯4 lines
28- Added "keywords" and "bugs" to `package.json`
29
30## [1.0.0-beta.10] - 2019-03-29
31- Fix for touch event bug
32
33## [1.0.0-beta.9] - 2019-03-29
34- 2 bug fixes
35
36## [1.0.0-beta.8] - 2019-03-28
37- onChange breaking bug fix
38
39## [1.0.0-beta.7] - 2019-03-28
40- Compiled from src to lib now as commonjs
Repeated computed-property calls (3+) README.md · lines 1–7
1[![MIT License](https://img.shields.io/github/license/gitbrent/bootstrap-switch-button-react.svg)](https://github.com/gitbrent/bootstrap-switch-button-react/blob/master/LICENSE) [![Dependency Status](https://david-dm.org/gitbrent/bootstrap-switch-button-react/status.svg)](https://david-dm.org/gitbrent/bootstrap-switch-button-react) [![Known Vulnerabilities](https://snyk.io/test/npm/bootstrap-switch-button-react/badge.svg)](https://snyk.io/test/npm/bootstrap-switch-button-react) [![Package Quality](https://npm.packagequality.com/shield/bootstrap-switch-button-react.svg)](https://packagequality.com/#?package=bootstrap-switch-button-react) [![npm downloads](https://img.shields.io/npm/dm/bootstrap-switch-button-react.svg)](https://www.npmjs.com/package/bootstrap-switch-button-react)
2
3# Bootstrap Switch Button for React
4
5Checkbox replacement using stylish bootstrap-4 switch button.
6
7Lightweight (15kb), self- …
HTTP URL targets JPEG, PNG or GIF README.md · lines 13–42
13:85… -------|-------------------------------------------------------
14[bootstrap4-toggle](https://github.com/gitbrent/bootstrap4-toggle) | Supports bootstrap4 (requires jQuery)
15[bootstrap-switch-button](https://github.com/gitbrent/bootstrap-switch-button) | Supports bootstrap4+ (ES6 class, no dependencies)
16[bootstrap-switch-button-react](https://github.com/gitbrent/bootstrap-switch-button-react) | Supports bootstrap4+ (React component, no dependencies)
17
18# Demos
19**Demos and API Docs:** https://gitbrent.github.io/bootstrap-switch-button-react/
20
21```typescript
22<BootstrapSwitchButton onlabel='Admin User' offlabel='Regular User' checked={false}/>
23```
24
25![Demo GIF](https://github.com/gitbrent/bootstrap-switch-button-react/blob/master/img/demo.gif?raw=true)
26
27
28# Installation
29NPM
30```bash
31npm i bootstrap-switch-button-react --save
32```
33Yarn
34```bash
35yard add bootstrap-switch-button-react
36```
37
38# Usage
39Keep `state` in sync using the `onChange` function property
40
41```typescript
42import BootstrapSwitchButton from 'bootstrap-switch …
README recommends scoped package installation README.md · lines 1–19
1# @babel/code-frame
2
3> Generate errors that contain a code frame that point to source locations.
4
5See our website [@babel/code-frame](https://babeljs.io/docs/en/next/babel-code-frame.html) for more information.
6
7## Install
8
9Using npm:
10
11```sh
12npm install --save-dev @babel/code-frame
13```
14
15or using yarn:
16
17```sh
18yarn add @babel/code-frame --dev
19```
CommonJS-style exports property assignment index.js · lines 1–19
1"use strict";
2
3Object.defineProperty(exports, "__esModule", {
4 value: true
5});
6exports.codeFrameColumns = codeFrameColumns;
7exports.default = _default;
8
9function _highlight() {
10 const data = _interopRequireWildcard(require("@babel/highlight"));
11
12 _highlight = function () {
⋯7 lines

Showing the top 5 files — 8 more files (129 regions) not shown.

No evidence locations were recorded for this file. Raw result

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.