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

@deck.gl/json

Package Overview
Dependencies
Maintainers
7
Versions
443
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@deck.gl/json - npm Package Compare versions

Comparing version 6.4.0-beta.1 to 6.4.0

7

dist/es6/json-layer/json-layer.js

@@ -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": "6.4.0-beta.1",
"version": "6.4.0",
"publishConfig": {

@@ -37,5 +37,5 @@ "access": "public"

"dependencies": {
"@deck.gl/core": "^6.4.0-beta.1",
"@deck.gl/core": "^6.4.0",
"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

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