// npm 패키지
@antv/gpt-vis-ssr
SSR(Server Side Render) for AntV GPT-Vis.
주간
233
월간
990
버전
22
메인테이너
51
라이선스
MIT
최초 publish
2025-04-27
publisher
atool
tarball
684,570 B
AUTO-PUBLISHED·1개 버전 인덱싱됨·최근 publish: 2026-04-28
// publisher 캠페인by atool
이 계정에서 catch된 패키지 9건고립된 catch가 아닙니다. 동일 publisher가 8개의 다른 패키지를 추가로 발행했고, 모두 파이프라인이 catch했습니다 — 일회성이 아닌 조직적 캠페인의 형태. 아래 링크는 각 형제 catch의 분석으로 이동합니다.
// offending code· @0.3.7· no static-pattern hits
llm: benign · 0.85→ 의심 전송지 없음, 원격 실행 형태 없음 — 1 known-vendor host(s), 1 other host(s).
- @0.3.7··AUTO-PUBLISHED·publisher: atoolheuristic 75/100static flags 0llm benign (0.85) via ollamamature-packagepublisher-multi-name-burst:5osv-flagged:MAL-2026-4021
→ 의심 전송지 없음, 원격 실행 형태 없음 — 1 known-vendor host(s), 1 other host(s).
// offending code· no static-pattern hits
--- package.json (entry) --- { "name": "@antv/gpt-vis-ssr", "version": "0.3.7", "description": "SSR(Server Side Render) for AntV GPT-Vis.", "keywords": [ "antv", "ssr", "vis", "gpt-vis" ], "homepage": "https://gpt-vis.antv.vision", "repository": { "type": "git", "url": "https://github.com/antvis/GPT-Vis" }, "license": "MIT", "author": "antvis", "sideEffects": false, "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "types": "dist/esm/index.d.ts", "files": [ "src", "dist" ], "dependencies": { "@antv/g": "^6.3.1", "@antv/g-plugin-rough-canvas-renderer": "^2.0.44", "@antv/g2-ssr": "^0.2.0", "@antv/g6-ssr": "^0.1.0", "@antv/gpt-vis": "^0.4.0", "@antv/s2-ssr": "^0.1.0", "canvas": "^3" }, "devDependencies": { "@blazediff/core": "^1.8.0", "@types/jest": "^29.5.14", "@types/pngjs": "^6.0.5", "father": "^4.5.2", "jest": "^29.7.0", "npm-run-all": "^4.1.5", "pngjs": "^6.0.0", "ts-jest": "^29.3.1", "ts-node": "^10.9.2", "typescript": "^5.8.3" }, "engines": { "node": ">=18", "pnpm": ">=8" }, "publishConfig": { "access": "public", "registry": "https://reg --- index.js (entry) --- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); } var _excluded = ["type"]; function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e --- bundled output (OSV-MAL flagged — LLM scope expansion) --- --- dist/esm/index.d.ts (bundled) --- import { SSRResult, type Options } from './types'; /** * * @param options * @returns Image Buffer */ export declare function render(options: Options): Promise<SSRResult>; export { FontFamily } from './types'; --- dist/esm/index.js (bundled) --- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); } var _excluded = ["type"]; function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) --- dist/esm/theme.d.ts (bundled) --- export declare const THEME_MAP: any; export declare const G6THEME_MAP: any; --- dist/esm/theme.js (bundled) --- import { G6 } from '@antv/g6-ssr'; import { ACADEMY_COLOR_PALETTE, AssignColorByBranchTransform, DEFAULT_COLOR_PALETTE } from "./util"; var register = G6.register, ExtensionCategory = G6.ExtensionCategory; register(ExtensionCategory.TRANSFORM, 'assign-color-by-branch', AssignColorByBranchTransform); var DEFAULT_THEME = { type: 'light', view: { viewFill: '#FFF', plotFill: 'transparent', mainFill: 'transparent', contentFill: 'transparent' }, interval: { rect: { fillOpacity: 0.8 } }, line: { line: { lineWidth: 2 } }, area: { area: { fillOpacity: 0.6 } }, point: { point: { lineWidth: 1 } } }; var DARK_THEME = { type: 'dark', view: { viewFill: '#000', plotFill: 'transparent', mainFill: 'transparent', contentFill: 'transparent' }, interval: { rect: { fillOpacity: 0.8 } }, line: { line: { lineWidth: 2 } }, area: { area: { fillOpacity: 0.6 } }, point: { point: { lineWidth: 1 } } }; var ACADEMY_THEME = { type: 'academy', view: { viewFill: '#FFF', plotFill: 'transparent', mainFill: 'transparent', contentFill: 'transparent' }, interval: { rect: { fillOpacity: 0.8 } }, line: { line: { lineWidth: 2 } }, area: { area: { fillOpacity: 0.6 } }, point: { point: { lineWidth: 1 } } }; export var THEME_MAP = { default: DEFAULT_THEME, academy: ACADEMY_THEME, dark: DARK_THEME }; export var G6THEME_MAP = { default: { type: 'assign-color-by-branch', colors: DEFAULT_COLOR_PALETTE }, academy: { type: 'assign-color-by-branch', colors: ACADEMY_COLOR_PALETTE } }; --- dist/esm/types.d.ts (bundled) --- /// <reference types="node" /> /// <reference types="node" /> import { type AreaOptions } from './vis/area'; import { type BarOptions } from './vis/bar'; import { type BoxplotOptions } from './vis/boxplot'; import { type ColumnOptions } from './vis/column'; import { type DualAxesOptions } from './vis/dual-axes'; import { type FishboneDiagramOptions } from './vis/fishbone-diagram'; import { type FlowDiagramOptions } from './vis/flow-diagram'; import { type FunnelOptions } from './vis/funnel'; import { type HistogramOptions } from './vis/histogram'; import { type LineOptions } from './vis/line'; import { type LiquidOptions } from './vis/liquid'; import { type MindMapOptions } from './vis/mind-map'; import { type NetworkGraphOptions } from './vis/network-graph'; import { type OrganizationChartOptions } from './vis/organization-chart'; import { type PieOptions } from './vis/pie'; import { type RadarOptions } from './vis/radar'; import { type SankeyOptions } from './vis/sankey'; import { type ScatterOptions } from './vis/scatter'; import { type SpreadsheetOptions } from './vis/spreadsheet'; import { type TreemapOptions } from './vis/treemap'; import { type VennOptions } from './vis/venn'; import { type ViolinOptions } from './vis/violin'; import { type WaterfallOptions } from './vis/waterfall'; import { type WordCloudOptions } from './vis/word-cloud'; export type VisOptionMap = { area: AreaOptions; bar: BarOptions; boxplot: BoxplotOptions; column: ColumnOptions; 'dual-axes': DualAxesOptions; 'fishbone-diagram': FishboneDiagramOptions; 'flow-diagram': FlowDiagramOptions; funnel: FunnelOptions; histogram: HistogramOptions; line: LineOptions; liquid: LiquidOptions; 'mind-map': MindMapOptions; 'network-graph': NetworkGraphOptions; 'organization-chart': OrganizationChartOptions; pie: PieOptions; radar: RadarOptions; sankey: SankeyOptions; scatter: ScatterOptions; treemap: TreemapOptions; venn: Ven --- dist/esm/types.js (bundled) --- /** * 所有的 Vis 类型的类型定义 */ /** * 返回结果 * todo: G2-SSR 目前不支持 toDataURL */ /** * 字体枚举 */ export var FontFamily = /*#__PURE__*/function (FontFamily) { FontFamily["ROUGH"] = "rough"; return FontFamily; }({}); --- dist/esm/vis/area.d.ts (bundled) --- import { type AreaProps } from '@antv/gpt-vis/dist/esm/Area'; import { CommonOptions } from './types'; type AreaStyle = { lineWidth?: number; backgroundColor?: string; palette?: string[]; texture?: 'rough' | 'default'; }; export type AreaOptions = CommonOptions & AreaProps & { style?: AreaStyle; }; export declare function Area(options: AreaOptions): Promise<import("@antv/g2-ssr").Chart>; export {}; --- dist/esm/vis/area.js (bundled) --- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); } function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; }
