{"package":"@rollup/plugin-inject","ecosystem":"npm","latest_version":"5.0.5","description":"Scan modules for global variables and injects `import` statements where necessary","license":"MIT","license_risk":"permissive","commercial_use_notes":"Permissive: commercial closed-source use OK; preserve the copyright notice.","homepage":"https://github.com/rollup/plugins/tree/master/packages/inject#readme","repository":"https://github.com/rollup/plugins","downloads_weekly":3022583,"health":{"score":73,"risk":"moderate","breakdown":{"maintenance":10,"popularity":17,"security":25,"maturity":12,"community":9,"popularity_floor":0},"deprecated":false,"max_score":100},"vulnerabilities":{"count":0,"critical":0,"high":0,"medium":0,"low":0,"details":[]},"versions":{"latest":"5.0.5","total_count":11,"recent":["4.0.0","4.0.1","4.0.2","4.0.3","4.0.4","5.0.0","5.0.1","5.0.2","5.0.3","5.0.4","5.0.5"]},"metadata":{"deprecated":false,"deprecated_message":null,"maintainers_count":4,"first_published":"2019-11-20T21:22:15.490Z","last_published":"2023-10-15T15:47:01.242Z","dependencies_count":3,"dependencies":["@rollup/pluginutils","estree-walker","magic-string"]},"github_stats":{"stars":3753,"forks":627,"open_issues":39,"is_archived":false,"pushed_at":"2026-03-12T15:49:55+00:00"},"bundle":null,"typescript":{"score":10,"has_types":true,"types_source":"bundled","types_package":null},"known_issues":{"bugs_count":0,"bugs_severity":{},"status_breakdown":{},"link":null,"scope":"none"},"historical_compromise":null,"recommendation":{"action":"safe_to_use","issues":[],"use_version":"5.0.5","version_hint":null,"summary":"@rollup/plugin-inject@5.0.5 is safe to use (health: 73/100)"},"version_scoped":null,"_meta":{"endpoint":"check","tier":"full","philosophy":"DepScope is free. Use the cheapest endpoint that answers your real question.","cheaper_alternatives":[{"endpoint":"/api/exists/npm/%40rollup%2Fplugin-inject","tokens_estimated":12,"use_when":"you only need to know if the package exists (hallucination guard)"},{"endpoint":"/api/health/npm/%40rollup%2Fplugin-inject","tokens_estimated":80,"use_when":"you only need a 0-100 score for go/no-go (>=70 = safe)"},{"endpoint":"/api/prompt/npm/%40rollup%2Fplugin-inject","tokens_estimated":280,"use_when":"you want a plain-text LLM-friendly brief instead of JSON"},{"endpoint":"POST /api/check_bulk","tokens_estimated":60,"use_when":"you have 5+ packages to check; sends one round-trip instead of N"}],"docs":"https://depscope.dev/integrate","hint_bulk":"You've called /api/check 14 times in 60s. Save bandwidth + tokens with POST /api/check_bulk (1 round-trip for N pkgs)."},"requested_version":null,"_cache":"hit","_response_ms":28,"_powered_by":"depscope.dev — free package intelligence for AI agents","typosquat":{"is_suspected":false},"maintainer_trust":{"available":false},"malicious":{"is_malicious":false},"scorecard":{"available":false},"quality":{"available":true,"criticality_score":0.762,"criticality_tier":"critical","velocity_pct":null,"velocity_trend":null,"publish_security":"signed"},"co_used_with":[{"package":"@embedpdf/fonts-kr","occurrences":8},{"package":"@embedpdf/fonts-tc","occurrences":8},{"package":"@webassemblyjs/helper-buffer","occurrences":8}],"version_history_summary":{"total_versions":11,"first_release_age_days":2492,"last_release_days_ago":1067,"avg_days_between_releases":249,"release_velocity":"stale"}}