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

@planet/react-globe

Package Overview
Dependencies
Maintainers
10
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@planet/react-globe - npm Package Compare versions

Comparing version 1.7.1 to 1.7.2

20

lib/globe.js
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 @@ },

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