// npm 패키지
@antv/g6-extension-react
Using React Component to Define Your G6 Graph Node
버전
30
메인테이너
51
라이선스
MIT
최초 publish
2024-05-16
publisher
iaaron
tarball
2,013,847 B
AUTO-PUBLISHED·1개 버전 인덱싱됨·최근 publish: 2026-03-30
// publisher 캠페인by iaaron
이 계정에서 catch된 패키지 9건고립된 catch가 아닙니다. 동일 publisher가 8개의 다른 패키지를 추가로 발행했고, 모두 파이프라인이 catch했습니다 — 일회성이 아닌 조직적 캠페인의 형태. 아래 링크는 각 형제 catch의 분석으로 이동합니다.
// offending code· @0.2.7· 1 file flagged
llm: benign · 0.85→ 의심 전송지 없음, 원격 실행 형태 없음 — 1 known-vendor host(s).
- @0.2.7··AUTO-PUBLISHED·publisher: iaaronheuristic 75/100static flags 1llm benign (0.85) via ollamamature-packageosv-flagged:MAL-2026-3989public-github-push
→ 의심 전송지 없음, 원격 실행 형태 없음 — 1 known-vendor host(s).
// offending code· 1 file flaggedpatterns: 1
--- package/package.json (excerpt) --- { "name": "@antv/g6-extension-react", "version": "0.2.7", "description": "Using React Component to Define Your G6 Graph Node", "keywords": [ "antv", "g6", "extension", "react", "node" ], "repository": "https://github.com/antvis/G6.git", "license": "MIT", "author": "Aarebecca", "main": "lib/index.js", "module": "esm/index.js", "types": "lib/index.d.ts", "files": [ "src", "esm", "lib", "dist", "README" ], "dependencies": { "@antv/g": "^6.1.24", "@antv/g-svg": "^2.0.38" }, "devDependencies": { "@ant-design/icons": "^5.6.1", "@types/react": "^19.1.4", "@types/react-dom": "^19.1.5", "antd": "^5.25.1", "react": "^19.1.0", "react-dom": "^19.1.0", "react-router-dom": "^6.30.0", "styled-components": "^6.1.18", "@antv/g6": "5.1.0" }, "peerDependencies": { "react": ">=16.8", "react-dom": ">=16.8", "@antv/g6": "^5.1.0" }, "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org/" }, "scripts": { "build": "run-p build:*", "build:cjs": "rimraf ./lib && tsc --module commonjs --outDir lib -p tsconfig.build.json", "build:esm": "rimraf ./esm && tsc --module ESNext --outDir esm -p tsconfig.build.json", "build:umd": "rimraf ./dist && rollup -c", "ci": "run-s lint type-check test build", "dev": "vite", "lint": "eslint ./src __tests__ --quiet && prettier ./src __tests__ --check", "test": "jest", --- bundled output (OSV-MAL flagged — LLM scope expansion) --- --- dist/g6-extension-react.min.js (bundled) --- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).G6ExtensionReact={})}(this,function(e){"use strict";function t(e,t){return t.forEach(function(t){t&&"string"!=typeof t&&!Array.isArray(t)&&Object.keys(t).forEach(function(n){if("default"!==n&&!(n in e)){var r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:function(){return t[n]}})}})}),Object.freeze(e)}function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function r(e){var t=function(e,t){if("object"!=n(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var i=r.call(e,t);if("object"!=n(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==n(t)?t:t+""}function i(e,t,n){return(t=r(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach(function(t){i(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.d --- dist/lib/index.d.ts (bundled) --- export { ReactNode, render, unmount } from './react-node'; export type { ReactNodeStyleProps } from './react-node'; --- dist/lib/react-node/index.d.ts (bundled) --- export { ReactNode } from './node'; export { render, unmount } from './render'; export type { ReactNodeStyleProps } from './node'; --- dist/lib/react-node/node.d.ts (bundled) --- import type { DisplayObjectConfig, HTMLStyleProps as GHTMLStyleProps } from '@antv/g'; import type { BaseNodeStyleProps, HTMLStyleProps } from '@antv/g6'; import { HTML } from '@antv/g6'; import type { FC } from 'react'; export interface ReactNodeStyleProps extends BaseNodeStyleProps { /** * <zh/> React 组件 * * <en/> React component */ component: FC; } export declare class ReactNode extends HTML { protected getKeyStyle(attributes: Required<HTMLStyleProps>): GHTMLStyleProps; constructor(options: DisplayObjectConfig<ReactNodeStyleProps>); update(attr?: Partial<ReactNodeStyleProps> | undefined): void; connectedCallback(): void; attributeChangedCallback(name: any, oldValue: any, newValue: any): void; destroy(): void; } --- dist/lib/react-node/render.d.ts (bundled) --- import type * as React from 'react'; type ContainerType = Element | DocumentFragment; /** * <zh/> 渲染 React 节点(兼容 React 16 ~ 19) * * <en/> Render React node(Compatible with React 16 ~ 19) * @param node - <zh/> React 节点 | <en/> React node * @param container - <zh/> 容器 | <en/> Container * @returns <zh/> Promise | <en/> Promise */ export declare function render(node: React.ReactElement, container: ContainerType): Promise<unknown>; /** * <zh/> 卸载 React 节点(兼容 React 16 ~ 19) * * <en/> Unmount React node(Compatible with React 16 ~ 19) * @param container - <zh/> 容器 | <en/> Container * @returns <zh/> Promise | <en/> Promise */ export declare function unmount(container: ContainerType): Promise<unknown>; export {}; --- dist/lib/react-node/render16.d.ts (bundled) --- import type * as React from 'react'; type ContainerType = Element | DocumentFragment; /** * <zh/> 渲染 React 节点(React 16/17) * * <en/> Render React node(React 16/17) * @param node - <zh/> React 节点 | <en/> React node * @param container - <zh/> 容器 | <en/> Container */ export declare function render(node: React.ReactElement, container: ContainerType): void; /** * <zh/> 卸载 React 节点(React 16/17) * * <en/> Unmount React node(React 16/17) * @param container - <zh/> 容器 | <en/> Container */ export declare function unmount(container: ContainerType): void; export {}; --- dist/lib/react-node/render18.d.ts (bundled) --- import type * as React from 'react'; import type { Root } from 'react-dom/client'; type ContainerType = (Element | DocumentFragment) & { __rc_react_root__?: Root; }; /** * <zh/> 渲染 React 节点(React 18/19) * * <en/> Render React node(React 18/19) * @param node - <zh/> React 节点 | <en/> React node * @param container - <zh/> 容器 | <en/> Container */ export declare function render(node: React.ReactNode, container: ContainerType): Promise<void>; /** * <zh/> 卸载 React 节点(React 18/19) * * <en/> Unmount React node(React 18/19) * @param container - <zh/> 容器 | <en/> Container * @returns <zh/> Promise | <en/> Promise */ export declare function unmount(container: ContainerType): Promise<void>; export {};
