Vigia

Aktualizacja stylelint z 17.x do 18.x

Porównanie publicznego API stylelint 17.16.0 i 18.0.0, obliczone automatycznie na podstawie typów TypeScript. Zmieniona sygnatura to możliwa zmiana niekompatybilna, a nie pewność.

Podsumowanie

Usunięte ścieżki importu0
Usunięte eksporty0
Zmienione sygnatury6
Usunięte składowe klas lub interfejsów0
Zmienione składowe klas lub interfejsów0
Nowo wycofane0
Zmiany wymagań (engines, zależności peer)1
Nowe eksporty1

Usunięte eksporty

Nie wykryto.

Zmienione sygnatury

exportPrzedPo
stylelint · CoreRules{ 'alpha-value-notation': CoreRule<"number" | "percentage", { exceptProperties: OneOrMany<StringOrRegex>; }, AutofixMessage>; 'annotation-no-unknown': CoreRule<true, { ignoreAnnotations: OneOrMany<StringOrRegex>; }, RejectedMessage<[annotation: string]>>; 'at-rule-allowed-list': CoreRule<OneOrMany<StringOrRegex>, {}, RejectedMessage<[atRule: string]>>; 'at-rule-descriptor-no-unknown': CoreRule<true, {}, RejectedMessage<[atRule: string, descriptor: string]>>; 'at-rule-descriptor-value-no-unknown': CoreRule<true, {}, RejectedMessage<[descriptor: string, value: string]>>; 'at-rule-disallowed-list…{ 'alpha-value-notation': CoreRule<"number" | "percentage", { exceptProperties: OneOrMany<StringOrRegex>; }, AutofixMessage>; 'annotation-no-unknown': CoreRule<true, { ignoreAnnotations: OneOrMany<StringOrRegex>; }, RejectedMessage<[annotation: string]>>; 'at-charset-rule-no-invalid': CoreRule<true, {}, RejectedMessage<[reason: string]>>; 'at-rule-allowed-list': CoreRule<OneOrMany<StringOrRegex>, {}, RejectedMessage<[atRule: string]>>; 'at-rule-descriptor-no-unknown': CoreRule<true, {}, RejectedMessage<[atRule: string, descriptor: string]>>; 'at-rule-descriptor-value-no-unknown': CoreRule<true…
stylelint · InternalApi{ _options: LinterOptions & { cwd: string; }; _extendExplorer: any; _configExplorer: any; _specifiedConfigCache: Map<Config, Map<string, any>>; _augmentedConfigCache: Map<string, any>; _postcssResultCache: Map<string, PostCSS.Result>; _compiledOverridesCache: Map<string, CompiledOverride[]>; _fileCache: FileCache; }{ _options: LinterOptions & { cwd: string; }; _extendExplorer: any; _configExplorer: any; _specifiedConfigCache: Map<Config, Map<string, any>>; _augmentedConfigCache: Map<string, any>; _postcssResultCache: Map<string, { result: PostCSS.Result; code: string; }>; _compiledOverridesCache: Map<string, CompiledOverride[]>; _fileCache: FileCache; _referenceFilesCache: Map<string, Promise<string[]>>; _referenceRootsCache: ReferenceRootsCache; }
stylelint · RuleContext{ configurationComment?: string | undefined; fix?: boolean | undefined; newline?: string | undefined; }{ configurationComment?: string | undefined; newline?: string | undefined; }
stylelint · LinterResult{ cwd: string; results: LintResult[]; errored: boolean; report: string; code?: string | undefined; maxWarningsExceeded?: { maxWarnings: number; foundWarnings: number; } | undefined; reportedDisables: DisableOptionsReport; descriptionlessDisables?: DisableOptionsReport | undefined; needlessDisables?: DisableOptionsReport | undefined; invalidScopeDisables?: DisableOptionsReport | undefined; ruleMetadata: { [ruleName: string]: Partial<RuleMeta>; }; }{ cwd: string; results: LintResult[]; errored: boolean; report: string; code?: string | undefined; maxWarningsExceeded?: { maxWarnings: number; foundWarnings: number; } | undefined; color?: boolean | undefined; reportedDisables: DisableOptionsReport; descriptionlessDisables?: DisableOptionsReport | undefined; needlessDisables?: DisableOptionsReport | undefined; invalidScopeDisables?: DisableOptionsReport | undefined; ruleMetadata: { [ruleName: string]: Partial<RuleMeta>; }; }
stylelint · LinterOptions{ abortSignal?: AbortSignal | undefined; files?: OneOrMany<string> | undefined; globbyOptions?: any; cache?: boolean | undefined; cacheLocation?: string | undefined; cacheStrategy?: string | undefined; code?: string | undefined; codeFilename?: string | undefined; config?: Config | undefined; configFile?: string | undefined; configBasedir?: string | undefined; cwd?: string | undefined; ignoreDisables?: boolean | undefined; ignorePath?: OneOrMany<string> | undefined; ignorePattern?: string[] | undefined; reportDescriptionlessDisables?: boolean | undefined; reportNeedlessDisables?: boolean | unde…{ abortSignal?: AbortSignal | undefined; files?: OneOrMany<string> | undefined; globbyOptions?: GlobbyOptions | undefined; cache?: boolean | undefined; cacheLocation?: string | undefined; cacheStrategy?: string | undefined; code?: string | undefined; codeFilename?: string | undefined; config?: Config | undefined; configFile?: string | undefined; configBasedir?: string | undefined; cwd?: string | undefined; ignoreDisables?: boolean | undefined; ignorePath?: OneOrMany<string> | undefined; ignorePattern?: string[] | undefined; reportDescriptionlessDisables?: boolean | undefined; reportNeedlessDis…
stylelint · ShorthandProperties"animation" | "background" | "border" | "border-block" | "border-block-end" | "border-block-start" | "border-inline" | "border-inline-end" | "border-inline-start" | "border-bottom" | "border-color" | "border-image" | "border-left" | "border-radius" | "border-right" | "border-style" | "border-top" | "border-width" | "column-rule" | "columns" | "flex" | "flex-flow" | "font" | "font-synthesis" | "font-variant" | "gap" | "grid" | "grid-area" | "grid-column" | "grid-gap" | "grid-row" | "grid-template" | "inset" | "inset-block" | "inset-inline" | "list-style" | "margin" | "margin-block" | "margin-in…"animation" | "background" | "border" | "border-block" | "border-block-end" | "border-block-start" | "border-inline" | "border-inline-end" | "border-inline-start" | "border-bottom" | "border-color" | "border-image" | "border-left" | "border-radius" | "border-right" | "border-style" | "border-top" | "border-width" | "column-rule" | "columns" | "contain-intrinsic-size" | "flex" | "flex-flow" | "font" | "font-synthesis" | "font-variant" | "gap" | "grid" | "grid-area" | "grid-column" | "grid-gap" | "grid-row" | "grid-template" | "inset" | "inset-block" | "inset-inline" | "list-style" | "margin" | …

Usunięte składowe klas lub interfejsów

Nie wykryto.

Zmienione składowe klas lub interfejsów

Nie wykryto.

Nowo wycofane

Nie wykryto.

Zmiany wymagań (engines, zależności peer)

PrzedPo
engines.node>=20.19.0^22.22.2 || ^24.15.0 || >=26.0.0
Nowe eksporty (1)
importexportkind
stylelintGlobbyOptionstype

Przekaż te dane swojemu agentowi AI

Vigia to darmowy serwer MCP: Twój agent programistyczny sprawdza wersje, zmiany łamiące zgodność i podatności, zanim napisze kod. Bez rejestracji i klucza API.

claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp

Dodaj do CursorDodaj do VS Code★ Gwiazdka na GitHubie

Dowolny inny klient MCP
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }

Skill dla agentów (SKILL.md): mówi agentowi, kiedy używać Vigii · GitHub Action dla pull requestów

Najczęściej zadawane pytania

Jakie są zmiany niekompatybilne przy aktualizacji stylelint z 17 do 18?

Między stylelint 17.16.0 a 18.0.0 Vigia znalazła 0 usuniętych eksportów, 6 zmienionych sygnatur i 0 usuniętych lub zmienionych składowych klas lub interfejsów.

Co zostało wycofane w stylelint 18?

0 eksportów lub składowych oznaczono w stylelint 18.0.0 jako wycofane.

Dla agentów

GET https://vigia.coredls.cloud/v1/packages/npm/stylelint/upgrade?from=17.16.0&to=18.0.0