@deck.gl/json
Advanced tools
Comparing version 7.0.0-alpha.3 to 7.0.0-alpha.4
@@ -13,6 +13,5 @@ import { CompositeLayer } from '@deck.gl/core'; | ||
updateState({ | ||
props, | ||
oldProps | ||
}) { | ||
updateState(_ref) { | ||
let props = _ref.props, | ||
oldProps = _ref.oldProps; | ||
const layersChanged = props.data !== oldProps.data || props.configuration !== oldProps.configuration; | ||
@@ -19,0 +18,0 @@ |
@@ -99,3 +99,5 @@ // Converts a JSON payload to a deck.gl props object | ||
export function getJSONLayers(jsonLayers = [], configuration) { | ||
export function getJSONLayers() { | ||
let jsonLayers = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : []; | ||
let configuration = arguments.length > 1 ? arguments[1] : undefined; | ||
// assert(Array.isArray(jsonLayers)); | ||
@@ -102,0 +104,0 @@ const layerCatalog = configuration.layers || {}; |
@@ -5,3 +5,3 @@ { | ||
"license": "MIT", | ||
"version": "7.0.0-alpha.3", | ||
"version": "7.0.0-alpha.4", | ||
"publishConfig": { | ||
@@ -37,5 +37,5 @@ "access": "public" | ||
"dependencies": { | ||
"@deck.gl/core": "^7.0.0-alpha.3", | ||
"@deck.gl/core": "^7.0.0-alpha.4", | ||
"d3-dsv": "^1.0.8" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
128164
1427
4
Updated@deck.gl/core@^7.0.0-alpha.4