@putout/engine-runner 16.0.0 → 16.0.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.
@@ -164,7 +164,9 @@ function parseTo(to, values, path) {
164
164
  if (!isString(toStr))
165
165
  throw Error(`☝️ Looks like you passed 'replace' value with a wrong type. Allowed: 'string', 'node' and 'path'. Received: '${typeof toStr}' with value '${toStr}'.`);
166
166
 
167
- return template.ast.fresh(toStr);
167
+ const node = template.ast.fresh(toStr);
168
+
169
+ return node;
168
170
  }
169
171
 
170
172
  function validateMatchProperty(match) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@putout/engine-runner",
3
- "version": "16.0.0",
3
+ "version": "16.0.1",
4
4
  "type": "commonjs",
5
5
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
6
6
  "description": "Run 🐊Putout plugins",
@@ -26,7 +26,7 @@
26
26
  "dependencies": {
27
27
  "@babel/traverse": "^7.12.7",
28
28
  "@babel/types": "^7.12.7",
29
- "@putout/compare": "^9.0.0",
29
+ "@putout/compare": "^10.0.0",
30
30
  "@putout/engine-parser": "^6.0.0",
31
31
  "@putout/operate": "^8.0.0",
32
32
  "@putout/operator-declare": "^5.0.0",
@@ -45,7 +45,7 @@
45
45
  "@babel/plugin-codemod-optional-catch-binding": "^7.7.4",
46
46
  "c8": "^7.5.0",
47
47
  "eslint": "^8.0.1",
48
- "eslint-plugin-n": "^15.2.4",
48
+ "eslint-plugin-n": "^16.0.0",
49
49
  "eslint-plugin-putout": "^17.0.0",
50
50
  "just-camel-case": "^4.0.2",
51
51
  "lerna": "^6.0.1",