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

@deck.gl/carto

Package Overview
Dependencies
Maintainers
5
Versions
259
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 9.0.20 to 9.0.21

2

dist/cartoRasterTile-worker.js

@@ -1011,3 +1011,3 @@ "use strict";

// src/layers/schema/carto-raster-tile-loader.ts
var VERSION = true ? "9.0.20" : "latest";
var VERSION = true ? "9.0.21" : "latest";
var id = "cartoRasterTile";

@@ -1014,0 +1014,0 @@ var DEFAULT_OPTIONS = {

@@ -1400,3 +1400,3 @@ "use strict";

// src/layers/schema/carto-spatial-tile-loader.ts
var VERSION = true ? "9.0.20" : "latest";
var VERSION = true ? "9.0.21" : "latest";
var id = "cartoSpatialTile";

@@ -1403,0 +1403,0 @@ var DEFAULT_OPTIONS = {

@@ -1445,3 +1445,3 @@ "use strict";

const { value, size } = pbf.readFields(DoublesReader._readField, { value: [], size: 0 }, end);
return { value: new Float32Array(value), size };
return { value, size };
}

@@ -1629,3 +1629,3 @@ static _readField(tag, obj, pbf) {

// src/layers/schema/carto-vector-tile-loader.ts
var VERSION = true ? "9.0.20" : "latest";
var VERSION = true ? "9.0.21" : "latest";
var id = "cartoVectorTile";

@@ -1632,0 +1632,0 @@ var DEFAULT_OPTIONS = {

import { TileReader } from "./carto-raster-tile.js";
import { parsePbf } from "./tile-loader-utils.js";
import { getWorkerUrl } from "../../utils.js";
const VERSION = typeof "9.0.20" !== 'undefined' ? "9.0.20" : 'latest';
const VERSION = typeof "9.0.21" !== 'undefined' ? "9.0.21" : 'latest';
const id = 'cartoRasterTile';

@@ -6,0 +6,0 @@ const DEFAULT_OPTIONS = {

@@ -5,3 +5,3 @@ import { TileReader } from "./carto-spatial-tile.js";

import { binaryToSpatialjson } from "./spatialjson-utils.js";
const VERSION = typeof "9.0.20" !== 'undefined' ? "9.0.20" : 'latest';
const VERSION = typeof "9.0.21" !== 'undefined' ? "9.0.21" : 'latest';
const id = 'cartoSpatialTile';

@@ -8,0 +8,0 @@ const DEFAULT_OPTIONS = {

@@ -6,3 +6,3 @@ export declare class PropertiesReader {

interface Doubles {
value: Float32Array;
value: Float64Array;
size: number;

@@ -9,0 +9,0 @@ }

@@ -28,3 +28,3 @@ import { readPackedTypedArray } from "./fast-pbf.js";

const { value, size } = pbf.readFields(DoublesReader._readField, { value: [], size: 0 }, end);
return { value: new Float32Array(value), size };
return { value, size };
}

@@ -31,0 +31,0 @@ static _readField(tag, obj, pbf) {

@@ -5,3 +5,3 @@ import earcut from 'earcut';

import { getWorkerUrl } from "../../utils.js";
const VERSION = typeof "9.0.20" !== 'undefined' ? "9.0.20" : 'latest';
const VERSION = typeof "9.0.21" !== 'undefined' ? "9.0.21" : 'latest';
const id = 'cartoVectorTile';

@@ -8,0 +8,0 @@ const DEFAULT_OPTIONS = {

@@ -6,3 +6,2 @@ import { QueryParameters } from "../api/index.js";

tilesetTableName: string;
matchingColumn?: string;
propertiesSqlQuery: string;

@@ -9,0 +8,0 @@ queryParameters?: QueryParameters;

import { baseSource } from "./base-source.js";
export const boundaryQuerySource = async function (options) {
const { columns, filters, tilesetTableName, matchingColumn = 'id', propertiesSqlQuery, queryParameters } = options;
const { columns, filters, tilesetTableName, propertiesSqlQuery, queryParameters } = options;
const urlParameters = {
tilesetTableName,
matchingColumn,
propertiesSqlQuery

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

@@ -5,3 +5,2 @@ import type { FilterOptions, SourceOptions, TilejsonResult } from "./types.js";

columns?: string[];
matchingColumn?: string;
propertiesTableName: string;

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

import { baseSource } from "./base-source.js";
export const boundaryTableSource = async function (options) {
const { filters, tilesetTableName, columns, matchingColumn = 'id', propertiesTableName } = options;
const { filters, tilesetTableName, columns, propertiesTableName } = options;
const urlParameters = {
tilesetTableName,
matchingColumn,
propertiesTableName

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

@@ -6,3 +6,3 @@ {

"type": "module",
"version": "9.0.20",
"version": "9.0.21",
"publishConfig": {

@@ -51,4 +51,4 @@ "access": "public"

"@loaders.gl/tiles": "^4.2.0",
"@luma.gl/core": "^9.0.14",
"@luma.gl/shadertools": "^9.0.14",
"@luma.gl/core": "^9.0.15",
"@luma.gl/shadertools": "^9.0.15",
"@math.gl/web-mercator": "^4.0.0",

@@ -77,3 +77,3 @@ "@types/d3-array": "^3.0.2",

},
"gitHead": "f3c26e0ba9236ae9a12fc2656ac7c4931d21b138"
"gitHead": "bb9a6c4887b58e210223d4c6f5472811bd096521"
}

@@ -36,3 +36,3 @@ import {readPackedTypedArray} from './fast-pbf';

interface Doubles {
value: Float32Array;
value: Float64Array;
size: number;

@@ -44,3 +44,3 @@ }

const {value, size} = pbf.readFields(DoublesReader._readField, {value: [], size: 0}, end);
return {value: new Float32Array(value), size};
return {value, size};
}

@@ -47,0 +47,0 @@ static _readField(this: void, tag: number, obj, pbf) {

@@ -9,3 +9,2 @@ import {QueryParameters} from '../api/index';

tilesetTableName: string;
matchingColumn?: string;
propertiesSqlQuery: string;

@@ -18,3 +17,2 @@ queryParameters?: QueryParameters;

tilesetTableName: string;
matchingColumn: string;
propertiesSqlQuery: string;

@@ -27,13 +25,5 @@ queryParameters?: Record<string, unknown> | unknown[];

): Promise<TilejsonResult> {
const {
columns,
filters,
tilesetTableName,
matchingColumn = 'id',
propertiesSqlQuery,
queryParameters
} = options;
const {columns, filters, tilesetTableName, propertiesSqlQuery, queryParameters} = options;
const urlParameters: UrlParameters = {
tilesetTableName,
matchingColumn,
propertiesSqlQuery

@@ -40,0 +30,0 @@ };

@@ -8,3 +8,2 @@ import {baseSource} from './base-source';

columns?: string[];
matchingColumn?: string;
propertiesTableName: string;

@@ -16,3 +15,2 @@ };

columns?: string;
matchingColumn: string;
propertiesTableName: string;

@@ -24,6 +22,5 @@ };

): Promise<TilejsonResult> {
const {filters, tilesetTableName, columns, matchingColumn = 'id', propertiesTableName} = options;
const {filters, tilesetTableName, columns, propertiesTableName} = options;
const urlParameters: UrlParameters = {
tilesetTableName,
matchingColumn,
propertiesTableName

@@ -30,0 +27,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

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