charlierudolph / dependency-lint

Lints NPM dependencies and devDependencies
MIT License
14 stars 6 forks source link

Incorrectly assumes missing "rc" dependency #32

Closed kevgo closed 8 years ago

kevgo commented 8 years ago

My project has "rc" as a dependency, which exports an "rc" binary. Dependency-lint finds "rc" in many of my scripts, wrongfully assuming "rc" is used. The regex dependency-lint uses to find occurrences of binaries should wrap the binary name in word boundaries (\b) to make this search more robust.

charlierudolph commented 8 years ago

Fix release in 4.1.1