12 Commits

Author SHA1 Message Date
Adam Reis
754fd80ff9 [enhance] Allow passing of glob config 2018-03-23 10:29:58 +13:00
CxRes
d94c3aaa49 Callback for from (#46)
* Callback for `from`

Added a callback for `from`, which takes file as an argument. Allows the user to tailor the search string according to the filename.

* Minor Changes to Callback for `from`

Additional comments to explain the callback forms.
Reversed minor version bump.

* Changes to documentation for `to` callback

Reverted to original `to` callback example.
Added a separate example example for using the `file` argument.
2018-03-22 11:42:23 +13:00
Adam Reis
60e7b82f61 Add verbose option 2018-03-07 08:41:45 +13:00
Adam Reis
7bec36e6c5 [bump] Dependencies 2018-02-04 20:25:23 +13:00
Greg Magolan
a0045eae5d Pass filename as last arg to replacer function (#34)
* Pass filename as last arg to replacer function

* - Cleaned up replacer function override to use ES6
- Added replacer function tests to Async callback & Sync specs
2017-09-15 09:30:53 +12:00
Adam Reis
ae5acca527 Coverage back to 100% 2017-09-14 14:38:09 +12:00
Adam Reis
8b45fe754e Fix tests 2017-09-14 14:30:51 +12:00
Adam Reis
cf00882d82 Handle undefined ignore param 2017-08-26 08:19:32 +12:00
Adam Reis
4f4991cfe5 Add sync unit test for ignored files 2017-08-25 07:38:33 +12:00
Kodie Grantham
508ad44b09 Added ignore option (#27)
Ability to ignore files, since Glob doesn't take negated globs anymore since version 4 or 5.
2017-08-25 07:28:43 +12:00
Adam Reis
eee947e744 Add test to prove substring replacement is working 2017-03-12 12:44:20 +13:00
Adam Reis
db4b760d9e CLI functionality 2017-02-13 18:29:46 +13:00