Commit Graph

172 Commits

Author SHA1 Message Date
Adam Reis
c2cf33dbbf 4.1.3 v4.1.3 2019-08-15 19:27:36 +12:00
Bas Heerschop
21304a6579 [fix] Quiet cli arg not working (#96) 2019-08-15 19:27:02 +12:00
Adam Reis
d2e01374c6 4.1.2 v4.1.2 2019-08-06 09:33:50 +12:00
Adam Reis
76468bbe32 [bump] Update yarn lock 2019-08-06 09:33:42 +12:00
Adam Reis
d07f155722 Merge branch 'master' of github.com:adamreisnz/replace-in-file 2019-08-06 09:32:56 +12:00
Adam Reis
c9213eea5c [bump] Packages update 2019-08-06 09:32:07 +12:00
dependabot[bot]
7b08cfc77c Bump lodash from 4.17.2 to 4.17.15 (#93)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.2 to 4.17.15.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.2...4.17.15)

Signed-off-by: dependabot[bot] <support@github.com>
2019-07-26 22:30:38 +12:00
Adam Reis
15ad49f6c7 4.1.1 v4.1.1 2019-07-04 08:05:58 +12:00
dependabot[bot]
c867812b8a Bump stringstream from 0.0.5 to 0.0.6 (#90)
Bumps [stringstream](https://github.com/mhart/StringStream) from 0.0.5 to 0.0.6.
- [Release notes](https://github.com/mhart/StringStream/releases)
- [Commits](https://github.com/mhart/StringStream/compare/v0.0.5...v0.0.6)

Signed-off-by: dependabot[bot] <support@github.com>
2019-07-04 08:05:11 +12:00
dependabot[bot]
89dda27cc3 Bump is-my-json-valid from 2.15.0 to 2.20.0 (#88)
Bumps [is-my-json-valid](https://github.com/mafintosh/is-my-json-valid) from 2.15.0 to 2.20.0.
- [Release notes](https://github.com/mafintosh/is-my-json-valid/releases)
- [Commits](https://github.com/mafintosh/is-my-json-valid/compare/v2.15.0...v2.20.0)

Signed-off-by: dependabot[bot] <support@github.com>
2019-07-04 08:04:56 +12:00
Juan Pinilla
8fe55fc2bc Fix results TypeScript types (#86)
Types differ from the actual response, the result is an array for both sync and async methods
https://github.com/adamreisnz/replace-in-file/blob/master/lib/replace-in-file.spec.js#L230-L240
https://github.com/adamreisnz/replace-in-file/blob/master/lib/replace-in-file.spec.js#L939-L948
2019-06-08 17:40:28 +12:00
dependabot[bot]
9808759e1f Bump js-yaml from 3.7.0 to 3.13.1 (#84)
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 3.7.0 to 3.13.1.
- [Release notes](https://github.com/nodeca/js-yaml/releases)
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/3.7.0...3.13.1)

Signed-off-by: dependabot[bot] <support@github.com>
2019-06-08 17:24:13 +12:00
dependabot[bot]
2526995227 Bump handlebars from 4.0.6 to 4.1.2 (#85)
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.0.6 to 4.1.2.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.0.6...v4.1.2)

Signed-off-by: dependabot[bot] <support@github.com>
2019-06-08 17:23:55 +12:00
dependabot[bot]
d70abf1c70 Bump sshpk from 1.10.1 to 1.16.1 (#83)
Bumps [sshpk](https://github.com/joyent/node-sshpk) from 1.10.1 to 1.16.1.
- [Release notes](https://github.com/joyent/node-sshpk/releases)
- [Commits](https://github.com/joyent/node-sshpk/commits/v1.16.1)
2019-06-04 19:07:24 +12:00
dependabot[bot]
463a670c73 Bump tar from 2.2.1 to 2.2.2 (#81)
Bumps [tar](https://github.com/npm/node-tar) from 2.2.1 to 2.2.2.
- [Release notes](https://github.com/npm/node-tar/releases)
- [Commits](https://github.com/npm/node-tar/compare/v2.2.1...v2.2.2)
2019-05-28 11:58:19 +12:00
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