{"id":1249805,"name":"candy-wrapper","ecosystem":"npm","description":"Wrap your functions, methods, and properties to monitor them and modify their behavior.","homepage":"https://github.com/apowers313/candy-wrapper#readme","licenses":"BSD-3-Clause","normalized_licenses":["BSD-3-Clause"],"repository_url":"https://github.com/apowers313/candy-wrapper","keywords_array":["sinon","wrapper","stub","spy","mock","fake","test","testing","monkey","duck","patch","patching","candy","shimmer","monkeypatch","rewire"],"namespace":null,"versions_count":9,"first_release_published_at":"2017-03-18T23:14:39.355Z","latest_release_published_at":"2017-04-18T07:27:59.489Z","latest_release_number":"0.9.1","last_synced_at":"2026-08-24T08:36:48.471Z","created_at":"2022-04-08T14:54:16.590Z","updated_at":"2026-08-27T16:57:37.977Z","registry_url":"https://www.npmjs.com/package/candy-wrapper","install_command":"npm install candy-wrapper","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"0.9.1"}},"repo_metadata":{"id":74731249,"uuid":"84846278","full_name":"apowers313/candy-wrapper","owner":"apowers313","description":"Wrap your functions, methods, and properties to monitor them and modify their behavior.","archived":false,"fork":false,"pushed_at":"2017-04-18T07:30:16.000Z","size":1279,"stargazers_count":12,"open_issues_count":18,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-03-11T02:51:27.231Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://apowers313.github.io/candy-wrapper/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/apowers313.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-03-13T15:59:47.000Z","updated_at":"2019-07-15T22:57:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"09df2ad3-315a-4065-9a0c-3919c03819e5","html_url":"https://github.com/apowers313/candy-wrapper","commit_stats":{"total_commits":83,"total_committers":1,"mean_commits":83.0,"dds":0.0,"last_synced_commit":"a9331df6a02694fba367b3ffd9b9a1146c949ef9"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/apowers313/candy-wrapper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apowers313%2Fcandy-wrapper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apowers313%2Fcandy-wrapper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apowers313%2Fcandy-wrapper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apowers313%2Fcandy-wrapper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/apowers313","download_url":"https://codeload.github.com/apowers313/candy-wrapper/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apowers313%2Fcandy-wrapper/sbom","scorecard":{"id":203194,"data":{"date":"2025-08-11","repo":{"name":"github.com/apowers313/candy-wrapper","commit":"a9331df6a02694fba367b3ffd9b9a1146c949ef9"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: BSD 3-Clause \"New\" or \"Revised\" License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-16T23:10:55.182Z","repository_id":74731249,"created_at":"2025-08-16T23:10:55.182Z","updated_at":"2025-08-16T23:10:55.182Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":36944925,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-08-22T15:14:58.755Z","status":"online","status_checked_at":"2026-08-27T02:00:07.166Z","response_time":96,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"apowers313","name":"Adam Powers","uuid":"5661534","kind":"user","description":"Director, Digital Privacy @amazon","email":"","website":null,"location":"El Dorado Hills, CA","twitter":null,"company":"@amazon","icon_url":"https://avatars.githubusercontent.com/u/5661534?v=4","repositories_count":144,"last_synced_at":"2025-03-30T07:02:05.452Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/apowers313","funding_links":[],"total_stars":139,"followers":79,"following":5,"created_at":"2022-11-06T12:05:13.591Z","updated_at":"2025-03-30T07:02:05.452Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/apowers313","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/apowers313/repositories"},"tags":[{"name":"rc-1","sha":"0035a9e36292fca0fd50753247413e8925ab9ace","kind":"commit","published_at":"2017-04-18T03:22:40.000Z","download_url":"https://codeload.github.com/apowers313/candy-wrapper/tar.gz/rc-1","html_url":"https://github.com/apowers313/candy-wrapper/releases/tag/rc-1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/apowers313/candy-wrapper@rc-1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apowers313%2Fcandy-wrapper/tags/rc-1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apowers313%2Fcandy-wrapper/tags/rc-1/manifests"},{"name":"beta-1","sha":"df6440db35d805ed9f1c0f6ee4e1b978eb75c6bd","kind":"commit","published_at":"2017-03-31T00:42:21.000Z","download_url":"https://codeload.github.com/apowers313/candy-wrapper/tar.gz/beta-1","html_url":"https://github.com/apowers313/candy-wrapper/releases/tag/beta-1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/apowers313/candy-wrapper@beta-1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apowers313%2Fcandy-wrapper/tags/beta-1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apowers313%2Fcandy-wrapper/tags/beta-1/manifests"}]},"repo_metadata_updated_at":"2026-08-27T16:57:37.977Z","dependent_packages_count":1,"downloads":91,"downloads_period":"last-month","dependent_repos_count":1,"rankings":{"downloads":26.664716641550008,"dependent_repos_count":10.36464634037506,"dependent_packages_count":21.02179662377837,"stargazers_count":8.998236247161879,"forks_count":11.62887792551185,"docker_downloads_count":null,"average":15.735654755675432},"purl":"pkg:npm/candy-wrapper","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/candy-wrapper","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/npm/candy-wrapper","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/candy-wrapper/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2025-08-10T06:12:47.180Z","issues_count":41,"pull_requests_count":1,"avg_time_to_close_issue":560809.7826086957,"avg_time_to_close_pull_request":186.0,"issues_closed_count":23,"pull_requests_closed_count":1,"pull_request_authors_count":1,"issue_authors_count":2,"avg_comments_per_issue":0.12195121951219512,"avg_comments_per_pull_request":1.0,"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/apowers313%2Fcandy-wrapper/issues","maintainers":[{"login":"apowers313","count":40,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/apowers313"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/candy-wrapper/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/candy-wrapper/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/candy-wrapper/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/candy-wrapper/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/candy-wrapper/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/candy-wrapper/codemeta","maintainers":[{"uuid":"apowers313","login":"apowers313","name":null,"email":"apowers@ato.ms","url":null,"packages_count":73,"html_url":"https://www.npmjs.com/~apowers313","role":null,"created_at":"2022-11-10T20:37:24.531Z","updated_at":"2022-11-10T20:37:24.531Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/apowers313/packages"}]}