// npm package
timeago.js
timeago.js is a simple library (only 1kb) to used to format datetime with `*** time ago` statement. eg: '3 hours ago'. localization supported.
versions
26
maintainers
2
license
MIT
first publish
2016-06-23
publisher
atool
tarball
262,230 B
AUTO-PUBLISHED·1 version indexed·latest published 2019-12-21
// publisher campaignby atool
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· @4.0.2· no static-pattern hits
llm: benign · 0.85→ No suspicious destination, no remote-exec shape — 1 known-vendor host(s).
- @4.0.2··AUTO-PUBLISHED·publisher: atoolheuristic 75/100static flags 0llm benign (0.85) via ollamamature-packagepublisher-multi-name-burst:5osv-flagged:MAL-2026-4156
→ No suspicious destination, no remote-exec shape — 1 known-vendor host(s).
// offending code· no static-pattern hits
--- install scripts --- ### prepublishOnly npm run build --- package.json (entry) --- { "name": "timeago.js", "officialName": "timeago.js", "version": "4.0.2", "summary": "timeago.js is a simple library (less than 1kb) to used to format datetime with `*** time ago` statement. eg: '3 hours ago'.", "description": "timeago.js is a simple library (only 1kb) to used to format datetime with `*** time ago` statement. eg: '3 hours ago'. localization supported.", "main": "lib/index.js", "module": "esm/index.js", "files": [ "lib", "esm", "dist" ], "scripts": { "lint": "eslint src/**/* __tests__/**/*", "lint-staged": "lint-staged", "size": "size-limit", "test": "jest", "ci": "npm run lint && npm run test && npm run size && lint-md .", "build:umd": "rimraf ./dist && rollup -c && cp -rf dist/ gh-pages && npm run size", "build:cjs": "rimraf ./lib && tsc --module commonjs --outDir lib", "build:esm": "rimraf ./esm && tsc --module ESNext --outDir esm", "build": "npm run build:cjs && npm run build:esm && npm run build:umd", "prepublishOnly": "npm run build" }, "dependencies": {}, "devDependencies": { "@commitlint/cli": "^8.2.0", "@types/jest": "^24.0.18", "@typescript-eslint/eslint-plugin": "^2. --- index.js (entry) --- "use strict"; /** * Created by hustcc on 18/5/20. * Contract: i@hust.cc */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); var en_US_1 = __importDefault(require("./lang/en_US")); var zh_CN_1 = __importDefault(require("./lang/zh_CN")); var register_1 = require("./register"); exports.register = register_1.register; register_1.register('en_US', en_US_1.default); register_1.register('zh_CN', zh_CN_1.default); var format_1 = require("./format"); exports.format = format_1.format; var realtime_1 = require("./realtime"); exports.render = realtime_1.render; exports.cancel = realtime_1.cancel; //# sourceMappingURL=index.js.map
