{"id":15388886,"url":"https://github.com/tiagoporto/svg-to-inline","last_synced_at":"2025-10-13T19:34:16.950Z","repository":{"id":54857913,"uuid":"112962830","full_name":"tiagoporto/svg-to-inline","owner":"tiagoporto","description":"Web Component to fetch an external SVG file and use it inline.","archived":false,"fork":false,"pushed_at":"2025-10-01T04:03:40.000Z","size":2934,"stargazers_count":5,"open_issues_count":8,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-13T12:17:44.402Z","etag":null,"topics":["component","fetch","inject","inline","inline-svg","reactjs","svg","svg-files","vuejs","web-component","webcomponent"],"latest_commit_sha":null,"homepage":"https://tiagoporto.com/svg-to-inline/","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/tiagoporto.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"docs/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","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":{"github":"tiagoporto","custom":["https://encr.pw/paypal-donation","https://encr.pw/bitcoin-wallet"]}},"created_at":"2017-12-03T20:52:46.000Z","updated_at":"2025-09-13T02:15:02.000Z","dependencies_parsed_at":"2025-01-05T19:24:04.510Z","dependency_job_id":"43f34845-08a0-4c81-adbc-e4b022a4676d","html_url":"https://github.com/tiagoporto/svg-to-inline","commit_stats":{"total_commits":34,"total_committers":2,"mean_commits":17.0,"dds":0.02941176470588236,"last_synced_commit":"3bb5f344f5d8cf535c1e417cebc8aaa8bc4d5f43"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/tiagoporto/svg-to-inline","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiagoporto%2Fsvg-to-inline","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiagoporto%2Fsvg-to-inline/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiagoporto%2Fsvg-to-inline/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiagoporto%2Fsvg-to-inline/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tiagoporto","download_url":"https://codeload.github.com/tiagoporto/svg-to-inline/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiagoporto%2Fsvg-to-inline/sbom","scorecard":{"id":884147,"data":{"date":"2025-08-11","repo":{"name":"github.com/tiagoporto/svg-to-inline","commit":"9d775410f4a554c22178018af27445d664080afb"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.7,"checks":[{"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":"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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/check-docs.yml:1","Warn: no topLevel permission defined: .github/workflows/checks.yml:1","Warn: no topLevel permission defined: .github/workflows/deploy.yaml:1","Warn: no topLevel permission defined: .github/workflows/release.yml:1","Warn: no topLevel permission defined: .github/workflows/unit-tests.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":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Pinned-Dependencies","score":5,"reason":"dependency not pinned by hash detected -- score normalized to 5","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/check-docs.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/tiagoporto/svg-to-inline/check-docs.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/check-docs.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/tiagoporto/svg-to-inline/check-docs.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/checks.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/tiagoporto/svg-to-inline/checks.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/checks.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/tiagoporto/svg-to-inline/checks.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/deploy.yaml:59: update your workflow using https://app.stepsecurity.io/secureworkflow/tiagoporto/svg-to-inline/deploy.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/deploy.yaml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/tiagoporto/svg-to-inline/deploy.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/deploy.yaml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/tiagoporto/svg-to-inline/deploy.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/deploy.yaml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/tiagoporto/svg-to-inline/deploy.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/deploy.yaml:42: update your workflow using https://app.stepsecurity.io/secureworkflow/tiagoporto/svg-to-inline/deploy.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/tiagoporto/svg-to-inline/release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/tiagoporto/svg-to-inline/release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:48: update your workflow using https://app.stepsecurity.io/secureworkflow/tiagoporto/svg-to-inline/release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/unit-tests.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/tiagoporto/svg-to-inline/unit-tests.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/unit-tests.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/tiagoporto/svg-to-inline/unit-tests.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/unit-tests.yml:40: update your workflow using https://app.stepsecurity.io/secureworkflow/tiagoporto/svg-to-inline/unit-tests.yml/main?enable=pin","Info:   0 out of  14 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned","Info:   5 out of   5 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":"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":"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":-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":"Security-Policy","score":3,"reason":"security policy file detected","details":["Info: security policy file detected: github.com/tiagoporto/.github/SECURITY.md:1","Warn: no linked content found","Warn: One or no descriptive hints of disclosure, vulnerability, and/or timelines in security policy","Info: Found text in security policy: github.com/tiagoporto/.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":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/release.yml:14"],"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":"Vulnerabilities","score":0,"reason":"21 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-x4c5-c7rf-jjgv","Warn: Project is vulnerable to: GHSA-h5c3-5r3r-rr8q","Warn: Project is vulnerable to: GHSA-rmvr-2pp2-xj38","Warn: Project is vulnerable to: GHSA-xx4v-prfh-6cgc","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-67mh-4wv8-2f99","Warn: Project is vulnerable to: GHSA-593f-38f6-jp5m","Warn: Project is vulnerable to: GHSA-x2rg-q646-7m2v","Warn: Project is vulnerable to: GHSA-jgmv-j7ww-jx2x","Warn: Project is vulnerable to: GHSA-mwcw-c2x4-8c55","Warn: Project is vulnerable to: GHSA-pq67-2wwv-3xjx","Warn: Project is vulnerable to: GHSA-8cj5-5rvv-wf4v","Warn: Project is vulnerable to: GHSA-cxrh-j4jr-qwg3","Warn: Project is vulnerable to: GHSA-vg6x-rcgg-rjx6","Warn: Project is vulnerable to: GHSA-x574-m823-4x7w","Warn: Project is vulnerable to: GHSA-4r4m-qw57-chr8","Warn: Project is vulnerable to: GHSA-xcj6-pq6g-qj4x","Warn: Project is vulnerable to: GHSA-356w-63v5-8wf4","Warn: Project is vulnerable to: GHSA-859w-5945-r5v3"],"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-24T09:23:40.323Z","repository_id":54857913,"created_at":"2025-08-24T09:23:40.323Z","updated_at":"2025-08-24T09:23:40.323Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279016917,"owners_count":26085888,"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-13T02:00:06.723Z","response_time":61,"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":["component","fetch","inject","inline","inline-svg","reactjs","svg","svg-files","vuejs","web-component","webcomponent"],"created_at":"2024-10-01T14:58:32.420Z","updated_at":"2025-10-13T19:34:16.944Z","avatar_url":"https://github.com/tiagoporto.png","language":"TypeScript","funding_links":["https://github.com/sponsors/tiagoporto","https://encr.pw/paypal-donation","https://encr.pw/bitcoin-wallet"],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://socialify.git.ci/tiagoporto/svg-to-inline/image?description=1\u0026font=Jost\u0026logo=https%3A%2F%2Fraw.githubusercontent.com%2Ftiagoporto%2Fsvg-to-inline%2Frefs%2Fheads%2Fmain%2Fdocs%2Fwebcomponents_logo.svg\u0026name=1\u0026owner=1\u0026pattern=Signal\u0026theme=Light\" alt=\"Svg to inline web component\" /\u003e\n\u003c/p\u003e\n\n[![Release](https://img.shields.io/npm/v/svg-to-inline.svg?style=flat-square\u0026label=release)](https://github.com/tiagoporto/svg-to-inline/releases)\n[![Downloads](https://img.shields.io/npm/d18m/svg-to-inline.svg?style=flat-square)](https://www.npmjs.com/package/svg-to-inline)\n[![npm bundle size](https://img.shields.io/bundlephobia/min/svg-to-inline?style=flat-square)](https://bundlephobia.com/package/svg-to-inline)\n\n## Status ✅\n\n![Website](https://img.shields.io/website?logo=githubpages\u0026style=flat-square\u0026url=https://tiagoporto.github.io/svg-to-inline)\n[![Checks GA Workflow Status](https://img.shields.io/github/actions/workflow/status/tiagoporto/svg-to-inline/checks.yml?label=checks\u0026logo=githubactions\u0026logoColor=white\u0026style=flat-square)](https://github.com/tiagoporto/svg-to-inline/actions/workflows/checks.yml)\n[![Tests GA Workflow Status](https://img.shields.io/github/actions/workflow/status/tiagoporto/svg-to-inline/unit-tests.yml?label=tests\u0026logo=githubactions\u0026logoColor=white\u0026style=flat-square)](https://github.com/tiagoporto/svg-to-inline/actions/workflows/unit-tests.yml)\n[![Coverage Status](https://img.shields.io/coverallsCoverage/github/tiagoporto/svg-to-inline.svg?logo=coveralls\u0026style=flat-square)](https://coveralls.io/github/tiagoporto/svg-to-inline)\n\n## Demo 🚀\n\nAccess \u003chttps://tiagoporto.github.io/svg-to-inline/\u003e\n\n## Installation 📦\n\n```bash\nnpm i svg-to-inline\n```\n\n## Usage ➡️\n\n```html\n\u003cscript type=\"module\"\u003e\n  import 'svg-to-inline/svg-to-inline.js'\n\u003c/script\u003e\n\n\u003csvg-to-inline\n  path=\"./images/logo.svg\"\n  className=\"my-class other-class\"\n  lazy\n\u003e\u003c/svg-to-inline\u003e\n```\n\n## Contributing 🤝\n\n[Check how to contribute](https://github.com/tiagoporto/svg-to-inline/blob/main/docs/CONTRIBUTING.md).\n\n## License 📄\n\nSvg To Inline © 2019 by Tiago Porto is licensed under [MIT License](https://github.com/tiagoporto/svg-to-inline/blob/main/LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftiagoporto%2Fsvg-to-inline","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftiagoporto%2Fsvg-to-inline","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftiagoporto%2Fsvg-to-inline/lists"}