You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This feature is especially mostly used by yarn workspaces or lerna monorepo.
Versions
node -v: any
npm -v: any
depcheck --version: 0.8.4
Extra info
I already did the correction in my system and will provide a PR. I've just seen that PR #418 seems to give a correction to it, but it is introducing new dependencies while my correction only adds a few lines to bin.js.
The text was updated successfully, but these errors were encountered:
* special/bin: climb up directories to find binary module
Issue #436
* Move .gitignore to upper directory
* Remove duplicate test
* Add test for binary packages in parent directories
Bug Description
When using the
bin
special parser, the binary module is only looked in current projectnode_modules
folder. But actually, node may also search the module in parent folders. See https://nodejs.org/api/modules.html#modules_loading_from_node_modules_foldersThis feature is especially mostly used by yarn workspaces or lerna monorepo.
Versions
node -v
: anynpm -v
: anydepcheck --version
: 0.8.4Extra info
I already did the correction in my system and will provide a PR. I've just seen that PR #418 seems to give a correction to it, but it is introducing new dependencies while my correction only adds a few lines to bin.js.
The text was updated successfully, but these errors were encountered: