// npm package
@antv/attr
The Attribute module for G2, F2.
weekly
170,218
monthly
531,781
versions
19
maintainers
51
license
MIT
first publish
2018-06-21
publisher
panyuqi
tarball
58,425 B
AUTO-PUBLISHED·1 version indexed·latest published 2023-03-23
// publisher campaignby panyuqi
9 caught packages from this accountThis is not an isolated catch. The same publisher has shipped 8 other packages that our pipeline flagged — the shape of a coordinated campaign, not a one-off. Each link below opens that sibling's analysis.
// offending code· @0.3.5· no static-pattern hits
llm: benign · 0.85→ No suspicious destination, no remote-exec shape — 1 known-vendor host(s).
- @0.3.5··AUTO-PUBLISHED·publisher: panyuqiheuristic 75/100static flags 0llm benign (0.85) via ollamapopularity:very-highmature-packageosv-flagged:MAL-2026-3852
→ No suspicious destination, no remote-exec shape — 1 known-vendor host(s).
// offending code· no static-pattern hits
--- install scripts --- ### prepublishOnly run-s lint test build --- package.json (entry) --- { "name": "@antv/attr", "version": "0.3.5", "description": "The Attribute module for G2, F2.", "main": "lib/index.js", "module": "esm/index.js", "types": "lib/index.d.ts", "files": [ "src", "lib", "esm", "README.md", "LICENSE" ], "scripts": { "clean": "rimraf lib esm", "lint": "lint-staged", "test": "jest", "test-live": "DEBUG_MODE=1 jest --watch tests/unit", "coverage": "jest --coverage", "lib:cjs": "tsc -p tsconfig.json --target ES5 --module commonjs --outDir lib", "lib:esm": "tsc -p tsconfig.json --target ES5 --module ESNext --outDir esm", "lib": "run-p lib:*", "build": "run-s clean lib", "prepublishOnly": "run-s lint test build", "ci": "run-s build test", "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0" }, "dependencies": { "@antv/color-util": "^2.0.1", "@antv/scale": "^0.3.0", "@antv/util": "~2.0.0", "tslib": "^2.3.1" }, "devDependencies": { "@antv/scale": "^0.3.0", "@types/jest": "^24.0.18", "jest": "^24.9.0", "jest-electron": "^0.1.7", "jest-extended": "^0.11.2", "ts-jest": "^24.1.0", "husky": "^3.0.4", "lint-st --- index.js (entry) --- "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Size = exports.Shape = exports.Position = exports.Opacity = exports.Color = exports.Attribute = exports.getAttribute = exports.registerAttribute = void 0; var tslib_1 = require("tslib"); var base_1 = require("./attributes/base"); exports.Attribute = base_1.default; var color_1 = require("./attributes/color"); exports.Color = color_1.default; var opacity_1 = require("./attributes/opacity"); exports.Opacity = opacity_1.default; var position_1 = require("./attributes/position"); exports.Position = position_1.default; var shape_1 = require("./attributes/shape"); exports.Shape = shape_1.default; var size_1 = require("./attributes/size"); exports.Size = size_1.default; var factory_1 = require("./factory"); Object.defineProperty(exports, "getAttribute", { enumerable: true, get: function () { return factory_1.getAttribute; } }); Object.defineProperty(exports, "registerAttribute", { enumerable: true, get: function () { return factory_1.registerAttribute; } }); (0, factory_1.registerAttribute)('Color', color_1.default); (0, factory_1.registerAttribute)('Opacity', opacity_1.default); (0, factory_1.registerAtt
