Update gulp-replace to the latest version 🚀 #14
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Version 0.6.0 of gulp-replace just got published.
The version 0.6.0 is not covered by your current version range.
Without accepting this pull request your project will work just like it did before. There might be a bunch of new features, fixes and perf improvements that the maintainers worked on for you though.
I recommend you look into these changes and try to get onto the latest version of gulp-replace.
Given that you have a decent test suite, a passing build is a strong indicator that you can take advantage of these changes by merging the proposed change into your project. Otherwise this branch is a great starting point for you to work on the update.
Release Notes
0.6.0this.filefor callback functions to expose the vinyl file object, closes #50. Thanks to @thesebas @asins and @oleggromov for their help in defining the API.Commits
The new version differs by 19 commits.
a69f1d90.6.038be689Add docs for #50 and add function replace examples, closes #77cfc25b8Added tests for this.file, related to #50aeeda61Merge pull request #80 from thesebas/passFilenameToReplaceCallback824e2e8Merge pull request #85 from faust64/patch-1bfcaf93concat-stream known to be vulnerable prior 1.5.299474b3Pass filename to replace callback65b5debMerge pull request #66 from oleggromov/tests-refactoring2bb0bb8Removes more reduntant parameters from vinyl initialization277ec38Moves stream on data callback with stream writing outside the test casesd3fa6ecRemoves unnecessary options from Vinyl config8a7cc40Removes duplication in stream creation6330b4cRemovesreplacementscopy-pastea96a72eGroups options test and removes file existence check682dc61Removes file existence testing from streaming input, because there's no need to test existence of test dataThere are 19 commits in total.
See the full diff
Not sure how things should work exactly?
There is a collection of frequently asked questions and of course you may always ask my humans.
Your Greenkeeper Bot 🌴