// npm package
@antv/g-web-animations-api
A simple implementation of Web Animations API.
versions
134
maintainers
51
license
MIT
first publish
2022-09-15
publisher
alex_zjt
tarball
569,670 B
AUTO-PUBLISHED·1 version indexed·latest published 2025-12-15
// publisher campaignby alex_zjt
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· @2.1.29-beta.0· 1 file flagged
llm: benign · 0.85→ No suspicious destination, no remote-exec shape — 2 known-vendor host(s), 1 other host(s).
- @2.1.29-beta.0··AUTO-PUBLISHED·publisher: alex_zjtheuristic 75/100static flags 1llm benign (0.85) via ollamamature-packageosv-flagged:MAL-2026-3963public-github-push
→ No suspicious destination, no remote-exec shape — 2 known-vendor host(s), 1 other host(s).
// offending code· 1 file flaggedpatterns: 1
--- package/package.json (excerpt) --- { "name": "@antv/g-web-animations-api", "version": "2.1.29-beta.0", "description": "A simple implementation of Web Animations API.", "keywords": [ "antv", "g", "rendering engine" ], "homepage": "https://github.com/antvis/g#readme", "bugs": { "url": "https://github.com/antvis/g/issues" }, "repository": { "type": "git", "url": "git+https://github.com/antvis/g.git" }, "license": "MIT", "author": "https://github.com/orgs/antvis/people", "sideEffects": true, "exports": { "types": "./types/index.d.ts", "import": "./dist/index.esm.js", "default": "./dist/index.js" }, "main": "dist/index.js", "unpkg": "dist/index.umd.min.js", "module": "dist/index.esm.js", "types": "types/index.d.ts", "files": [ "package.json", "dist", "types", "LICENSE", "README.md" ], "dependencies": { "@antv/util": "^3.3.5", "@babel/runtime": "^7.25.6", "tslib": "^2.5.3", "@antv/g-lite": "2.3.3-beta.2" }, "publishConfig": { "access": "public" }, "scripts": { "build:types": "tsc --emitDeclarationOnly --noCheck", "build": "npm run clean && npm run build:types && rollup -c", "clean": "rimraf dist", "sync": "tnpm sync", "watch": "rollup -c -w" } } --- package.json (entry) --- { "name": "@antv/g-web-animations-api", "version": "2.1.29-beta.0", "description": "A simple implementation of Web Animations API.", "keywords": [ "antv", "g", "rendering engine" ], "homepage": "https://github.com/antvis/g#readme", "bugs": { "url": "https://github.com/antvis/g/issues" }, "repository": { "type": "git", "url": "git+https://github.com/antvis/g.git" }, "license": "MIT", "author": "https://github.com/orgs/antvis/people", "sideEffects": true, "exports": { "types": "./types/index.d.ts", "import": "./dist/index.esm.js", "default": "./dist/index.js" }, "main": "dist/index.js", "unpkg": "dist/index.umd.min.js", "module": "dist/index.esm.js", "types": "types/index.d.ts", "files": [ "package.json", "dist", "types", "LICENSE", "README.md" ], "dependencies": { "@antv/util": "^3.3.5", "@babel/runtime": "^7.25.6", "tslib": "^2.5.3", "@antv/g-lite": "2.3.3-beta.2" }, "publishConfig": { "access": "public" }, "scripts": { "build:types": "tsc --emitDeclarationOnly --noCheck", "build": "npm run clean && npm run build:types && rollup -c", "clean": " --- index.js (entry) --- /*! * @antv/g-web-animations-api * @description A simple implementation of Web Animations API. * @version 2.1.29-beta.0 * @date 12/12/2025, 2:49:59 PM * @author AntVis * @docs https://g.antv.antgroup.com/ */ 'use strict'; var gLite = require('@antv/g-lite'); var _classCallCheck = require('@babel/runtime/helpers/classCallCheck'); var _createClass = require('@babel/runtime/helpers/createClass'); var _callSuper = require('@babel/runtime/helpers/callSuper'); var _inherits = require('@babel/runtime/helpers/inherits'); var _toConsumableArray = require('@babel/runtime/helpers/toConsumableArray'); var _slicedToArray = require('@babel/runtime/helpers/slicedToArray'); var util = require('@antv/util'); /** * @see https://developer.mozilla.org/en-US/docs/Web/API/AnimationPlaybackEvent */ // @ts-ignore var AnimationEvent = /*#__PURE__*/function (_FederatedEvent) { function AnimationEvent(manager, target, currentTime, timelineTime) { var _this; _classCallCheck(this, AnimationEvent); _this = _callSuper(this, AnimationEvent, [manager]); // @ts-ignore _this.currentTime = currentTime; _this.timelineTime = timelineTime; _this.target = target; _this.type = --- bundled output (OSV-MAL flagged — LLM scope expansion) --- --- dist/index.esm.js (bundled) --- /*! * @antv/g-web-animations-api * @description A simple implementation of Web Animations API. * @version 2.1.29-beta.0 * @date 12/12/2025, 2:49:59 PM * @author AntVis * @docs https://g.antv.antgroup.com/ */ import { FederatedEvent, ERROR_MSG_METHOD_NOT_IMPLEMENTED, propertyMetadataCache, runtime } from '@antv/g-lite'; import _classCallCheck from '@babel/runtime/helpers/classCallCheck'; import _createClass from '@babel/runtime/helpers/createClass'; import _callSuper from '@babel/runtime/helpers/callSuper'; import _inherits from '@babel/runtime/helpers/inherits'; import _toConsumableArray from '@babel/runtime/helpers/toConsumableArray'; import _slicedToArray from '@babel/runtime/helpers/slicedToArray'; import { clamp, isNumber, isNil } from '@antv/util'; /** * @see https://developer.mozilla.org/en-US/docs/Web/API/AnimationPlaybackEvent */ // @ts-ignore var AnimationEvent = /*#__PURE__*/function (_FederatedEvent) { function AnimationEvent(manager, target, currentTime, timelineTime) { var _this; _classCallCheck(this, AnimationEvent); _this = _callSuper(this, AnimationEvent, [manager]); // @ts-ignore _this.currentTime = currentTime; _this.timelineTime = timelineTime; _this.target = target; _this.type = 'finish'; _this.bubbles = false; // @ts-ignore _this.currentTarget = target; _this.defaultPrevented = false; _this.eventPhase = _this.AT_TARGET; _this.timeStamp = Date.now(); _this.currentTime = currentTime; _this.timelineTime = timelineTime; return _this; } _inherits(AnimationEvent, _FederatedEvent); return _createClass(AnimationEvent); }(FederatedEvent); var sequenceNumber = 0; /** * @see https://developer.mozilla.org/en-US/docs/Web/API/Animation/Animation */ var Animation = /*#__PURE__*/function () { function Animation(effect, timeline) { var _this$effect; _classCallCheck(this, Animation); this.currentTimePending = false; /** * @see https://developer.mozill --- dist/index.js (bundled) --- /*! * @antv/g-web-animations-api * @description A simple implementation of Web Animations API. * @version 2.1.29-beta.0 * @date 12/12/2025, 2:49:59 PM * @author AntVis * @docs https://g.antv.antgroup.com/ */ 'use strict'; var gLite = require('@antv/g-lite'); var _classCallCheck = require('@babel/runtime/helpers/classCallCheck'); var _createClass = require('@babel/runtime/helpers/createClass'); var _callSuper = require('@babel/runtime/helpers/callSuper'); var _inherits = require('@babel/runtime/helpers/inherits'); var _toConsumableArray = require('@babel/runtime/helpers/toConsumableArray'); var _slicedToArray = require('@babel/runtime/helpers/slicedToArray'); var util = require('@antv/util'); /** * @see https://developer.mozilla.org/en-US/docs/Web/API/AnimationPlaybackEvent */ // @ts-ignore var AnimationEvent = /*#__PURE__*/function (_FederatedEvent) { function AnimationEvent(manager, target, currentTime, timelineTime) { var _this; _classCallCheck(this, AnimationEvent); _this = _callSuper(this, AnimationEvent, [manager]); // @ts-ignore _this.currentTime = currentTime; _this.timelineTime = timelineTime; _this.target = target; _this.type = 'finish'; _this.bubbles = false; // @ts-ignore _this.currentTarget = target; _this.defaultPrevented = false; _this.eventPhase = _this.AT_TARGET; _this.timeStamp = Date.now(); _this.currentTime = currentTime; _this.timelineTime = timelineTime; return _this; } _inherits(AnimationEvent, _FederatedEvent); return _createClass(AnimationEvent); }(gLite.FederatedEvent); var sequenceNumber = 0; /** * @see https://developer.mozilla.org/en-US/docs/Web/API/Animation/Animation */ var Animation = /*#__PURE__*/function () { function Animation(effect, timeline) { var _this$effect; _classCallCheck(this, Animation); this.currentTimePending = false; /** * @see https://developer.mozilla.org/en-US/docs/Web/API/Animation/playState */ --- dist/index.umd.min.js (bundled) --- /*! * @antv/g-web-animations-api * @description A simple implementation of Web Animations API. * @version 2.1.29-beta.0 * @date 12/12/2025, 2:49:59 PM * @author AntVis * @docs https://g.antv.antgroup.com/ */ !function(t,i){"object"==typeof exports&&"undefined"!=typeof module?i(exports,require("@antv/g-lite")):"function"==typeof define&&define.amd?define(["exports","@antv/g-lite"],i):i(((t="undefined"!=typeof globalThis?globalThis:t||self).G=t.G||{},t.G.WebAnimationsAPI={}),t.window.G)}(this,function(t,i){"use strict";function e(t,i){if(!(t instanceof i))throw new TypeError("Cannot call a class as a function")}function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function r(t){var i=function(t,i){if("object"!=n(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,i||"default");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===i?String:Number)(t)}(t,"string");return"symbol"==n(i)?i:i+""}function s(t,i){for(var e=0;i.length>e;e++){var n=i[e];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,r(n.key),n)}}function a(t,i,e){return i&&s(t.prototype,i),e&&s(t,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function o(t){return o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},o(t)}function u(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(u=function(){return!!t})()}function f(t,i){if(i&&("object"==n(i)||"function"==typeof i))return i;if(void 0!==i)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been call
