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

react-bootstrap-slider

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-bootstrap-slider - npm Package Compare versions

Comparing version 2.0.1 to 2.1.0

48

package.json
{
"name": "react-bootstrap-slider",
"version": "2.0.1",
"version": "2.1.0",
"description": "Bootstrap Slider component for React",

@@ -36,39 +36,35 @@ "scripts": {

"devDependencies": {
"babel-cli": "^6.18.0",
"babel-core": "^6.18.2",
"babel-loader": "^6.2.8",
"babel-plugin-transform-es2015-modules-umd": "^6.18.0",
"babel-preset-es2015": "^6.18.0",
"babel-preset-react": "^6.16.0",
"babel-preset-stage-2": "^6.18.0",
"babel-register": "^6.18.0",
"babel-cli": "^6.26.0",
"babel-core": "^6.26.0",
"babel-loader": "^7.1.2",
"babel-plugin-transform-es2015-modules-umd": "^6.24.1",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-2": "^6.24.1",
"babel-register": "^6.26.0",
"es6bindall": "0.0.9",
"gulp": "^3.9.1",
"gulp-rename": "^1.2.2",
"gulp-replace": "^0.5.4",
"http-server": "^0.9.0",
"jasmine-spec-reporter": "^2.7.0",
"gulp-replace": "^0.6.1",
"http-server": "^0.10.0",
"jasmine-spec-reporter": "^4.2.1",
"open": "^0.0.5",
"path": "^0.12.7",
"prompt": "^1.0.0",
"protractor": "^5.1.1",
"protractor-jasmine2-screenshot-reporter": "^0.3.5",
"webpack": "^2.4.1",
"webpack-dev-server": "^2.4.5",
"prop-types": "^15.6.0",
"protractor": "^5.1.2",
"protractor-jasmine2-screenshot-reporter": "^0.4.1",
"react": "^16.0.0",
"react-dom": "^16.0.0",
"webpack": "^3.6.0",
"webpack-dev-server": "^2.9.1",
"webpack-merge": "^4.1.0",
"yargs": "^7.0.2"
"yargs": "^9.0.1"
},
"peerDependencies": {
"bootstrap": "^3.3.7",
"prop-types": "^15.5.0",
"react": "^15.5.0",
"react-dom": "^15.5.0"
"bootstrap": "^3.3.7"
},
"dependencies": {
"bootstrap": "^3.3.7",
"bootstrap-slider": "^9.8.0",
"prop-types": "^15.5.10",
"react": "^15.6.1",
"react-dom": "^15.6.1"
"bootstrap-slider": "9.9.0"
}
}

@@ -29,12 +29,12 @@ # React Bootstrap Slider

### Peer Dependencies
React and Bootstrap are peer dependencies for react-bootstrap-slider. They will _not_ be installed automatically when you install this component. You will need to install them yourself, as part of your project, if you have not done so already. This command will install them for you if you don't yet have them:
React and Bootstrap are listed as peer dependencies (peerDependencies in package.json) for react-bootstrap-slider. They will _not_ be installed automatically when you install this component into your own project. You will need to install them yourself, as part of that project, if you have not done so already. This command will install them for you if you don't yet have them:
npm install react@^15 react-dom@^15 prop-types@15 bootstrap@^3 --save
npm install react react-dom prop-types bootstrap@^3 --save
or
yarn add react@^15 react-dom@^15 prop-types@15 bootstrap@^3
yarn add react react-dom prop-types bootstrap@^3
#### jQuery
The bootstrap-slider component - and, therefore, react-bootstrap-slider - will work with jQuery if it detects it in your project setup, but it is _not_ a requirement. It works fine without jQuery. However, if you are using Webpack or Browserify to build your project, you may get a "missing depenency" build error if jQuery is not present. This is a known, upstream issue in bootstrap-slider. Please see https://github.com/seiyria/bootstrap-slider#how-do-i-exclude-the-optional-jquery-dependency-from-my-build for how you can workaround this issue.
The bootstrap-slider component - and, therefore, react-bootstrap-slider - will work with jQuery if it detects it in your project setup, but it is _not_ a requirement. It works fine without jQuery. However, if you are using Webpack or Browserify to build your project, you may get a "missing dependency" build error if jQuery is not present. This is a known, upstream issue in bootstrap-slider. Please see https://github.com/seiyria/bootstrap-slider#how-do-i-exclude-the-optional-jquery-dependency-from-my-build for how you can workaround this issue.

@@ -89,3 +89,3 @@ You must also ensure that you have included bootstrap-slider's CSS file, otherwise the control will be blank! You'll need Bootstrap's own CSS file too, of course. If you're using Webpack, you can import the CSS file directly into your build. Or you can simply add the files as links in your HTML file, e.g.:

to install the dependencies. Note: React and Boostrap _will_ be installed this time because they are listed as development dependencies as well as peer dependencies for the project.
to install the dependencies. Note: React and Bootstrap _will_ be installed this time because they are listed as development dependencies as well as peer dependencies for the project. (Please see discussion here https://github.com/brownieboy/react-bootstrap-slider/pull/43 for why I've listed these packages under both peerDependencies and devDependencies.)

@@ -187,2 +187,7 @@ To develop, issue this command:

## Update History
Version 2.1.0: 30 Sep 2017
* Updated for React 16 (Fiber).
* Updated dev dependcies to latest versions too.
* Removed React and Bootstrap from dependencies list. They are now in devDependencies and peerDependencies.
Version 2.0.1: 19 Aug 2017

@@ -189,0 +194,0 @@ * Module is now destroyed correctly via componentWillUnmount method (thanks to KevBelisle for the PR).

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