{"package":"diff","ecosystem":"npm","latest_version":"9.0.0","description":"A JavaScript text diff implementation.","license":"BSD-3-Clause","license_risk":"permissive","commercial_use_notes":"Permissive: commercial closed-source use OK; preserve the copyright notice.","homepage":"","repository":"https://github.com/kpdecker/jsdiff","downloads_weekly":121244121,"health":{"score":93,"risk":"low","breakdown":{"maintenance":25,"popularity":20,"security":25,"maturity":15,"community":8,"popularity_floor":0},"deprecated":false,"max_score":100},"vulnerabilities":{"count":0,"critical":0,"high":0,"medium":0,"low":0,"details":[]},"versions":{"latest":"9.0.0","total_count":56,"recent":["4.0.1","4.0.2","5.0.0","5.1.0","5.2.0","6.0.0-beta","6.0.0","7.0.0","8.0.0-beta","8.0.0","8.0.1","8.0.2","8.0.3","5.2.1","5.2.2","4.0.3","4.0.4","3.5.1","8.0.4","9.0.0"]},"metadata":{"deprecated":false,"deprecated_message":null,"maintainers_count":2,"first_published":"2011-03-29T17:19:02.655Z","last_published":"2026-04-13T12:39:24.498Z","dependencies_count":0,"dependencies":[]},"github_stats":{"stars":9161,"forks":534,"open_issues":19,"is_archived":false,"pushed_at":"2026-06-02T15:39:28Z","subscribers_count":91},"bundle":{"size_kb":22.0,"gzip_kb":7.8,"dependency_count":0,"has_js_module":"./libesm/index.js","has_side_effects":true,"scoped":false,"source":"bundlephobia"},"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":"9.0.0","version_hint":null,"summary":"diff@9.0.0 is safe to use (health: 93/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/diff","tokens_estimated":12,"use_when":"you only need to know if the package exists (hallucination guard)"},{"endpoint":"/api/health/npm/diff","tokens_estimated":80,"use_when":"you only need a 0-100 score for go/no-go (>=70 = safe)"},{"endpoint":"/api/prompt/npm/diff","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 20 times in 60s. Save bandwidth + tokens with POST /api/check_bulk (1 round-trip for N pkgs)."},"requested_version":null,"_cache":"hit","_response_ms":0,"_powered_by":"depscope.dev — free package intelligence for AI agents","typosquat":{"is_suspected":false},"maintainer_trust":{"available":true,"bus_factor_3m":null,"active_contributors_12m":null,"primary_author_ratio":null,"owner_account_age_days":null,"is_archived":false,"stars":null,"alerts":[]},"malicious":{"is_malicious":false},"scorecard":{"available":false},"quality":{"available":true,"criticality_score":0.799,"criticality_tier":"critical","velocity_pct":4.1,"velocity_trend":"stable","publish_security":"signed"},"version_history_summary":{"total_versions":20,"first_release_age_days":5555,"last_release_days_ago":61,"avg_days_between_releases":292,"release_velocity":"active"}}