module Dependabot

Used in the version resolver and file updater to only run yarn/npm helpers on dependency files that require updates. This is useful for large monorepos with lots of sub-projects that don't all have the same dependencies.

rubocop:disable Metrics/ClassLength

rubocop:disable Metrics/ClassLength

Used in the sub dependency version resolver and file updater to only run yarn/npm helpers on dependency files that require updates. This is useful for large monorepos with lots of sub-projects that don't all have the same dependencies.

rubocop:disable Metrics/ClassLength

JavaScript pre-release versions use 1.0.1-rc1 syntax, which Gem::Version converts into 1.0.1.pre.rc1. We override the `to_s` method to stop that alteration.

See semver.org/ for details of node's version syntax.