Upgrading eslint-typegen 0.2 to 0.3
Breaking0.2.4 → 0.3.2Breaking1Changed1Fixed1
BreakingUpgrade verdict
1 breaking change.
In plain terms
- The package no longer depends on the @types/eslint type definitions.
Must act 1 item needs code or config changes
Drops @types/eslint.
Installs 7 packages in all (was 9).
What you must change
Breaking1
Removes the @types/eslint dependency.
@types/eslintAPI changes
Generated by DepDelta from published .d.ts files. Not mixed with prose notes.
- changed:
function compileRule(name: string, rule: Rule.RuleModule, compileOptions?: Partial<Options>): Promise<{ name: string; jsdoc: string[]; typeName: string; typeDeclarations: string[] }> → function compileRule(ruleName: string, rule: Rule.RuleModule, compileOptions?: Partial<Options>): Promise<{ name: string; jsdoc: string[]; typeName: string; typeDeclarations: string[] }> - changed:
function flatConfigsToPlugins(configs: Linter.FlatConfig[], options?: FlatConfigsToPluginsOptions): Promise<Record<string, ESLint.Plugin>> → function flatConfigsToPlugins(configs: Linter.Config[], options?: FlatConfigsToPluginsOptions): Promise<Record<string, ESLint.Plugin>> - changed:
function flatConfigsToRulesDTS(configs: Linter.FlatConfig[], options?: FlatConfigsToRulesOptions): Promise<string> → function flatConfigsToRulesDTS(configs: Linter.Config[], options?: FlatConfigsToRulesOptions): Promise<string> - changed:
property FlatConfigsToPluginsOptions.filterConfig?: (config: Linter.FlatConfig) => boolean → property FlatConfigsToPluginsOptions.filterConfig?: (config: Linter.Config) => boolean
- changed:
function default(configs: Promise<Linter.FlatConfig[]> | Linter.FlatConfig[], options?: TypeGenOptions): Promise<Linter.FlatConfig[]> → function default(configs: Promise<Linter.Config[]> | Linter.Config[], options?: TypeGenOptions): Promise<Linter.Config[]>