automutate
Advanced tools
Comparing version 0.6.2 to 0.7.0
@@ -1,21 +0,6 @@ | ||
import { ILogger } from "./logger"; | ||
import { IMutationsApplier } from "./mutationsApplier"; | ||
import { IMutationsProvider } from "./mutationsProvider"; | ||
import { IMutationRunSettings } from "./runMutations"; | ||
/** | ||
* Settings to initialize a new IAutoMutator. | ||
*/ | ||
export interface IAutoMutatorSettings { | ||
/** | ||
* Generates output messages for significant operations. | ||
*/ | ||
logger?: ILogger; | ||
/** | ||
* Applies individual waves of file mutations. | ||
*/ | ||
mutationsApplier?: IMutationsApplier; | ||
/** | ||
* Provides waves of file mutations. | ||
*/ | ||
mutationsProvider: IMutationsProvider; | ||
} | ||
export declare type IAutoMutatorSettings = IMutationRunSettings; | ||
/** | ||
@@ -34,2 +19,4 @@ * Runs waves of file mutations. | ||
* Runs waves of file mutations. | ||
* | ||
* @deprecated Use `runMutations` from ./runMutations instead. | ||
*/ | ||
@@ -36,0 +23,0 @@ export declare class AutoMutator implements IAutoMutator { |
@@ -42,2 +42,4 @@ "use strict"; | ||
* Runs waves of file mutations. | ||
* | ||
* @deprecated Use `runMutations` from ./runMutations instead. | ||
*/ | ||
@@ -44,0 +46,0 @@ var AutoMutator = /** @class */ (function () { |
{ | ||
"name": "automutate", | ||
"version": "0.6.2", | ||
"version": "0.7.0", | ||
"description": "Applies waves of mutations provided by other tools, such as linters.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -6,2 +6,3 @@ import { ILogger } from "./logger"; | ||
import { IMutationsProvider, IMutationsWave } from "./mutationsProvider"; | ||
import { IMutationRunSettings } from "./runMutations"; | ||
@@ -11,19 +12,4 @@ /** | ||
*/ | ||
export interface IAutoMutatorSettings { | ||
/** | ||
* Generates output messages for significant operations. | ||
*/ | ||
logger?: ILogger; | ||
export type IAutoMutatorSettings = IMutationRunSettings; | ||
/** | ||
* Applies individual waves of file mutations. | ||
*/ | ||
mutationsApplier?: IMutationsApplier; | ||
/** | ||
* Provides waves of file mutations. | ||
*/ | ||
mutationsProvider: IMutationsProvider; | ||
} | ||
/** | ||
@@ -43,2 +29,4 @@ * Runs waves of file mutations. | ||
* Runs waves of file mutations. | ||
* | ||
* @deprecated Use `runMutations` from ./runMutations instead. | ||
*/ | ||
@@ -45,0 +33,0 @@ export class AutoMutator implements IAutoMutator { |
Sorry, the diff of this file is not supported yet
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
217887
161
4702