{"id":965547,"name":"@graphile/operation-hooks","ecosystem":"npm","description":"Register asynchronous callbacks before/after operations; uses include: validation, authorization, notification","homepage":"https://github.com/graphile/operation-hooks#readme","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/graphile/operation-hooks","keywords_array":["postgraphile","graphile","graphile","engine","plugin","hooks","mutation","query","subscription","postgraphile-plugin"],"namespace":"graphile","versions_count":9,"first_release_published_at":"2018-11-29T16:52:46.247Z","latest_release_published_at":"2020-07-29T08:49:20.899Z","latest_release_number":"1.0.0","last_synced_at":"2026-08-22T23:02:09.027Z","created_at":"2022-04-07T17:59:46.993Z","updated_at":"2026-08-23T11:17:35.134Z","registry_url":"https://www.npmjs.com/package/@graphile/operation-hooks","install_command":"npm install @graphile/operation-hooks","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"1.0.0","next":"0.2.4"},"contentPolicy":null},"repo_metadata":{"id":38359512,"uuid":"159158712","full_name":"graphile/operation-hooks","owner":"graphile","description":"Register asynchronous callbacks before/after operations; uses include: validation, authorization, notification","archived":false,"fork":false,"pushed_at":"2026-05-22T21:30:20.000Z","size":1033,"stargazers_count":43,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-08-22T22:58:04.938Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/graphile.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2018-11-26T11:28:45.000Z","updated_at":"2026-05-01T14:01:21.000Z","dependencies_parsed_at":"2023-02-08T18:16:03.362Z","dependency_job_id":"817c7330-eb28-48c2-8c4b-fe065da04d57","html_url":"https://github.com/graphile/operation-hooks","commit_stats":{"total_commits":98,"total_committers":2,"mean_commits":49.0,"dds":"0.13265306122448983","last_synced_commit":"1018b3229ec87aca038ee8fd5d85867be6c2e4f6"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/graphile/operation-hooks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphile%2Foperation-hooks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphile%2Foperation-hooks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphile%2Foperation-hooks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphile%2Foperation-hooks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/graphile","download_url":"https://codeload.github.com/graphile/operation-hooks/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphile%2Foperation-hooks/sbom","scorecard":{"id":443793,"data":{"date":"2025-08-11","repo":{"name":"github.com/graphile/operation-hooks","commit":"f938848e3ceda28450e6a66ae7c3ce250072a330"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.4,"checks":[{"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":"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":"Code-Review","score":0,"reason":"Found 0/11 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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.yml:1","Info: no jobLevel write permissions found"],"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":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:37: update your workflow using https://app.stepsecurity.io/secureworkflow/graphile/operation-hooks/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/graphile/operation-hooks/ci.yml/main?enable=pin","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned"],"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":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"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":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"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"}},{"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":"Security-Policy","score":4,"reason":"security policy file detected","details":["Info: security policy file detected: github.com/graphile/.github/SECURITY.md:1","Warn: no linked content found","Info: Found disclosure, vulnerability, and/or timelines in security policy: github.com/graphile/.github/SECURITY.md:1","Info: Found text in security policy: github.com/graphile/.github/SECURITY.md:1"],"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 24 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"18 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-w573-4hg7-7wgq","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-896r-f27r-55mw","Warn: Project is vulnerable to: GHSA-8cf7-32gw-wr33","Warn: Project is vulnerable to: GHSA-hjrf-2m68-5959","Warn: Project is vulnerable to: GHSA-qwph-4952-7xr6","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-5fw9-fq32-wv5p","Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-19T06:12:29.853Z","repository_id":38359512,"created_at":"2025-08-19T06:12:29.853Z","updated_at":"2025-08-19T06:12:29.853Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":36849113,"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-23T02:00:05.822Z","response_time":128,"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":"graphile","name":"Graphile","uuid":"30540084","kind":"organization","description":"A set of tools to enable building powerful, performant and extensible applications rapidly, centred around PostgreSQL and/or GraphQL","email":null,"website":"https://www.graphile.org","location":"Southampton, UK","twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/30540084?v=4","repositories_count":39,"last_synced_at":"2024-04-14T08:07:42.214Z","metadata":{"has_sponsors_listing":false,"funding":{"github":"Benjie"}},"html_url":"https://github.com/graphile","funding_links":["https://github.com/sponsors/Benjie"],"total_stars":18102,"followers":97,"following":0,"created_at":"2022-11-10T17:50:12.049Z","updated_at":"2024-04-14T08:07:48.470Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/graphile","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/graphile/repositories"},"tags":[{"name":"v1.0.0","sha":"7623823feb019195c2f16d47643a688a106aaed4","kind":"tag","published_at":"2020-07-29T08:47:43.000Z","download_url":"https://codeload.github.com/graphile/operation-hooks/tar.gz/v1.0.0","html_url":"https://github.com/graphile/operation-hooks/releases/tag/v1.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/graphile/operation-hooks@v1.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphile%2Foperation-hooks/tags/v1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphile%2Foperation-hooks/tags/v1.0.0/manifests"},{"name":"v0.2.4","sha":"0423ad86341d453f668a7b5b9bfa961ae2717505","kind":"tag","published_at":"2020-02-03T15:43:17.000Z","download_url":"https://codeload.github.com/graphile/operation-hooks/tar.gz/v0.2.4","html_url":"https://github.com/graphile/operation-hooks/releases/tag/v0.2.4","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/graphile/operation-hooks@v0.2.4","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphile%2Foperation-hooks/tags/v0.2.4","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphile%2Foperation-hooks/tags/v0.2.4/manifests"},{"name":"v0.2.3","sha":"fdbb8e1085bb6aee1fae1e31ee6b3683948b7a95","kind":"tag","published_at":"2019-08-09T12:04:00.000Z","download_url":"https://codeload.github.com/graphile/operation-hooks/tar.gz/v0.2.3","html_url":"https://github.com/graphile/operation-hooks/releases/tag/v0.2.3","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/graphile/operation-hooks@v0.2.3","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphile%2Foperation-hooks/tags/v0.2.3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphile%2Foperation-hooks/tags/v0.2.3/manifests"},{"name":"v0.2.2","sha":"7338249496f0843aef4920eaf2a6d4aa0940123e","kind":"tag","published_at":"2019-08-05T14:12:30.000Z","download_url":"https://codeload.github.com/graphile/operation-hooks/tar.gz/v0.2.2","html_url":"https://github.com/graphile/operation-hooks/releases/tag/v0.2.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/graphile/operation-hooks@v0.2.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphile%2Foperation-hooks/tags/v0.2.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphile%2Foperation-hooks/tags/v0.2.2/manifests"},{"name":"v0.2.1","sha":"d587dafb4d7303d5a030533f94a3b052d8319faf","kind":"tag","published_at":"2019-03-13T17:23:42.000Z","download_url":"https://codeload.github.com/graphile/operation-hooks/tar.gz/v0.2.1","html_url":"https://github.com/graphile/operation-hooks/releases/tag/v0.2.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/graphile/operation-hooks@v0.2.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphile%2Foperation-hooks/tags/v0.2.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphile%2Foperation-hooks/tags/v0.2.1/manifests"},{"name":"v0.2.0","sha":"b6fecb17ea8ebb6f6f7fffbcc51ffae6eb4c8565","kind":"tag","published_at":"2018-12-19T16:14:12.000Z","download_url":"https://codeload.github.com/graphile/operation-hooks/tar.gz/v0.2.0","html_url":"https://github.com/graphile/operation-hooks/releases/tag/v0.2.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/graphile/operation-hooks@v0.2.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphile%2Foperation-hooks/tags/v0.2.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphile%2Foperation-hooks/tags/v0.2.0/manifests"},{"name":"v0.1.2","sha":"cdf748de27dfb4dc3f40da1170acbc78fd67426b","kind":"tag","published_at":"2018-12-04T13:35:16.000Z","download_url":"https://codeload.github.com/graphile/operation-hooks/tar.gz/v0.1.2","html_url":"https://github.com/graphile/operation-hooks/releases/tag/v0.1.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/graphile/operation-hooks@v0.1.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphile%2Foperation-hooks/tags/v0.1.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphile%2Foperation-hooks/tags/v0.1.2/manifests"},{"name":"v0.1.1","sha":"f36e55c403f77657147378c6ed6129d7c21249d9","kind":"tag","published_at":"2018-11-29T17:03:57.000Z","download_url":"https://codeload.github.com/graphile/operation-hooks/tar.gz/v0.1.1","html_url":"https://github.com/graphile/operation-hooks/releases/tag/v0.1.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/graphile/operation-hooks@v0.1.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphile%2Foperation-hooks/tags/v0.1.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphile%2Foperation-hooks/tags/v0.1.1/manifests"}]},"repo_metadata_updated_at":"2026-08-23T11:17:35.134Z","dependent_packages_count":1,"downloads":3680,"downloads_period":"last-month","dependent_repos_count":5,"rankings":{"downloads":3.762379479490273,"dependent_repos_count":5.081942548050934,"dependent_packages_count":21.116775284619308,"stargazers_count":6.5061940767429824,"forks_count":11.670584289968296,"docker_downloads_count":null,"average":9.627575135774359},"purl":"pkg:npm/%40graphile/operation-hooks","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/@graphile/operation-hooks","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/npm/@graphile/operation-hooks","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/@graphile/operation-hooks/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2026-08-22T22:52:24.149Z","issues_count":11,"pull_requests_count":42,"avg_time_to_close_issue":5736003.0,"avg_time_to_close_pull_request":7096490.804878049,"issues_closed_count":11,"pull_requests_closed_count":41,"pull_request_authors_count":5,"issue_authors_count":10,"avg_comments_per_issue":2.1818181818181817,"avg_comments_per_pull_request":0.5476190476190477,"merged_pull_requests_count":27,"bot_issues_count":0,"bot_pull_requests_count":32,"past_year_issues_count":0,"past_year_pull_requests_count":7,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":7456826.833333333,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":6,"past_year_pull_request_authors_count":1,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":0.7142857142857143,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":7,"past_year_merged_pull_requests_count":1,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphile%2Foperation-hooks/issues","maintainers":[{"login":"benjie","count":7,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/benjie"},{"login":"demianuco","count":2,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/demianuco"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@graphile%2Foperation-hooks/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@graphile%2Foperation-hooks/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@graphile%2Foperation-hooks/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@graphile%2Foperation-hooks/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@graphile%2Foperation-hooks/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@graphile%2Foperation-hooks/codemeta","maintainers":[{"uuid":"benjie","login":"benjie","name":null,"email":"npm@benjiegillam.com","url":null,"packages_count":133,"html_url":"https://www.npmjs.com/~benjie","role":null,"created_at":"2022-11-20T16:31:22.663Z","updated_at":"2022-11-20T16:31:22.663Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/benjie/packages"},{"uuid":"mattbretl","login":"mattbretl","name":null,"email":"mpbretl@gmail.com","url":null,"packages_count":30,"html_url":"https://www.npmjs.com/~mattbretl","role":null,"created_at":"2022-11-20T16:31:22.716Z","updated_at":"2022-11-20T16:31:22.716Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/mattbretl/packages"}]}