feat(package.json): upgrade to through2

* also make filtering inline in the through/transform stream
* fixes through test case to through2 implementation
this should be a named function regardless of the conditions