Skip to content

Commit

Permalink
spelling: version
Browse files Browse the repository at this point in the history
  • Loading branch information
jsoref committed Sep 20, 2019
1 parent 2fab312 commit 8993a69
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -1323,7 +1323,7 @@

## v0.102.1, 12 April 2019

- JS: Don't assume we can upgrade sub-dependencies to a secure verison
- JS: Don't assume we can upgrade sub-dependencies to a secure version

## v0.102.0, 12 April 2019

Expand Down
2 changes: 1 addition & 1 deletion common/lib/dependabot/update_checkers/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ def numeric_version_up_to_date?

# If a lockfile isn't out of date and the package has switched to a git
# source then we'll get a numeric version switching to a git SHA. In
# this case we treat the verison as up-to-date so that it's ignored.
# this case we treat the version as up-to-date so that it's ignored.
return true if latest_version.to_s.match?(/^[0-9a-f]{40}$/)

latest_version <= version_class.new(dependency.version)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def version_from_lockfile(dep_name)

parsed_lockfile.fetch("package", []).
find { |p| normalise(p.fetch("name")) == normalise(dep_name) }&.
fetch("verison", nil)
fetch("version", nil)
end

def check_requirements(req)
Expand Down

0 comments on commit 8993a69

Please sign in to comment.