react-barcode
Advanced tools
Comparing version 1.1.0 to 1.2.0
@@ -5,2 +5,4 @@ 'use strict'; | ||
var JsBarcode = require('jsbarcode'); | ||
var createClass = require('create-react-class'); | ||
var PropTypes = require('prop-types'); | ||
@@ -21,25 +23,23 @@ var getDOMNode; | ||
var Barcode = React.createClass({ | ||
displayName: 'Barcode', | ||
var Barcode = createClass({ | ||
propTypes: { | ||
value: React.PropTypes.string.isRequired, | ||
renderer: React.PropTypes.string, | ||
format: React.PropTypes.string, | ||
width: React.PropTypes.number, | ||
height: React.PropTypes.number, | ||
displayValue: React.PropTypes.bool, | ||
fontOptions: React.PropTypes.string, | ||
font: React.PropTypes.string, | ||
textAlign: React.PropTypes.string, | ||
textPosition: React.PropTypes.string, | ||
textMargin: React.PropTypes.number, | ||
fontSize: React.PropTypes.number, | ||
background: React.PropTypes.string, | ||
lineColor: React.PropTypes.string, | ||
margin: React.PropTypes.number, | ||
marginTop: React.PropTypes.number, | ||
marginBottom: React.PropTypes.number, | ||
marginLeft: React.PropTypes.number, | ||
marginRight: React.PropTypes.number | ||
value: PropTypes.string.isRequired, | ||
renderer: PropTypes.string, | ||
format: PropTypes.string, | ||
width: PropTypes.number, | ||
height: PropTypes.number, | ||
displayValue: PropTypes.bool, | ||
fontOptions: PropTypes.string, | ||
font: PropTypes.string, | ||
textAlign: PropTypes.string, | ||
textPosition: PropTypes.string, | ||
textMargin: PropTypes.number, | ||
fontSize: PropTypes.number, | ||
background: PropTypes.string, | ||
lineColor: PropTypes.string, | ||
margin: PropTypes.number, | ||
marginTop: PropTypes.number, | ||
marginBottom: PropTypes.number, | ||
marginLeft: PropTypes.number, | ||
marginRight: PropTypes.number | ||
}, | ||
@@ -46,0 +46,0 @@ |
{ | ||
"name": "react-barcode", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"description": "React component to generate barcodes", | ||
@@ -26,6 +26,8 @@ "keywords": [ | ||
], | ||
"dependencies": { | ||
"jsbarcode": "~3.4.0", | ||
"peerDependencies": { | ||
"react": "^15.0.0" | ||
}, | ||
"dependencies": { | ||
"jsbarcode": "~3.4.0" | ||
}, | ||
"devDependencies": { | ||
@@ -38,4 +40,6 @@ "babel-cli": "^6.4.0", | ||
"browserify": "^13.0.0", | ||
"create-react-class": "^15.5.3", | ||
"eslint": "^1.6.0", | ||
"eslint-plugin-react": "^3.5.1", | ||
"prop-types": "^15.5.10", | ||
"react": "^15.0.0", | ||
@@ -42,0 +46,0 @@ "react-dom": "^15.0.0" |
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
6283
82
12
- Removedreact@^15.0.0