{"package":"sinon","ecosystem":"npm","latest_version":"22.1.0","description":"JavaScript test spies, stubs and mocks.","license":"BSD-3-Clause","license_risk":"permissive","commercial_use_notes":"Permissive: commercial closed-source use OK; preserve the copyright notice.","homepage":"https://sinonjs.org/","repository":"https://github.com/sinonjs/sinon","downloads_weekly":9911338,"health":{"score":86,"risk":"low","breakdown":{"maintenance":20,"popularity":17,"security":25,"maturity":15,"community":9,"popularity_floor":0},"deprecated":false,"max_score":100},"vulnerabilities":{"count":0,"critical":0,"high":0,"medium":0,"low":0,"details":[]},"versions":{"latest":"22.1.0","total_count":221,"recent":["17.0.1","17.0.2","18.0.0","18.0.1","19.0.0","19.0.1","19.0.2","19.0.3","19.0.4","19.0.5","20.0.0","21.0.0","21.0.1","21.0.2","21.0.3","21.1.0","21.1.1","21.1.2","22.0.0","22.1.0"]},"metadata":{"deprecated":false,"deprecated_message":null,"maintainers_count":4,"first_published":"2010-12-20T21:03:03.526Z","last_published":"2026-07-20T17:59:28.504Z","dependencies_count":4,"dependencies":["@sinonjs/commons","@sinonjs/fake-timers","@sinonjs/samsam","diff"]},"github_stats":{"stars":9757,"forks":787,"open_issues":53,"is_archived":false,"pushed_at":"2026-04-13T17:15:01+00:00"},"bundle":null,"typescript":{"score":7,"has_types":true,"types_source":"definitely-typed","types_package":"@types/sinon"},"known_issues":{"bugs_count":0,"bugs_severity":{},"status_breakdown":{},"link":null,"scope":"none"},"historical_compromise":null,"recommendation":{"action":"safe_to_use","issues":[],"use_version":"22.1.0","version_hint":null,"summary":"sinon@22.1.0 is safe to use (health: 86/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/sinon","tokens_estimated":12,"use_when":"you only need to know if the package exists (hallucination guard)"},{"endpoint":"/api/health/npm/sinon","tokens_estimated":80,"use_when":"you only need a 0-100 score for go/no-go (>=70 = safe)"},{"endpoint":"/api/prompt/npm/sinon","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"},"_cache":"hit","_response_ms":0}