-
-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
umbrella issueThis issue contains a list of dependents of a package and tracks the progress in eachThis issue contains a list of dependents of a package and tracks the progress in each
Description
Packages such as these:
- find-pkg
- replaced by
pkg.up({ cwd })
- replaced by
- find-file-up
- replaced by
find.up(name, { cwd })
- replaced by
- find-up-simple
- replaced by
find.up(name, { cwd })
- replaced by
- find-up
- replaced by
find.up(name, { cwd })
- replaced by
- pkg-dir
- replaced by
dirname(pkg.up({ cwd }))
- replaced by
- find-cache-dir
- replaced by
pkg.cache
- replaced by
- find-cache-directory
- replaced by
pkg.cache
- replaced by
- read-package-up
- replaced by
empathic/package
- replaced by
empathic/package
andpkg-types
if you need strong types
- replaced by
- read-pkg
- replaced by
pkg-types
- replaced by
- read-pkg-up
- replaced by
empathic/package
- replaced by
empathic/package
andpkg-types
if you need strong types
- replaced by
and more, can all be replaced by empathic:
https://github.com/lukeed/empathic
this is much faster and usually smaller to install
empathic is ESM only. if that blocks us, we can use fd-package-json to find the closest package.json
. but there is no obvious replacement for the generic case. you could use walk-up-path
but would need more inline logic
with require(esm)
being in all LTS of node now, we may be able to use empathic
still if the projects have a high enough engine requirement
talentlessguy and OrbisK
Metadata
Metadata
Assignees
Labels
umbrella issueThis issue contains a list of dependents of a package and tracks the progress in eachThis issue contains a list of dependents of a package and tracks the progress in each