sindresorhus

gulp-filter

Filter files in a `vinyl` stream

by sindresorhus

JavaScript

JavaScript100%

Commit activity

Last 12 weeks · 1 commit

Full graph →

Community health

4 of 6 standards met

Community profile →
85
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template
pioug

I am not updating to v4 because it requires large changes https://github.com/nfroidure/streamfilter/blob/master/CHANGELOG.md#400-2024-07-17 Updating the others deps fixes all the existing "vulnerabilities" It's a breaking change as we bump the minimum required version for Node

pioug · 6mo ago
sherlock1982

Version 5.0.0 works ok, version 5.0.1 broken. Looks like a change was made between 5.0.0 and 5.0.1 and now filter just skips everything. Here's a simplified code snippet which: function(svn_revision){ var xmlFilter = filter("../*/.xml", {restore: true}); return gulp.src([ "../Setup/Installed/Data/Http/Templates/*/", ], { base : '../' }) .pipe(xmlFilter) .pipe(replace('@PRODUCT_SVN_BUILD@', svn_revision)) .pipe(xmlFilter.restore) .pipe(gulp.dest("../BinRepo/Templates")); }, Expected behavior: All xml files should have @PRODUCT_SVN_BUILD@ replaced. Actual behavior: Looks like they're just written to dest folder. UPD: Looks like 5.0.0 doesn't work on Linux IssueHunt Summary sindresorhus has been rewarded. Backers (Total: $40.00) issuehunt ($40.00) Submitted pull Requests #25 Add function and component Tips Checkout the Issuehunt explorer to discover more funded issues. Need some help from other developers? Add your repositories on IssueHunt to raise funds.

sherlock1982 · 1y ago
Structured data for AI agents

Repository: sindresorhus/gulp-filter. Description: Filter files in a `vinyl` stream Stars: 312, Forks: 34. Primary language: JavaScript. Languages: JavaScript (100%). License: MIT. Topics: filter, gulp-plugin, javascript, nodejs. Latest release: v10.0.0 (6mo ago). Open PRs: 0, open issues: 0. Last activity: 1mo ago. Community health: 85%. Top contributors: sindresorhus, nfroidure, cb1kenobi, pioug, mariocasciaro, gucong3000, duncanbeevers, leocaseiro, hoho, mjeanroy and others.