{"package":"use-state-with-ref","ecosystem":"npm","latest_version":"0.2.1","description":"React `useState` with a readonly `RefObject`.","license":"MIT","license_risk":"permissive","commercial_use_notes":"Permissive: commercial closed-source use OK; preserve the copyright notice.","homepage":"https://github.com/compulim/use-state-with-ref#readme","repository":"https://github.com/compulim/use-state-with-ref","downloads_weekly":6683,"health":{"score":55,"risk":"high","breakdown":{"maintenance":10,"popularity":6,"security":25,"maturity":12,"community":2},"deprecated":false,"max_score":100},"vulnerabilities":{"count":0,"critical":0,"high":0,"medium":0,"low":0,"details":[]},"versions":{"latest":"0.2.1","total_count":35,"recent":["0.2.0-main.19409a7","0.2.0-main.530523c","0.2.0-main.f80699c","0.2.0-main.c730d4f","0.2.0-main.063b3b4","0.2.0-main.52ffd63","0.2.0-main.b01c9d7","0.2.0-main.f10fba4","0.2.0-main.39821cb","0.2.0-main.02a823d","0.2.0-main.202512160242.8ae6528","0.2.0-main.202512240717.c25dc9b","0.2.0-main.202512240724.fb25e38","0.2.0","0.2.1-main.202512240752.bfde1e3","0.2.1-main.202512301923.19397c3","0.2.1-main.202512301928.09dce9a","0.2.1","0.2.2-main.202512302018.adb7d17","0.2.2-main.202512302256.b22c3b1"]},"metadata":{"deprecated":false,"deprecated_message":null,"maintainers_count":1,"first_published":"2023-09-24T00:52:02.595Z","last_published":"2025-12-30T20:15:26.929Z","dependencies_count":2,"dependencies":["use-ref-from","use-state-with-ref"]},"github_stats":null,"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":"use_with_caution","issues":["Moderate health score (55/100) — verify manually"],"use_version":"0.2.1","version_hint":null,"summary":"use-state-with-ref@0.2.1 low health (55/100) — consider alternatives"},"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/use-state-with-ref","tokens_estimated":12,"use_when":"you only need to know if the package exists (hallucination guard)"},{"endpoint":"/api/health/npm/use-state-with-ref","tokens_estimated":80,"use_when":"you only need a 0-100 score for go/no-go (>=70 = safe)"},{"endpoint":"/api/prompt/npm/use-state-with-ref","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 11 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":20,"first_release_age_days":null,"last_release_days_ago":265,"avg_days_between_releases":null,"release_velocity":"moderate"}}