{"package":"@sanity/diff","ecosystem":"npm","latest_version":"6.1.0","description":"Generates diffs between documents and primitive types","license":"MIT","license_risk":"permissive","commercial_use_notes":"Permissive: commercial closed-source use OK; preserve the copyright notice.","homepage":"https://www.sanity.io/","repository":"https://github.com/sanity-io/sanity","downloads_weekly":742725,"health":{"score":87,"risk":"low","breakdown":{"maintenance":25,"popularity":14,"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":"6.1.0","total_count":3686,"recent":["6.2.0-next.6","6.2.0-next.7","6.2.0-next.8","6.2.0-next.9","6.2.0-next.10","6.2.0-next.11","6.2.0-next.12","6.2.0-next.13","6.2.0-next.18","6.2.0-next.19","6.2.0-next.20","6.2.0-next.21","6.2.0-next.22","6.2.0-next.23","6.2.0-next.24","6.2.0-next.25","6.2.0-next.26","6.2.0-next.27","6.2.0-next.107","6.2.0-next.108"]},"metadata":{"deprecated":false,"deprecated_message":null,"maintainers_count":2,"first_published":"2020-09-09T12:00:12.422Z","last_published":"2026-06-16T15:14:41.636Z","dependencies_count":1,"dependencies":["@sanity/diff-match-patch"]},"github_stats":{"stars":6100,"forks":529,"open_issues":139,"is_archived":false,"pushed_at":"2026-05-05T14:23:00+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":"6.1.0","version_hint":null,"summary":"@sanity/diff@6.1.0 is safe to use (health: 87/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/%40sanity%2Fdiff","tokens_estimated":12,"use_when":"you only need to know if the package exists (hallucination guard)"},{"endpoint":"/api/health/npm/%40sanity%2Fdiff","tokens_estimated":80,"use_when":"you only need a 0-100 score for go/no-go (>=70 = safe)"},{"endpoint":"/api/prompt/npm/%40sanity%2Fdiff","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 129 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":false},"malicious":{"is_malicious":false},"scorecard":{"available":false},"quality":{"available":false},"version_history_summary":{"total_versions":21,"first_release_age_days":2108,"last_release_days_ago":2,"avg_days_between_releases":105,"release_velocity":"active"}}