// npm 패키지
@antv/l7-extension-g-layer
A L7 Extension for using G in L7 environments
버전
1
메인테이너
51
라이선스
MIT
최초 publish
2024-03-19
publisher
yanxiong
tarball
248,569 B
AUTO-PUBLISHED·1개 버전 인덱싱됨·최근 publish: 2024-03-19
// publisher 캠페인by yanxiong
이 계정에서 catch된 패키지 6건고립된 catch가 아닙니다. 동일 publisher가 5개의 다른 패키지를 추가로 발행했고, 모두 파이프라인이 catch했습니다 — 일회성이 아닌 조직적 캠페인의 형태. 아래 링크는 각 형제 catch의 분석으로 이동합니다.
// offending code· @1.0.0· no static-pattern hits
llm: benign · 0.85→ 의심 전송지 없음, 원격 실행 형태 없음 — 1 known-vendor host(s).
- @1.0.0··AUTO-PUBLISHED·publisher: yanxiongheuristic 75/100static flags 0llm benign (0.85) via ollamafirst-version-of-packageosv-flagged:MAL-2026-4040
→ 의심 전송지 없음, 원격 실행 형태 없음 — 1 known-vendor host(s).
// offending code· no static-pattern hits
--- package.json (entry) --- { "name": "@antv/l7-extension-g-layer", "version": "1.0.0", "description": "A L7 Extension for using G in L7 environments", "license": "MIT", "main": "lib/index.js", "unpkg": "dist/l7-extension-g-layer.min.js", "module": "es/index.js", "types": "es/index.d.ts", "files": [ "lib", "es", "dist", "README.md" ], "scripts": { "build": "father build" }, "dependencies": { "@antv/util": "^3.3.7", "eventemitter3": "^5.0.1", "lodash-es": "^4.17.21" }, "devDependencies": { "@antv/g": "^5.18.24", "@antv/g-canvas": "^1.11.26", "@antv/g-canvaskit": "^0.10.26", "@antv/g-svg": "^1.10.25", "@antv/g-webgl": "^1.9.36", "@antv/g-webgpu": "^1.9.36", "@antv/l7": "^2.21.0", "father": "^4.1.0", "lil-gui": "^0.19.1", "stats.js": "^0.17.0" }, "peerDependencies": { "@antv/g": "^5.18.24", "@antv/l7": "^2.21.0" }, "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org" }, "authors": [] } --- index.js (entry) --- var __defProp = Object.defineProperty; var __getOwnPropDesc = Object.getOwnPropertyDescriptor; var __getOwnPropNames = Object.getOwnPropertyNames; var __hasOwnProp = Object.prototype.hasOwnProperty; var __copyProps = (to, from, except, desc) => { if (from && typeof from === "object" || typeof from === "function") { for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); } return to; }; var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default")); var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); // src/index.ts var src_exports = {}; module.exports = __toCommonJS(src_exports); __reExport(src_exports, require("./display-object"), module.exports); __reExport(src_exports, require("./g-layer"), module.exports); // Annotate the CommonJS export names for ESM import in node: 0 && (module.exports = { ...require("./display-object"), ...require("./g-layer") }); --- bundled output (OSV-MAL flagged — LLM scope expansion) --- --- lib/g-layer/services/map-sync-service.js (bundled) --- var __create = Object.create; var __defProp = Object.defineProperty; var __getOwnPropDesc = Object.getOwnPropertyDescriptor; var __getOwnPropNames = Object.getOwnPropertyNames; var __getProtoOf = Object.getPrototypeOf; var __hasOwnProp = Object.prototype.hasOwnProperty; var __export = (target, all) => { for (var name in all) __defProp(target, name, { get: all[name], enumerable: true }); }; var __copyProps = (to, from, except, desc) => { if (from && typeof from === "object" || typeof from === "function") { for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); } return to; }; var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps( // If the importer is in node compatibility mode or this is not an ESM // file that has been converted to a CommonJS file using a Babel- // compatible transform (i.e. "__esModule" has not been set), then set // "default" to the CommonJS "module.exports" for node compatibility. isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod )); var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); // src/g-layer/services/map-sync-service.ts var map_sync_service_exports = {}; __export(map_sync_service_exports, { MapSyncService: () => MapSyncService, MapSyncServiceEvent: () => MapSyncServiceEvent }); module.exports = __toCommonJS(map_sync_service_exports); var import_g = require("@antv/g"); var import_util = require("@antv/util"); var import_eventemitter3 = __toESM(require("eventemitter3")); var import_utils = require("../utils"); var MapSyncServiceEvent = /* @__PURE__ */ ((MapSyncServiceEvent2) => { MapSyncServiceEvent2["IS_OUT_ZOOM_CHANGE"] = "is-out-zoom-change"; return MapSyncServiceEvent2; }) --- lib/display-object/objects/g-circle.js (bundled) --- var __defProp = Object.defineProperty; var __getOwnPropDesc = Object.getOwnPropertyDescriptor; var __getOwnPropNames = Object.getOwnPropertyNames; var __hasOwnProp = Object.prototype.hasOwnProperty; var __export = (target, all) => { for (var name in all) __defProp(target, name, { get: all[name], enumerable: true }); }; var __copyProps = (to, from, except, desc) => { if (from && typeof from === "object" || typeof from === "function") { for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); } return to; }; var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); // src/display-object/objects/g-circle.ts var g_circle_exports = {}; __export(g_circle_exports, { GCircle: () => GCircle }); module.exports = __toCommonJS(g_circle_exports); var import_g = require("@antv/g"); var import_utils = require("../../utils"); var import_utils2 = require("../utils"); var GCircle = class extends import_g.Circle { constructor(config) { super(config); this.coordinates = [(0, import_utils2.getNumber)(this.style.cx), (0, import_utils2.getNumber)(this.style.cy)]; this.originStyle = this.style; this.style = new Proxy(this.originStyle, { get: (target, key) => { if (key === "cx" || key === "cy") { return this.coordinates[key === "cx" ? 0 : 1]; } return target[key]; }, set: (target, key, value) => { if (key === "cx" || key === "cy") { const index = key === "cx" ? 0 : 1; const newValue = (0, import_utils2.getNumber)(value); this.coordinates[index] = newValue; this.emit("COORDINATES_MODIFIED", {}); } else { target[key] = value; } return true; } }); } syncPosition(mapService) { if (!this.mapService) { this.ma --- lib/display-object/objects/g-ellipse.js (bundled) --- var __defProp = Object.defineProperty; var __getOwnPropDesc = Object.getOwnPropertyDescriptor; var __getOwnPropNames = Object.getOwnPropertyNames; var __hasOwnProp = Object.prototype.hasOwnProperty; var __export = (target, all) => { for (var name in all) __defProp(target, name, { get: all[name], enumerable: true }); }; var __copyProps = (to, from, except, desc) => { if (from && typeof from === "object" || typeof from === "function") { for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); } return to; }; var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); // src/display-object/objects/g-ellipse.ts var g_ellipse_exports = {}; __export(g_ellipse_exports, { GEllipse: () => GEllipse }); module.exports = __toCommonJS(g_ellipse_exports); var import_g = require("@antv/g"); var import_utils = require("../../utils"); var import_utils2 = require("../utils"); var GEllipse = class extends import_g.Ellipse { constructor(config) { super(config); this.coordinates = [(0, import_utils2.getNumber)(this.style.cx), (0, import_utils2.getNumber)(this.style.cy)]; this.originStyle = this.style; this.style = new Proxy(this.originStyle, { get: (target, key) => { if (key === "cx" || key === "cy") { return this.coordinates[key === "cx" ? 0 : 1]; } return target[key]; }, set: (target, key, value) => { if (key === "cx" || key === "cy") { const index = key === "cx" ? 0 : 1; const newValue = (0, import_utils2.getNumber)(value); this.coordinates[index] = newValue; this.emit("COORDINATES_MODIFIED", {}); } else { target[key] = value; } return true; } }); } syncPosition(mapService) { if (!this.mapService) { --- lib/display-object/objects/g-polygon.js (bundled) --- var __defProp = Object.defineProperty; var __getOwnPropDesc = Object.getOwnPropertyDescriptor; var __getOwnPropNames = Object.getOwnPropertyNames; var __hasOwnProp = Object.prototype.hasOwnProperty; var __export = (target, all) => { for (var name in all) __defProp(target, name, { get: all[name], enumerable: true }); }; var __copyProps = (to, from, except, desc) => { if (from && typeof from === "object" || typeof from === "function") { for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); } return to; }; var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); // src/display-object/objects/g-polygon.ts var g_polygon_exports = {}; __export(g_polygon_exports, { GPolygon: () => GPolygon }); module.exports = __toCommonJS(g_polygon_exports); var import_g = require("@antv/g"); var import_utils = require("../../utils"); var GPolygon = class extends import_g.Polygon { constructor(config) { super(config); this.coordinates = this.style.points; this.originStyle = this.style; this.style = new Proxy(this.originStyle, { get: (target, key) => { if (key === "points") { return this.coordinates; } return target[key]; }, set: (target, key, value) => { if (key === "points") { this.coordinates = value; this.emit("COORDINATES_MODIFIED", {}); } else { target[key] = value; } return true; } }); } syncPosition(mapService) { if (!this.mapService) { this.mapService = mapService; (0, import_
