{"id":17967307,"url":"https://github.com/yangyang0507/vuepress-plugin-lastest-version","last_synced_at":"2026-02-25T05:36:40.980Z","repository":{"id":38426592,"uuid":"285769681","full_name":"yangyang0507/vuepress-plugin-lastest-version","owner":"yangyang0507","description":"Get lastest version for artifact","archived":false,"fork":false,"pushed_at":"2023-07-12T15:33:02.000Z","size":143,"stargazers_count":0,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-26T11:48:05.300Z","etag":null,"topics":["doc","documentation","version-control","vue","vuepress","vuepress-plugin"],"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/yangyang0507.png","metadata":{"files":{"readme":"README-zh.md","changelog":null,"contributing":null,"funding":null,"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":"2020-08-07T07:44:18.000Z","updated_at":"2021-08-04T02:31:49.000Z","dependencies_parsed_at":"2022-09-15T19:10:20.815Z","dependency_job_id":null,"html_url":"https://github.com/yangyang0507/vuepress-plugin-lastest-version","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/yangyang0507/vuepress-plugin-lastest-version","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yangyang0507%2Fvuepress-plugin-lastest-version","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yangyang0507%2Fvuepress-plugin-lastest-version/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yangyang0507%2Fvuepress-plugin-lastest-version/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yangyang0507%2Fvuepress-plugin-lastest-version/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yangyang0507","download_url":"https://codeload.github.com/yangyang0507/vuepress-plugin-lastest-version/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yangyang0507%2Fvuepress-plugin-lastest-version/sbom","scorecard":{"id":1239224,"data":{"date":"2025-10-20","repo":{"name":"github.com/yangyang0507/vuepress-plugin-lastest-version","commit":"8686c5365159700e06774630e89d9e10e5296ff9"},"scorecard":{"version":"v5.3.1-0.20251020080748-9e702f4c9dc6","commit":"9e702f4c9dc6992745395f4c8ac89942d0cf87ea"},"score":2.8,"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/9e702f4c9dc6992745395f4c8ac89942d0cf87ea/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/9e702f4c9dc6992745395f4c8ac89942d0cf87ea/docs/checks.md#binary-artifacts"}},{"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/9e702f4c9dc6992745395f4c8ac89942d0cf87ea/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/9e702f4c9dc6992745395f4c8ac89942d0cf87ea/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/commitlint.yml:1","Warn: no topLevel permission defined: .github/workflows/npm-publish.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/9e702f4c9dc6992745395f4c8ac89942d0cf87ea/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/9e702f4c9dc6992745395f4c8ac89942d0cf87ea/docs/checks.md#maintained"}},{"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/9e702f4c9dc6992745395f4c8ac89942d0cf87ea/docs/checks.md#sast"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/commitlint.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/yangyang0507/vuepress-plugin-lastest-version/commitlint.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/commitlint.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/yangyang0507/vuepress-plugin-lastest-version/commitlint.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/npm-publish.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/yangyang0507/vuepress-plugin-lastest-version/npm-publish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/npm-publish.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/yangyang0507/vuepress-plugin-lastest-version/npm-publish.yml/master?enable=pin","Info:   0 out of   3 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 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/9e702f4c9dc6992745395f4c8ac89942d0cf87ea/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/9e702f4c9dc6992745395f4c8ac89942d0cf87ea/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/9e702f4c9dc6992745395f4c8ac89942d0cf87ea/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/9e702f4c9dc6992745395f4c8ac89942d0cf87ea/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/9e702f4c9dc6992745395f4c8ac89942d0cf87ea/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/9e702f4c9dc6992745395f4c8ac89942d0cf87ea/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/9e702f4c9dc6992745395f4c8ac89942d0cf87ea/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":3,"reason":"7 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-ff7x-qrg7-qggm","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-38fc-wpqx-33j7"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/9e702f4c9dc6992745395f4c8ac89942d0cf87ea/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-10-26T11:48:06.656Z","repository_id":38426592,"created_at":"2025-10-26T11:48:06.656Z","updated_at":"2025-10-26T11:48:06.656Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29811577,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-25T03:30:18.102Z","status":"ssl_error","status_checked_at":"2026-02-25T03:30:17.799Z","response_time":61,"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"}},"keywords":["doc","documentation","version-control","vue","vuepress","vuepress-plugin"],"created_at":"2024-10-29T14:06:10.947Z","updated_at":"2026-02-25T05:36:40.964Z","avatar_url":"https://github.com/yangyang0507.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vuepress-plugin-lastest-version\n\n[![npm](https://img.shields.io/npm/v/vuepress-plugin-lastest-version?style=flat-square)](https://www.npmjs.com/package/vuepress-plugin-lastest-version) [![npm](https://img.shields.io/npm/dm/vuepress-plugin-lastest-version?style=flat-square)](https://www.npmjs.com/package/vuepress-plugin-lastest-version) [![GitHub](https://img.shields.io/github/license/yangyang0507/vuepress-plugin-lastest-version?style=flat-square)](https://www.npmjs.com/package/vuepress-plugin-lastest-version)\n\n为你的文档获取最新的制品版本\n\n## 安装\n\n```shell\nyarn add -D vuepress-plugin-lastest-version\n# OR npm install -D vuepress-plugin-lastest-version\n```\n\n## 使用\n\n```javascript\nmodule.exports = {\n  plugins: [\n    \"lastest-version\",\n    {\n      repos: [\n        {\n          keywords: \"mybatis-plus-latest-version\",\n          type: \"maven\",\n          repo: \"com.baomidou/mybatis-plus\",\n        }\n      ]\n    }\n  ]\n};\n```\n\n### repos.keywords\n\n- 类型: string\n- 是否必须: true\n- 可选值: your keywords\n\n将要被替换的关键字\n\n### repos.type\n\n- 类型: string\n- 是否必须: true\n- 可选值: maven | npm\n\n选择你需要获取最新版本的制品类型\n\n### repos.repo\n\n- 类型: string\n- 是否必须: true\n- 可选值: your repo\n\n当制品类型是 maven 时，你的 repo 配置应该为 :groupId/:artifactId\n当制品类型是 npm 时，你的 repo 配置应该为 :packageName\n\n示例\n\n```javascript\nmodule.exports = {\n  plugins: [\n    \"lastest-version\",\n    {\n      repos: [\n        {\n          keywords: \"mybatis-plus-latest-version\",\n          type: \"maven\",\n          repo: \"com.baomidou/mybatis-plus\",\n        }\n      ]\n    }\n  ]\n};\n\nmodule.exports = {\n  plugins: [\n    \"lastest-version\",\n    {\n      repos: [\n        {\n          keywords: \"vuepress-plugin-latest-version\",\n          type: \"npm\",\n          repo: \"vuepress-plugin-lastest-version\",\n        }\n      ]\n    }\n  ]\n};\n```\n\n在配置好插件之后，插件将会替换所有的配置中定义的关键字字符为最新的制品版本号，所以别忘了在你的文档中加入关键字占位符以保证插件能够正常替换版本号。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyangyang0507%2Fvuepress-plugin-lastest-version","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyangyang0507%2Fvuepress-plugin-lastest-version","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyangyang0507%2Fvuepress-plugin-lastest-version/lists"}