react-crouton
Advanced tools
Comparing version 0.3.1 to 1.0.0
var React = require('react'); | ||
var PropTypes = React.PropTypes; | ||
var PropTypes = require('prop-types'); | ||
var CreateReactClass = require('create-react-class'); | ||
@@ -21,3 +22,3 @@ var noop = function() {} | ||
module.exports = React.createClass({ | ||
module.exports = CreateReactClass({ | ||
@@ -24,0 +25,0 @@ displayName: 'react-crouton', |
{ | ||
"name": "react-crouton", | ||
"version": "0.3.1", | ||
"version": "1.0.0", | ||
"description": "A message component for reactjs.", | ||
@@ -23,3 +23,5 @@ "main": "index.js", | ||
"unmockedModulePathPatterns": [ | ||
"<rootDir>/node_modules/react" | ||
"<rootDir>/node_modules/react", | ||
"<rootDir>/node_modules/create-react-class", | ||
"<rootDir>/node_modules/prop-types" | ||
] | ||
@@ -48,3 +50,7 @@ }, | ||
"reactify": "^1.1.1" | ||
}, | ||
"dependencies": { | ||
"create-react-class": "^15.6.2", | ||
"prop-types": "^15.6.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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
22296
505
1
3
11
+ Addedcreate-react-class@^15.6.2
+ Addedprop-types@^15.6.0
+ Addedcreate-react-class@15.7.0(transitive)
+ Addedobject-assign@4.1.1(transitive)
+ Addedprop-types@15.8.1(transitive)
+ Addedreact-is@16.13.1(transitive)