{"id":15776085,"url":"https://github.com/avil13/vue-act-master","last_synced_at":"2025-08-20T23:10:04.244Z","repository":{"id":38426513,"uuid":"241413352","full_name":"avil13/vue-act-master","owner":"avil13","description":"The easiest library to create a flexible application architecture. A way to separate business logic from application view.","archived":false,"fork":false,"pushed_at":"2025-05-21T13:44:23.000Z","size":4274,"stargazers_count":3,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-09T00:58:15.425Z","etag":null,"topics":["actions","api","dependency-injection","emitter","nuxt","vue"],"latest_commit_sha":null,"homepage":"https://avil13.github.io/vue-act-master/","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/avil13.png","metadata":{"files":{"readme":"README.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}},"created_at":"2020-02-18T16:40:06.000Z","updated_at":"2025-05-21T13:44:27.000Z","dependencies_parsed_at":"2024-01-25T16:45:55.951Z","dependency_job_id":"69564228-6c69-410a-ac8e-fc440623e606","html_url":"https://github.com/avil13/vue-act-master","commit_stats":{"total_commits":305,"total_committers":6,"mean_commits":"50.833333333333336","dds":"0.48852459016393446","last_synced_commit":"3e5a03e3cddf631aa8e053cb311b53f8f6cfb49e"},"previous_names":[],"tags_count":61,"template":false,"template_full_name":null,"purl":"pkg:github/avil13/vue-act-master","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avil13%2Fvue-act-master","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avil13%2Fvue-act-master/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avil13%2Fvue-act-master/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avil13%2Fvue-act-master/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/avil13","download_url":"https://codeload.github.com/avil13/vue-act-master/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avil13%2Fvue-act-master/sbom","scorecard":{"id":218220,"data":{"date":"2025-08-11","repo":{"name":"github.com/avil13/vue-act-master","commit":"db97577a02bbf3d930ffb938ff2fa990510922c5"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.5,"checks":[{"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":"Maintained","score":1,"reason":"2 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 1","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":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/gh-page.yml:1","Warn: no topLevel permission defined: .github/workflows/npm_publish_act-master.yml:1","Warn: no topLevel permission defined: .github/workflows/npm_publish_vue-act-master.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":"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":"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/gh-page.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/avil13/vue-act-master/gh-page.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/gh-page.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/avil13/vue-act-master/gh-page.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/gh-page.yml:35: update your workflow using https://app.stepsecurity.io/secureworkflow/avil13/vue-act-master/gh-page.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/npm_publish_act-master.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/avil13/vue-act-master/npm_publish_act-master.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/npm_publish_act-master.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/avil13/vue-act-master/npm_publish_act-master.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/npm_publish_vue-act-master.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/avil13/vue-act-master/npm_publish_vue-act-master.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/npm_publish_vue-act-master.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/avil13/vue-act-master/npm_publish_vue-act-master.yml/master?enable=pin","Info:   0 out of   6 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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"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":"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":"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":"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":"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":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"}}]},"last_synced_at":"2025-08-17T02:02:23.109Z","repository_id":38426513,"created_at":"2025-08-17T02:02:23.109Z","updated_at":"2025-08-17T02:02:23.109Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271400259,"owners_count":24752830,"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-08-20T02:00:09.606Z","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"}},"keywords":["actions","api","dependency-injection","emitter","nuxt","vue"],"created_at":"2024-10-04T17:04:50.113Z","updated_at":"2025-08-20T23:10:04.224Z","avatar_url":"https://github.com/avil13.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Act-Master\n\nA way to separate business logic from application view.\n\nThe easiest library to create a flexible application architecture.\n\n\n![npm bundle size](https://img.shields.io/bundlephobia/minzip/act-master)\n![npm version](https://img.shields.io/npm/v/act-master)\n\n## To work with Vue, there are now even fewer dependencies. Just use `act-mater`.\n\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg  src=\"https://raw.githubusercontent.com/avil13/vue-act-master/master/assets/act-master-logo.svg\" alt=\"vue-act-master\"\u003e\n\u003c/div\u003e\n\n---\n\n## 📗 [Documentation](https://avil13.github.io/vue-act-master/)\n\n## 🧪 [Test writing with \"ActTest\"](https://github.com/avil13/vue-act-master/blob/master/packages/act-master/src/test-utils/README.md)\n\n\n---\n\n# Example\n\n## Installation\n\n```bash\nnpm install act-master\n```\n\n# Usage\n\n```ts\n// main.ts\nimport { act } from 'act-master';\nimport { VueActMaster } from 'act-master/vue';\nimport { createApp } from 'vue';\n\nimport { actions } from '@/act/actions';\n\nact.init({\n  actions,\n});\n\nVueActMaster.setActMaster(act());\n\nconst app = createApp(App);\n\napp.use(VueActMaster); // Installation\n```\n\n```ts\n// @/act/actions\nexport const actions: ActMasterAction[] = [\n  new GetDataAction(),\n];\n```\n\n```ts\n// action-get-data.ts\nimport { ActMasterAction } from 'vue-act-master';\n\nexport class GetDataAction implements ActMasterAction {\n  name = 'GetData';\n\n  async exec() {\n    const url = 'https://jsonplaceholder.typicode.com/todos/1';\n\n    const response = await fetch(url);\n    return response.json();\n  }\n}\n```\nThe action is now available to you in components and you can easily highlight the business logic.\n\nThis will help you test components and change the API more easily.\n\n```html\n// App.vue\n\n\u003cscript\u003e\nimport { act } from 'act-master'\n\nexport default {\n  data() {\n    return {\n      myData1: null,\n      myData2: null,\n    };\n  },\n\n  async mounted() {\n    console.log(this.myData1, this.myData2); // null, null\n\n    // Subscribe\n    act().on('GetData', (data) =\u003e {\n      this.myData2 = data;\n    });\n\n    this.myData1 = await this.$act.exec('GetData');\n\n    console.log(this.myData1, this.myData2);\n    // {\n    //   \"userId\": 1,\n    //   \"id\": 1,\n    //   \"title\": \"delectus aut autem\",\n    //   \"completed\": false\n    // },\n    // {\n    //   \"userId\": 1,\n    //   \"id\": 1,\n    //   \"title\": \"delectus aut autem\",\n    //   \"completed\": false\n    // }\n  }\n}\n\u003c/script\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favil13%2Fvue-act-master","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Favil13%2Fvue-act-master","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favil13%2Fvue-act-master/lists"}