{"id":2469053,"name":"toggle-array","ecosystem":"npm","description":"In an array of objects, this enables a property on the object at the specified index, while disabling the property on all other objects.","homepage":"https://github.com/jonschlinkert/toggle-array","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/jonschlinkert/toggle-array","keywords_array":["array","toggle"],"namespace":null,"versions_count":3,"first_release_published_at":"2016-08-30T00:09:24.994Z","latest_release_published_at":"2017-05-07T19:52:51.240Z","latest_release_number":"1.0.1","last_synced_at":"2026-04-05T19:12:56.325Z","created_at":"2022-04-10T02:14:02.948Z","updated_at":"2026-04-05T19:12:56.326Z","registry_url":"https://www.npmjs.com/package/toggle-array","install_command":"npm install toggle-array","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"1.0.1"}},"repo_metadata":{"id":57377627,"uuid":"66890291","full_name":"jonschlinkert/toggle-array","owner":"jonschlinkert","description":"In an array of objects, this enables a property on the object at the specified index, while disabling the property on all other objects.","archived":false,"fork":false,"pushed_at":"2017-05-07T19:52:54.000Z","size":10,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-07-08T17:41:01.683Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jonschlinkert.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-08-30T00:09:38.000Z","updated_at":"2021-04-12T22:30:38.000Z","dependencies_parsed_at":"2022-09-26T16:41:51.555Z","dependency_job_id":null,"html_url":"https://github.com/jonschlinkert/toggle-array","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonschlinkert%2Ftoggle-array","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonschlinkert%2Ftoggle-array/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonschlinkert%2Ftoggle-array/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonschlinkert%2Ftoggle-array/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonschlinkert","download_url":"https://codeload.github.com/jonschlinkert/toggle-array/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":214833442,"owners_count":15791412,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"},"owner_record":{"login":"jonschlinkert","name":"Jon Schlinkert","uuid":"383994","kind":"user","description":"Son of GitHub. Humble student of @doowb. Creator of @assemble @generate @enquirer @breakdance @update @micromatch","email":"","website":"https://www.linkedin.com/in/jonschlinkert/","location":"Cincinnati, OH","twitter":"jonschlinkert","company":"@brandscale ","icon_url":"https://avatars.githubusercontent.com/u/383994?u=335f06277f72722162e89bd5516849f2e82f37cf\u0026v=4","repositories_count":846,"last_synced_at":"2024-05-20T14:49:36.357Z","metadata":{"has_sponsors_listing":true},"html_url":"https://github.com/jonschlinkert","funding_links":["https://github.com/sponsors/jonschlinkert"],"total_stars":25497,"followers":4214,"following":73,"created_at":"2022-11-02T16:18:54.193Z","updated_at":"2024-05-20T14:49:49.960Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonschlinkert","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonschlinkert/repositories"},"tags":[{"name":"1.0.1","sha":"d8b2ebbd7bc1dd7f885c33f05573e2b60fc5cc5c","kind":"commit","published_at":"2017-05-07T19:52:46.000Z","download_url":"https://codeload.github.com/jonschlinkert/toggle-array/tar.gz/1.0.1","html_url":"https://github.com/jonschlinkert/toggle-array/releases/tag/1.0.1","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonschlinkert%2Ftoggle-array/tags/1.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonschlinkert%2Ftoggle-array/tags/1.0.1/manifests"}]},"repo_metadata_updated_at":"2024-08-10T19:23:41.385Z","dependent_packages_count":2,"downloads":284126,"downloads_period":"last-month","dependent_repos_count":6610,"rankings":{"downloads":0.48343642962322175,"dependent_repos_count":0.29624006658113233,"dependent_packages_count":8.836029363523041,"stargazers_count":12.20332605661485,"forks_count":11.580692789207504,"docker_downloads_count":0.7441847946763199,"average":5.690651583371011},"purl":"pkg:npm/toggle-array","advisories":[{"uuid":"GSA_kwCzR0hTQS0zNHEzLTh4OXYtajk1N84ABMnl","url":"https://github.com/advisories/GHSA-34q3-8x9v-j957","title":"toggle-array vulnerable to prototype pollution","description":"toggle-array is a package designed to enables a property on the object at the specified index, while disabling the property on all other objects. A Prototype Pollution vulnerability in the enable and disable function of toggle-array v1.0.1 and before allows attackers to inject properties on Object.prototype via supplying a crafted payload, causing denial of service (DoS) as the minimum consequence.","origin":"UNSPECIFIED","severity":"LOW","published_at":"2025-09-24T21:30:37.000Z","withdrawn_at":null,"classification":"GENERAL","cvss_score":2.9,"cvss_vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P","references":["https://nvd.nist.gov/vuln/detail/CVE-2025-57328","https://github.com/VulnSageAgent/PoCs/blob/main/JavaScript/prototype-pollution/toggle-array%401.0.1/index.js","https://github.com/VulnSageAgent/PoCs/tree/main/JavaScript/prototype-pollution/CVE-2025-57328","https://github.com/advisories/GHSA-34q3-8x9v-j957"],"source_kind":"github","identifiers":["GHSA-34q3-8x9v-j957","CVE-2025-57328"],"repository_url":"https://github.com/VulnSageAgent/PoCs","blast_radius":11.078584232508357,"created_at":"2025-09-26T13:00:33.733Z","updated_at":"2026-04-05T18:02:03.120Z","epss_percentage":0.00135,"epss_percentile":0.33215,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS0zNHEzLTh4OXYtajk1N84ABMnl","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS0zNHEzLTh4OXYtajk1N84ABMnl","packages":[{"ecosystem":"npm","package_name":"toggle-array","versions":[{"first_patched_version":null,"vulnerable_version_range":"\u003c= 1.0.1"}],"purl":"pkg:npm/toggle-array"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS0zNHEzLTh4OXYtajk1N84ABMnl/related_packages","related_advisories":[]}],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/toggle-array","docker_dependents_count":48,"docker_downloads_count":2801848,"usage_url":"https://repos.ecosyste.ms/usage/npm/toggle-array","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/toggle-array/dependencies","status":null,"funding_links":["https://github.com/sponsors/jonschlinkert"],"critical":null,"issue_metadata":{"last_synced_at":"2024-07-08T17:25:40.654Z","issues_count":0,"pull_requests_count":0,"avg_time_to_close_issue":null,"avg_time_to_close_pull_request":null,"issues_closed_count":0,"pull_requests_closed_count":0,"pull_request_authors_count":0,"issue_authors_count":0,"avg_comments_per_issue":null,"avg_comments_per_pull_request":null,"merged_pull_requests_count":0,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":0,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonschlinkert%2Ftoggle-array/issues","maintainers":[],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/toggle-array/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/toggle-array/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/toggle-array/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/toggle-array/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/toggle-array/codemeta","maintainers":[{"uuid":"jonschlinkert","login":"jonschlinkert","name":null,"email":"github@sellside.com","url":null,"packages_count":1547,"html_url":"https://www.npmjs.com/~jonschlinkert","role":null,"created_at":"2022-11-15T01:21:18.676Z","updated_at":"2022-11-15T01:21:18.676Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/jonschlinkert/packages"}]}