Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-bootstrap-toggle

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-bootstrap-toggle - npm Package Compare versions

Comparing version 2.2.4 to 2.2.5

3

__test__/toggle.test.jsx
import React from 'react';
import { mount } from 'enzyme';
import sinon from 'sinon';
import Enzyme from 'enzyme';
import Adapter from 'enzyme-adapter-react-16';
import Toggle from '../src/react-bootstrap-toggle';

@@ -8,2 +10,3 @@ import { Bootstrap2Toggle } from '../src/index';

Enzyme.configure({ adapter: new Adapter() });
describe('<Toggle />', () => {

@@ -10,0 +13,0 @@ it('should know margin of error is one', () => {

7

package.json
{
"name": "react-bootstrap-toggle",
"version": "2.2.4",
"version": "2.2.5",
"description": "A React version of the bootstrap-toggle without the JQuery dependency",

@@ -36,3 +36,4 @@ "main": "./dist/index.js",

"css-loader": "^0.28.7",
"enzyme": "^2.6.0",
"enzyme": "^3.2.0",
"enzyme-adapter-react-16": "^1.1.1",
"eslint": "^3.15.0",

@@ -45,2 +46,4 @@ "eslint-config-airbnb": "^13.0.0",

"jest": "^17.0.3",
"react": "^16.2.0",
"react-dom": "^16.2.0",
"react-hot-loader": "^3.0.0-beta.6",

@@ -47,0 +50,0 @@ "react-test-renderer": "^16.0.0",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc