// npm package
@antv/f2-context
F2针对多端的context适配
versions
2
maintainers
51
license
MIT
first publish
2019-12-23
publisher
zengyue
tarball
12,749 B
AUTO-PUBLISHED·1 version indexed·latest published 2020-01-13
// publisher campaignby zengyue
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.0.1· no static-pattern hits
llm: benign · 0.85→ No suspicious destination, no remote-exec shape — 1 known-vendor host(s).
- @0.0.1··AUTO-PUBLISHED·publisher: zengyueheuristic 75/100static flags 0llm benign (0.85) via ollamaosv-flagged:MAL-2026-3892
→ No suspicious destination, no remote-exec shape — 1 known-vendor host(s).
// offending code· no static-pattern hits
--- package.json (entry) --- { "name": "@antv/f2-context", "version": "0.0.1", "description": "F2针对多端的context适配", "main": "lib/index.js", "module": "esm/index.js", "types": "esm/index.d.ts", "files": [ "package.json", "esm", "lib", "src", "LICENSE", "README.md" ], "scripts": { "build": "npm run clean && npm run build:esm && npm run build:cjs", "build:esm": "tsc -d -p tsconfig.json --target ES5 --module ESNext --outDir esm", "build:cjs": "tsc -d -p tsconfig.json --target ES5 --module CommonJS --outDir lib", "clean": "rm -rf esm lib" }, "keywords": [], "dependencies": {}, "devDependencies": { "typescript": "^3.7.4" }, "homepage": "https://github.com/antvis/f2-contex", "repository": { "type": "git", "url": "https://github.com/antvis/f2-context" }, "author": "https://github.com/orgs/antvis/people", "bugs": { "url": "https://github.com/antvis/f2-context/issues" }, "license": "MIT", "publishConfig": { "access": "public" } } --- index.js (entry) --- "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var wx_1 = require("./context/wx"); exports.wx = wx_1.default; var my_1 = require("./context/my"); exports.my = my_1.default; var util_1 = require("./util"); var auto = function (ctx) { if (util_1.isWx) { return wx_1.default(ctx); } if (util_1.isMy) { return my_1.default(ctx); } return ctx; }; exports.auto = auto;
