Check lockfiles for versions that are too new
check_lockfilesScans lockfiles in a directory and reports locked versions younger than a minimum age or with unknown age, optionally limited to changes since a git ref.
Instructions
Check every lockfile under a directory (package-lock.json, pnpm-lock.yaml, yarn.lock, bun.lock, deno.lock, uv.lock, poetry.lock, requirements.txt, Cargo.lock, go.mod, composer.lock, Gemfile.lock, packages.lock.json, gradle.lockfile, pubspec.lock, Podfile.lock, Package.resolved, .terraform.lock.hcl, conan.lock, renv.lock, mix.lock, flake.lock, MODULE.bazel.lock, vcpkg.json and more) and report every locked version that is younger than the minimum age or whose age is unknown. Set since to a git ref, like origin/main, to check only what changed since then.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | A directory or lockfile. Defaults to the current directory. | |
| since | No | Only check versions added since this git ref, like origin/main or HEAD. | |
| min_age | No | Override the minimum age, like 72h, 3d or 1w. Leave out to use the project's policy. |