// npm 패키지
@antv/g-compat
The migration build which provides some compatible API for G 4.0.
버전
11
메인테이너
51
라이선스
MIT
최초 publish
2022-09-15
publisher
panyuqi
tarball
11,424 B
AUTO-PUBLISHED·1개 버전 인덱싱됨·최근 publish: 2022-10-18
// publisher 캠페인by panyuqi
이 계정에서 catch된 패키지 9건고립된 catch가 아닙니다. 동일 publisher가 8개의 다른 패키지를 추가로 발행했고, 모두 파이프라인이 catch했습니다 — 일회성이 아닌 조직적 캠페인의 형태. 아래 링크는 각 형제 catch의 분석으로 이동합니다.
// offending code· @1.0.11· 1 file flagged
llm: benign · 0.85→ 의심 전송지 없음, 원격 실행 형태 없음 — 2 known-vendor host(s).
- @1.0.11··AUTO-PUBLISHED·publisher: panyuqiheuristic 75/100static flags 1llm benign (0.85) via ollamamature-packageosv-flagged:MAL-2026-3913public-github-push
→ 의심 전송지 없음, 원격 실행 형태 없음 — 2 known-vendor host(s).
// offending code· 1 file flaggedpatterns: 1
--- package/package.json (excerpt) --- { "name": "@antv/g-compat", "version": "1.0.11", "description": "The migration build which provides some compatible API for G 4.0.", "keywords": [ "antv", "g", "rendering engine" ], "homepage": "https://github.com/antvis/g#readme", "bugs": { "url": "https://github.com/antvis/g/issues" }, "repository": { "type": "git", "url": "git+https://github.com/antvis/g.git" }, "license": "MIT", "author": "https://github.com/orgs/antvis/people", "sideEffects": true, "main": "dist/index.js", "unpkg": "dist/index.umd.min.js", "module": "dist/index.esm.js", "types": "dist/index.d.ts", "files": [ "package.json", "dist", "LICENSE", "README.md" ], "peerDependencies": { "@antv/g-lite": "^1.0.0" }, "publishConfig": { "access": "public" }, "gitHead": "c80e315d8611880f433168adad28dd31f2ad5980" } --- package.json (entry) --- { "name": "@antv/g-compat", "version": "1.0.11", "description": "The migration build which provides some compatible API for G 4.0.", "keywords": [ "antv", "g", "rendering engine" ], "homepage": "https://github.com/antvis/g#readme", "bugs": { "url": "https://github.com/antvis/g/issues" }, "repository": { "type": "git", "url": "git+https://github.com/antvis/g.git" }, "license": "MIT", "author": "https://github.com/orgs/antvis/people", "sideEffects": true, "main": "dist/index.js", "unpkg": "dist/index.umd.min.js", "module": "dist/index.esm.js", "types": "dist/index.d.ts", "files": [ "package.json", "dist", "LICENSE", "README.md" ], "peerDependencies": { "@antv/g-lite": "^1.0.0" }, "publishConfig": { "access": "public" }, "gitHead": "c80e315d8611880f433168adad28dd31f2ad5980" } --- index.js (entry) --- 'use strict'; var gLite = require('@antv/g-lite'); gLite.DisplayObject.prototype.getCount = function () { return this.childElementCount; }; // @ts-ignore gLite.DisplayObject.prototype.getParent = function () { return this.parentElement; }; // @ts-ignore gLite.DisplayObject.prototype.getChildren = function () { return this.children; }; // @ts-ignore gLite.DisplayObject.prototype.getFirst = function () { return this.firstElementChild; }; // @ts-ignore gLite.DisplayObject.prototype.getLast = function () { return this.lastElementChild; }; // @ts-ignore gLite.DisplayObject.prototype.getChildByIndex = function (index) { return this.children[index] || null; }; // @ts-ignore gLite.DisplayObject.prototype.add = function (child, index) { return this.appendChild(child, index); }; // @ts-ignore gLite.DisplayObject.prototype.setClip = function (clipPath) { this.style.clipPath = clipPath; }; // @ts-ignore gLite.DisplayObject.prototype.getClip = function () { return this.style.clipPath || null; }; // @ts-ignore gLite.DisplayObject.prototype.set = function (name, value) { this.config[name] = value; }; // @ts-ignore gLite.DisplayObject.prototype.get = funct --- bundled output (OSV-MAL flagged — LLM scope expansion) --- --- dist/index.d.ts (bundled) --- export {}; //# sourceMappingURL=index.d.ts.map --- dist/index.esm.js (bundled) --- import { DisplayObject } from '@antv/g-lite'; DisplayObject.prototype.getCount = function () { return this.childElementCount; }; // @ts-ignore DisplayObject.prototype.getParent = function () { return this.parentElement; }; // @ts-ignore DisplayObject.prototype.getChildren = function () { return this.children; }; // @ts-ignore DisplayObject.prototype.getFirst = function () { return this.firstElementChild; }; // @ts-ignore DisplayObject.prototype.getLast = function () { return this.lastElementChild; }; // @ts-ignore DisplayObject.prototype.getChildByIndex = function (index) { return this.children[index] || null; }; // @ts-ignore DisplayObject.prototype.add = function (child, index) { return this.appendChild(child, index); }; // @ts-ignore DisplayObject.prototype.setClip = function (clipPath) { this.style.clipPath = clipPath; }; // @ts-ignore DisplayObject.prototype.getClip = function () { return this.style.clipPath || null; }; // @ts-ignore DisplayObject.prototype.set = function (name, value) { this.config[name] = value; }; // @ts-ignore DisplayObject.prototype.get = function (name) { return this.config[name]; }; // @ts-ignore DisplayObject.prototype.moveTo = function (position, y, z) { if (y === void 0) { y = 0; } if (z === void 0) { z = 0; } this.setPosition(position, y, z); return this; }; // @ts-ignore DisplayObject.prototype.move = function (position, y, z) { if (y === void 0) { y = 0; } if (z === void 0) { z = 0; } this.setPosition(position, y, z); return this; }; // @ts-ignore DisplayObject.prototype.setZIndex = function (zIndex) { this.style.zIndex = zIndex; return this; }; --- dist/index.js (bundled) --- 'use strict'; var gLite = require('@antv/g-lite'); gLite.DisplayObject.prototype.getCount = function () { return this.childElementCount; }; // @ts-ignore gLite.DisplayObject.prototype.getParent = function () { return this.parentElement; }; // @ts-ignore gLite.DisplayObject.prototype.getChildren = function () { return this.children; }; // @ts-ignore gLite.DisplayObject.prototype.getFirst = function () { return this.firstElementChild; }; // @ts-ignore gLite.DisplayObject.prototype.getLast = function () { return this.lastElementChild; }; // @ts-ignore gLite.DisplayObject.prototype.getChildByIndex = function (index) { return this.children[index] || null; }; // @ts-ignore gLite.DisplayObject.prototype.add = function (child, index) { return this.appendChild(child, index); }; // @ts-ignore gLite.DisplayObject.prototype.setClip = function (clipPath) { this.style.clipPath = clipPath; }; // @ts-ignore gLite.DisplayObject.prototype.getClip = function () { return this.style.clipPath || null; }; // @ts-ignore gLite.DisplayObject.prototype.set = function (name, value) { this.config[name] = value; }; // @ts-ignore gLite.DisplayObject.prototype.get = function (name) { return this.config[name]; }; // @ts-ignore gLite.DisplayObject.prototype.moveTo = function (position, y, z) { if (y === void 0) { y = 0; } if (z === void 0) { z = 0; } this.setPosition(position, y, z); return this; }; // @ts-ignore gLite.DisplayObject.prototype.move = function (position, y, z) { if (y === void 0) { y = 0; } if (z === void 0) { z = 0; } this.setPosition(position, y, z); return this; }; // @ts-ignore gLite.DisplayObject.prototype.setZIndex = function (zIndex) { this.style.zIndex = zIndex; return this; }; --- dist/index.umd.js (bundled) --- (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('@antv/g-lite')) : typeof define === 'function' && define.amd ? define(['@antv/g-lite'], factory) : (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.window.G)); }(this, (function (gLite) { 'use strict'; gLite.DisplayObject.prototype.getCount = function () { return this.childElementCount; }; // @ts-ignore gLite.DisplayObject.prototype.getParent = function () { return this.parentElement; }; // @ts-ignore gLite.DisplayObject.prototype.getChildren = function () { return this.children; }; // @ts-ignore gLite.DisplayObject.prototype.getFirst = function () { return this.firstElementChild; }; // @ts-ignore gLite.DisplayObject.prototype.getLast = function () { return this.lastElementChild; }; // @ts-ignore gLite.DisplayObject.prototype.getChildByIndex = function (index) { return this.children[index] || null; }; // @ts-ignore gLite.DisplayObject.prototype.add = function (child, index) { return this.appendChild(child, index); }; // @ts-ignore gLite.DisplayObject.prototype.setClip = function (clipPath) { this.style.clipPath = clipPath; }; // @ts-ignore gLite.DisplayObject.prototype.getClip = function () { return this.style.clipPath || null; }; // @ts-ignore gLite.DisplayObject.prototype.set = function (name, value) { this.config[name] = value; }; // @ts-ignore gLite.DisplayObject.prototype.get = function (name) { return this.config[name]; }; // @ts-ignore gLite.DisplayObject.prototype.moveTo = function (position, y, z) { if (y === void 0) { y = 0; } if (z === void 0) { z = 0; } this.setPosition(position, y, z); return this; }; // @ts-ignore gLite.DisplayObject.prototype.move = function (position, y, z) { if (y === void 0) { y = 0; } if (z === void 0) { --- dist/index.umd.min.js (bundled) --- !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(require("@antv/g-lite")):"function"==typeof define&&define.amd?define(["@antv/g-lite"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).window.G)}(this,(function(t){"use strict";t.DisplayObject.prototype.getCount=function(){return this.childElementCount},t.DisplayObject.prototype.getParent=function(){return this.parentElement},t.DisplayObject.prototype.getChildren=function(){return this.children},t.DisplayObject.prototype.getFirst=function(){return this.firstElementChild},t.DisplayObject.prototype.getLast=function(){return this.lastElementChild},t.DisplayObject.prototype.getChildByIndex=function(t){return this.children[t]||null},t.DisplayObject.prototype.add=function(t,e){return this.appendChild(t,e)},t.DisplayObject.prototype.setClip=function(t){this.style.clipPath=t},t.DisplayObject.prototype.getClip=function(){return this.style.clipPath||null},t.DisplayObject.prototype.set=function(t,e){this.config[t]=e},t.DisplayObject.prototype.get=function(t){return this.config[t]},t.DisplayObject.prototype.moveTo=function(t,e,i){return void 0===e&&(e=0),void 0===i&&(i=0),this.setPosition(t,e,i),this},t.DisplayObject.prototype.move=function(t,e,i){return void 0===e&&(e=0),void 0===i&&(i=0),this.setPosition(t,e,i),this},t.DisplayObject.prototype.setZIndex=function(t){return this.style.zIndex=t,this}}));
