// npm package
@antv/l7-mapkit
React components for AntV L7 geospatial visualization
weekly
795
monthly
795
versions
6
maintainers
51
license
MIT
first publish
2026-05-12
publisher
lzxue
tarball
106,078 B
AUTO-PUBLISHED·1 version indexed·latest published 2026-05-13
// publisher campaignby lzxue
9 caught packages from this accountThis is not an isolated catch. The same publisher has shipped 8 other packages that our pipeline flagged — the shape of a coordinated campaign, not a one-off. Each link below opens that sibling's analysis.
// offending code· @0.5.0· no static-pattern hits
llm: benign · 0.85→ No suspicious destination, no remote-exec shape — 1 known-vendor host(s), 1 other host(s).
- @0.5.0··AUTO-PUBLISHED·publisher: lzxueheuristic 75/100static flags 0llm benign (0.85) via ollamaosv-flagged:MAL-2026-4044
→ No suspicious destination, no remote-exec shape — 1 known-vendor host(s), 1 other host(s).
// offending code· no static-pattern hits
--- package.json (entry) --- { "name": "@antv/l7-mapkit", "version": "0.5.0", "description": "React components for AntV L7 geospatial visualization", "license": "MIT", "sideEffects": false, "repository": { "type": "git", "url": "https://github.com/antvis/L7-MapKit" }, "main": "lib/index.js", "module": "es/index.js", "types": "es/index.d.ts", "exports": { ".": { "import": { "types": "./es/index.d.ts", "default": "./es/index.js" }, "require": { "types": "./lib/index.d.ts", "default": "./lib/index.js" } } }, "files": [ "es", "lib", "README.md" ], "scripts": { "dev": "vite build --watch", "start": "vite", "build": "vite build && vite build --config vite.config.cjs.ts && cp es/index.d.ts lib/index.d.ts", "preview": "vite preview", "type-check": "tsc --noEmit", "lint": "eslint src --ext .ts,.tsx", "clean:install": "rm -rf node_modules package-lock.json && npm install && cd website && rm -rf node_modules package-lock.json && npm install", "site:dev": "cd website && rm -rf .next && npm run dev", "site:build": "cd website && npm run build" }, "peerDependencies": { --- index.js (entry) --- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},s=(n,r,a)=>(a=n==null?{}:e(i(n)),o(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n));let c=require(`@antv/l7`),l=require(`@antv/l7-maps`),u=require(`react`);u=s(u);let d=require(`react/jsx-runtime`),f=require(`react-dom`);var p=(0,u.createContext)(void 0);function m(){let e=(0,u.useContext)(p);if(!e)throw Error(`useScene must be used within a GaodeMapScene or MapScene component`);return e}function h(e){let{style:t,className:n,mapConfig:r,sceneConfig:i,onLoaded:a,onClick:o,onMouseMove:s,onZoomChange:f,children:m}=e,h=`l7-mapkit-gaode-${(0,u.useId)().replace(/:/g,``)}`,g=(0,u.useRef)(null),_=(0,u.useRef)(null),v=(0,u.useRef)(!1),[y,b]=(0,u.useState)(void 0);return(0,u.useEffect)(()=>{if(!g.current||v.current)return;v.current=!0;let
