Skip to main content

Enterprise Server 3.20 目前作为候选发布提供。

依赖项关系图支持的包生态系统

依赖项关系图支持多种生态系统。

本文内容

Understanding the table

The dependency graph supports different methods of submitting data for direct and indirect (transitive) dependencies. See How the dependency graph recognizes dependencies.

In the table below:

  • The Static transitive dependencies and Automatic dependency submission show you supported methods for submitting data.
  • The Static transitive dependencies column also indicates whether static analysis will add direct and transitive labels for dependent packages in that ecosystem.
  • The Recommended files column suggests formats that explicitly define which versions are used for all direct and all indirect dependencies. These files lock the package versions to those included in the build and enable Dependabot to find vulnerable versions in both direct and indirect dependencies.

Supported package ecosystems

Package managerLanguagesStatic transitive dependenciesAutomatic dependency submissionRecommended filesAdditional files
BazelStarlarkMODULE.bazel, WORKSPACEMODULE.bazel.lock, maven_install.json, *.MODULE.bazel
CargoRustCargo.lockCargo.toml
ComposerPHPcomposer.lockcomposer.json
NuGet.NET languages (C#, F#, VB), C++.csproj, .vbproj, .nuspec, .vcxproj, .fsprojpackages.config
GitHub Actions workflowsYAML.yml, .yaml
Go modulesGogo.mod
GradleJava
JuliaJuliaManifest.tomlProject.toml
MavenJava, Scalapom.xml
npmJavaScriptpackage-lock.jsonpackage.json
OpenTofuHCL.terraform.lock.hcl.tf, .tofu
pipPythonrequirements.txt, pipfile.lockpipfile, setup.py
pnpmJavaScriptpnpm-lock.yamlpackage.json
pubDartpubspec.lockpubspec.yaml
PoetryPythonpoetry.lockpyproject.toml
RubyGemsRubyGemfile.lockGemfile, *.gemspec
Swift Package ManagerSwiftPackage.resolved
YarnJavaScriptyarn.lockpackage.json

注意

  • If you list your Python dependencies within a setup.py file, we may not be able to parse and list every dependency in your project.
  • GitHub Actions workflows must be located in the .github/workflows/ directory of a repository to be recognized as manifests. Any actions or workflows referenced using the syntax jobs[*].steps[*].uses or jobs.<job_id>.uses will be parsed as dependencies. For more information, see Workflow syntax for GitHub Actions.
  • For GitHub Actions, Dependabot alerts are only generated for actions that use semantic versioning, not SHA versioning. For more information, see About Dependabot alerts and About Dependabot version updates.

Community-maintained ecosystems

The following ecosystems are maintained by their upstream community maintainers. GitHub integrates Dependabot with these ecosystems but does not maintain them directly.

EcosystemMaintained by
JuliaJulia community
OpenTofuOpenTofu community
pubDart community