{"package":"assign_when","ecosystem":"hex","latest_version":"0.2.0","description":"Allows the use of `when` clauses on assignment statements as an alternative to using `if`,\navoiding the need for boilerplate `else` clauses which return the original variables when\nthe condition is `false`. For instance:\n\n```elixir\nx = 1 when x == nil\n```","license":"Apache-2.0","license_risk":"permissive","commercial_use_notes":"Permissive: commercial closed-source use OK; preserve the copyright notice.","homepage":"https://github.com/demerphq/assign_when","repository":"https://github.com/demerphq/assign_when","downloads_weekly":155,"health":{"score":41,"risk":"high","breakdown":{"maintenance":5,"popularity":3,"security":25,"maturity":6,"community":2},"deprecated":false,"max_score":100},"vulnerabilities":{"count":0,"critical":0,"high":0,"medium":0,"low":0,"details":[]},"versions":{"latest":"0.2.0","total_count":2,"recent":["0.2.0","0.1.0"]},"metadata":{"deprecated":false,"deprecated_message":null,"maintainers_count":1,"first_published":"2025-04-19T22:17:43.121640Z","last_published":"2025-04-19T22:43:48.603937Z","dependencies_count":0,"dependencies":[]},"bundle":null,"typescript":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":"0.2.0","version_hint":null,"summary":"assign_when@0.2.0 is safe to use (health: 41/100)"},"version_scoped":null,"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}}