{"package":"statefulemitter","ecosystem":"pub","latest_version":"1.0.2","description":"Extended EventEmitter that fires \"statechange\" event when state member is changed.\nChild classes that inherit from EventEmitter can use the standard event emit, subscribe, unsubscribe, etc., methods of EventEmitter. This class adds a private _state member and a setState(object) and getState() method as well as getter/setter for the getState/SetState methods.\nWhenever the state is changed, a 'statechange' event will be emitted with the previous state as argument.  This allows the handler to compare old state with new state, if desired.\nThis package was developed as part of a port of Modus Create's IoT platform, RoboDomo from JavaScript to Dart and Flutter.  The original can be found at https://github.com/RoboDomo.","license":"MIT","license_risk":"permissive","commercial_use_notes":"Permissive: commercial closed-source use OK; preserve the copyright notice.","homepage":"https://github.com/ModusLabsOrg/RoboDomo-mono","repository":"","downloads_weekly":5,"health":{"score":28,"risk":"critical","breakdown":{"maintenance":0,"popularity":0,"security":25,"maturity":3,"community":0},"deprecated":false,"max_score":100},"vulnerabilities":{"count":0,"critical":0,"high":0,"medium":0,"low":0,"details":[]},"versions":{"latest":"1.0.2","total_count":3,"recent":["1.0.0","1.0.1","1.0.2"]},"metadata":{"deprecated":false,"deprecated_message":null,"maintainers_count":0,"first_published":null,"last_published":"2021-06-10T23:01:12.634819Z","dependencies_count":2,"dependencies":["eventify","debug"]},"bundle":null,"typescript":null,"known_issues":{"bugs_count":0,"bugs_severity":{},"status_breakdown":{},"link":null,"scope":"none"},"historical_compromise":null,"recommendation":{"action":"use_with_caution","issues":["Low health score (28/100)"],"use_version":"1.0.2","version_hint":null,"summary":"statefulemitter@1.0.2 low health (28/100) — consider alternatives"},"version_scoped":null,"requested_version":null,"_cache":"miss","_response_ms":287,"_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":3,"first_release_age_days":null,"last_release_days_ago":1783,"avg_days_between_releases":null,"release_velocity":"stale"}}