{"id":372925,"url":"https://github.com/ljharb/safe-regex-test","last_synced_at":"2026-05-19T13:05:57.043Z","repository":{"id":59924980,"uuid":"540138887","full_name":"ljharb/safe-regex-test","owner":"ljharb","description":"Give a regex, get a robust predicate function that tests it against a string.","archived":false,"fork":false,"pushed_at":"2026-01-05T22:15:59.000Z","size":59,"stargazers_count":8,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-28T11:27:48.803Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/ljharb.png","metadata":{"funding":{"github":["ljharb"],"patreon":null,"open_collective":null,"ko_fi":"ljharb","tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"polar":null,"buy_me_a_coffee":null,"thanks_dev":"ljharb","custom":null},"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"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}},"created_at":"2022-09-22T19:28:23.000Z","updated_at":"2026-01-05T22:16:02.000Z","dependencies_parsed_at":"2024-02-06T06:26:26.756Z","dependency_job_id":"f21083ed-f971-4bf6-8568-4f259974b362","html_url":"https://github.com/ljharb/safe-regex-test","commit_stats":{"total_commits":21,"total_committers":2,"mean_commits":10.5,"dds":0.04761904761904767,"last_synced_commit":"978388dfba128491c16ecafbbda3a1d159db7e03"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/ljharb/safe-regex-test","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ljharb%2Fsafe-regex-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ljharb%2Fsafe-regex-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ljharb%2Fsafe-regex-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ljharb%2Fsafe-regex-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ljharb","download_url":"https://codeload.github.com/ljharb/safe-regex-test/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ljharb%2Fsafe-regex-test/sbom","scorecard":{"id":594951,"data":{"date":"2025-08-11","repo":{"name":"github.com/ljharb/safe-regex-test","commit":"ea4173e88d68d8e9a95717fa5548a3ea524c2dc9"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.5,"checks":[{"name":"Code-Review","score":0,"reason":"Found 1/29 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":"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":"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: third-party GitHubAction not pinned by hash: .github/workflows/node-aught.yml:7: update your workflow using https://app.stepsecurity.io/secureworkflow/ljharb/safe-regex-test/node-aught.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/node-pretest.yml:7: update your workflow using https://app.stepsecurity.io/secureworkflow/ljharb/safe-regex-test/node-pretest.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/node-tens.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/ljharb/safe-regex-test/node-tens.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/node-twenties.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/ljharb/safe-regex-test/node-twenties.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/rebase.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/ljharb/safe-regex-test/rebase.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/rebase.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/ljharb/safe-regex-test/rebase.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/require-allow-edits.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/ljharb/safe-regex-test/require-allow-edits.yml/main?enable=pin","Info:   0 out of   1 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   6 third-party 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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: jobLevel 'pull-requests' permission set to 'read': .github/workflows/rebase.yml:12","Warn: jobLevel 'contents' permission set to 'write': .github/workflows/rebase.yml:11","Warn: no topLevel permission defined: .github/workflows/node-aught.yml:1","Warn: no topLevel permission defined: .github/workflows/node-pretest.yml:1","Info: topLevel 'contents' permission set to 'read': .github/workflows/node-tens.yml:6","Info: topLevel 'contents' permission set to 'read': .github/workflows/node-twenties.yml:6","Info: topLevel 'contents' permission set to 'read': .github/workflows/rebase.yml:6","Warn: no topLevel permission defined: .github/workflows/require-allow-edits.yml:1"],"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":"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":"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":"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":"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":10,"reason":"security policy file detected","details":["Info: security policy file detected: github.com/ljharb/.github/SECURITY.md:1","Info: Found linked content: github.com/ljharb/.github/SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: github.com/ljharb/.github/SECURITY.md:1","Info: Found text in security policy: github.com/ljharb/.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":"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 1 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"}}]},"last_synced_at":"2025-08-20T22:55:42.581Z","repository_id":59924980,"created_at":"2025-08-20T22:55:42.581Z","updated_at":"2025-08-20T22:55:42.581Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32803912,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"ssl_error","status_checked_at":"2026-05-08T08:22:45.650Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":{"login":"ljharb","name":"Jordan Harband","uuid":"45469","kind":"user","description":"software engineer/nerd/teacher/will try anything once; surgeon with git rebase. @TC39 ex @Coinbase @Airbnb @Twitter @MobBase. Fav punctuation ⸮, scent petrichor","email":"","website":"https://linkedin.com/in/ljharb","location":"Hillsborough, CA","twitter":"LJHarb","company":"@herodevs @tc39 ","icon_url":"https://avatars.githubusercontent.com/u/45469?u=6ab74b3b934f9659a90b588062c2c4328e40c6be\u0026v=4","repositories_count":292,"last_synced_at":"2025-11-17T13:04:31.880Z","metadata":{"has_sponsors_listing":true,"funding":{"github":["ljharb"],"patreon":null,"open_collective":null,"ko_fi":"ljharb","tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"polar":null,"buy_me_a_coffee":null,"thanks_dev":"ljharb","custom":null}},"html_url":"https://github.com/ljharb","funding_links":["https://github.com/sponsors/ljharb","https://ko-fi.com/ljharb","https://thanks.dev/ljharb"],"total_stars":11404,"followers":7790,"following":417,"created_at":"2022-11-02T16:19:00.017Z","updated_at":"2025-11-17T13:04:31.880Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ljharb","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ljharb/repositories"},"packages":null,"commits":null,"issues":{"table":{}},"events":null,"keywords":[],"dependencies":[{"ecosystem":"npm","filepath":"package.json","sha":null,"kind":"manifest","created_at":"2022-09-25T08:01:53.361Z","updated_at":"2022-09-25T08:01:53.361Z","repository_link":"https://github.com/ljharb/safe-regex-test/blob/main/package.json","dependencies":[{"id":6085863259,"package_name":"call-bind","ecosystem":"npm","requirements":"^1.0.2","direct":true,"kind":"runtime","optional":false},{"id":6085863260,"package_name":"get-intrinsic","ecosystem":"npm","requirements":"^1.1.3","direct":true,"kind":"runtime","optional":false},{"id":6085863261,"package_name":"is-regex","ecosystem":"npm","requirements":"^1.1.4","direct":true,"kind":"runtime","optional":false},{"id":6085863262,"package_name":"@ljharb/eslint-config","ecosystem":"npm","requirements":"^21.0.0","direct":true,"kind":"development","optional":false},{"id":6085863263,"package_name":"aud","ecosystem":"npm","requirements":"^2.0.1","direct":true,"kind":"development","optional":false},{"id":6085863264,"package_name":"auto-changelog","ecosystem":"npm","requirements":"^2.4.0","direct":true,"kind":"development","optional":false},{"id":6085863265,"package_name":"es-value-fixtures","ecosystem":"npm","requirements":"^1.4.2","direct":true,"kind":"development","optional":false},{"id":6085863266,"package_name":"eslint","ecosystem":"npm","requirements":"=8.8.0","direct":true,"kind":"development","optional":false},{"id":6085863267,"package_name":"for-each","ecosystem":"npm","requirements":"^0.3.3","direct":true,"kind":"development","optional":false},{"id":6085863268,"package_name":"in-publish","ecosystem":"npm","requirements":"^2.0.1","direct":true,"kind":"development","optional":false},{"id":6085863269,"package_name":"npmignore","ecosystem":"npm","requirements":"^0.3.0","direct":true,"kind":"development","optional":false},{"id":6085863270,"package_name":"object-inspect","ecosystem":"npm","requirements":"^1.12.2","direct":true,"kind":"development","optional":false},{"id":6085863271,"package_name":"safe-publish-latest","ecosystem":"npm","requirements":"^2.0.0","direct":true,"kind":"development","optional":false},{"id":6085863272,"package_name":"tape","ecosystem":"npm","requirements":"^5.6.1","direct":true,"kind":"development","optional":false}]},{"ecosystem":"actions","filepath":".github/workflows/node-aught.yml","sha":null,"kind":"manifest","created_at":"2024-02-06T06:26:25.732Z","updated_at":"2024-02-06T06:26:25.732Z","repository_link":"https://github.com/ljharb/safe-regex-test/blob/main/.github/workflows/node-aught.yml","dependencies":[]},{"ecosystem":"actions","filepath":".github/workflows/node-pretest.yml","sha":null,"kind":"manifest","created_at":"2024-02-06T06:26:25.818Z","updated_at":"2024-02-06T06:26:25.818Z","repository_link":"https://github.com/ljharb/safe-regex-test/blob/main/.github/workflows/node-pretest.yml","dependencies":[]},{"ecosystem":"actions","filepath":".github/workflows/node-tens.yml","sha":null,"kind":"manifest","created_at":"2024-02-06T06:26:25.869Z","updated_at":"2024-02-06T06:26:25.869Z","repository_link":"https://github.com/ljharb/safe-regex-test/blob/main/.github/workflows/node-tens.yml","dependencies":[]},{"ecosystem":"actions","filepath":".github/workflows/rebase.yml","sha":null,"kind":"manifest","created_at":"2024-02-06T06:26:25.916Z","updated_at":"2024-02-06T06:26:25.916Z","repository_link":"https://github.com/ljharb/safe-regex-test/blob/main/.github/workflows/rebase.yml","dependencies":[{"id":16059201444,"package_name":"actions/checkout","ecosystem":"actions","requirements":"v3","direct":true,"kind":"composite","optional":false},{"id":16059201445,"package_name":"ljharb/rebase","ecosystem":"actions","requirements":"master","direct":true,"kind":"composite","optional":false}]},{"ecosystem":"actions","filepath":".github/workflows/require-allow-edits.yml","sha":null,"kind":"manifest","created_at":"2024-02-06T06:26:26.497Z","updated_at":"2024-02-06T06:26:26.497Z","repository_link":"https://github.com/ljharb/safe-regex-test/blob/main/.github/workflows/require-allow-edits.yml","dependencies":[{"id":16059201451,"package_name":"ljharb/require-allow-edits","ecosystem":"actions","requirements":"main","direct":true,"kind":"composite","optional":false}]}],"score":2.1972245773362196,"created_at":"2026-05-14T10:56:37.133Z","updated_at":"2026-05-19T13:05:57.043Z","avatar_url":"https://github.com/ljharb.png","language":"JavaScript","codemeta":null,"publiccode":null,"project_url":"https://summary.ecosyste.ms/api/v1/projects/372925","html_url":"https://summary.ecosyste.ms/projects/372925"}