{"id":10773,"url":"https://github.com/adelsz/pgtyped","last_synced_at":"2026-06-13T18:20:27.731Z","repository":{"id":37502806,"uuid":"210450402","full_name":"adelsz/pgtyped","owner":"adelsz","description":"pgTyped - Typesafe SQL in TypeScript","archived":false,"fork":false,"pushed_at":"2025-10-01T02:30:28.000Z","size":11692,"stargazers_count":3174,"open_issues_count":84,"forks_count":106,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-10-01T04:22:17.693Z","etag":null,"topics":["generator","postgres","postgresql","query","sql","type-safety","types","typescript"],"latest_commit_sha":null,"homepage":"https://pgtyped.dev","language":"TypeScript","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/adelsz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"open_collective":"pgtyped","github":"adelsz"}},"created_at":"2019-09-23T20:52:29.000Z","updated_at":"2025-09-27T09:20:51.000Z","dependencies_parsed_at":"2023-10-03T05:12:02.727Z","dependency_job_id":"d44f4d5d-01fe-40af-bbcb-087d299a340a","html_url":"https://github.com/adelsz/pgtyped","commit_stats":{"total_commits":722,"total_committers":48,"mean_commits":"15.041666666666666","dds":0.5581717451523546,"last_synced_commit":"fd612f7a6e9131f6ebe0f0720d3ae17208e8af91"},"previous_names":[],"tags_count":69,"template":false,"template_full_name":null,"purl":"pkg:github/adelsz/pgtyped","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adelsz%2Fpgtyped","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adelsz%2Fpgtyped/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adelsz%2Fpgtyped/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adelsz%2Fpgtyped/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adelsz","download_url":"https://codeload.github.com/adelsz/pgtyped/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adelsz%2Fpgtyped/sbom","scorecard":{"id":136022,"data":{"date":"2025-08-11","repo":{"name":"github.com/adelsz/pgtyped","commit":"b28db0b3546114dbacb6867ef6db34610a9e6378"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.9,"checks":[{"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":"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":"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":"Maintained","score":10,"reason":"12 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/main.yml:1","Warn: no topLevel permission defined: .github/workflows/release.yaml: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":"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":"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":"Pinned-Dependencies","score":2,"reason":"dependency not pinned by hash detected -- score normalized to 2","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/adelsz/pgtyped/main.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/adelsz/pgtyped/main.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yaml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/adelsz/pgtyped/release.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yaml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/adelsz/pgtyped/release.yaml/master?enable=pin","Warn: containerImage not pinned by hash: packages/example/Dockerfile:3","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 containerImage dependencies pinned","Info:   2 out of   2 npmCommand 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":"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":"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: MIT 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":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 2 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":"19 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-f7f6-9jq7-3rqj","Warn: Project is vulnerable to: GHSA-4www-5p9h-95mh","Warn: Project is vulnerable to: GHSA-9gqv-wp59-fq42","Warn: Project is vulnerable to: GHSA-m5qc-5hw7-8vg7","Warn: Project is vulnerable to: GHSA-76c9-3jph-rj3q","Warn: Project is vulnerable to: GHSA-4v9v-hfq4-rm2v","Warn: Project is vulnerable to: GHSA-9jgg-88mc-972h","Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-8hc4-vh64-cxmj","Warn: Project is vulnerable to: GHSA-jr5f-v2jv-69x6","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-jchw-25xp-jwwc","Warn: Project is vulnerable to: GHSA-cxjh-pqwp-8mfp","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6"],"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-16T06:33:22.551Z","repository_id":37502806,"created_at":"2025-08-16T06:33:22.551Z","updated_at":"2025-08-16T06:33:22.551Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":277796669,"owners_count":25878653,"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","status":"online","status_checked_at":"2025-10-01T02:00:09.286Z","response_time":88,"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"}},"keywords":["generator","postgres","postgresql","query","sql","type-safety","types","typescript"],"created_at":"2024-01-11T17:59:56.063Z","updated_at":"2025-10-12T00:26:59.684Z","avatar_url":"https://github.com/adelsz.png","language":"TypeScript","project_url":"https://opencollective.ecosyste.ms/api/v1/projects/10773","html_url":"https://opencollective.ecosyste.ms/projects/10773","collective":{"id":708,"uuid":"n4gx0bro-v5m96n0o-8m8qd8lk-3ey7jzwa","slug":"pgtyped","name":"PgTyped","description":"Making it possible to use raw SQL in TypeScript with guaranteed type-safety.","website":"","github":"adelsz","twitter":"adelssk","repository_url":null,"social_links":[{"type":"TWITTER","url":"https://twitter.com/adelssk"},{"type":"GITHUB","url":"https://github.com/adelsz"}],"currency":"USD","projects_count":17,"last_synced_at":"2026-06-09T18:15:19.427Z","created_at":"2024-01-10T13:17:48.183Z","updated_at":"2026-06-09T18:15:19.566Z","transactions_count":99,"balance":701.9299999999997,"account_type":"COLLECTIVE","owner":{"login":"adelsz","name":"Adel Salakh","uuid":"761605","kind":"user","description":"Founder \u0026 CTO at Zetico.\r\nWe help software companies solve their toughest tech challenges.","email":"","website":"zetico.io","location":"Kyiv","twitter":"adelssk","company":"Zetico","icon_url":"https://avatars.githubusercontent.com/u/761605?u=48c7f07aac8c24d8be46a5b0437d15bad739b8f2\u0026v=4","repositories_count":16,"last_synced_at":"2024-11-24T17:29:50.372Z","metadata":{"has_sponsors_listing":true},"html_url":"https://github.com/adelsz","funding_links":["https://github.com/sponsors/adelsz"],"total_stars":3108,"followers":56,"following":3,"created_at":"2022-11-12T19:43:16.245Z","updated_at":"2024-11-24T17:29:50.372Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adelsz","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adelsz/repositories"},"last_project_activity_at":"2025-10-01T02:30:28.000Z","archived":false,"no_funding":false,"no_license":false,"host":"opensource","collective_created_at":"2022-02-09T16:35:50.675Z","collective_updated_at":"2023-02-07T17:17:43.054Z","html_url":"https://opencollective.com/pgtyped","icon_url":"https://images.opencollective.com/pgtyped/logo/40.png","total_donations":6138.3200000000015,"total_expenses":-6275.62,"current_balance":701.9299999999997,"api_url":"https://opencollective.ecosyste.ms/api/v1/collectives/pgtyped","url":"https://opencollective.ecosyste.ms/collectives/pgtyped","projects_url":"https://opencollective.ecosyste.ms/api/v1/collectives/pgtyped/projects"}}