{"id":37904383,"url":"https://github.com/loadingio/ldcvmgr","last_synced_at":"2026-01-16T17:08:25.146Z","repository":{"id":63418406,"uuid":"321341223","full_name":"loadingio/ldcvmgr","owner":"loadingio","description":"ldcover manager","archived":false,"fork":false,"pushed_at":"2025-02-25T16:45:02.000Z","size":2113,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-23T08:59:28.623Z","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":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/loadingio.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"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}},"created_at":"2020-12-14T12:30:32.000Z","updated_at":"2025-02-25T16:45:07.000Z","dependencies_parsed_at":"2025-01-28T17:28:16.340Z","dependency_job_id":"d008f8a7-a953-4f45-b63e-4e79b8f4096f","html_url":"https://github.com/loadingio/ldcvmgr","commit_stats":null,"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"purl":"pkg:github/loadingio/ldcvmgr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loadingio%2Fldcvmgr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loadingio%2Fldcvmgr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loadingio%2Fldcvmgr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loadingio%2Fldcvmgr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/loadingio","download_url":"https://codeload.github.com/loadingio/ldcvmgr/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loadingio%2Fldcvmgr/sbom","scorecard":{"id":596470,"data":{"date":"2025-08-11","repo":{"name":"github.com/loadingio/ldcvmgr","commit":"1d6ea0eba9745abf3e58500117fa3bb462b3e8e3"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.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":"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":"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/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":"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":"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":"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":"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":"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":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v0.0.20 not signed: https://api.github.com/repos/loadingio/ldcvmgr/releases/197191126","Warn: release artifact v0.0.19 not signed: https://api.github.com/repos/loadingio/ldcvmgr/releases/124206527","Warn: release artifact v0.0.18 not signed: https://api.github.com/repos/loadingio/ldcvmgr/releases/120548439","Warn: release artifact v0.0.17 not signed: https://api.github.com/repos/loadingio/ldcvmgr/releases/92113524","Warn: release artifact v0.0.16 not signed: https://api.github.com/repos/loadingio/ldcvmgr/releases/88025801","Warn: release artifact v0.0.20 does not have provenance: https://api.github.com/repos/loadingio/ldcvmgr/releases/197191126","Warn: release artifact v0.0.19 does not have provenance: https://api.github.com/repos/loadingio/ldcvmgr/releases/124206527","Warn: release artifact v0.0.18 does not have provenance: https://api.github.com/repos/loadingio/ldcvmgr/releases/120548439","Warn: release artifact v0.0.17 does not have provenance: https://api.github.com/repos/loadingio/ldcvmgr/releases/92113524","Warn: release artifact v0.0.16 does not have provenance: https://api.github.com/repos/loadingio/ldcvmgr/releases/88025801"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"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":"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":"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":5,"reason":"5 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-vc8w-jr9v-vj7f","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-h7cp-r72f-jxh6","Warn: Project is vulnerable to: GHSA-v62p-rq8g-8h59"],"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-20T23:15:44.799Z","repository_id":63418406,"created_at":"2025-08-20T23:15:44.799Z","updated_at":"2025-08-20T23:15:44.799Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28480081,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"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":[],"created_at":"2026-01-16T17:08:21.199Z","updated_at":"2026-01-16T17:08:25.139Z","avatar_url":"https://github.com/loadingio.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ldcvmgr\n\nldcover manager.\n\n\n## Installation\n\n    npm install --save ldcvmgr\n\n\n## Usage\n\ninclude required js file, and create a ldcvmgr instance:\n\n    ldcvmgr = new ldcvmgr({ ... });\n    ldcvmgr.get(\"some-cover-name\").then( ... );\n\n\nconstructor options:\n\n - `path`: where to find cache-missed ldcover html files. default `/modules/cover`\n   - more information in the section below.\n - `loader`: ldLoader compatible object for loading indicator when ldcvmgr is fetching remote ldcover html files.\n   - default to a fullscreen ldLoader spinner, with class `ldld full`.\n - `autoInit`: default false. `init` called automatically when set to true\n - `manager`: block manager for loading `@/plotdb/block` style ldcover\n - `errorCover`: customized cover for error handler. can either be a string or a `@plotdb/block` definition object.\n - `baseZ`: `baseZ` for `ldcover`. if omitted, will be `modal` if `zmgr` is provided; otherwise will be `3000`.\n - `zmgr`: optional. `zmgr` for `ldcover`. see the `zmgr` package for more information.\n\n\n## API\n\n - `get(name, param)`: popup a ldcover `name`, and expect return value from it.\n   - when `name` is a string, look up a ldcover named `name` in local cache or in \"#{@path}/#name\"\n     - will also lookup up in local DOM for name in this selector: `.ldcvmgr[data-name]`\n   - when `name` is an object, load it by `@plotdb/block` manager.\n     - interface of the loaded block should be a `ldcover` object.\n     - when available, `{zmgr, baseZ}` will be passed as block data, which should be used to maintain z-index.\n   - when `param` is provided, it will be sent to `on` event as params.\n - `set(name, param)`: resolve popped ldcover `name` with `param`\n - `on(name, callback({...}))`: listen to `name` event. Following events are available:\n   - `on`: fired when some ldcover is toggled on. callback params:\n     - node: ldcover dom root.\n     - params: additional parameters provided when `get` is called.\n     - name: toggled ldcover name\n   - `off`: fired when some ldcover is toggled off. similar params with `on`.\n - `lock(name)`: popup a ldcover `name` with `get`, and force lock to prevent dismissing.\n - `purge(name)`: clear cache for ldcover `name`.\n - `toggle(name,value,param)`: toggle ldcover `name` with state based on the value (true or false)\n   - optional `param` passed to `on` event, just like `get`.\n - `getcover(name)`: return `ldcover` instance of ldcover `name`.\n - `getdom(name)`: return DOM root of ldcover `name`.\n - `is-on(name)`: return true if ldcover `name` is on.\n\n\n## Customizing Path\n\nThe `path` option in constructor options should be either\n\n - a string, representing the relative root of all ldcover html\n - a function accepting a string\n\nyou can set `path` as function to make a more customizable behavior of ldcvmgr. For example, you can define name as:\n\n    locale@variant@name\n\nand invoke `ldcvmgr.get` like this:\n\n    zh-tw@depart-1024@logout\n\n\nthis is an abstract name and there is nothing to do with server file structure, however you can convert it with `path` function into something like this:\n\n    /ldcv/zh-tw/depart-1024/logout.html\n\nfurthermore, you can also config your reverse proxy to lookup files ( nginx config for example ):\n\n    location /ldcv/(?\u003clc\u003e.+)/(?\u003cdep\u003e.+)/(?\u003cname\u003e.+) {\n      try_files /intl/$lc/ldcv/$dep/$name.html /intl/$lc/ldcv/generic/$name.html /ldcv/generic/$name.html =404;\n    }\n\n\n## Toggling without scripting\n\nBy `auto-init` and adding `data-ldcvmgr-toggle` attributes, you can toggle ldcover automatically when the node with required attribute clicked. Content of the attribute will be used to look up ldcover, which can be either:\n\n - a string, doesn't contain `:` - will be treated as a plain ldcover name.\n - a string, contains `:` - will be treated as an id of a block, and converted back to a block definition object.\n\n\n## LICENSE\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floadingio%2Fldcvmgr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Floadingio%2Fldcvmgr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floadingio%2Fldcvmgr/lists"}