{"id":28829038,"url":"https://github.com/forcedotcom/source-deploy-retrieve","last_synced_at":"2026-05-09T05:14:45.844Z","repository":{"id":36963731,"uuid":"245298375","full_name":"forcedotcom/source-deploy-retrieve","owner":"forcedotcom","description":"JavaScript toolkit for working with Salesforce metadata.","archived":false,"fork":false,"pushed_at":"2026-05-07T01:23:49.000Z","size":86371,"stargazers_count":91,"open_issues_count":17,"forks_count":164,"subscribers_count":12,"default_branch":"main","last_synced_at":"2026-05-07T03:21:55.855Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/forcedotcom.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":"SECURITY.md","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-03-06T00:44:51.000Z","updated_at":"2026-05-03T06:32:51.000Z","dependencies_parsed_at":"2026-04-01T23:05:47.435Z","dependency_job_id":null,"html_url":"https://github.com/forcedotcom/source-deploy-retrieve","commit_stats":{"total_commits":1627,"total_committers":96,"mean_commits":"16.947916666666668","dds":0.7977873386601106,"last_synced_commit":"924ebc92596d66e331be8de753ca01ef19e87a11"},"previous_names":[],"tags_count":623,"template":false,"template_full_name":null,"purl":"pkg:github/forcedotcom/source-deploy-retrieve","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forcedotcom%2Fsource-deploy-retrieve","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forcedotcom%2Fsource-deploy-retrieve/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forcedotcom%2Fsource-deploy-retrieve/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forcedotcom%2Fsource-deploy-retrieve/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/forcedotcom","download_url":"https://codeload.github.com/forcedotcom/source-deploy-retrieve/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forcedotcom%2Fsource-deploy-retrieve/sbom","scorecard":{"id":127951,"data":{"date":"2025-08-11","repo":{"name":"github.com/forcedotcom/source-deploy-retrieve","commit":"21137a8b0f644a6d3eb0969498a2fd2e05a4bad0"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.8,"checks":[{"name":"Code-Review","score":2,"reason":"Found 6/25 approved changesets -- score normalized to 2","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":10,"reason":"30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10","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":"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":"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":"Security-Policy","score":9,"reason":"security policy file detected","details":["Info: security policy file detected: SECURITY.md:1","Info: Found linked content: SECURITY.md:1","Warn: One or no descriptive hints of disclosure, vulnerability, and/or timelines in security policy","Info: Found text in security policy: 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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/automerge.yml:1","Warn: no topLevel permission defined: .github/workflows/create-github-release.yml:1","Warn: no topLevel permission defined: .github/workflows/devScripts.yml:1","Warn: no topLevel permission defined: .github/workflows/failureNotifications.yml:1","Warn: no topLevel permission defined: .github/workflows/notify-slack-on-pr-open.yml:1","Warn: no topLevel permission defined: .github/workflows/onRelease.yml:1","Warn: no topLevel permission defined: .github/workflows/perfScaleNut.yml:1","Warn: no topLevel permission defined: .github/workflows/registryCheck.yml:1","Warn: no topLevel permission defined: .github/workflows/registryCheckPreview.yml:1","Warn: no topLevel permission defined: .github/workflows/releaseWithCoreBundle.yml:1","Warn: no topLevel permission defined: .github/workflows/supportedMetadataUpdate.yml:1","Warn: no topLevel permission defined: .github/workflows/test.yml:1","Warn: no topLevel permission defined: .github/workflows/testWithCoreBundle.yml:1","Warn: no topLevel permission defined: .github/workflows/validate-pr.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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.txt:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE.txt:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"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":"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":"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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: third-party GitHubAction not pinned by hash: .github/workflows/automerge.yml:9: update your workflow using https://app.stepsecurity.io/secureworkflow/forcedotcom/source-deploy-retrieve/automerge.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/create-github-release.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/forcedotcom/source-deploy-retrieve/create-github-release.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/create-github-release.yml:32: update your workflow using https://app.stepsecurity.io/secureworkflow/forcedotcom/source-deploy-retrieve/create-github-release.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/devScripts.yml:9: update your workflow using https://app.stepsecurity.io/secureworkflow/forcedotcom/source-deploy-retrieve/devScripts.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/failureNotifications.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/forcedotcom/source-deploy-retrieve/failureNotifications.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/notify-slack-on-pr-open.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/forcedotcom/source-deploy-retrieve/notify-slack-on-pr-open.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/onRelease.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/forcedotcom/source-deploy-retrieve/onRelease.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/onRelease.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/forcedotcom/source-deploy-retrieve/onRelease.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/onRelease.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/forcedotcom/source-deploy-retrieve/onRelease.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/perfScaleNut.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/forcedotcom/source-deploy-retrieve/perfScaleNut.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/perfScaleNut.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/forcedotcom/source-deploy-retrieve/perfScaleNut.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/perfScaleNut.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/forcedotcom/source-deploy-retrieve/perfScaleNut.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/perfScaleNut.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/forcedotcom/source-deploy-retrieve/perfScaleNut.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/registryCheck.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/forcedotcom/source-deploy-retrieve/registryCheck.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/registryCheck.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/forcedotcom/source-deploy-retrieve/registryCheck.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/registryCheckPreview.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/forcedotcom/source-deploy-retrieve/registryCheckPreview.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/registryCheckPreview.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/forcedotcom/source-deploy-retrieve/registryCheckPreview.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/releaseWithCoreBundle.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/forcedotcom/source-deploy-retrieve/releaseWithCoreBundle.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/supportedMetadataUpdate.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/forcedotcom/source-deploy-retrieve/supportedMetadataUpdate.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/supportedMetadataUpdate.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/forcedotcom/source-deploy-retrieve/supportedMetadataUpdate.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/supportedMetadataUpdate.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/forcedotcom/source-deploy-retrieve/supportedMetadataUpdate.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/supportedMetadataUpdate.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/forcedotcom/source-deploy-retrieve/supportedMetadataUpdate.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/test.yml:66: update your workflow using https://app.stepsecurity.io/secureworkflow/forcedotcom/source-deploy-retrieve/test.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/test.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/forcedotcom/source-deploy-retrieve/test.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/test.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/forcedotcom/source-deploy-retrieve/test.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/test.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/forcedotcom/source-deploy-retrieve/test.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/forcedotcom/source-deploy-retrieve/test.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/forcedotcom/source-deploy-retrieve/test.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/test.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/forcedotcom/source-deploy-retrieve/test.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/test.yml:35: update your workflow using https://app.stepsecurity.io/secureworkflow/forcedotcom/source-deploy-retrieve/test.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/testWithCoreBundle.yml:8: update your workflow using https://app.stepsecurity.io/secureworkflow/forcedotcom/source-deploy-retrieve/testWithCoreBundle.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/validate-pr.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/forcedotcom/source-deploy-retrieve/validate-pr.yml/main?enable=pin","Info:   0 out of  11 GitHub-owned GitHubAction dependencies pinned","Info:   1 out of  22 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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 12 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":2,"reason":"8 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-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-78xj-cgh5-2h22","Warn: Project is vulnerable to: GHSA-2p57-rm9w-gvfp","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-9wv6-86v2-598j","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw"],"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-16T04:27:51.265Z","repository_id":36963731,"created_at":"2025-08-16T04:27:51.265Z","updated_at":"2025-08-16T04:27:51.265Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32807961,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"online","status_checked_at":"2026-05-09T02:00:06.633Z","response_time":123,"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":"2025-06-19T05:11:30.484Z","updated_at":"2026-05-09T05:14:45.820Z","avatar_url":"https://github.com/forcedotcom.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Salesforce source-deploy-retrieve\n\n[![License](https://img.shields.io/badge/License-Apache--2.0-blue.svg)](https://opensource.org/license/apache-2-0)\n![npm (scoped)](https://img.shields.io/npm/v/@salesforce/source-deploy-retrieve)\n[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)\n\n## Introduction\n\nA JavaScript toolkit for working with Salesforce metadata. Built to support the Salesforce CLI deploy and retrieve experience in the [Salesforce VS Code Extensions](https://github.com/forcedotcom/salesforcedx-vscode), CLI plugins, and other tools working with metadata.\n\n## Features\n\n- Resolve Salesforce metadata files into JavaScript objects\n- Parse and generate [manifest files](https://trailhead.salesforce.com/en/content/learn/modules/package-xml/package-xml-adventure)\n- Convert source files between [SFDX File Formats](https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_source_file_format.htm)\n- Generate metadata packages with the option to automatically create a zip file\n- Deploy and retrieve metadata with an org\n- An [index](./src/registry/metadataRegistry.json) to reference available metadata types.\n- Utilize promises with `async/await` syntax\n\n## Issues\n\nPlease report all issues to the [issues only repository](https://github.com/forcedotcom/cli/issues).\n\n## Usage\n\nInstall the package:\n\n```\nnpm install @salesforce/source-deploy-retrieve\n```\n\nSee [HANDBOOK.md](./HANDBOOK.md) for usage and examples.\n\nSee [API Docs](https://forcedotcom.github.io/source-deploy-retrieve)\n\n## Contributing\n\nSee [CONTRIBUTING.md](./CONTRIBUTING.md) for details on how to contribute to the library.\n\nSee [developing.md](./contributing/developing.md) for details on building and testing the library locally.\n\n## Publishing\n\nSDR publishes when changes are merged into `main`. The version is bumped per the rules of the release orb and [standard-version](https://github.com/conventional-changelog/standard-version).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fforcedotcom%2Fsource-deploy-retrieve","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fforcedotcom%2Fsource-deploy-retrieve","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fforcedotcom%2Fsource-deploy-retrieve/lists"}