make `outdated` ignore private packages

review please :)

fixes #6762
whitespace: `{ dev : true }` is the currently prevailing style