// npm 패키지
@antv/graphin-components
Components for graphin
버전
36
메인테이너
51
라이선스
MIT
최초 publish
2019-11-17
publisher
iaaron
tarball
180,791 B
AUTO-PUBLISHED·1개 버전 인덱싱됨·최근 publish: 2023-06-25
// publisher 캠페인by iaaron
이 계정에서 catch된 패키지 9건고립된 catch가 아닙니다. 동일 publisher가 8개의 다른 패키지를 추가로 발행했고, 모두 파이프라인이 catch했습니다 — 일회성이 아닌 조직적 캠페인의 형태. 아래 링크는 각 형제 catch의 분석으로 이동합니다.
// offending code· @2.4.1· 2 files flagged
llm: benign · 0.85→ 의심 전송지 없음, 원격 실행 형태 없음 — 1 known-vendor host(s).
- @2.4.1··AUTO-PUBLISHED·publisher: iaaronheuristic 75/100static flags 2llm benign (0.85) via ollamarecent-owner-changemature-packagedormant-takeover:prev=pomelo-nwu@2.4.0osv-flagged:MAL-2026-4023public-github-pushreads-env-vars
→ 의심 전송지 없음, 원격 실행 형태 없음 — 1 known-vendor host(s).
// offending code· 2 files flaggedpatterns: 2
--- package/package.json (excerpt) --- { "name": "@antv/graphin-components", "version": "2.4.1", "description": "Components for graphin", "main": "lib/index.js", "module": "es/index.js", "types": "lib/index.d.ts", "scripts": { "start": "npm run clean && father build --watch", "build": "npm run clean && father build & npm run build:umd", "build:umd": "node --max_old_space_size=8192 ./node_modules/webpack/bin/webpack.js --mode production -c ./webpack.config.js ", "test": "jest", "clean": "rimraf es esm lib dist" }, "repository": { "type": "git", "url": "https://github.com/antvis/Graphin.git", "directory": "packages/graphin-components" }, "author": "", "license": "MIT", "sideEffects": [ "*.css" ], "devDependencies": { "@babel/cli": "^7.16.0", "@babel/core": "^7.16.0", "@babel/plugin-proposal-class-properties": "^7.16.0", "@babel/preset-env": "^7.16.4", "@babel/preset-react": "^7.16.0", "@testing-library/jest-dom": "^5.16.0", "@testing-library/react": "^12.1.2", "@types/react-router-dom": "^5.1.0", "babel-jest": "^27.4.2", "babel-loader": "^8.2.3", "babel-plugin-import": "^1.13.3", "babel-plugin-transform-default-import": "^1.0.0", "css-loader": "^3.2.0", "eventemitter3": "^4.0.0", "father": "^2.23.1", "file-loader": "^6.2.0", "jest": "^27.4.3", "jest-canvas-mock": "^2.3.1", "less": "^3.10.3", "less-loader": "^5.0.0", "mini-css-extract-plugin": "^2.4.5", "rimraf" --- package/webpack.config.js (excerpt) --- /* eslint-disable @typescript-eslint/no-var-requires */ const path = require('path'); const MiniCssExtractPlugin = require('mini-css-extract-plugin'); const { BundleAnalyzerPlugin } = require('webpack-bundle-analyzer'); module.exports = (env, argv) => { return { entry: { index: './src/index.ts', }, mode: argv.mode, module: { rules: [ { test: /\.js$/, use: ['source-map-loader'], enforce: 'pre', }, { test: /\.(js|jsx)$/, exclude: /(node_modules|bower_components)/, loader: 'babel-loader', options: { presets: ['@babel/env', '@babel/preset-react'], plugins: [['@babel/plugin-proposal-class-properties', { loose: true }], ['react-hot-loader/babel']], }, }, { test: /\.tsx?$/, loader: 'ts-loader', exclude: /node_modules/, options: { compilerOptions: { declaration: false, }, }, }, { test: /\.css$/, use: [MiniCssExtractPlugin.loader, 'css-loader'], }, { test: /\.(png|jpe?g|gif|svg)$/i, use: [ { loader: 'file-loader', }, ], }, { test: /\.less$/, use: [ { loader: MiniCssExtractPlugin.loader, }, { loader: 'css-loader --- bundled output (OSV-MAL flagged — LLM scope expansion) --- --- dist/graphin-components.min.js (bundled) --- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("Graphin"),require("React")):"function"==typeof define&&define.amd?define(["Graphin","React"],t):"object"==typeof exports?exports.GraphinComponents=t(require("Graphin"),require("React")):e.GraphinComponents=t(e.Graphin,e.React)}(self,((e,t)=>(()=>{"use strict";var n={725:t=>{t.exports=e},24:e=>{e.exports=t}},o={};function s(e){var t=o[e];if(void 0!==t)return t.exports;var a=o[e]={exports:{}};return n[e](a,a.exports,s),a.exports}s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var n in t)s.o(t,n)&&!s.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return(()=>{s.r(a),s.d(a,{Combo:()=>i,ContextMenu:()=>f,CreateEdge:()=>y,EdgeBundling:()=>b,FishEye:()=>x,Grid:()=>v,Hull:()=>E,LayoutSelector:()=>k,Legend:()=>G,MiniMap:()=>B,Toolbar:()=>$,Tooltip:()=>R,VisSettingPanel:()=>D});var e=s(725),t=s(24),n=s.n(t),o=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var s=0;for(o=Object.getOwnPropertySymbols(e);s<o.length;s++)t.indexOf(o[s])<0&&Object.prototype.propertyIsEnumerable.call(e,o[s])&&(n[o[s]]=e[o[s]])}return n};const r={members:[],type:"rect",style:{fill:"lightblue",stroke:"blue",opacity:.2},padding:10},i=t=>{const s=n().useContext(e.GraphinContext),{graph:a}=s;return n().useEffect((()=>{const{options:e}=t;return e.map((e=>a.createCombo(((e,t)=>{const{style:n={}}=e,s=o(e,["style"]),{style:a={}}=t,r=o(t,["style"]);return Object.assign(Object.assign(Object.assign({},s),r),{style:Object.assign(Object.assign({},n),a)})})(r,Object.assign({id:`${Math.random()}`},e)),e.members))),()=>{}}),[a]),
