Improvement

June 23, 20221 minute read

Dependabot alerts: Filter alerts by the scope of the dependency (runtime and development)

Today, we're shipping a new filter for the Dependabot alerts list view. In the alerts list view, you can now filter for scope:development or scope:runtime. Alerts for development dependencies also feature a label in the UI.

Dependency scope information will be available for alerts opened on or after June 23, 2022.

Which ecosystems are supported?

The following ecosystems are supported as of June 23, 2022:

LanguageEcosystemDependency Scope
RubyRubyGems
JavaScriptnpm
JavaScriptYarnNo, defaults to runtime
PHPComposer
GoGo modulesNo, defaults to runtime
JavaMaventest maps to development, all else default to runtime
PythonPoetry
Pythonpip✅ for pipfile, for requirements.txt scope is development if the filename contains “test” or “dev”, else it is runtime
.NETNuGet✅ only for .nuspec when tag != runtime; for all other cases defaults to runtime
RustCargo

For more information, learn more about Dependabot alerts in our documentation.

Subscribe to our developer newsletter

Discover tips, technical guides, and best practices in our biweekly newsletter just for devs.

By submitting, I agree to let GitHub and its affiliates use my information for personalized communications, targeted advertising, and campaign effectiveness. See the GitHub Privacy Statement for more details.

Dependabot alerts: Filter alerts by the scope of the dependency (runtime and development) - GitHub Changelog