(update-deps loc consider-types repos)
Update all deps in a :deps
or :extra-deps
or :override-deps
map, at the
top level and in aliases.
loc
points at the top level map.
Update all deps in a `:deps` or `:extra-deps` or `:override-deps` map, at the top level and in aliases. `loc` points at the top level map.
(update-deps-edn! file consider-types)
Destructively update a deps.edn
file.
Read a deps.edn
file, update all dependencies in it to their latest version,
unless marked with ^:depot/ignore
metadata, then overwrite the file with the
updated version. Preserves whitespace and comments.
This will consider user and system-wide deps.edn
files for locating Maven
repositories, but only considers the given file when determining current
versions.
consider-types
is a set, one of depot.outdated/version-types
.
Destructively update a `deps.edn` file. Read a `deps.edn` file, update all dependencies in it to their latest version, unless marked with `^:depot/ignore` metadata, then overwrite the file with the updated version. Preserves whitespace and comments. This will consider user and system-wide `deps.edn` files for locating Maven repositories, but only considers the given file when determining current versions. `consider-types` is a set, one of [[depot.outdated/version-types]].
(update-loc? loc)
Should the version at the current position be updated?
Returns true unless any ancestor has the ^:depot/ignore
metadata.
Should the version at the current position be updated? Returns true unless any ancestor has the `^:depot/ignore` metadata.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close