New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@deck.gl/carto

Package Overview
Dependencies
Maintainers
6
Versions
269
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@deck.gl/carto - npm Package Compare versions

Comparing version 8.9.0-beta.3 to 8.9.0-beta.4

4

dist/es5/layers/carto-layer.js

@@ -62,4 +62,3 @@ "use strict";

type: 'function',
value: function value(data) {},
compare: false
value: function value(data) {}
},

@@ -69,3 +68,2 @@ onDataError: {

value: null,
compare: false,
optional: true

@@ -72,0 +70,0 @@ },

@@ -14,4 +14,3 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";

type: 'function',
value: data => {},
compare: false
value: data => {}
},

@@ -21,3 +20,2 @@ onDataError: {

value: null,
compare: false,
optional: true

@@ -24,0 +22,0 @@ },

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

"license": "MIT",
"version": "8.9.0-beta.3",
"version": "8.9.0-beta.4",
"publishConfig": {

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

},
"gitHead": "da509f9b00415a8d0700951663b65b59077c0cae"
"gitHead": "f7c0eeaed1e62b0ae44ee45136b444f647e6cbd9"
}

@@ -37,4 +37,4 @@ import {

type: null,
onDataLoad: {type: 'function', value: data => {}, compare: false},
onDataError: {type: 'function', value: null, compare: false, optional: true},
onDataLoad: {type: 'function', value: data => {}},
onDataError: {type: 'function', value: null, optional: true},
uniqueIdProperty: 'cartodb_id',

@@ -80,3 +80,3 @@

/** All properties supported by CartoLayer. */
export type CartoLayerProps<DataT = any> = _CartoLayerProps & CompositeLayerProps<DataT>;
export type CartoLayerProps = _CartoLayerProps & CompositeLayerProps;

@@ -83,0 +83,0 @@ /** Properties added by CartoLayer. */

@@ -29,4 +29,3 @@ import {registerLoaders} from '@loaders.gl/core';

/** All properties supported by CartoTileLayer. */
export type CartoTileLayerProps<DataT extends Feature = Feature> = _CartoTileLayerProps &
MVTLayerProps<DataT>;
export type CartoTileLayerProps = _CartoTileLayerProps & MVTLayerProps;

@@ -44,6 +43,5 @@ /** Properties added by CartoTileLayer. */

export default class CartoTileLayer<
DataT extends Feature = Feature,
ExtraProps extends {} = {}
> extends MVTLayer<DataT, Required<_CartoTileLayerProps> & ExtraProps> {
export default class CartoTileLayer<ExtraProps extends {} = {}> extends MVTLayer<
Required<_CartoTileLayerProps> & ExtraProps
> {
static layerName = 'CartoTileLayer';

@@ -111,3 +109,5 @@ static defaultProps = defaultProps;

const {data} = params.sourceLayer!.props;
info.object = binaryToGeojson(data as BinaryFeatures, {globalFeatureId: info.index}) as DataT;
info.object = binaryToGeojson(data as BinaryFeatures, {
globalFeatureId: info.index
}) as Feature;
}

@@ -114,0 +114,0 @@

@@ -30,3 +30,3 @@ import {

/** All properties supported by H3TileLayer. */
export type H3TileLayerProps<DataT = any> = _H3TileLayerProps<DataT> & CompositeLayerProps<DataT>;
export type H3TileLayerProps<DataT = any> = _H3TileLayerProps<DataT> & CompositeLayerProps;

@@ -39,2 +39,3 @@ // TODO: use type from h3-hexagon-layer when available

type _H3TileLayerProps<DataT> = H3HexagonLayerProps<DataT> & {
data: string;
aggregationResLevel?: number;

@@ -41,0 +42,0 @@ };

@@ -29,6 +29,7 @@ import {

export type QuadbinTileLayerProps<DataT = any> = _QuadbinTileLayerProps<DataT> &
CompositeLayerProps<DataT>;
CompositeLayerProps;
/** Properties added by QuadbinTileLayer. */
type _QuadbinTileLayerProps<DataT> = QuadbinLayerProps<DataT> & {
data: string;
aggregationResLevel?: number;

@@ -35,0 +36,0 @@ };

@@ -7,3 +7,3 @@ import { CompositeLayer, CompositeLayerProps, Layer, LayerProps, UpdateParameters } from '@deck.gl/core/typed';

/** All properties supported by CartoLayer. */
export declare type CartoLayerProps<DataT = any> = _CartoLayerProps & CompositeLayerProps<DataT>;
export declare type CartoLayerProps = _CartoLayerProps & CompositeLayerProps;
/** Properties added by CartoLayer. */

@@ -90,3 +90,2 @@ declare type _CartoLayerProps = {

value: (data: any) => void;
compare: boolean;
};

@@ -96,3 +95,2 @@ onDataError: {

value: null;
compare: boolean;
optional: boolean;

@@ -99,0 +97,0 @@ };

@@ -5,5 +5,4 @@ import { DefaultProps } from '@deck.gl/core/typed';

import { TileFormat } from '../api/maps-api-common';
import type { Feature } from 'geojson';
/** All properties supported by CartoTileLayer. */
export declare type CartoTileLayerProps<DataT extends Feature = Feature> = _CartoTileLayerProps & MVTLayerProps<DataT>;
export declare type CartoTileLayerProps = _CartoTileLayerProps & MVTLayerProps;
/** Properties added by CartoTileLayer. */

@@ -19,5 +18,5 @@ declare type _CartoTileLayerProps = {

};
export default class CartoTileLayer<DataT extends Feature = Feature, ExtraProps extends {} = {}> extends MVTLayer<DataT, Required<_CartoTileLayerProps> & ExtraProps> {
export default class CartoTileLayer<ExtraProps extends {} = {}> extends MVTLayer<Required<_CartoTileLayerProps> & ExtraProps> {
static layerName: string;
static defaultProps: DefaultProps<CartoTileLayerProps<Feature<import("geojson").Geometry, import("geojson").GeoJsonProperties>>>;
static defaultProps: DefaultProps<CartoTileLayerProps>;
initializeState(): void;

@@ -24,0 +23,0 @@ getTileData(tile: TileLoadProps): any;

import { CompositeLayer, CompositeLayerProps, Layer, LayersList, UpdateParameters, DefaultProps } from '@deck.gl/core/typed';
/** All properties supported by H3TileLayer. */
export declare type H3TileLayerProps<DataT = any> = _H3TileLayerProps<DataT> & CompositeLayerProps<DataT>;
export declare type H3TileLayerProps<DataT = any> = _H3TileLayerProps<DataT> & CompositeLayerProps;
declare type H3HexagonLayerProps<DataT = any> = Record<string, any>;
/** Properties added by H3TileLayer. */
declare type _H3TileLayerProps<DataT> = H3HexagonLayerProps<DataT> & {
data: string;
aggregationResLevel?: number;

@@ -8,0 +9,0 @@ };

@@ -7,5 +7,6 @@ import { CompositeLayer, CompositeLayerProps, Layer, LayersList, UpdateParameters, DefaultProps } from '@deck.gl/core/typed';

/** All properties supported by QuadbinTileLayer. */
export declare type QuadbinTileLayerProps<DataT = any> = _QuadbinTileLayerProps<DataT> & CompositeLayerProps<DataT>;
export declare type QuadbinTileLayerProps<DataT = any> = _QuadbinTileLayerProps<DataT> & CompositeLayerProps;
/** Properties added by QuadbinTileLayer. */
declare type _QuadbinTileLayerProps<DataT> = QuadbinLayerProps<DataT> & {
data: string;
aggregationResLevel?: number;

@@ -12,0 +13,0 @@ };

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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