{"id":1839685,"name":"html-parse-stringify2","ecosystem":"npm","description":"Parses well-formed HTML (meaning all tags closed) into an AST and back. quickly.","homepage":"https://github.com/rayd/html-parse-stringify2","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/rayd/html-parse-stringify2","keywords_array":["html","parse","stringify","ast"],"namespace":null,"versions_count":6,"first_release_published_at":"2016-05-12T18:44:25.218Z","latest_release_published_at":"2025-11-21T14:58:27.836Z","latest_release_number":"2.0.2","last_synced_at":"2026-04-18T13:48:50.393Z","created_at":"2022-04-09T17:16:26.964Z","updated_at":"2026-04-18T14:10:50.477Z","registry_url":"https://www.npmjs.com/package/html-parse-stringify2","install_command":"npm install html-parse-stringify2","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"2.0.2"}},"repo_metadata":{"id":8509386,"uuid":"58153858","full_name":"rayd/html-parse-stringify2","owner":"rayd","description":"Parses well-formed HTML (meaning all tags closed) into an AST and back. quickly.","archived":false,"fork":true,"pushed_at":"2025-11-21T14:45:42.000Z","size":31,"stargazers_count":21,"open_issues_count":11,"forks_count":11,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-02-14T05:26:23.523Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"HenrikJoreteg/html-parse-stringify","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rayd.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}},"created_at":"2016-05-05T19:01:51.000Z","updated_at":"2025-11-21T14:45:46.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/rayd/html-parse-stringify2","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/rayd/html-parse-stringify2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rayd%2Fhtml-parse-stringify2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rayd%2Fhtml-parse-stringify2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rayd%2Fhtml-parse-stringify2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rayd%2Fhtml-parse-stringify2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rayd","download_url":"https://codeload.github.com/rayd/html-parse-stringify2/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rayd%2Fhtml-parse-stringify2/sbom","scorecard":{"id":763453,"data":{"date":"2025-08-11","repo":{"name":"github.com/rayd/html-parse-stringify2","commit":"dbf026f9010a14167e5a9e8589464f660233e446"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.7,"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":"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":"Code-Review","score":1,"reason":"Found 4/25 approved changesets -- score normalized to 1","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":-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":"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":"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":"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":"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":"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":"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"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 15 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-23T00:04:42.343Z","repository_id":8509386,"created_at":"2025-08-23T00:04:42.343Z","updated_at":"2025-08-23T00:04:42.343Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30902156,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-24T08:58:18.477Z","status":"ssl_error","status_checked_at":"2026-03-24T08:57:59.595Z","response_time":106,"last_error":"SSL_read: 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_record":{"login":"rayd","name":"Ray Di Ciaccio","uuid":"1077058","kind":"user","description":"","email":"","website":null,"location":"Boston, MA","twitter":null,"company":"Appcues","icon_url":"https://avatars.githubusercontent.com/u/1077058?v=4","repositories_count":26,"last_synced_at":"2023-04-10T00:24:03.603Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/rayd","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2022-11-02T16:34:38.995Z","updated_at":"2023-04-10T00:24:03.757Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rayd","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rayd/repositories"},"tags":[{"name":"v2.0.1","sha":"dbf026f9010a14167e5a9e8589464f660233e446","kind":"commit","published_at":"2017-08-08T17:46:32.000Z","download_url":"https://codeload.github.com/rayd/html-parse-stringify2/tar.gz/v2.0.1","html_url":"https://github.com/rayd/html-parse-stringify2/releases/tag/v2.0.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/rayd/html-parse-stringify2@v2.0.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rayd%2Fhtml-parse-stringify2/tags/v2.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rayd%2Fhtml-parse-stringify2/tags/v2.0.1/manifests"},{"name":"v2.0.0","sha":"0460814f20ca1591e749d52f7dfff435249033c8","kind":"commit","published_at":"2017-07-24T20:17:08.000Z","download_url":"https://codeload.github.com/rayd/html-parse-stringify2/tar.gz/v2.0.0","html_url":"https://github.com/rayd/html-parse-stringify2/releases/tag/v2.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/rayd/html-parse-stringify2@v2.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rayd%2Fhtml-parse-stringify2/tags/v2.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rayd%2Fhtml-parse-stringify2/tags/v2.0.0/manifests"},{"name":"v1.2.1","sha":"79ddeb87fb88e190987b4edd943835506dabcaa9","kind":"commit","published_at":"2016-06-28T06:19:23.000Z","download_url":"https://codeload.github.com/rayd/html-parse-stringify2/tar.gz/v1.2.1","html_url":"https://github.com/rayd/html-parse-stringify2/releases/tag/v1.2.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/rayd/html-parse-stringify2@v1.2.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rayd%2Fhtml-parse-stringify2/tags/v1.2.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rayd%2Fhtml-parse-stringify2/tags/v1.2.1/manifests"},{"name":"v1.2.0","sha":"e01115003ba2f774dc1e9ff1f777e01bccaa6258","kind":"commit","published_at":"2016-06-27T21:00:30.000Z","download_url":"https://codeload.github.com/rayd/html-parse-stringify2/tar.gz/v1.2.0","html_url":"https://github.com/rayd/html-parse-stringify2/releases/tag/v1.2.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/rayd/html-parse-stringify2@v1.2.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rayd%2Fhtml-parse-stringify2/tags/v1.2.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rayd%2Fhtml-parse-stringify2/tags/v1.2.0/manifests"},{"name":"v1.1.0","sha":"1a57b363de58872ffb4a1d0792d36bb7c1e09738","kind":"commit","published_at":"2016-05-12T16:02:02.000Z","download_url":"https://codeload.github.com/rayd/html-parse-stringify2/tar.gz/v1.1.0","html_url":"https://github.com/rayd/html-parse-stringify2/releases/tag/v1.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/rayd/html-parse-stringify2@v1.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rayd%2Fhtml-parse-stringify2/tags/v1.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rayd%2Fhtml-parse-stringify2/tags/v1.1.0/manifests"},{"name":"v1.0.2","sha":"9435f258dc063933585be305af2954d229d46e4a","kind":"tag","published_at":"2015-03-17T04:50:51.000Z","download_url":"https://codeload.github.com/rayd/html-parse-stringify2/tar.gz/v1.0.2","html_url":"https://github.com/rayd/html-parse-stringify2/releases/tag/v1.0.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/rayd/html-parse-stringify2@v1.0.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rayd%2Fhtml-parse-stringify2/tags/v1.0.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rayd%2Fhtml-parse-stringify2/tags/v1.0.2/manifests"},{"name":"v1.0.1","sha":"8e6ba4fbf6dcbf36b84b41ee18974d89a672fa33","kind":"tag","published_at":"2014-12-12T06:42:58.000Z","download_url":"https://codeload.github.com/rayd/html-parse-stringify2/tar.gz/v1.0.1","html_url":"https://github.com/rayd/html-parse-stringify2/releases/tag/v1.0.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/rayd/html-parse-stringify2@v1.0.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rayd%2Fhtml-parse-stringify2/tags/v1.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rayd%2Fhtml-parse-stringify2/tags/v1.0.1/manifests"},{"name":"v1.0.0","sha":"34f2b329e7c372ce156f2a669d9fcc16c307932e","kind":"tag","published_at":"2014-12-12T06:17:12.000Z","download_url":"https://codeload.github.com/rayd/html-parse-stringify2/tar.gz/v1.0.0","html_url":"https://github.com/rayd/html-parse-stringify2/releases/tag/v1.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/rayd/html-parse-stringify2@v1.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rayd%2Fhtml-parse-stringify2/tags/v1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rayd%2Fhtml-parse-stringify2/tags/v1.0.0/manifests"}]},"repo_metadata_updated_at":"2026-04-17T13:25:04.354Z","dependent_packages_count":50,"downloads":551635,"downloads_period":"last-month","dependent_repos_count":9463,"rankings":{"downloads":0.317442871778538,"dependent_repos_count":0.2561524533270379,"dependent_packages_count":0.5959103608155502,"stargazers_count":7.686418554485883,"forks_count":5.990907732073395,"docker_downloads_count":0.6604561285652042,"average":2.5845480168409347},"purl":"pkg:npm/html-parse-stringify2","advisories":[{"uuid":"MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTU0NXEtM2ZnNi00OG03","url":"https://github.com/advisories/GHSA-545q-3fg6-48m7","title":"html-parse-stringify and html-parse-stringify2 vulnerable to Regular expression denial of service (ReDoS)","description":"This affects the package html-parse-stringify before 2.0.1; all versions of package html-parse-stringify2. Sending certain input could cause one of the regular expressions that is used for parsing to backtrack, freezing the process.","origin":"UNSPECIFIED","severity":"MODERATE","published_at":"2021-03-18T19:39:31.000Z","withdrawn_at":null,"classification":"GENERAL","cvss_score":5.3,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","references":["https://nvd.nist.gov/vuln/detail/CVE-2021-23346","https://github.com/HenrikJoreteg/html-parse-stringify/commit/c7274a48e59c92b2b7e906fedf9065159e73fe12","https://github.com/HenrikJoreteg/html-parse-stringify/blob/master/lib/parse.js%23L2","https://github.com/rayd/html-parse-stringify2/blob/master/lib/parse.js%23L2","https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1080633","https://snyk.io/vuln/SNYK-JS-HTMLPARSESTRINGIFY-1079306","https://snyk.io/vuln/SNYK-JS-HTMLPARSESTRINGIFY2-1079307","https://github.com/HenrikJoreteg/html-parse-stringify/releases/tag/v2.0.1","https://github.com/advisories/GHSA-545q-3fg6-48m7"],"source_kind":"github","identifiers":["GHSA-545q-3fg6-48m7","CVE-2021-23346"],"repository_url":"https://github.com/HenrikJoreteg/html-parse-stringify","blast_radius":0.0,"created_at":"2022-12-21T16:13:10.714Z","updated_at":"2026-04-18T14:06:45.554Z","epss_percentage":0.00636,"epss_percentile":0.7035,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTU0NXEtM2ZnNi00OG03","html_url":"https://advisories.ecosyste.ms/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTU0NXEtM2ZnNi00OG03","packages":[{"ecosystem":"npm","package_name":"html-parse-stringify2","versions":[{"first_patched_version":null,"vulnerable_version_range":"\u003c= 2.0.1"}],"purl":"pkg:npm/html-parse-stringify2"},{"ecosystem":"npm","package_name":"html-parse-stringify","versions":[{"first_patched_version":"2.0.1","vulnerable_version_range":"\u003c 2.0.1"}],"purl":"pkg:npm/html-parse-stringify"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTU0NXEtM2ZnNi00OG03/related_packages","related_advisories":[]}],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/html-parse-stringify2","docker_dependents_count":68,"docker_downloads_count":15231218,"usage_url":"https://repos.ecosyste.ms/usage/npm/html-parse-stringify2","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/html-parse-stringify2/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2025-11-21T15:05:55.119Z","issues_count":13,"pull_requests_count":19,"avg_time_to_close_issue":29745633.333333332,"avg_time_to_close_pull_request":22623617.666666668,"issues_closed_count":6,"pull_requests_closed_count":15,"pull_request_authors_count":11,"issue_authors_count":11,"avg_comments_per_issue":1.3076923076923077,"avg_comments_per_pull_request":0.8947368421052632,"merged_pull_requests_count":11,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":0,"past_year_pull_requests_count":1,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":145027.0,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":1,"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.0,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":1,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/rayd%2Fhtml-parse-stringify2/issues","maintainers":[{"login":"rayd","count":7,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/rayd"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/html-parse-stringify2/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/html-parse-stringify2/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/html-parse-stringify2/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/html-parse-stringify2/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/html-parse-stringify2/codemeta","maintainers":[{"uuid":"rayd","login":"rayd","name":null,"email":"ray@appcues.com","url":null,"packages_count":12,"html_url":"https://www.npmjs.com/~rayd","role":null,"created_at":"2022-11-12T17:51:29.503Z","updated_at":"2022-11-12T17:51:29.503Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/rayd/packages"}]}