157 Commits

Author SHA1 Message Date
Adam Reis
6b8b7ce639 4.1.0 v4.1.0 2019-05-14 21:33:43 +12:00
Jonny Spruce
82a61a166b Add types declaration file (#78) 2019-05-14 21:32:50 +12:00
Adam Reis
3582851700 Update CHANGELOG.md 2019-04-21 13:04:55 +12:00
Adam Reis
1ce362c683 4.0.0 v4.0.0 2019-04-21 13:03:38 +12:00
Adam Reis
27f55721b7 4.0.0 (#74)
* Bump dependencies

* [feature] #38 Count number of matches

* Update make-replacements.js

* [feature] #42 Differentiate number of matches and number of replacements

* [enhance] #56 Support for CWD parameter

* Default config value

* [enhance] #63 Add --quiet flag to supress console output in CLI

* Update success-handler.js

* Update readme and add change log
2019-04-21 13:00:33 +12:00
Adam Reis
d607529227 Update .travis.yml 2019-03-08 19:50:14 +13:00
Adam Reis
2023fa8aff 3.4.4 v3.4.4 2019-03-08 15:15:06 +13:00
Adam Reis
179c82e125 [bump] Update packages 2019-03-08 15:14:00 +13:00
Adam Reis
6f6cbf8ef1 3.4.3 v3.4.3 2019-01-11 19:06:56 +13:00
Osmond van Hemert
f984b38e54 Update yargs version (#66) 2019-01-11 19:06:00 +13:00
Adam Reis
5d8e7eb6ba TOC 2018-08-28 12:28:49 +12:00
Adam Reis
261fd5d5eb Add some regex usage instructions 2018-08-28 12:27:59 +12:00
Adam Reis
54b2dd871d 3.4.2 v3.4.2 2018-08-14 08:58:27 +12:00
Adam Reis
93b5315d43 3.4.1 v3.4.1 2018-08-14 08:57:55 +12:00
Adam Reis
9a2c309a15 Update dependencies 2018-08-14 08:57:39 +12:00
Adam Reis
0f6a4bc56e Add warning note about glob 2018-04-03 14:14:27 +12:00
Adam Reis
893868790c 3.4.0 v3.4.0 2018-03-23 10:30:27 +13:00
Adam Reis
754fd80ff9 [enhance] Allow passing of glob config 2018-03-23 10:29:58 +13:00
Adam Reis
6ed5456aeb 3.3.0 v3.3.0 2018-03-22 11:48:06 +13:00
Adam Reis
5e64df1c89 Tweaks to readme 2018-03-22 11:47:57 +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
015571ab22 Co founder notice 2018-03-16 07:40:46 +13:00
Adam Reis
8e9d7826b7 3.2.0 v3.2.0 2018-03-07 08:42:03 +13:00
Adam Reis
60e7b82f61 Add verbose option 2018-03-07 08:41:45 +13:00
John
153dc27b05 Index added to the readme (#43) 2018-03-07 08:24:00 +13:00
Adam Reis
33dfe50c97 Document async/await usage 2018-02-21 15:36:57 +13:00
Adam Reis
0113977df6 3.1.1 v3.1.1 2018-02-04 20:25:30 +13:00
Adam Reis
7bec36e6c5 [bump] Dependencies 2018-02-04 20:25:23 +13:00
Adam Reis
697ee517a4 Update dependencies 2017-12-21 07:22:16 +13:00
Adam Reis
5c59c87cfe 3.1.0 v3.1.0 2017-12-21 07:20:24 +13:00
Adam Reis
310d37b2fc Fix CLI path resolving for absolute paths 2017-12-21 07:20:06 +13:00
Adam Reis
24ce4a65fb 3.0.0 v3.0.0 2017-11-02 10:38:23 +13:00
Adam Reis
879b41cb95 Revert version 2017-11-02 10:38:03 +13:00
Adam Reis
23235f88b5 Update dependencies 2017-11-02 10:37:23 +13:00
Adam Reis
3470f938fc Merge branch '3.0.0' of github.com:adamreisnz/replace-in-file into 3.0.0 2017-11-02 10:34:40 +13:00
Adam Reis
5da8f26270 3.0.0 2017-11-02 10:33:50 +13:00
Adam Reis
489fed8c03 3.0.0-beta.2 v3.0.0-beta.2 2017-09-15 09:32:03 +12: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
1f5bcedb9e 3.0.0-beta.1 v3.0.0-beta.1 2017-09-14 14:44:13 +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
dc3ea7368e 3.0.0
- Drop deprecated API
- Drop support for Node 4 and 5
- Refactor and clean up code base
- Leverage destructuring
- Option to disable globs (#33)
- Update readme
2017-09-14 14:23:05 +12:00
Adam Reis
c044c5a5cb 2.6.4 v2.6.4 2017-09-04 15:18:57 +12:00
Adam Reis
823cb1183f Explain usage of callbacks in readme 2017-09-04 15:18:40 +12:00
Adam Reis
6e67158700 Add Node 8 to travis test 2017-09-04 14:07:02 +12:00
Adam Reis
372ab9c656 2.6.3 v2.6.3 2017-08-26 08:19:51 +12:00
Adam Reis
cf00882d82 Handle undefined ignore param 2017-08-26 08:19:32 +12:00
Adam Reis
4cbee855f8 2.6.2 v2.6.2 2017-08-25 12:53:33 +12:00
Adam Reis
76fe912ba1 Fix typo 2017-08-25 12:53:16 +12:00
Adam Reis
2aa5eea1e0 2.6.1 v2.6.1 2017-08-25 07:41:36 +12:00