// npm 패키지
@antv/f6-ui
UI system for @antv/f6
주간
49
월간
92
버전
3
메인테이너
51
라이선스
MIT
최초 publish
2021-08-26
publisher
openwayne
tarball
817,380 B
AUTO-PUBLISHED·1개 버전 인덱싱됨·최근 publish: 2022-03-30
// publisher 캠페인by openwayne
이 계정에서 catch된 패키지 9건고립된 catch가 아닙니다. 동일 publisher가 8개의 다른 패키지를 추가로 발행했고, 모두 파이프라인이 catch했습니다 — 일회성이 아닌 조직적 캠페인의 형태. 아래 링크는 각 형제 catch의 분석으로 이동합니다.
// offending code· @1.0.3· 3 files flagged
llm: benign · 0.85→ 의심 전송지 없음, 원격 실행 형태 없음 — 1 known-vendor host(s), 1 other host(s).
- @1.0.3··AUTO-PUBLISHED·publisher: openwayneheuristic 75/100static flags 2llm benign (0.85) via ollamaosv-flagged:MAL-2026-3906public-github-pushchild-process-spawn
→ 의심 전송지 없음, 원격 실행 형태 없음 — 1 known-vendor host(s), 1 other host(s).
// offending code· 3 files flaggedpatterns: 2
--- package/package.json (excerpt) --- { "name": "@antv/f6-ui", "version": "1.0.3", "description": "UI system for @antv/f6", "keywords": [ "antv", "f6", "graph", "graph analysis", "graph editor", "graph visualization", "relational data" ], "repository": { "type": "git", "url": "git+https://github.com/antvis/F6.git" }, "license": "MIT", "author": "https://github.com/orgs/antvis/people", "files": ["package.json", "es", "lib", "dist", "LICENSE", "README.md"], "main": "lib/index.js", "module": "es/index.js", "browser": "dist/f6UI.js", "miniprogram": "dist", "types": "lib/index.d.ts", "bugs": { "url": "https://github.com/antvis/F6/issues" }, "homepage": "https://github.com/antvis/F6#readme", "scripts": { "start": "father build --watch", "analysis": "npm run clean && father build && ANALYZE=1 npm run build:umd", "build": "npm run clean && father build && npm run build:umd", "build:umd": "webpack --config webpack.config.js --mode production", "ci": "npm run build && npm run coverage", "clean": "rimraf es esm lib dist", "coverage": "jest --coverage", "demos": "start-storybook -p 8080 -c .storybook", "doc": "rimraf apis && typedoc", "lint": "eslint --ext .js,.jsx,.ts,.tsx --format=pretty \"./\"", "lint:src": "eslint --ext .ts --format=pretty \"./src\"", "prettier": "prettier -c --write \"**/*\"", "test": "jest", "test-live": "DEBUG_MODE=1 jest --watch ./tests/unit/layout/combo-force-spec.ts" --- package/lib/om/css.js (excerpt) --- "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } // https://github.com/reworkcss/css var commentre = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g; function parse(css, options) { options = options || {}; /** * Positional. */ var lineno = 1; var column = 1; /** * Update lineno and column based on `str`. */ function updatePosition(str) { var lines = str.match(/\n/g); if (lines) lineno += lines.length; var i = str.lastIndexOf('\n'); column = ~i ? str.length - i : column + str.length; } /** * Mark position and patch `node.position`. */ function position() { var start = { line: lineno, column: column }; return function (node) { node.position = new Position(start); whitespace(); return node; }; } /** * Store position information for a node */ function Position(start) { this.start = start; this.end = { line: lineno, column: column }; this.source = options.source; } /** * Non-enumerable source string */ Positi --- package/es/om/css.js (excerpt) --- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } // https://github.com/reworkcss/css var commentre = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g; function parse(css, options) { options = options || {}; /** * Positional. */ var lineno = 1; var column = 1; /** * Update lineno and column based on `str`. */ function updatePosition(str) { var lines = str.match(/\n/g); if (lines) lineno += lines.length; var i = str.lastIndexOf('\n'); column = ~i ? str.length - i : column + str.length; } /** * Mark position and patch `node.position`. */ function position() { var start = { line: lineno, column: column }; return function (node) { node.position = new Position(start); whitespace(); return node; }; } /** * Store position information for a node */ function Position(start) { this.start = start; this.end = { line: lineno, column: column }; this.source = options.source; } /** * Non-enumerable source string */ Position.prototype.content = css; /** * Error `msg`. */ var errorsList = []; function error(msg) { --- bundled output (OSV-MAL flagged — LLM scope expansion) --- --- lib/parser/attr-parser.js (bundled) --- "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.registerAttr = registerAttr; exports.parseAttr = parseAttr; var _parser = require("../utils/parser"); var attributesMap = {}; function registerAttr(attr, parser) { if (!attr) return; var arr = attr; if (!Array.isArray(arr)) arr = [arr]; arr.forEach(function (attr) { if (typeof parser === 'function') { attributesMap[attr] = parser; } else { attributesMap[attr] = _parser.typeParser; } }); } var boxParser = function boxParser(type, value) { var style = {}; var arr = value.split(/\s/g).filter(function (s) { return s !== ''; }); if (arr.length === 1 && !isNaN(arr[0])) { style["" + type] = Number(arr[0]); } if (arr.length === 2) { !isNaN(Number(arr[0])) && (style[type + "Bottom"] = style[type + "Top"] = Number(arr[0])); !isNaN(Number(arr[1])) && (style[type + "Left"] = style[type + "Right"] = Number(arr[1])); } if (arr.length === 3) { !isNaN(Number(arr[0])) && (style[type + "Top"] = Number(arr[0])); !isNaN(Number(arr[1])) && (style[type + "Left"] = style[type + "Right"] = Number(arr[1])); !isNaN(Number(arr[2])) && (style[type + "Bottom"] = Number(arr[2])); } if (arr.length === 4) { !isNaN(Number(arr[0])) && (style[type + "Top"] = Number(arr[0])); !isNaN(Number(arr[1])) && (style[type + "Right"] = Number(arr[1])); !isNaN(Number(arr[2])) && (style[type + "Bottom"] = Number(arr[2])); !isNaN(Number(arr[3])) && (style[type + "Left"] = Number(arr[3])); } return style; }; var borderRadiusParser = function borderRadiusParser(value) { var style = {}; var arr = value.split(/\s/g).filter(function (s) { return s !== ''; }); if (arr.length === 1 && !isNaN(arr[0])) { style["borderTopLeftRadius"] = Number(arr[0]); style["borderTopRightRadius"] = Number(arr[0]); style["borderBottomRightRadius"] = Number(arr[0]); style["borderBottomLeftRadius"] = Number(arr[0]); --- es/parser/attr-parser.js (bundled) --- import { isColor, typeParser } from '../utils/parser'; var attributesMap = {}; export function registerAttr(attr, parser) { if (!attr) return; var arr = attr; if (!Array.isArray(arr)) arr = [arr]; arr.forEach(function (attr) { if (typeof parser === 'function') { attributesMap[attr] = parser; } else { attributesMap[attr] = typeParser; } }); } var boxParser = function boxParser(type, value) { var style = {}; var arr = value.split(/\s/g).filter(function (s) { return s !== ''; }); if (arr.length === 1 && !isNaN(arr[0])) { style["" + type] = Number(arr[0]); } if (arr.length === 2) { !isNaN(Number(arr[0])) && (style[type + "Bottom"] = style[type + "Top"] = Number(arr[0])); !isNaN(Number(arr[1])) && (style[type + "Left"] = style[type + "Right"] = Number(arr[1])); } if (arr.length === 3) { !isNaN(Number(arr[0])) && (style[type + "Top"] = Number(arr[0])); !isNaN(Number(arr[1])) && (style[type + "Left"] = style[type + "Right"] = Number(arr[1])); !isNaN(Number(arr[2])) && (style[type + "Bottom"] = Number(arr[2])); } if (arr.length === 4) { !isNaN(Number(arr[0])) && (style[type + "Top"] = Number(arr[0])); !isNaN(Number(arr[1])) && (style[type + "Right"] = Number(arr[1])); !isNaN(Number(arr[2])) && (style[type + "Bottom"] = Number(arr[2])); !isNaN(Number(arr[3])) && (style[type + "Left"] = Number(arr[3])); } return style; }; var borderRadiusParser = function borderRadiusParser(value) { var style = {}; var arr = value.split(/\s/g).filter(function (s) { return s !== ''; }); if (arr.length === 1 && !isNaN(arr[0])) { style["borderTopLeftRadius"] = Number(arr[0]); style["borderTopRightRadius"] = Number(arr[0]); style["borderBottomRightRadius"] = Number(arr[0]); style["borderBottomLeftRadius"] = Number(arr[0]); } if (arr.length === 2) { !isNaN(Number(arr[0])) && (style["borderTopLeftRadius"] = style["borderBottomRightRadius"] = Number(arr[0 --- dist/f6UI.js (bundled) --- !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.f6ui=e():t.f6ui=e()}(this,(function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=31)}([function(t,e,n){"use strict";n.d(e,"g",(function(){return b})),n.d(e,"j",(function(){return p})),n.d(e,"k",(function(){return g})),n.d(e,"m",(function(){return w})),n.d(e,"o",(function(){return M})),n.d(e,"q",(function(){return k})),n.d(e,"b",(function(){return s})),n.d(e,"d",(function(){return a})),n.d(e,"e",(function(){return u})),n.d(e,"f",(function(){return m})),n.d(e,"h",(function(){return c})),n.d(e,"i",(function(){return v})),n.d(e,"a",(function(){return h})),n.d(e,"c",(function(){return C})),n.d(e,"l",(function(){return O})),n.d(e,"p",(function(){return _})),n.d(e,"n",(function(){return E}));var r=function(t){return null!==t&&"function"!=typeof t&&isFinite(t.length)},i={}.toString,o=function(t,e){return i.call(t)==="[object "+e+"]"},a=function(t){return o(t,"Function")},u=function(t){return null==t},s=function(t){return Array.isArray?Array.isArray(
