@putout/engine-runner 19.0.0 → 19.0.2
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/lib/index.js +2 -1
- package/package.json +4 -4
package/lib/index.js
CHANGED
|
@@ -10,12 +10,13 @@ const superFind = require('./super-find');
|
|
|
10
10
|
const include = require('./include');
|
|
11
11
|
const replace = require('./replace');
|
|
12
12
|
const declare = require('./declare');
|
|
13
|
+
const template = require('./template');
|
|
13
14
|
|
|
14
15
|
const {getPath, getPosition} = require('./get-position');
|
|
15
16
|
|
|
16
17
|
const isRemoved = (a) => a?.removed;
|
|
17
18
|
|
|
18
|
-
module.exports.runPlugins = ({ast, shebang, fix, fixCount, plugins
|
|
19
|
+
module.exports.runPlugins = ({ast, shebang, fix, fixCount, plugins}) => {
|
|
19
20
|
let places = [];
|
|
20
21
|
|
|
21
22
|
const merge = once(mergeVisitors);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@putout/engine-runner",
|
|
3
|
-
"version": "19.0.
|
|
3
|
+
"version": "19.0.2",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
|
|
6
6
|
"description": "Run 🐊Putout plugins",
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@putout/babel": "^1.0.5",
|
|
28
28
|
"@putout/compare": "^13.0.0",
|
|
29
|
-
"@putout/engine-parser": "^
|
|
30
|
-
"@putout/operate": "^
|
|
29
|
+
"@putout/engine-parser": "^9.0.0",
|
|
30
|
+
"@putout/operate": "^11.0.0",
|
|
31
31
|
"@putout/operator-declare": "^8.0.0",
|
|
32
32
|
"debug": "^4.1.1",
|
|
33
33
|
"jessy": "^3.0.0",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"c8": "^8.0.0",
|
|
46
46
|
"eslint": "^8.0.1",
|
|
47
47
|
"eslint-plugin-n": "^16.0.0",
|
|
48
|
-
"eslint-plugin-putout": "^
|
|
48
|
+
"eslint-plugin-putout": "^20.0.0",
|
|
49
49
|
"just-camel-case": "^4.0.2",
|
|
50
50
|
"lerna": "^6.0.1",
|
|
51
51
|
"madrun": "^9.0.0",
|