@planet/react-globe
Advanced tools
Comparing version 1.7.1 to 1.7.2
var React = require('react'); | ||
var PropTypes = require('prop-types'); | ||
var createClass = require('create-react-class'); | ||
var d3 = require('d3'); | ||
@@ -6,13 +8,13 @@ var topojson = require('topojson'); | ||
var Globe = React.createClass({ | ||
var Globe = createClass({ | ||
propTypes: { | ||
center: React.PropTypes.array.isRequired, | ||
diameter: React.PropTypes.number, | ||
landColor: React.PropTypes.string, | ||
markerColor: React.PropTypes.string, | ||
oceanColor: React.PropTypes.string, | ||
rotationTime: React.PropTypes.number, | ||
shaded: React.PropTypes.bool, | ||
shadingOpacity: React.PropTypes.number | ||
center: PropTypes.array.isRequired, | ||
diameter: PropTypes.number, | ||
landColor: PropTypes.string, | ||
markerColor: PropTypes.string, | ||
oceanColor: PropTypes.string, | ||
rotationTime: PropTypes.number, | ||
shaded: PropTypes.bool, | ||
shadingOpacity: PropTypes.number | ||
}, | ||
@@ -19,0 +21,0 @@ |
{ | ||
"name": "@planet/react-globe", | ||
"version": "1.7.1", | ||
"version": "1.7.2", | ||
"description": "A React Globe Component", | ||
@@ -18,3 +18,5 @@ "main": "lib/globe.js", | ||
"dependencies": { | ||
"create-react-class": "^15.6.0", | ||
"d3": "^3.5.7", | ||
"prop-types": "^15.5.10", | ||
"topojson": "^1.6.26" | ||
@@ -21,0 +23,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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
118565
98
0
5
+ Addedcreate-react-class@^15.6.0
+ Addedprop-types@^15.5.10
+ 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)