{"id":1156046,"name":"@rpearce/flexible-string-replace","ecosystem":"npm","description":"🧶  Safely replace any part of a string with anything. Example: useful for replacing substrings with JSX in React","homepage":"https://github.com/rpearce/flexible-string-replace","licenses":"Unlicense","normalized_licenses":["Unlicense"],"repository_url":"https://github.com/rpearce/flexible-string-replace","keywords_array":["string-replace","string-manipulation","string-interpolation","replace-string","replace-text","react"],"namespace":"rpearce","versions_count":6,"first_release_published_at":"2019-03-04T02:25:54.587Z","latest_release_published_at":"2025-07-26T08:21:09.802Z","latest_release_number":"1.1.0","last_synced_at":"2026-04-25T04:32:50.346Z","created_at":"2022-04-08T12:21:17.862Z","updated_at":"2026-04-25T04:32:50.346Z","registry_url":"https://www.npmjs.com/package/@rpearce/flexible-string-replace","install_command":"npm install @rpearce/flexible-string-replace","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"1.1.0"}},"repo_metadata":{"id":34260213,"uuid":"173644933","full_name":"rpearce/flexible-string-replace","owner":"rpearce","description":"🧶 Safely replace any part of a string with anything. Example: useful for replacing substrings with JSX in React. Replaces https://github.com/rpearce/highlightify and descendent of ideas for trying to fix https://github.com/iansinnott/react-string-replace","archived":true,"fork":false,"pushed_at":"2025-07-26T08:18:34.000Z","size":1184,"stargazers_count":1,"open_issues_count":16,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-09T05:58:04.078Z","etag":null,"topics":["react","replace-string","replace-text","string-interpolation","string-manipulation","string-replace","typescript"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rpearce.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-03-04T00:00:07.000Z","updated_at":"2025-08-30T02:20:42.000Z","dependencies_parsed_at":"2023-01-15T05:44:47.826Z","dependency_job_id":null,"html_url":"https://github.com/rpearce/flexible-string-replace","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/rpearce/flexible-string-replace","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rpearce%2Fflexible-string-replace","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rpearce%2Fflexible-string-replace/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rpearce%2Fflexible-string-replace/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rpearce%2Fflexible-string-replace/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rpearce","download_url":"https://codeload.github.com/rpearce/flexible-string-replace/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rpearce%2Fflexible-string-replace/sbom","scorecard":{"id":786189,"data":{"date":"2025-08-11","repo":{"name":"github.com/rpearce/flexible-string-replace","commit":"acfe7e8c442d166bdb579de4d90216e9b4467c5b"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2,"checks":[{"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":"Code-Review","score":0,"reason":"Found 0/23 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":"Maintained","score":2,"reason":"3 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 2","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":-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":"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":"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":"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: The Unlicense: 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 '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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 10 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":"51 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-v88g-cgmw-v5xw","Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-fwr7-v2mv-hh25","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-w8qv-6jwh-64r5","Warn: Project is vulnerable to: GHSA-257v-vj4p-3w2h","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-ww39-953v-wcq6","Warn: Project is vulnerable to: GHSA-43f8-2h32-f4cj","Warn: Project is vulnerable to: GHSA-7r28-3m3f-r2pr","Warn: Project is vulnerable to: GHSA-r8j5-h5cx-65gg","Warn: Project is vulnerable to: GHSA-896r-f27r-55mw","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-76p3-8jx3-jpfq","Warn: Project is vulnerable to: GHSA-3rfm-jhwj-7488","Warn: Project is vulnerable to: GHSA-hhq3-ff78-jv3g","Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-vh95-rmgr-6w4m","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-5fw9-fq32-wv5p","Warn: Project is vulnerable to: GHSA-rp65-9cf3-cjxr","Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9","Warn: Project is vulnerable to: GHSA-566m-qj78-rww5","Warn: Project is vulnerable to: GHSA-7fh5-64p2-3v2j","Warn: Project is vulnerable to: GHSA-hwj9-h5mp-3pm3","Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp","Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-gcx4-mw62-g8wm","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-44c6-4v22-4mhx","Warn: Project is vulnerable to: GHSA-4x5v-gmq8-25ch","Warn: Project is vulnerable to: GHSA-hxcc-f52p-wc94","Warn: Project is vulnerable to: GHSA-g4rg-993r-mgx7","Warn: Project is vulnerable to: GHSA-4wf5-vphf-c2xc","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-jgrx-mgxx-jf9v","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7","Warn: Project is vulnerable to: GHSA-6fc8-4gx4-v693","Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q","Warn: Project is vulnerable to: GHSA-c4w7-xm78-47vh","Warn: Project is vulnerable to: GHSA-p9pc-299p-vxgp"],"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-23T06:10:03.452Z","repository_id":34260213,"created_at":"2025-08-23T06:10:03.452Z","updated_at":"2025-08-23T06:10:03.452Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27990752,"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-12-23T02:00:07.087Z","response_time":69,"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":"rpearce","name":"Robert Pearce","uuid":"592876","kind":"user","description":"JS, A11y, Ruby, Haskell, Nix, Rust","email":"me@robertwpearce.com","website":"https://robertwpearce.com","location":"Charleston, SC, USA","twitter":"RobertWPearce","company":"@articulate","icon_url":"https://avatars.githubusercontent.com/u/592876?u=dcb5a10d417e38f3fbdb0adca7b916f2f001678e\u0026v=4","repositories_count":130,"last_synced_at":"2025-12-05T19:50:59.332Z","metadata":{"has_sponsors_listing":true},"html_url":"https://github.com/rpearce","funding_links":["https://github.com/sponsors/rpearce"],"total_stars":2496,"followers":250,"following":101,"created_at":"2022-11-02T16:40:07.577Z","updated_at":"2025-12-05T19:50:59.332Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rpearce","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rpearce/repositories"},"tags":[{"name":"v1.0.0","sha":"90c7f79fa56fe21490f607b7312a9052667a4f6a","kind":"commit","published_at":"2020-03-15T13:45:24.000Z","download_url":"https://codeload.github.com/rpearce/flexible-string-replace/tar.gz/v1.0.0","html_url":"https://github.com/rpearce/flexible-string-replace/releases/tag/v1.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/rpearce/flexible-string-replace@v1.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rpearce%2Fflexible-string-replace/tags/v1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rpearce%2Fflexible-string-replace/tags/v1.0.0/manifests"},{"name":"v0.1.3","sha":"fa34ff6aeaf53a882b0d238d231bf5f2817e5abe","kind":"commit","published_at":"2019-12-29T04:52:31.000Z","download_url":"https://codeload.github.com/rpearce/flexible-string-replace/tar.gz/v0.1.3","html_url":"https://github.com/rpearce/flexible-string-replace/releases/tag/v0.1.3","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/rpearce/flexible-string-replace@v0.1.3","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rpearce%2Fflexible-string-replace/tags/v0.1.3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rpearce%2Fflexible-string-replace/tags/v0.1.3/manifests"},{"name":"v0.1.2","sha":"5ca3cc1efc30f09604faa9235bdd2778e96b2052","kind":"commit","published_at":"2019-09-12T02:47:21.000Z","download_url":"https://codeload.github.com/rpearce/flexible-string-replace/tar.gz/v0.1.2","html_url":"https://github.com/rpearce/flexible-string-replace/releases/tag/v0.1.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/rpearce/flexible-string-replace@v0.1.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rpearce%2Fflexible-string-replace/tags/v0.1.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rpearce%2Fflexible-string-replace/tags/v0.1.2/manifests"},{"name":"v0.1.1","sha":"2a4e75ca3660d6ddc4a3171117d489669bdec71d","kind":"commit","published_at":"2019-09-12T02:41:19.000Z","download_url":"https://codeload.github.com/rpearce/flexible-string-replace/tar.gz/v0.1.1","html_url":"https://github.com/rpearce/flexible-string-replace/releases/tag/v0.1.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/rpearce/flexible-string-replace@v0.1.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rpearce%2Fflexible-string-replace/tags/v0.1.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rpearce%2Fflexible-string-replace/tags/v0.1.1/manifests"},{"name":"v0.1.0","sha":"62890759687b25c76d281ad101d35d8674cd3458","kind":"commit","published_at":"2019-03-04T02:43:38.000Z","download_url":"https://codeload.github.com/rpearce/flexible-string-replace/tar.gz/v0.1.0","html_url":"https://github.com/rpearce/flexible-string-replace/releases/tag/v0.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/rpearce/flexible-string-replace@v0.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rpearce%2Fflexible-string-replace/tags/v0.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rpearce%2Fflexible-string-replace/tags/v0.1.0/manifests"}]},"repo_metadata_updated_at":"2025-12-24T00:23:17.486Z","dependent_packages_count":1,"downloads":21,"downloads_period":"last-month","dependent_repos_count":1,"rankings":{"downloads":8.988831876137047,"dependent_repos_count":10.40278016761116,"dependent_packages_count":21.099260671742204,"stargazers_count":16.804556135070563,"forks_count":11.653235019505741,"docker_downloads_count":null,"average":13.789732774013341},"purl":"pkg:npm/%40rpearce/flexible-string-replace","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/@rpearce/flexible-string-replace","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/npm/@rpearce/flexible-string-replace","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/@rpearce/flexible-string-replace/dependencies","status":null,"funding_links":["https://github.com/sponsors/rpearce"],"critical":null,"issue_metadata":{"last_synced_at":"2025-08-08T20:29:49.703Z","issues_count":1,"pull_requests_count":29,"avg_time_to_close_issue":8249264.0,"avg_time_to_close_pull_request":3493203.3076923075,"issues_closed_count":1,"pull_requests_closed_count":13,"pull_request_authors_count":2,"issue_authors_count":1,"avg_comments_per_issue":0.0,"avg_comments_per_pull_request":0.3793103448275862,"merged_pull_requests_count":4,"bot_issues_count":0,"bot_pull_requests_count":27,"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/rpearce%2Fflexible-string-replace/issues","maintainers":[{"login":"rpearce","count":4,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/rpearce"}],"active_maintainers":[{"login":"rpearce","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/rpearce"}]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@rpearce%2Fflexible-string-replace/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@rpearce%2Fflexible-string-replace/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@rpearce%2Fflexible-string-replace/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@rpearce%2Fflexible-string-replace/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@rpearce%2Fflexible-string-replace/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@rpearce%2Fflexible-string-replace/codemeta","maintainers":[{"uuid":"rpearce","login":"rpearce","name":null,"email":"me@robertwpearce.com","url":null,"packages_count":18,"html_url":"https://www.npmjs.com/~rpearce","role":null,"created_at":"2022-11-20T23:28:00.085Z","updated_at":"2022-11-20T23:28:00.085Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/rpearce/packages"}]}