@putout/engine-runner
Advanced tools
Comparing version 9.3.2 to 10.0.0
@@ -18,3 +18,3 @@ 'use strict'; | ||
const isRemoved = (a) => a && a.removed; | ||
const isRemoved = (a) => a?.removed; | ||
@@ -21,0 +21,0 @@ module.exports.runPlugins = ({ast, shebang, fix, fixCount, plugins, template = require('./template')}) => { |
@@ -9,5 +9,3 @@ 'use strict'; | ||
const name = '__putout_runner_replace'; | ||
const hasWatermark = (watermark) => (path) => path.node && path.node[name] && path.node[name] && path.node[name].has(watermark); | ||
// uncomment on node v14 | ||
//const hasWatermark = (watermark) => (path) => path.node?.[name]?.has(watermark); | ||
const hasWatermark = (watermark) => (path) => path.node?.[name]?.has(watermark); | ||
@@ -14,0 +12,0 @@ module.exports = (from, to, path) => { |
{ | ||
"name": "@putout/engine-runner", | ||
"version": "9.3.2", | ||
"version": "10.0.0", | ||
"author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)", | ||
@@ -15,15 +15,9 @@ "description": "run putout plugins", | ||
}, | ||
"nyc": { | ||
"exclude": [ | ||
"**/*.spec.js", | ||
"test" | ||
] | ||
}, | ||
"scripts": { | ||
"test": "madrun test", | ||
"watch:test": "madrun watch:test", | ||
"lint:lib": "madrun lint:lib", | ||
"lint": "madrun lint", | ||
"fresh:lint": "madrun fresh:lint", | ||
"lint:fresh": "madrun lint:fresh", | ||
"fix:lint": "madrun fix:lint", | ||
"putout": "madrun putout", | ||
"coverage": "madrun coverage", | ||
@@ -35,5 +29,5 @@ "report": "madrun report" | ||
"@babel/types": "^7.12.7", | ||
"@putout/compare": "^6.0.0", | ||
"@putout/compare": "^7.0.0", | ||
"@putout/engine-parser": "^3.0.0", | ||
"@putout/operate": "^5.0.0", | ||
"@putout/operate": "^6.0.0", | ||
"debug": "^4.1.1", | ||
@@ -64,7 +58,7 @@ "jessy": "^3.0.0", | ||
"putout": "*", | ||
"supertape": "^3.4.2" | ||
"supertape": "^4.0.0" | ||
}, | ||
"license": "MIT", | ||
"engines": { | ||
"node": ">=12" | ||
"node": ">=14" | ||
}, | ||
@@ -71,0 +65,0 @@ "publishConfig": { |
26426
648
+ Added@putout/compare@7.13.0(transitive)
+ Added@putout/engine-parser@4.10.2(transitive)
+ Added@putout/operate@6.15.0(transitive)
+ Addedestree-to-babel@4.9.0(transitive)
- Removed@putout/compare@6.1.1(transitive)
- Removed@putout/operate@5.0.1(transitive)
Updated@putout/compare@^7.0.0
Updated@putout/operate@^6.0.0