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

@deck.gl/react

Package Overview
Dependencies
Maintainers
1
Versions
474
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@deck.gl/react - npm Package Compare versions

Comparing version 6.0.0-rc.1 to 6.0.0

6

dist/deckgl.js

@@ -209,2 +209,6 @@ "use strict";

if (!props.viewState && 'latitude' in props && 'longitude' in props && 'zoom' in props) {
if ('maxZoom' in props || 'minZoom' in props) {
_core.log.removed('maxZoom/minZoom', 'viewState');
}
var latitude = props.latitude,

@@ -335,2 +339,2 @@ longitude = props.longitude,

DeckGL.defaultProps = defaultProps;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9kZWNrZ2wuanMiXSwibmFtZXMiOlsicHJvcFR5cGVzIiwiRGVjayIsImdldFByb3BUeXBlcyIsIlByb3BUeXBlcyIsImRlZmF1bHRQcm9wcyIsIkRlY2tHTCIsInByb3BzIiwic3RhdGUiLCJ3aWR0aCIsImhlaWdodCIsInZpZXdTdGF0ZSIsImluaXRpYWxWaWV3U3RhdGUiLCJjaGlsZHJlbiIsImRlY2siLCJPYmplY3QiLCJhc3NpZ24iLCJjYW52YXMiLCJkZWNrQ2FudmFzIiwiX2dldFZpZXdTdGF0ZSIsIm9uVmlld1N0YXRlQ2hhbmdlIiwiX29uVmlld1N0YXRlQ2hhbmdlIiwib25SZXNpemUiLCJfb25SZXNpemUiLCJmaW5hbGl6ZSIsIngiLCJ5IiwicmFkaXVzIiwibGF5ZXJJZHMiLCJwaWNrT2JqZWN0IiwiZGVwdGgiLCJwaWNrTXVsdGlwbGVPYmplY3RzIiwicGlja09iamVjdHMiLCJvcHRzIiwibG9nIiwicmVtb3ZlZCIsInBhcmFtcyIsInNldFN0YXRlIiwidmlld0lkIiwibmV4dFByb3BzIiwidmlld3BvcnRzIiwidmlld3Bvc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uIGNyZWF0ZUVsZW1lbnQoJ2RpdicsIHtpZDogJ2RlY2tnbC13cmFwcGVyJ30sIGNoaWxkcmVuKTtcbiAgfVxufVxuXG5EZWNrR0wucHJvcFR5cGVzID0gcHJvcFR5cGVzO1xuRGVja0dMLmRlZmF1bHRQcm9wcyA9IGRlZmF1bHRQcm9wcztcbiJdfQ==

4

package.json

@@ -5,3 +5,3 @@ {

"license": "MIT",
"version": "6.0.0-rc.1",
"version": "6.0.0",
"publishConfig": {

@@ -26,3 +26,3 @@ "access": "public"

"dependencies": {
"@deck.gl/core": "^6.0.0-rc.1",
"@deck.gl/core": "^6.0.0",
"prop-types": "^15.6.0"

@@ -29,0 +29,0 @@ },

@@ -140,2 +140,5 @@ // Copyright (c) 2015 - 2017 Uber Technologies, Inc.

if (!props.viewState && 'latitude' in props && 'longitude' in props && 'zoom' in props) {
if ('maxZoom' in props || 'minZoom' in props) {
log.removed('maxZoom/minZoom', 'viewState');
}
const {latitude, longitude, zoom, pitch = 0, bearing = 0} = props;

@@ -142,0 +145,0 @@ return {latitude, longitude, zoom, pitch, bearing};

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