memfs@4.57.1 declares two direct dependencies on old 1.x versions of @jsonjoy.com packages:
"@jsonjoy.com/json-pack": "^1.11.0",
"@jsonjoy.com/util": "^1.9.0"
However, memfs's own source code does not import either of these packages. It only imports @jsonjoy.com/fs-node, @jsonjoy.com/fs-core, and @jsonjoy.com/fs-node-utils.
The only actual consumer of @jsonjoy.com/json-pack and @jsonjoy.com/util in the memfs ecosystem is @jsonjoy.com/fs-snapshot@4.57.1, which already declares them at ^17.65.0:
"@jsonjoy.com/json-pack": "^17.65.0",
"@jsonjoy.com/util": "^17.65.0"
This creates a dependency tree with both 1.x and 17.x versions of the same packages:
memfs@4.57.1
├── @jsonjoy.com/json-pack@1.21.0 ← from memfs's own deps (unused)
│ └── @jsonjoy.com/util@1.9.0
├── @jsonjoy.com/util@1.9.0 ← from memfs's own deps (unused)
└── @jsonjoy.com/fs-snapshot@4.57.1
├── @jsonjoy.com/json-pack@17.67.0 ← actually used
└── @jsonjoy.com/util@17.67.0 ← actually used
I think the old, unused dependencies should be removed so that memfs has a valid and clean dependency tree.
memfs@4.57.1declares two direct dependencies on old 1.x versions of@jsonjoy.compackages:However,
memfs's own source code does not import either of these packages. It only imports@jsonjoy.com/fs-node,@jsonjoy.com/fs-core, and@jsonjoy.com/fs-node-utils.The only actual consumer of
@jsonjoy.com/json-packand@jsonjoy.com/utilin the memfs ecosystem is@jsonjoy.com/fs-snapshot@4.57.1, which already declares them at ^17.65.0:This creates a dependency tree with both 1.x and 17.x versions of the same packages:
I think the old, unused dependencies should be removed so that
memfshas a valid and clean dependency tree.