{"id":13414198,"url":"https://github.com/psalaets/vue-jscodeshift-adapter","last_synced_at":"2025-10-07T02:26:39.318Z","repository":{"id":41384303,"uuid":"122810126","full_name":"psalaets/vue-jscodeshift-adapter","owner":"psalaets","description":"Run jscodeshift on Vue single file components","archived":false,"fork":false,"pushed_at":"2024-05-11T02:21:45.000Z","size":428,"stargazers_count":31,"open_issues_count":6,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-21T17:59:48.025Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/psalaets.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.mit","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":"2018-02-25T06:05:36.000Z","updated_at":"2025-09-21T17:11:35.000Z","dependencies_parsed_at":"2024-01-13T17:12:17.817Z","dependency_job_id":"1f724f58-1d29-4ae2-b4a5-c26a906c94fb","html_url":"https://github.com/psalaets/vue-jscodeshift-adapter","commit_stats":{"total_commits":100,"total_committers":6,"mean_commits":"16.666666666666668","dds":"0.20999999999999996","last_synced_commit":"7b3dd87a889feb3213ddd118f8f1b319b10e9416"},"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/psalaets/vue-jscodeshift-adapter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psalaets%2Fvue-jscodeshift-adapter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psalaets%2Fvue-jscodeshift-adapter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psalaets%2Fvue-jscodeshift-adapter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psalaets%2Fvue-jscodeshift-adapter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/psalaets","download_url":"https://codeload.github.com/psalaets/vue-jscodeshift-adapter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psalaets%2Fvue-jscodeshift-adapter/sbom","scorecard":{"id":747793,"data":{"date":"2025-08-11","repo":{"name":"github.com/psalaets/vue-jscodeshift-adapter","commit":"53148edcc72d52cf498bcf99a5d54bb082c7c6e2"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.1,"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":"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":"Code-Review","score":0,"reason":"Found 1/15 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":"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":"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":"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.mit:0","Info: FSF or OSI recognized license: MIT License: LICENSE.mit: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"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 16 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"}},{"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-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-mwcw-c2x4-8c55"],"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-22T19:22:45.650Z","repository_id":41384303,"created_at":"2025-08-22T19:22:45.650Z","updated_at":"2025-08-22T19:22:45.650Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278708235,"owners_count":26031976,"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-07T02:00:06.786Z","response_time":59,"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":[],"created_at":"2024-07-30T21:00:16.370Z","updated_at":"2025-10-07T02:26:39.303Z","avatar_url":"https://github.com/psalaets.png","language":"JavaScript","funding_links":[],"categories":["Language Analysis"],"sub_categories":["TypeScript / JavaScript"],"readme":"# vue-jscodeshift-adapter\n\n[![Build Status](https://travis-ci.org/psalaets/vue-jscodeshift-adapter.svg?branch=master)](https://travis-ci.org/psalaets/vue-jscodeshift-adapter)\n\nRun [jscodeshift](https://github.com/facebook/jscodeshift) on Vue single file components\n\n## Install\n\n```\nnpm install vue-jscodeshift-adapter -D\n```\n\n## Usage\n\nThe instructions below assume you're familiar with [jscodeshift](https://github.com/facebook/jscodeshift).\n\n### Run a codemod on some `.js` and/or `.vue` files\n\n|When transforming|`fileInfo.source` will be|\n|-----------------|-------------------------|\n|`.js`            | the contents of the file|\n|`.vue`           | the contents of `\u003cscript\u003e`|\n\nThe source file will be updated appropriately based on the return value of your `transform()`.\n\n*If `.vue` file doesn't have a `\u003cscript\u003e`, your `transform()` will not be called and the source file will not be changed.*\n\n#### 1. Create wrapped transform function\n\n```js\n// my-transform.js\nimport adapt from 'vue-jscodeshift-adapter';\nimport someCodemod from 'some-codemod';\n\nexport default adapt(someCodemod);\n```\n\n#### 2. Run jscodeshift\n\n```\n$ jscodeshift \u003cpath\u003e -t my-transform.js --extensions vue,js\n```\n\nSee [jscodeshift readme](https://github.com/facebook/jscodeshift#usage-cli) for more info on jscodeshift CLI.\n\n## License\n\nMIT","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpsalaets%2Fvue-jscodeshift-adapter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpsalaets%2Fvue-jscodeshift-adapter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpsalaets%2Fvue-jscodeshift-adapter/lists"}