// npm 패키지
@antv/l7plot
Geospatial Visualization Chart Library
버전
51
메인테이너
51
라이선스
MIT
최초 publish
2021-08-24
publisher
lvisei
tarball
9,642,176 B
AUTO-PUBLISHED·1개 버전 인덱싱됨·최근 publish: 2024-07-15
// publisher 캠페인by lvisei
이 계정에서 catch된 패키지 9건고립된 catch가 아닙니다. 동일 publisher가 8개의 다른 패키지를 추가로 발행했고, 모두 파이프라인이 catch했습니다 — 일회성이 아닌 조직적 캠페인의 형태. 아래 링크는 각 형제 catch의 분석으로 이동합니다.
// offending code· @0.5.11· 1 file flagged
llm: benign · 0.85→ 의심 전송지 없음, 원격 실행 형태 없음 — 2 known-vendor host(s).
- @0.5.11··AUTO-PUBLISHED·publisher: lviseiheuristic 75/100static flags 1llm benign (0.85) via ollamamature-packageosv-flagged:MAL-2026-4054public-github-push
→ 의심 전송지 없음, 원격 실행 형태 없음 — 2 known-vendor host(s).
// offending code· 1 file flaggedpatterns: 1
--- package/package.json (excerpt) --- { "name": "@antv/l7plot", "version": "0.5.11", "description": "Geospatial Visualization Chart Library", "keywords": [ "antv", "chart", "l7", "plot" ], "homepage": "https://github.com/antvis/L7Plot#readme", "bugs": { "url": "https://github.com/antvis/L7Plot/issues" }, "repository": { "type": "git", "url": "https://github.com/antvis/L7Plot.git" }, "license": "MIT", "author": "yunji", "sideEffects": false, "main": "dist/lib/index.js", "unpkg": "dist/umd/l7plot.min.js", "module": "dist/esm/index.js", "types": "dist/lib/index.d.ts", "files": [ "dist" ], "scripts": { "build": "yarn run clean && yarn run build:cjs && yarn run build:esm", "build:cjs": "tsc -p tsconfig.json --module CommonJS --outDir dist/lib", "build:esm": "tsc -p tsconfig.json --module ESNext --outDir dist/esm", "build:umd": "rollup -c rollup.config.js", "clean": "rimraf dist", "dev": "yarn run dev:cjs", "dev:cjs": "tsc -p tsconfig.json --target ES6 --module CommonJS --outDir dist/lib --watch", "lint": "eslint src __tests__ --ext .js,.ts", "lint-fix": "eslint src __tests__ --ext .js,.ts --fix", "prettier": "prettier src __tests__ -c -w", "typedoc": "typedoc" }, "dependencies": { "@antv/event-emitter": "^0.1.2", "@antv/l7plot-component": "^0.0.11", "@antv/util": "^2.0.13", "lodash-es": "^4.17.21", "topojson-client": "^3.1.0" }, "devDependencies": { "@antv/l7": "^2.21.0", --- bundled output (OSV-MAL flagged — LLM scope expansion) --- --- dist/umd/index.d.ts (bundled) --- export { default as version } from './version'; /** 资源静态注册 **/ export { registerImage, registerImages, unregisterImage, registerFontFace, unregisterFontFace, registerIconFont, registerIconFonts, unregisterIconFont, } from './core/map/register'; /** 主题注册 **/ export { getTheme, registerTheme } from './theme'; /** 类型定义导出 **/ export * from './types'; /** L7Plot 的基类 **/ export { Map } from './core/map'; /** 各图表的基类 Plot **/ export { Plot } from './core/plot'; /** 高级图表 **/ export { L7Plot } from './plot'; /** 图层 **/ export { DotLayer, DotLayerOptions } from './layers/dot-layer'; export { IconLayer, IconLayerOptions } from './layers/icon-layer'; export { DotDensityLayer, DotDensityLayerOptions } from './layers/dot-density-layer'; export { TextLayer, TextLayerOptions } from './layers/text-layer'; export { HeatmapLayer, HeatmapLayerOptions } from './layers/heatmap-layer'; export { GridLayer, GridLayerOptions } from './layers/grid-layer'; export { HexbinLayer, HexbinLayerOptions } from './layers/hexbin-layer'; export { PathLayer, PathLayerOptions } from './layers/path-layer'; export { ArcLayer, ArcLayerOptions } from './layers/arc-layer'; export { AreaLayer, AreaLayerOptions } from './layers/area-layer'; export { PrismLayer, PrismLayerOptions } from './layers/prism-layer'; /** 图表 **/ export { Dot, DotOptions } from './plots/dot'; export { DotDensity, DotDensityOptions } from './plots/dot-density'; export { Heatmap, HeatmapOptions } from './plots/heatmap'; export { Grid, GridOptions } from './plots/grid'; export { Hexbin, HexbinOptions } from './plots/hexbin'; export { Path, PathOptions } from './plots/path'; export { Flow, FlowOptions } from './plots/flow'; export { Area, AreaOptions } from './plots/area'; export { Choropleth, ChoroplethOptions } from './plots/choropleth'; --- dist/umd/l7plot.min.js (bundled) --- !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).L7Plot={})}(this,(function(t){"use strict";const e=new Map;const r=new Map;const n=new Map;var i=function(t){return null!==t&&"function"!=typeof t&&isFinite(t.length)},o={}.toString,a=function(t,e){return o.call(t)==="[object "+e+"]"},s=function(t){return a(t,"Function")},l=function(t){return Array.isArray?Array.isArray(t):a(t,"Array")},u=function(t){var e=typeof t;return null!==t&&"object"===e||"function"===e};function c(t,e){if(t)if(l(t))for(var r=0,n=t.length;r<n&&!1!==e(t[r],r);r++);else if(u(t))for(var i in t)if(t.hasOwnProperty(i)&&!1===e(t[i],i))break}var h=function(t){return"object"==typeof t&&null!==t},p=function(t){if(!h(t)||!a(t,"Object"))return!1;if(null===Object.getPrototypeOf(t))return!0;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e},d=function(t){return a(t,"String")},f=Object.values?function(t){return Object.values(t)}:function(t){var e=[];return c(t,(function(r,n){s(t)&&"prototype"===n||e.push(r)})),e},m=function(t){return(e=t,function(t){return null==t}(e)?"":e.toString()).toLowerCase();var e};function g(t,e){return t&&e?t.replace(/\\?\{([^{}]+)\}/g,(function(t,r){return"\\"===t.charAt(0)?t.slice(1):void 0===e[r]?"":e[r]})):t}var _=function(t){return a(t,"Boolean")},v=function(t){return void 0===t},y=function(t){if("object"!=typeof t||null===t)return t;var e;if(l(t)){e=[];for(var r=0,n=t.length;r<n;r++)"object"==typeof t[r]&&null!=t[r]?e[r]=y(t[r]):e[r]=t[r]}else for(var i in e={},t)"object"==typeof t[i]&&null!=t[i]?e[i]=y(t[i]):e[i]=t[i];return e};function x(t,e,r,n){for(var i in r=r||0,n=n||5,e)if(e.hasOwnProperty(i)){var o=e[i];null!==o&&p(o)?(p(t[i])||(t[i]={}),r<n?x(t[i],o,r+1,n):t[i]=e[i]):l(o)?(t[i]=[],t[i]=t[i].concat(o)):void 0!==o&&(t[i]=o)}}var b=function(t){for(var e=[],r=1;r<argument --- dist/umd/version.d.ts (bundled) --- declare const _default: "0.5.11"; export default _default; --- dist/umd/utils/deep-assign.d.ts (bundled) --- /** * deepAssign 对象深度合并 * deepAssign 功能类似 deepMix * 不同点在于 deepAssign 会将 null undefined 等类型直接覆盖给 source */ export declare const deepAssign: (target: Record<string, any>, ...sources: Record<string, any>[]) => any; --- dist/umd/utils/index.d.ts (bundled) --- export { deepAssign } from './deep-assign'; --- dist/umd/types/attr.d.ts (bundled) --- import type { IAnimateOption, IActiveOption } from '@antv/l7'; import { ScaleConfig } from './common'; export type Callback<T> = (data: Record<string, any>) => T | T[]; /** 颜色色板 */ export type ColorsAttr = string | string[]; export type StyleAttribute<T> = { field?: string | string[]; value?: T | T[] | Callback<T>; }; export type ColorStyleAttribute = { field?: string | string[]; value?: string | string[] | Callback<string>; scale?: ScaleConfig; }; export type SizeStyleAttribute = { field?: string; value?: number | number[] | Callback<number | number[]>; scale?: ScaleConfig; }; export type ShapeStyleAttribute<T> = { field?: string | string[]; value?: T | T[] | Callback<T>; scale?: ScaleConfig; }; export type RotateStyleAttribute = { field?: string; value?: number | number[] | Callback<number>; }; /** 图形交互反馈 */ export type StateAttribute = { active?: boolean | IActiveOption; select?: boolean | IActiveOption; }; /** 颜色 */ export type ColorAttr = string | Callback<string> | ColorStyleAttribute; /** 大小 */ export type SizeAttr = number | number[] | Callback<number | number[]> | SizeStyleAttribute; /** 旋转 */ export type RotateAttr = number | Callback<number> | RotateStyleAttribute; /** 图形形状 */ export type ShapeAttr<T> = T | Callback<T> | ShapeStyleAttribute<T>; /** 图形动画 */ export type AnimateAttr = boolean | Partial<IAnimateOption>; /** 纹理贴图 */ export type TextureAttr = string; /** 数据过滤 */ export type FilterAttr = { field?: string | string[]; value: Callback<boolean>; }; /** 聚合方法 */ export type AggregationMethod = 'count' | 'max' | 'min' | 'sum' | 'mean'; /** 网格聚合 */ export type GridAggregation = { /** * 聚合类型 */ type?: 'grid' | 'hexagon'; /** * 聚合字段 */ field: string; /** * 网格半径 */ radius?: number; /** * 聚合方法 */ method?: AggregationMethod; }; --- dist/umd/types/common.d.ts (bundled) --- import type { Scene, ILayer, ILayerConfig, ISourceCFG, IScale, IScaleOptions, ILngLat, Bounds, BlendType, IImage, ITransform, IStatusOptions, ILegendSegmentItem, ILegendClassificaItem } from '@antv/l7'; export type { Scene, ILayer, ILayerConfig, ISourceCFG, ILngLat, Bounds, BlendType, IImage, ITransform, ILegendSegmentItem, ILegendClassificaItem, }; export type ScaleConfig = IScale; export type ScaleConfigMap = IScaleOptions; export type MapStatusOptions = IStatusOptions; export type ValueOf<T> = T[keyof T]; export interface Event { type: string; target?: any; [key: string]: any; } export interface MouseEvent extends Event { x: number; y: number; type: string; lngLat: ILngLat; feature: any; featureId: number; } --- dist/umd/types/control.d.ts (bundled) --- import type { PositionType, PositionName } from '@antv/l7'; export type { PositionType, PositionName }; /** * ZoomControl */ export type ZoomControlOptions = { position?: PositionName; zoomInText?: string; zoomInTitle?: string; zoomOutText?: string; zoomOutTitle?: string; }; /** * ScaleControl */ export type ScaleControlOptions = { position?: PositionName; maxWidth?: number; metric?: boolean; updateWhenIdle?: boolean; imperial?: boolean; }; /** * LayerMenuControl */ export type LayerMenuControlOptions = { position?: PositionName; collapsed?: boolean; autoZIndex?: boolean; hideSingleBase?: boolean; sortLayers?: boolean; sortFunction?: (...args: any[]) => any; }; --- dist/umd/types/index.d.ts (bundled) --- export * from './common'; export * from './attr'; export * from './layer'; export * from './ma
