react-bootstrap-slider
Advanced tools
Comparing version 2.0.1 to 2.1.0
{ | ||
"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). |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
152110
2
243
26
+ Addedbootstrap-slider@9.9.0(transitive)
- Removedbootstrap@^3.3.7
- Removedprop-types@^15.5.10
- Removedreact@^15.6.1
- Removedreact-dom@^15.6.1
- Removedasap@2.0.6(transitive)
- Removedbootstrap-slider@9.10.0(transitive)
- Removedcore-js@1.2.7(transitive)
- Removedcreate-react-class@15.7.0(transitive)
- Removedencoding@0.1.13(transitive)
- Removedfbjs@0.8.18(transitive)
- Removediconv-lite@0.6.3(transitive)
- Removedis-stream@1.1.0(transitive)
- Removedisomorphic-fetch@2.2.1(transitive)
- Removedjs-tokens@4.0.0(transitive)
- Removedloose-envify@1.4.0(transitive)
- Removednode-fetch@1.7.3(transitive)
- Removedobject-assign@4.1.1(transitive)
- Removedpromise@7.3.1(transitive)
- Removedprop-types@15.8.1(transitive)
- Removedreact@15.7.0(transitive)
- Removedreact-dom@15.7.0(transitive)
- Removedreact-is@16.13.1(transitive)
- Removedsafer-buffer@2.1.2(transitive)
- Removedsetimmediate@1.0.5(transitive)
- Removedua-parser-js@0.7.39(transitive)
- Removedwhatwg-fetch@3.6.20(transitive)
Updatedbootstrap-slider@9.9.0