Closed eng-cc closed 8 months ago
abstract-level
is already present, as a transitive dependency.
abstract-level
is already present, as a transitive dependency.
Transitive dependencies can sometimes be problematic.
In patterns that avoid using transitive dependencies, it needs to be explicitly defined.
such as pnpm
I see.
Perhaps we can instead re-export AbstractLevel
from the classic-level
and/or browser-level
packages? What is the more common pattern in the TS ecosystem?
I see.
Perhaps we can instead re-export
AbstractLevel
from theclassic-level
and/orbrowser-level
packages? What is the more common pattern in the TS ecosystem?
Re-export AbstractLevel
from the classic-level
or browser-level
packages is also a nice solution.
But I think that re-export will lead to too many links of type export, which is not conducive to decoupling.
Fixed in https://github.com/Level/level/pull/241 (added to dependencies
instead of devDependencies
).
add
abstract-level
type dependence