// npm 패키지
@antv/g-web-components
A declarative usage for G implemented with WebComponents
버전
197
메인테이너
51
라이선스
MIT
최초 publish
2022-05-24
publisher
wang1212
tarball
144,828 B
AUTO-PUBLISHED·1개 버전 인덱싱됨·최근 publish: 2025-12-24
// publisher 캠페인by wang1212
이 계정에서 catch된 패키지 9건고립된 catch가 아닙니다. 동일 publisher가 8개의 다른 패키지를 추가로 발행했고, 모두 파이프라인이 catch했습니다 — 일회성이 아닌 조직적 캠페인의 형태. 아래 링크는 각 형제 catch의 분석으로 이동합니다.
// offending code· @2.1.1· 1 file flagged
llm: benign · 0.85→ 의심 전송지 없음, 원격 실행 형태 없음 — 2 known-vendor host(s), 1 other host(s).
- @2.1.1··AUTO-PUBLISHED·publisher: wang1212heuristic 75/100static flags 1llm benign (0.85) via ollamamature-packageosv-flagged:MAL-2026-3964public-github-push
→ 의심 전송지 없음, 원격 실행 형태 없음 — 2 known-vendor host(s), 1 other host(s).
// offending code· 1 file flaggedpatterns: 1
--- package/package.json (excerpt) --- { "name": "@antv/g-web-components", "version": "2.1.1", "description": "A declarative usage for G implemented with WebComponents", "keywords": [ "antv", "g" ], "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, "exports": { "types": "./types/index.d.ts", "import": "./dist/index.esm.js", "default": "./dist/index.js" }, "main": "dist/index.js", "unpkg": "dist/index.umd.min.js", "module": "dist/index.esm.js", "types": "types/index.d.ts", "files": [ "package.json", "dist", "types", "LICENSE", "README.md" ], "dependencies": { "@babel/runtime": "^7.25.6", "@webcomponents/webcomponentsjs": "^2.8.0", "tslib": "^2.5.3", "@antv/g-webgl": "2.1.1", "@antv/g-lite": "2.7.0", "@antv/g-canvas": "2.2.0" }, "devDependencies": { "@types/gl-matrix": "^2.4.5" }, "publishConfig": { "access": "public" }, "scripts": { "build:js": "rimraf dist && rollup -c", "build:types": "rimraf types && tsc --emitDeclarationOnly --noCheck", "build": "npm run build:js && npm run build:types", "sync": "tnpm sync", "watch": "rollup -c -w" } } --- package.json (entry) --- { "name": "@antv/g-web-components", "version": "2.1.1", "description": "A declarative usage for G implemented with WebComponents", "keywords": [ "antv", "g" ], "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, "exports": { "types": "./types/index.d.ts", "import": "./dist/index.esm.js", "default": "./dist/index.js" }, "main": "dist/index.js", "unpkg": "dist/index.umd.min.js", "module": "dist/index.esm.js", "types": "types/index.d.ts", "files": [ "package.json", "dist", "types", "LICENSE", "README.md" ], "dependencies": { "@babel/runtime": "^7.25.6", "@webcomponents/webcomponentsjs": "^2.8.0", "tslib": "^2.5.3", "@antv/g-webgl": "2.1.1", "@antv/g-lite": "2.7.0", "@antv/g-canvas": "2.2.0" }, "devDependencies": { "@types/gl-matrix": "^2.4.5" }, "publishConfig": { "access": "public" }, "scripts": { "build:js": "rimraf dist --- index.js (entry) --- /*! * @antv/g-web-components * @description A declarative usage for G implemented with WebComponents * @version 2.1.1 * @date 12/24/2025, 11:58:51 AM * @author AntVis * @docs https://g.antv.antgroup.com/ */ 'use strict'; var _classCallCheck = require('@babel/runtime/helpers/classCallCheck'); var _createClass = require('@babel/runtime/helpers/createClass'); var _callSuper = require('@babel/runtime/helpers/callSuper'); var _inherits = require('@babel/runtime/helpers/inherits'); var gCanvas = require('@antv/g-canvas'); var gLite = require('@antv/g-lite'); var gWebgl = require('@antv/g-webgl'); var _wrapNativeSuper = require('@babel/runtime/helpers/wrapNativeSuper'); var _objectSpread = require('@babel/runtime/helpers/objectSpread2'); var _superPropGet = require('@babel/runtime/helpers/superPropGet'); /** @license @nocompile Copyright (c) 2018 The Polymer Project Authors. All rights reserved. This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed --- bundled output (OSV-MAL flagged — LLM scope expansion) --- --- dist/index.esm.js (bundled) --- /*! * @antv/g-web-components * @description A declarative usage for G implemented with WebComponents * @version 2.1.1 * @date 12/24/2025, 11:58:51 AM * @author AntVis * @docs https://g.antv.antgroup.com/ */ import _classCallCheck from '@babel/runtime/helpers/classCallCheck'; import _createClass from '@babel/runtime/helpers/createClass'; import _callSuper from '@babel/runtime/helpers/callSuper'; import _inherits from '@babel/runtime/helpers/inherits'; import { Renderer } from '@antv/g-canvas'; import { Canvas, BUILT_IN_PROPERTIES, Circle, Ellipse, Group, HTML, Image, Line, Path, Polyline, Rect, Text } from '@antv/g-lite'; import { Renderer as Renderer$1 } from '@antv/g-webgl'; import _wrapNativeSuper from '@babel/runtime/helpers/wrapNativeSuper'; import _objectSpread from '@babel/runtime/helpers/objectSpread2'; import _superPropGet from '@babel/runtime/helpers/superPropGet'; /** @license @nocompile Copyright (c) 2018 The Polymer Project Authors. All rights reserved. This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as part of the polymer project is also subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ (function () { (function(){if(void 0===window.Reflect||void 0===window.customElements||window.customElements.polyfillWrapFlushCallback)return;const a=HTMLElement;window.HTMLElement={HTMLElement:function HTMLElement(){return Reflect.construct(a,[],this.constructor)}}.HTMLElement,HTMLElement.prototype=a.prototype,HTMLElement.prototype.constructor=HTMLElement,Object.setPrototypeOf(HTMLElement,a);})(); }()); var GElement = /*#__PURE__*/function (_HTMLElement) { function GElement() { var _this; _classCallCheck(this, GElement); for (var _len = arguments.length, --- dist/index.js (bundled) --- /*! * @antv/g-web-components * @description A declarative usage for G implemented with WebComponents * @version 2.1.1 * @date 12/24/2025, 11:58:51 AM * @author AntVis * @docs https://g.antv.antgroup.com/ */ 'use strict'; var _classCallCheck = require('@babel/runtime/helpers/classCallCheck'); var _createClass = require('@babel/runtime/helpers/createClass'); var _callSuper = require('@babel/runtime/helpers/callSuper'); var _inherits = require('@babel/runtime/helpers/inherits'); var gCanvas = require('@antv/g-canvas'); var gLite = require('@antv/g-lite'); var gWebgl = require('@antv/g-webgl'); var _wrapNativeSuper = require('@babel/runtime/helpers/wrapNativeSuper'); var _objectSpread = require('@babel/runtime/helpers/objectSpread2'); var _superPropGet = require('@babel/runtime/helpers/superPropGet'); /** @license @nocompile Copyright (c) 2018 The Polymer Project Authors. All rights reserved. This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as part of the polymer project is also subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ (function () { (function(){if(void 0===window.Reflect||void 0===window.customElements||window.customElements.polyfillWrapFlushCallback)return;const a=HTMLElement;window.HTMLElement={HTMLElement:function HTMLElement(){return Reflect.construct(a,[],this.constructor)}}.HTMLElement,HTMLElement.prototype=a.prototype,HTMLElement.prototype.constructor=HTMLElement,Object.setPrototypeOf(HTMLElement,a);})(); }()); var GElement = /*#__PURE__*/function (_HTMLElement) { function GElement() { var _this; _classCallCheck(this, GElement); for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { args[_key] = a --- dist/index.umd.min.js (bundled) --- /*! * @antv/g-web-components * @description A declarative usage for G implemented with WebComponents * @version 2.1.1 * @date 12/24/2025, 11:58:51 AM * @author AntVis * @docs https://g.antv.antgroup.com/ */ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@antv/g-canvas"),require("@antv/g-lite"),require("@antv/g-webgl")):"function"==typeof define&&define.amd?define(["exports","@antv/g-canvas","@antv/g-lite","@antv/g-webgl"],e):e(((t="undefined"!=typeof globalThis?globalThis:t||self).G=t.G||{},t.G.WebComponent={}),t.G.Canvas2D,t.window.G,t.G.WebGL)}(this,function(t,e,n,r){"use strict"; /** @license @nocompile Copyright (c) 2018 The Polymer Project Authors. All rights reserved. This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as part of the polymer project is also subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function u(t){var e=function(t,e){if("object"!=o(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==o(e)?e:e+""}function c(t,e){for(var n=0;e.length>n;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,u(r.key),r)}}functi
