Expand description
Lockfile and manifest parsers. Each parser is a pure function from file contents to exact versions, so they are easy to test.
Constants§
- LOCKFILES
- Lockfiles lockdocs reads, in priority order within an ecosystem.
Functions§
- bun_
lock - cargo_
lock - go_mod
- is_
requirements - npm_
lock - package_
json_ direct - Direct dependency names declared in
package.json. - parse
- Parse one lockfile by file name. Returns
Nonefor unknown names. - pipfile_
lock - pnpm_
lock - poetry_
lock - pyproject_
direct - Direct dependency names from
pyproject.toml(PEP 621, Poetry, PDM, uv groups). - requirements
- Pinned lines (
name==1.2.3) from a requirements file. - uv_lock
- yarn_
lock