Skip to content

Commit

Permalink
v2.5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiasrw committed Oct 10, 2017
1 parent d92bb3b commit a99a1ac
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 21 deletions.
8 changes: 4 additions & 4 deletions build/ES5/rexreplace.cli.bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -14487,7 +14487,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
var path = require('path');
var globs = require('globs');

var version = '2.5.2';
var version = '2.5.3-dev';

module.exports = function (config) {
var _require2 = require('./output')(config),
Expand All @@ -14499,11 +14499,11 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
die = _require2.die,
kill = _require2.kill;

config.pattern = getFinalPattern(config);
config.pattern = getFinalPattern(config) || '';

config.replacement = getFinalReplacement(config);
config.replacement = getFinalReplacement(config) || '';

config.regex = getFinalRegex(config);
config.regex = getFinalRegex(config) || '';

// data is piped in and will always be printed - but must be ignored if files are also given
if (null !== config.pipedData && !config.replacementPipe) {
Expand Down
8 changes: 4 additions & 4 deletions build/ES5/rexreplace.core.bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -3431,7 +3431,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
var path = require('path');
var globs = require('globs');

var version = '2.5.2';
var version = '2.5.3-dev';

module.exports = function (config) {
var _require = require('./output')(config),
Expand All @@ -3443,11 +3443,11 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
die = _require.die,
kill = _require.kill;

config.pattern = getFinalPattern(config);
config.pattern = getFinalPattern(config) || '';

config.replacement = getFinalReplacement(config);
config.replacement = getFinalReplacement(config) || '';

config.regex = getFinalRegex(config);
config.regex = getFinalRegex(config) || '';

// data is piped in and will always be printed - but must be ignored if files are also given
if (null !== config.pipedData && !config.replacementPipe) {
Expand Down
8 changes: 4 additions & 4 deletions build/ES6/rexreplace.cli.bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -15439,17 +15439,17 @@ const fs = require('fs');
const path = require('path');
const globs = require('globs');

const version = '2.5.2';
const version = '2.5.3-dev';

module.exports = function(config){

let {step, debug, chat, info, error, die, kill} = require('./output')(config);

config.pattern = getFinalPattern(config);
config.pattern = getFinalPattern(config)||'';

config.replacement = getFinalReplacement(config);
config.replacement = getFinalReplacement(config)||'';

config.regex = getFinalRegex(config);
config.regex = getFinalRegex(config)||'';

// data is piped in and will always be printed - but must be ignored if files are also given
if(null !== config.pipedData && !config.replacementPipe){
Expand Down
8 changes: 4 additions & 4 deletions build/ES6/rexreplace.core.bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -3665,17 +3665,17 @@ const fs = require('fs');
const path = require('path');
const globs = require('globs');

const version = '2.5.2';
const version = '2.5.3-dev';

module.exports = function(config){

let {step, debug, chat, info, error, die, kill} = require('./output')(config);

config.pattern = getFinalPattern(config);
config.pattern = getFinalPattern(config)||'';

config.replacement = getFinalReplacement(config);
config.replacement = getFinalReplacement(config)||'';

config.regex = getFinalRegex(config);
config.regex = getFinalRegex(config)||'';

// data is piped in and will always be printed - but must be ignored if files are also given
if(null !== config.pipedData && !config.replacementPipe){
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rexreplace",
"version": "2.5.3-dev",
"version": "2.5.3",
"description": "Flexible CLI regex replace in files.",
"author": "Mathias Rangel Wulff",
"license": "MIT",
Expand Down
8 changes: 4 additions & 4 deletions src/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@ const fs = require('fs');
const path = require('path');
const globs = require('globs');

const version = '2.5.2';
const version = '2.5.3-dev';

module.exports = function(config){

let {step, debug, chat, info, error, die, kill} = require('./output')(config);

config.pattern = getFinalPattern(config);
config.pattern = getFinalPattern(config)||'';

config.replacement = getFinalReplacement(config);
config.replacement = getFinalReplacement(config)||'';

config.regex = getFinalRegex(config);
config.regex = getFinalRegex(config)||'';

// data is piped in and will always be printed - but must be ignored if files are also given
if(null !== config.pipedData && !config.replacementPipe){
Expand Down

0 comments on commit a99a1ac

Please sign in to comment.