Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion doc/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [1.6.0] - 2026-04-14

### 🆕 Added
- **npm lockfileVersion 1 support**: `fromPackageLock` now parses v1 lockfiles by falling back to a new `fromDependenciesTree` generator when the `packages` map is absent. v1 lockfiles use a nested `dependencies` tree instead of the flat `packages` map — `fromDependenciesTree` walks the tree iteratively and yields the same `Dependency` shape. The README already claimed v1 support; the parser now delivers on it.

Expand Down Expand Up @@ -173,7 +175,8 @@ Initial release of flatlock - the Matlock of lockfile parsers.
- Designed for use cases that need package enumeration without dependency resolution: SBOM generation, vulnerability scanning, license compliance, integrity verification
- For full dependency tree analysis ("why is X installed?"), use `@npmcli/arborist` instead

[unreleased]: https://github.com/indexzero/flatlock/compare/1.5.1...HEAD
[unreleased]: https://github.com/indexzero/flatlock/compare/1.6.0...HEAD
[1.6.0]: https://github.com/indexzero/flatlock/compare/1.5.1...1.6.0
[1.5.1]: https://github.com/indexzero/flatlock/compare/1.5.0...1.5.1
[1.5.0]: https://github.com/indexzero/flatlock/compare/1.4.0...1.5.0
[1.4.0]: https://github.com/indexzero/flatlock/compare/1.3.0...1.4.0
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "flatlock",
"version": "1.5.1",
"version": "1.6.0",
"description": "The Matlock of lockfile parsers - extracts packages without building dependency graphs",
"keywords": [
"lockfile",
Expand Down
Loading