Skip to content

--filter not working properly with packages containing hyphens #759

Description

@obihill

I'm using node@10.13.0 and npm-check-updates@9.2.4.

The --filter flag appears to have an issue when using it with hyphenated package names.

I was trying to use this on chrome-launcher and puppeteer using the following command:

ncu -f chrome-launcher puppeteer

Only 1 package shows up i.e. puppeteer. However, when I use commas to delimit like this:

ncu -f chrome-launcher,puppeteer

Both packages show up. 'Switching to commas for now, but wanted to bring this to your attention for a fix.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions