@putout/engine-runner 12.1.0 → 12.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -15,7 +15,8 @@ npm i @putout/engine-runner
15
15
 
16
16
  ### Replacer
17
17
 
18
- `Replacer` converts code in declarative way. Simplest possible form, no need to use `fix`. Just `from` and `to` parts.
18
+ `Replacer` converts code in declarative way. Simplest possible form, no need to use `fix`. Just `from` and `to` parts
19
+ according to [`template variables syntax`](https://github.com/coderaiser/putout/tree/master/packages/compare#supported-template-variables).
19
20
 
20
21
  Simplest replace example:
21
22
 
package/lib/index.js CHANGED
@@ -122,6 +122,7 @@ function runWithoutMerge({ast, fix, shebang, template, pluginsFind}) {
122
122
  path: item,
123
123
  rule,
124
124
  position,
125
+ options,
125
126
  });
126
127
  }
127
128
  }
package/lib/store.js CHANGED
@@ -57,9 +57,7 @@ function createStore({set}) {
57
57
  map = {};
58
58
  };
59
59
 
60
- fn.entries = () => {
61
- return entries(map);
62
- };
60
+ fn.entries = () => entries(map);
63
61
 
64
62
  return fn;
65
63
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@putout/engine-runner",
3
- "version": "12.1.0",
3
+ "version": "12.1.1",
4
4
  "type": "commonjs",
5
5
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
6
6
  "description": "run putout plugins",