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

@antv/l7-source

Package Overview
Dependencies
Maintainers
64
Versions
540
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@antv/l7-source - npm Package Compare versions

Comparing version 2.21.3 to 2.21.4-beta.0

2

es/index.d.ts
import { rasterDataTypes } from './parser/raster-tile';
import Source from './source';
export { getParser, getTransform, registerParser, registerTransform, } from './factory';
export { getParser, getTransform, registerParser, registerTransform } from './factory';
export * from './interface';

@@ -5,0 +5,0 @@ export * from './source/index';

@@ -12,6 +12,6 @@ // src/index.ts

import rasterTile, { rasterDataTypes } from "./parser/raster-tile";
import ndi from "./parser/raster/ndi";
import rgb from "./parser/raster/rgb";
import rasterRgb from "./parser/rasterRgb";
import testTile from "./parser/testTile";
import rgb from "./parser/raster/rgb";
import ndi from "./parser/raster/ndi";
import Source from "./source";

@@ -24,8 +24,3 @@ import { cluster } from "./transform/cluster";

import { map } from "./transform/map";
import {
getParser,
getTransform,
registerParser as registerParser2,
registerTransform as registerTransform2
} from "./factory";
import { getParser, getTransform, registerParser as registerParser2, registerTransform as registerTransform2 } from "./factory";
export * from "./interface";

@@ -32,0 +27,0 @@ export * from "./source/index";

@@ -71,3 +71,2 @@ export type DataType = string | object[] | object;

}
import type { Feature } from '@turf/helpers';
export interface ITileSource {

@@ -79,5 +78,5 @@ getTileData(layer: string): any;

[_: string]: {
features: Feature[];
features: GeoJSON.Feature[];
};
};
};

@@ -66,18 +66,15 @@ var __defProp = Object.defineProperty;

}
flattenEach(
data,
(currentFeature, featureIndex) => {
let featureId = getFeatureID(currentFeature, cfg == null ? void 0 : cfg.featureId);
if (featureId === null) {
featureId = featureIndex;
}
const sortedID = featureId;
const coord = getCoords(currentFeature);
const dataItem = __spreadProps(__spreadValues({}, currentFeature.properties), {
coordinates: coord,
_id: sortedID
});
resultData.push(dataItem);
flattenEach(data, (currentFeature, featureIndex) => {
let featureId = getFeatureID(currentFeature, cfg == null ? void 0 : cfg.featureId);
if (featureId === null) {
featureId = featureIndex;
}
);
const sortedID = featureId;
const coord = getCoords(currentFeature);
const dataItem = __spreadProps(__spreadValues({}, currentFeature.properties), {
coordinates: coord,
_id: sortedID
});
resultData.push(dataItem);
});
return {

@@ -84,0 +81,0 @@ dataArray: resultData,

@@ -1,11 +0,4 @@

import type { Feature, FeatureCollection, Geometries, Properties } from '@turf/helpers';
import type { FeatureCollection, Geometries, Properties } from '@turf/helpers';
import type { IParserData } from '../interface';
import type { ITileParserCFG } from '@antv/l7-core';
export type MapboxVectorTile = {
layers: {
[key: string]: {
features: Feature[];
};
};
};
export default function geojsonVTTile(data: FeatureCollection<Geometries, Properties>, cfg: ITileParserCFG): IParserData;

@@ -158,9 +158,3 @@ var __defProp = Object.defineProperty;

const features = tileData ? tileData.features.map((vectorTileFeature) => {
return GetGeoJSON(
extent,
tileParams.x,
tileParams.y,
tileParams.z,
vectorTileFeature
);
return GetGeoJSON(extent, tileParams.x, tileParams.y, tileParams.z, vectorTileFeature);
}) : [];

@@ -167,0 +161,0 @@ const vectorTile = {

@@ -38,13 +38,10 @@ var __defProp = Object.defineProperty;

const rewindGeometry = geojsonRewind(col[geometry]);
flattenEach(
rewindGeometry,
(currentFeature) => {
const coord = getCoords(currentFeature);
const dataItem = __spreadProps(__spreadValues({}, col), {
_id: index,
coordinates: coord
});
resultData.push(dataItem);
}
);
flattenEach(rewindGeometry, (currentFeature) => {
const coord = getCoords(currentFeature);
const dataItem = __spreadProps(__spreadValues({}, col), {
_id: index,
coordinates: coord
});
resultData.push(dataItem);
});
});

@@ -51,0 +48,0 @@ return {

@@ -1,11 +0,3 @@

import type { Feature } from '@turf/helpers';
import type { IParserData } from '../interface';
import type { ITileParserCFG } from '@antv/l7-core';
export type MapboxVectorTile = {
layers: {
[key: string]: {
features: Feature[];
};
};
};
export default function jsonTile(url: string, cfg: ITileParserCFG): IParserData;

@@ -42,6 +42,3 @@ var __defProp = Object.defineProperty;

// src/parser/jsonTile.ts
import {
getData,
getURLFromTemplate
} from "@antv/l7-utils";
import { getData, getURLFromTemplate } from "@antv/l7-utils";
import VtSource from "../source/geojsonvt";

@@ -82,8 +79,3 @@ var getVectorTile = (url, tile, requestParameters, getCustomData) => __async(void 0, null, function* () {

};
const vectorSource = new VtSource(
vectorTile,
tile.x,
tile.y,
tile.z
);
const vectorSource = new VtSource(vectorTile, tile.x, tile.y, tile.z);
resolve(vectorSource);

@@ -99,8 +91,3 @@ } else {

};
const vectorSource = new VtSource(
vectorTile,
tile.x,
tile.y,
tile.z
);
const vectorSource = new VtSource(vectorTile, tile.x, tile.y, tile.z);
resolve(vectorSource);

@@ -107,0 +94,0 @@ }

@@ -42,6 +42,3 @@ var __defProp = Object.defineProperty;

// src/parser/mvt.ts
import {
getArrayBuffer,
getURLFromTemplate
} from "@antv/l7-utils";
import { getArrayBuffer, getURLFromTemplate } from "@antv/l7-utils";
import VectorSource from "../source/vector";

@@ -94,9 +91,3 @@ var DEFAULT_CONFIG = {

const url = Array.isArray(data) ? data[0] : data;
const getTileData = (tileParams, tile) => getVectorTile(
url,
tileParams,
tile,
cfg == null ? void 0 : cfg.requestParameters,
cfg == null ? void 0 : cfg.getCustomData
);
const getTileData = (tileParams, tile) => getVectorTile(url, tileParams, tile, cfg == null ? void 0 : cfg.requestParameters, cfg == null ? void 0 : cfg.getCustomData);
const tilesetOptions = __spreadProps(__spreadValues(__spreadValues({}, DEFAULT_CONFIG), cfg), {

@@ -103,0 +94,0 @@ getTileData

@@ -24,7 +24,3 @@ var __defProp = Object.defineProperty;

import { getCustomData, getCustomImageData } from "../utils/tile/getCustomData";
import {
defaultFormat,
getTileBuffer,
getTileImage
} from "../utils/tile/getRasterTile";
import { defaultFormat, getTileBuffer, getTileImage } from "../utils/tile/getRasterTile";
var DEFAULT_CONFIG = {

@@ -68,9 +64,3 @@ tileSize: 256,

case RasterTileType.ARRAYBUFFER:
return getTileBuffer(
data,
tileParams,
tile,
(cfg == null ? void 0 : cfg.format) || defaultFormat,
cfg == null ? void 0 : cfg.operation
);
return getTileBuffer(data, tileParams, tile, (cfg == null ? void 0 : cfg.format) || defaultFormat, cfg == null ? void 0 : cfg.operation);
case RasterTileType.CUSTOMARRAYBUFFER:

@@ -77,0 +67,0 @@ case RasterTileType.CUSTOMRGB:

// src/parser/raster.ts
import { bandsOperation } from "../utils/bandOperation/bands";
import { isNumberArray, extentToCoord } from "../utils/util";
import { extentToCoord, isNumberArray } from "../utils/util";
function raster(data, cfg) {

@@ -5,0 +5,0 @@ const {

@@ -36,3 +36,13 @@ var __defProp = Object.defineProperty;

function rasterRgb(data, cfg) {
const _a = cfg, { extent = [121.168, 30.2828, 121.384, 30.4219], coordinates, width, height } = _a, options = __objRest(_a, ["extent", "coordinates", "width", "height"]);
const _a = cfg, {
extent = [121.168, 30.2828, 121.384, 30.4219],
coordinates,
width,
height
} = _a, options = __objRest(_a, [
"extent",
"coordinates",
"width",
"height"
]);
if (data.length < 2) {

@@ -39,0 +49,0 @@ console.warn("RGB解析需要2个波段的数据");

@@ -35,3 +35,3 @@ var __defProp = Object.defineProperty;

import { bandsOperation } from "../utils/bandOperation/bands";
import { isNumberArray, extentToCoord } from "../utils/util";
import { extentToCoord, isNumberArray } from "../utils/util";
function rasterRgb(data, cfg) {

@@ -38,0 +38,0 @@ const _a = cfg, { extent, coordinates, min, max, width, height, format, operation } = _a, rest = __objRest(_a, ["extent", "coordinates", "min", "max", "width", "height", "format", "operation"]);

@@ -40,9 +40,3 @@ var __defProp = Object.defineProperty;

import { SyncHook } from "@antv/async-hook";
import {
bBoxToBounds,
extent,
lodashUtil,
padBounds,
TilesetManager
} from "@antv/l7-utils";
import { TilesetManager, bBoxToBounds, extent, lodashUtil, padBounds } from "@antv/l7-utils";
import { EventEmitter } from "eventemitter3";

@@ -108,6 +102,3 @@ import { getParser, getTransform } from "./factory";

const { method = "sum", field } = this.clusterOptions;
let data = this.clusterIndex.getClusters(
this.caculClusterExtent(2),
Math.floor(zoom)
);
let data = this.clusterIndex.getClusters(this.caculClusterExtent(2), Math.floor(zoom));
this.clusterOptions.zoom = zoom;

@@ -165,10 +156,8 @@ data.forEach((p) => {

updateFeaturePropertiesById(id, properties) {
this.data.dataArray = this.data.dataArray.map(
(dataItem) => {
if (dataItem._id === id) {
return __spreadValues(__spreadValues({}, dataItem), properties);
}
return dataItem;
this.data.dataArray = this.data.dataArray.map((dataItem) => {
if (dataItem._id === id) {
return __spreadValues(__spreadValues({}, dataItem), properties);
}
);
return dataItem;
});
this.dataArrayChanged = true;

@@ -175,0 +164,0 @@ this.emit("update", {

@@ -1,2 +0,1 @@

import type { Feature, Properties } from '@turf/helpers';
import type { ITileSource, MapboxVectorTile } from '../interface';

@@ -10,4 +9,4 @@ export default class VectorSource implements ITileSource {

constructor(vector: MapboxVectorTile, x: number, y: number, z: number);
getTileData(sourceLayer: string): Feature<import("@turf/helpers").Geometry | import("@turf/helpers").GeometryCollection, Properties>[] | Feature<import("geojson").Geometry, Properties>[];
getTileData(sourceLayer: string): import("geojson").Feature<import("geojson").Geometry, import("geojson").GeoJsonProperties>[];
getFeatureById(): void;
}

@@ -23,6 +23,3 @@ var __defProp = Object.defineProperty;

if (data.pointIndex) {
const clusterData = data.pointIndex.getClusters(
data.extent,
Math.floor(zoom)
);
const clusterData = data.pointIndex.getClusters(data.extent, Math.floor(zoom));
data.dataArray = formatData(clusterData);

@@ -29,0 +26,0 @@ return data;

// src/transform/grid.ts
import { aProjectFlat, Satistics } from "@antv/l7-utils";
import { Satistics, aProjectFlat } from "@antv/l7-utils";
var R_EARTH = 6378e3;

@@ -4,0 +4,0 @@ function aggregatorToGrid(data, option) {

@@ -22,3 +22,3 @@ var __defProp = Object.defineProperty;

// src/transform/hexagon.ts
import { aProjectFlat, Satistics } from "@antv/l7-utils";
import { Satistics, aProjectFlat } from "@antv/l7-utils";
import { hexbin } from "d3-hexbin";

@@ -25,0 +25,0 @@ var R_EARTH = 6378e3;

@@ -68,6 +68,3 @@ var __defProp = Object.defineProperty;

if (!Array.isArray(operation)) {
rasterData = processSchemaOperation(
operation,
bandsData
);
rasterData = processSchemaOperation(operation, bandsData);
} else {

@@ -74,0 +71,0 @@ rasterData = { rasterData: calculate(operation, bandsData) };

@@ -5,5 +5,5 @@ declare function max(x: number[]): number;

declare function mean(x: number[]): number;
export { sum, max, min, mean };
export { max, mean, min, sum };
export declare const statMap: {
[key: string]: any;
};

@@ -42,6 +42,3 @@ var __defProp = Object.defineProperty;

// src/utils/tile/getRasterData.ts
import {
getArrayBuffer,
makeXMLHttpRequestPromise
} from "@antv/l7-utils";
import { getArrayBuffer, makeXMLHttpRequestPromise } from "@antv/l7-utils";
import { processRasterData } from "../bandOperation/bands";

@@ -48,0 +45,0 @@ import { bindCancel, getTileBandParams } from "./request";

@@ -39,7 +39,3 @@ var __defProp = Object.defineProperty;

// src/utils/tile/getRasterTile.ts
import {
getImage,
getURLFromTemplate,
getWMTSURLFromTemplate
} from "@antv/l7-utils";
import { getImage, getURLFromTemplate, getWMTSURLFromTemplate } from "@antv/l7-utils";
import { getRasterFile } from "./getRasterData";

@@ -46,0 +42,0 @@ import { getTileUrl } from "./request";

// src/utils/tile/request.ts
import {
getURLFromTemplate
} from "@antv/l7-utils";
import { getURLFromTemplate } from "@antv/l7-utils";
function getTileUrl(url, tileParams) {
if (Array.isArray(url)) {
if (typeof url[0] === "string") {
return url.map(
(src) => getURLFromTemplate(src, tileParams)
);
return url.map((src) => getURLFromTemplate(src, tileParams));
} else {

@@ -12,0 +8,0 @@ return url.map((o) => {

import { rasterDataTypes } from './parser/raster-tile';
import Source from './source';
export { getParser, getTransform, registerParser, registerTransform, } from './factory';
export { getParser, getTransform, registerParser, registerTransform } from './factory';
export * from './interface';

@@ -5,0 +5,0 @@ export * from './source/index';

@@ -51,6 +51,6 @@ var __create = Object.create;

var import_raster_tile = __toESM(require("./parser/raster-tile"));
var import_ndi = __toESM(require("./parser/raster/ndi"));
var import_rgb = __toESM(require("./parser/raster/rgb"));
var import_rasterRgb = __toESM(require("./parser/rasterRgb"));
var import_testTile = __toESM(require("./parser/testTile"));
var import_rgb = __toESM(require("./parser/raster/rgb"));
var import_ndi = __toESM(require("./parser/raster/ndi"));
var import_source = __toESM(require("./source"));

@@ -57,0 +57,0 @@ var import_cluster = require("./transform/cluster");

@@ -71,3 +71,2 @@ export type DataType = string | object[] | object;

}
import type { Feature } from '@turf/helpers';
export interface ITileSource {

@@ -79,5 +78,5 @@ getTileData(layer: string): any;

[_: string]: {
features: Feature[];
features: GeoJSON.Feature[];
};
};
};

@@ -86,18 +86,15 @@ var __defProp = Object.defineProperty;

}
(0, import_meta.flattenEach)(
data,
(currentFeature, featureIndex) => {
let featureId = getFeatureID(currentFeature, cfg == null ? void 0 : cfg.featureId);
if (featureId === null) {
featureId = featureIndex;
}
const sortedID = featureId;
const coord = (0, import_invariant.getCoords)(currentFeature);
const dataItem = __spreadProps(__spreadValues({}, currentFeature.properties), {
coordinates: coord,
_id: sortedID
});
resultData.push(dataItem);
(0, import_meta.flattenEach)(data, (currentFeature, featureIndex) => {
let featureId = getFeatureID(currentFeature, cfg == null ? void 0 : cfg.featureId);
if (featureId === null) {
featureId = featureIndex;
}
);
const sortedID = featureId;
const coord = (0, import_invariant.getCoords)(currentFeature);
const dataItem = __spreadProps(__spreadValues({}, currentFeature.properties), {
coordinates: coord,
_id: sortedID
});
resultData.push(dataItem);
});
return {

@@ -104,0 +101,0 @@ dataArray: resultData,

@@ -1,11 +0,4 @@

import type { Feature, FeatureCollection, Geometries, Properties } from '@turf/helpers';
import type { FeatureCollection, Geometries, Properties } from '@turf/helpers';
import type { IParserData } from '../interface';
import type { ITileParserCFG } from '@antv/l7-core';
export type MapboxVectorTile = {
layers: {
[key: string]: {
features: Feature[];
};
};
};
export default function geojsonVTTile(data: FeatureCollection<Geometries, Properties>, cfg: ITileParserCFG): IParserData;

@@ -188,9 +188,3 @@ var __create = Object.create;

const features = tileData ? tileData.features.map((vectorTileFeature) => {
return GetGeoJSON(
extent,
tileParams.x,
tileParams.y,
tileParams.z,
vectorTileFeature
);
return GetGeoJSON(extent, tileParams.x, tileParams.y, tileParams.z, vectorTileFeature);
}) : [];

@@ -197,0 +191,0 @@ const vectorTile = {

@@ -58,13 +58,10 @@ var __defProp = Object.defineProperty;

const rewindGeometry = (0, import_util.geojsonRewind)(col[geometry]);
(0, import_meta.flattenEach)(
rewindGeometry,
(currentFeature) => {
const coord = (0, import_invariant.getCoords)(currentFeature);
const dataItem = __spreadProps(__spreadValues({}, col), {
_id: index,
coordinates: coord
});
resultData.push(dataItem);
}
);
(0, import_meta.flattenEach)(rewindGeometry, (currentFeature) => {
const coord = (0, import_invariant.getCoords)(currentFeature);
const dataItem = __spreadProps(__spreadValues({}, col), {
_id: index,
coordinates: coord
});
resultData.push(dataItem);
});
});

@@ -71,0 +68,0 @@ return {

@@ -1,11 +0,3 @@

import type { Feature } from '@turf/helpers';
import type { IParserData } from '../interface';
import type { ITileParserCFG } from '@antv/l7-core';
export type MapboxVectorTile = {
layers: {
[key: string]: {
features: Feature[];
};
};
};
export default function jsonTile(url: string, cfg: ITileParserCFG): IParserData;

@@ -108,8 +108,3 @@ var __create = Object.create;

};
const vectorSource = new import_geojsonvt.default(
vectorTile,
tile.x,
tile.y,
tile.z
);
const vectorSource = new import_geojsonvt.default(vectorTile, tile.x, tile.y, tile.z);
resolve(vectorSource);

@@ -125,8 +120,3 @@ } else {

};
const vectorSource = new import_geojsonvt.default(
vectorTile,
tile.x,
tile.y,
tile.z
);
const vectorSource = new import_geojsonvt.default(vectorTile, tile.x, tile.y, tile.z);
resolve(vectorSource);

@@ -133,0 +123,0 @@ }

@@ -120,9 +120,3 @@ var __create = Object.create;

const url = Array.isArray(data) ? data[0] : data;
const getTileData = (tileParams, tile) => getVectorTile(
url,
tileParams,
tile,
cfg == null ? void 0 : cfg.requestParameters,
cfg == null ? void 0 : cfg.getCustomData
);
const getTileData = (tileParams, tile) => getVectorTile(url, tileParams, tile, cfg == null ? void 0 : cfg.requestParameters, cfg == null ? void 0 : cfg.getCustomData);
const tilesetOptions = __spreadProps(__spreadValues(__spreadValues({}, DEFAULT_CONFIG), cfg), {

@@ -129,0 +123,0 @@ getTileData

@@ -84,9 +84,3 @@ var __defProp = Object.defineProperty;

case import_l7_core.RasterTileType.ARRAYBUFFER:
return (0, import_getRasterTile.getTileBuffer)(
data,
tileParams,
tile,
(cfg == null ? void 0 : cfg.format) || import_getRasterTile.defaultFormat,
cfg == null ? void 0 : cfg.operation
);
return (0, import_getRasterTile.getTileBuffer)(data, tileParams, tile, (cfg == null ? void 0 : cfg.format) || import_getRasterTile.defaultFormat, cfg == null ? void 0 : cfg.operation);
case import_l7_core.RasterTileType.CUSTOMARRAYBUFFER:

@@ -93,0 +87,0 @@ case import_l7_core.RasterTileType.CUSTOMRGB:

@@ -56,3 +56,13 @@ var __defProp = Object.defineProperty;

function rasterRgb(data, cfg) {
const _a = cfg, { extent = [121.168, 30.2828, 121.384, 30.4219], coordinates, width, height } = _a, options = __objRest(_a, ["extent", "coordinates", "width", "height"]);
const _a = cfg, {
extent = [121.168, 30.2828, 121.384, 30.4219],
coordinates,
width,
height
} = _a, options = __objRest(_a, [
"extent",
"coordinates",
"width",
"height"
]);
if (data.length < 2) {

@@ -59,0 +69,0 @@ console.warn("RGB解析需要2个波段的数据");

@@ -121,6 +121,3 @@ var __defProp = Object.defineProperty;

const { method = "sum", field } = this.clusterOptions;
let data = this.clusterIndex.getClusters(
this.caculClusterExtent(2),
Math.floor(zoom)
);
let data = this.clusterIndex.getClusters(this.caculClusterExtent(2), Math.floor(zoom));
this.clusterOptions.zoom = zoom;

@@ -178,10 +175,8 @@ data.forEach((p) => {

updateFeaturePropertiesById(id, properties) {
this.data.dataArray = this.data.dataArray.map(
(dataItem) => {
if (dataItem._id === id) {
return __spreadValues(__spreadValues({}, dataItem), properties);
}
return dataItem;
this.data.dataArray = this.data.dataArray.map((dataItem) => {
if (dataItem._id === id) {
return __spreadValues(__spreadValues({}, dataItem), properties);
}
);
return dataItem;
});
this.dataArrayChanged = true;

@@ -188,0 +183,0 @@ this.emit("update", {

@@ -1,2 +0,1 @@

import type { Feature, Properties } from '@turf/helpers';
import type { ITileSource, MapboxVectorTile } from '../interface';

@@ -10,4 +9,4 @@ export default class VectorSource implements ITileSource {

constructor(vector: MapboxVectorTile, x: number, y: number, z: number);
getTileData(sourceLayer: string): Feature<import("@turf/helpers").Geometry | import("@turf/helpers").GeometryCollection, Properties>[] | Feature<import("geojson").Geometry, Properties>[];
getTileData(sourceLayer: string): import("geojson").Feature<import("geojson").Geometry, import("geojson").GeoJsonProperties>[];
getFeatureById(): void;
}

@@ -54,6 +54,3 @@ var __create = Object.create;

if (data.pointIndex) {
const clusterData = data.pointIndex.getClusters(
data.extent,
Math.floor(zoom)
);
const clusterData = data.pointIndex.getClusters(data.extent, Math.floor(zoom));
data.dataArray = formatData(clusterData);

@@ -60,0 +57,0 @@ return data;

@@ -89,6 +89,3 @@ var __defProp = Object.defineProperty;

if (!Array.isArray(operation)) {
rasterData = processSchemaOperation(
operation,
bandsData
);
rasterData = processSchemaOperation(operation, bandsData);
} else {

@@ -95,0 +92,0 @@ rasterData = { rasterData: (0, import_math.calculate)(operation, bandsData) };

@@ -5,5 +5,5 @@ declare function max(x: number[]): number;

declare function mean(x: number[]): number;
export { sum, max, min, mean };
export { max, mean, min, sum };
export declare const statMap: {
[key: string]: any;
};

@@ -31,5 +31,3 @@ var __defProp = Object.defineProperty;

if (typeof url[0] === "string") {
return url.map(
(src) => (0, import_l7_utils.getURLFromTemplate)(src, tileParams)
);
return url.map((src) => (0, import_l7_utils.getURLFromTemplate)(src, tileParams));
} else {

@@ -36,0 +34,0 @@ return url.map((o) => {

{
"name": "@antv/l7-source",
"version": "2.21.3",
"version": "2.21.4-beta.0",
"description": "",

@@ -15,14 +15,4 @@ "license": "MIT",

],
"scripts": {
"dev": "father dev",
"build": "npm run clean && father build",
"check-deps": "father doctor",
"lint": "eslint src __tests__",
"clean": "rimraf dist es lib",
"sync": "tnpm sync"
},
"dependencies": {
"@antv/async-hook": "^2.2.9",
"@antv/l7-core": "^2.21.3",
"@antv/l7-utils": "^2.21.3",
"@babel/runtime": "^7.7.7",

@@ -39,3 +29,5 @@ "@mapbox/geojson-rewind": "^0.5.2",

"pbf": "^3.2.1",
"supercluster": "^7.0.0"
"supercluster": "^7.0.0",
"@antv/l7-core": "2.21.4-beta.0",
"@antv/l7-utils": "2.21.4-beta.0"
},

@@ -45,4 +37,4 @@ "devDependencies": {

"@types/d3-hexbin": "^0.2.3",
"@types/geojson": "^7946.0.14",
"@types/geojson-vt": "3.2.0",
"@types/lodash": "^4.14.138",
"@types/mapbox__vector-tile": "^1.3.0",

@@ -52,5 +44,13 @@ "@types/pbf": "^3.0.2"

"publishConfig": {
"access": "public"
"access": "public",
"registry": "https://registry.npmjs.org"
},
"gitHead": "522dec125e1d49bfe3b7325239bb6c9103311b2d"
}
"repository": "git@github.com:antvis/L7.git",
"scripts": {
"dev": "father dev",
"build": "npm run clean && father build",
"check-deps": "father doctor",
"lint": "eslint src __tests__",
"clean": "rimraf dist es lib"
}
}
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