@putout/engine-runner
Advanced tools
Comparing version 11.4.1 to 11.5.0
@@ -42,2 +42,3 @@ 'use strict'; | ||
msg, | ||
options, | ||
}); | ||
@@ -82,3 +83,3 @@ | ||
function getStore(plugin, {fix, rule, shebang, msg}) { | ||
function getStore(plugin, {fix, rule, shebang, msg, options}) { | ||
const store = mapStore(); | ||
@@ -101,2 +102,3 @@ const list = listStore(); | ||
position, | ||
options, | ||
}); | ||
@@ -103,0 +105,0 @@ }; |
@@ -7,4 +7,4 @@ 'use strict'; | ||
const tryToFix = (fix, {path, position}) => { | ||
const [e] = tryCatch(fix, path); | ||
const tryToFix = (fix, {path, position, options}) => { | ||
const [e] = tryCatch(fix, path, {options}); | ||
@@ -19,3 +19,3 @@ if (!e) | ||
module.exports = (is, fix, {path, rule, position}) => { | ||
module.exports = (is, fix, {path, rule, position, options}) => { | ||
if (!is) | ||
@@ -29,4 +29,5 @@ return; | ||
position, | ||
options, | ||
}); | ||
}; | ||
{ | ||
"name": "@putout/engine-runner", | ||
"version": "11.4.1", | ||
"version": "11.5.0", | ||
"author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)", | ||
@@ -5,0 +5,0 @@ "description": "run putout plugins", |
@@ -164,3 +164,3 @@ # @putout/engine-runner [![NPM version][NPMIMGURL]][NPMURL] [![Dependency Status][DependencyStatusIMGURL]][DependencyStatusURL] | ||
module.exports.fix = (path) => { | ||
module.exports.fix = (path, {options}) => { | ||
path.remove(); | ||
@@ -167,0 +167,0 @@ }; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
27384
673