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

@globalfishingwatch/layer-composer

Package Overview
Dependencies
Maintainers
2
Versions
211
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@globalfishingwatch/layer-composer - npm Package Compare versions

Comparing version 2.12.0 to 2.13.0

dist/layer-composer-f75e1bcd.js

4

dist/generators/basemap/basemap-layers.d.ts

@@ -1,6 +0,6 @@

import { Layer, AnySourceImpl } from 'mapbox-gl';
import { Layer } from 'mapbox-gl';
import { Dictionary } from '../../types';
export declare const DEFAULT_LANDMASS_COLOR = "#274777";
export declare const layers: Dictionary<Layer[]>;
export declare const sources: Dictionary<Record<string, Partial<AnySourceImpl>>>;
export declare const sources: Dictionary<Record<string, Partial<any>>>;
//# sourceMappingURL=basemap-layers.d.ts.map

@@ -5,133 +5,11 @@ /// <reference types="mapbox-gl" />

type: Type;
_getStyleSources: (config: BasemapGeneratorConfig) => ({
type?: "geojson" | undefined;
setData?: ((data: String | import("geojson").Feature<import("geojson").Geometry, import("geojson").GeoJsonProperties> | import("geojson").FeatureCollection<import("geojson").Geometry, import("geojson").GeoJsonProperties>) => import("mapbox-gl").GeoJSONSource) | undefined;
getClusterExpansionZoom?: ((clusterId: number, callback: (error: any, zoom: number) => void) => import("mapbox-gl").GeoJSONSource) | undefined;
getClusterChildren?: ((clusterId: number, callback: (error: any, features: import("geojson").Feature<import("geojson").Geometry, import("geojson").GeoJsonProperties>[]) => void) => import("mapbox-gl").GeoJSONSource) | undefined;
getClusterLeaves?: ((cluserId: number, limit: number, offset: number, callback: (error: any, features: import("geojson").Feature<import("geojson").Geometry, import("geojson").GeoJsonProperties>[]) => void) => import("mapbox-gl").GeoJSONSource) | undefined;
_getStyleSources: (config: BasemapGeneratorConfig) => {
id: string;
} | {
type?: "video" | undefined;
getVideo?: (() => HTMLVideoElement) | undefined;
setCoordinates?: ((coordinates: number[][]) => import("mapbox-gl").VideoSource) | undefined;
id: string;
} | {
type?: "image" | undefined;
updateImage?: ((options: import("mapbox-gl").ImageSourceOptions) => import("mapbox-gl").ImageSource) | undefined;
setCoordinates?: ((coordinates: number[][]) => import("mapbox-gl").ImageSource) | undefined;
id: string;
} | {
type?: "canvas" | undefined;
coordinates?: number[][] | undefined;
canvas?: string | HTMLCanvasElement | undefined;
play?: (() => void) | undefined;
pause?: (() => void) | undefined;
getCanvas?: (() => HTMLCanvasElement) | undefined;
setCoordinates?: ((coordinates: number[][]) => import("mapbox-gl").CanvasSource) | undefined;
id: string;
} | {
setTiles?: ((tiles: readonly string[]) => import("mapbox-gl").VectorSourceImpl) | undefined;
setUrl?: ((url: string) => import("mapbox-gl").VectorSourceImpl) | undefined;
type?: "vector" | undefined;
url?: string | undefined;
tiles?: string[] | undefined;
bounds?: number[] | undefined;
scheme?: "xyz" | "tms" | undefined;
minzoom?: number | undefined;
maxzoom?: number | undefined;
attribution?: string | undefined;
promoteId?: string | {
[key: string]: string;
} | undefined;
id: string;
} | {
type?: "raster" | undefined;
url?: string | undefined;
tiles?: string[] | undefined;
bounds?: number[] | undefined;
minzoom?: number | undefined;
maxzoom?: number | undefined;
tileSize?: number | undefined;
scheme?: "xyz" | "tms" | undefined;
attribution?: string | undefined;
id: string;
} | {
type?: "raster-dem" | undefined;
url?: string | undefined;
tiles?: string[] | undefined;
bounds?: number[] | undefined;
minzoom?: number | undefined;
maxzoom?: number | undefined;
tileSize?: number | undefined;
attribution?: string | undefined;
encoding?: "terrarium" | "mapbox" | undefined;
id: string;
})[];
}[];
_getStyleLayers: (config: BasemapGeneratorConfig) => import("mapbox-gl").Layer[];
getStyle: (config: BasemapGeneratorConfig) => {
id: string;
sources: ({
type?: "geojson" | undefined;
setData?: ((data: String | import("geojson").Feature<import("geojson").Geometry, import("geojson").GeoJsonProperties> | import("geojson").FeatureCollection<import("geojson").Geometry, import("geojson").GeoJsonProperties>) => import("mapbox-gl").GeoJSONSource) | undefined;
getClusterExpansionZoom?: ((clusterId: number, callback: (error: any, zoom: number) => void) => import("mapbox-gl").GeoJSONSource) | undefined;
getClusterChildren?: ((clusterId: number, callback: (error: any, features: import("geojson").Feature<import("geojson").Geometry, import("geojson").GeoJsonProperties>[]) => void) => import("mapbox-gl").GeoJSONSource) | undefined;
getClusterLeaves?: ((cluserId: number, limit: number, offset: number, callback: (error: any, features: import("geojson").Feature<import("geojson").Geometry, import("geojson").GeoJsonProperties>[]) => void) => import("mapbox-gl").GeoJSONSource) | undefined;
sources: {
id: string;
} | {
type?: "video" | undefined;
getVideo?: (() => HTMLVideoElement) | undefined;
setCoordinates?: ((coordinates: number[][]) => import("mapbox-gl").VideoSource) | undefined;
id: string;
} | {
type?: "image" | undefined;
updateImage?: ((options: import("mapbox-gl").ImageSourceOptions) => import("mapbox-gl").ImageSource) | undefined;
setCoordinates?: ((coordinates: number[][]) => import("mapbox-gl").ImageSource) | undefined;
id: string;
} | {
type?: "canvas" | undefined;
coordinates?: number[][] | undefined;
canvas?: string | HTMLCanvasElement | undefined;
play?: (() => void) | undefined;
pause?: (() => void) | undefined;
getCanvas?: (() => HTMLCanvasElement) | undefined;
setCoordinates?: ((coordinates: number[][]) => import("mapbox-gl").CanvasSource) | undefined;
id: string;
} | {
setTiles?: ((tiles: readonly string[]) => import("mapbox-gl").VectorSourceImpl) | undefined;
setUrl?: ((url: string) => import("mapbox-gl").VectorSourceImpl) | undefined;
type?: "vector" | undefined;
url?: string | undefined;
tiles?: string[] | undefined;
bounds?: number[] | undefined;
scheme?: "xyz" | "tms" | undefined;
minzoom?: number | undefined;
maxzoom?: number | undefined;
attribution?: string | undefined;
promoteId?: string | {
[key: string]: string;
} | undefined;
id: string;
} | {
type?: "raster" | undefined;
url?: string | undefined;
tiles?: string[] | undefined;
bounds?: number[] | undefined;
minzoom?: number | undefined;
maxzoom?: number | undefined;
tileSize?: number | undefined;
scheme?: "xyz" | "tms" | undefined;
attribution?: string | undefined;
id: string;
} | {
type?: "raster-dem" | undefined;
url?: string | undefined;
tiles?: string[] | undefined;
bounds?: number[] | undefined;
minzoom?: number | undefined;
maxzoom?: number | undefined;
tileSize?: number | undefined;
attribution?: string | undefined;
encoding?: "terrarium" | "mapbox" | undefined;
id: string;
})[];
}[];
layers: import("mapbox-gl").Layer[];

@@ -138,0 +16,0 @@ };

@@ -19,4 +19,4 @@ declare type Interval = '10days' | 'day' | 'hour';

export declare const toQuantizedFrame: (date: string, quantizeOffset: number, interval: Interval) => number;
export declare const getDelta: (start: string, end: string, interval: Interval) => number;
export declare const getDelta: (start: string, end: string, interval: Interval) => any;
export {};
//# sourceMappingURL=time-chunks.d.ts.map

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

import"../_tslib-7e4e3387.js";export{a as DEFAULT_BASEMAP_COLOR,b as HEATMAP_COLOR_RAMPS,H as HEATMAP_GEOM_TYPES,G as default}from"../layer-composer-f4e55de0.js";import"../types/index.js";
import"../_tslib-7e4e3387.js";export{a as DEFAULT_BASEMAP_COLOR,b as HEATMAP_COLOR_RAMPS,H as HEATMAP_GEOM_TYPES,G as default}from"../layer-composer-f75e1bcd.js";import"../types/index.js";
//# sourceMappingURL=index.js.map

@@ -226,3 +226,3 @@ import { FeatureCollection } from 'geojson';

id: string;
tilesets: string[];
datasets: string[];
filter: string;

@@ -229,0 +229,0 @@ colorRamp: ColorRampsIds;

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

import"./_tslib-7e4e3387.js";export{D as DEFAULT_CONFIG,t as Generators,L as default}from"./layer-composer-f4e55de0.js";import"./types/index.js";export{c as convertLegacyGroups,s as sort}from"./sort-08d6d8d4.js";export{g as getInteractiveLayerIds}from"./getInteractiveLayerIds-4865bc1d.js";export{T as TRACK_FIELDS,t as trackSegments}from"./track-segments-7d93abe2.js";
import"./_tslib-7e4e3387.js";export{D as DEFAULT_CONFIG,t as Generators,L as default}from"./layer-composer-f75e1bcd.js";import"./types/index.js";export{c as convertLegacyGroups,s as sort}from"./sort-08d6d8d4.js";export{g as getInteractiveLayerIds}from"./getInteractiveLayerIds-4865bc1d.js";export{T as TRACK_FIELDS,t as trackSegments}from"./track-segments-7d93abe2.js";
//# sourceMappingURL=index.js.map
{
"name": "@globalfishingwatch/layer-composer",
"version": "2.12.0",
"version": "2.13.0",
"description": "",

@@ -14,5 +14,3 @@ "author": "satellitestudio <contact@satellitestud.io>",

},
"files": [
"dist"
],
"files": ["dist"],
"repository": {

@@ -54,3 +52,3 @@ "type": "git",

},
"gitHead": "61353bcef5224ea50390524eaee3cc93fd0991d0"
"gitHead": "d3257a17acb1bd0880b760492bf936a61da4d8d8"
}

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 too big to display

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