Vigia

Aktualizacja @blazediff/core z 1.x do 2.x

Porównanie publicznego API @blazediff/core 1.10.0 i 2.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 eksporty1
Zmienione sygnatury8
Usunięte składowe klas lub interfejsów0
Zmienione składowe klas lub interfejsów1
Nowo wycofane0
Zmiany wymagań (engines, zależności peer)0
Nowe eksporty14

Usunięte eksporty

importexportkindPrzed
@blazediff/coreCoreOptionsinterfaceinterface

Zmienione sygnatury

exportPrzedPo
@blazediff/core · diff(image1: any, image2: any, output: any, width: number, height: number, { threshold, alpha, aaColor, diffColor, includeAA, diffColorAlt, diffMask, fastBufferCheck, }?: CoreOptions | undefined): number(a: Image, b: Image, options?: DiffOptions | undefined): DiffResult
@blazediff/core · default(image1: any, image2: any, output: any, width: number, height: number, { threshold, alpha, aaColor, diffColor, includeAA, diffColorAlt, diffMask, fastBufferCheck, }?: CoreOptions | undefined): number(a: Image, b: Image, options?: DiffOptions | undefined): DiffResult
@blazediff/core · drawPixel(output: any, position: number, r: number, g: number, b: number): void(output: PixelData, position: number, r: number, g: number, b: number): void
@blazediff/core · colorDelta(image1: any, image2: any, k: number, m: number): number(image1: PixelData, image2: PixelData, k: number, m: number): number
@blazediff/core · antialiased(image: any, x1: number, y1: number, width: number, height: number, a32: Uint32Array<ArrayBufferLike>, b32: Uint32Array<ArrayBufferLike>): boolean(image: PixelData, x1: number, y1: number, width: number, height: number, a32: Uint32Array<ArrayBufferLike>, b32: Uint32Array<ArrayBufferLike>, overWhite?: boolean | undefined): boolean
@blazediff/core · isValidImage(arr: unknown): arr is any(arr: unknown): arr is PixelData
@blazediff/core · drawGrayPixel(image: any, index: number, alpha: number, output: any): void(image: PixelData, index: number, alpha: number, output: PixelData): void
@blazediff/core · brightnessDelta(image1: any, image2: any, k: number, m: number): number(image1: PixelData, image2: PixelData, k: number, m: number): number

Usunięte składowe klas lub interfejsów

Nie wykryto.

Zmienione składowe klas lub interfejsów

memberPrzedPo
Image.dataanyPixelData

Nowo wycofane

Nie wykryto.

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

Nie wykryto.

Nowe eksporty (14)
importexportkind
@blazediff/coreRgbtype
@blazediff/coreSizeinterface
@blazediff/coreMetrictype
@blazediff/corePixelDatatype
@blazediff/coreWindowHitinterface
@blazediff/coreDiffResulttype
@blazediff/corewindowSidefunction
@blazediff/coreDiffOptionsinterface
@blazediff/coreassertImagefunction
@blazediff/coreRenderOptionsinterface
@blazediff/coreassertOptionsfunction
@blazediff/coreassertTargetsfunction
@blazediff/coreBlazeDiffErrorclass
@blazediff/coreBlazeDiffErrorCodetype

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 @blazediff/core z 1 do 2?

Między @blazediff/core 1.10.0 a 2.0.0 Vigia znalazła 1 usuniętych eksportów, 8 zmienionych sygnatur i 1 usuniętych lub zmienionych składowych klas lub interfejsów.

Co zostało wycofane w @blazediff/core 2?

0 eksportów lub składowych oznaczono w @blazediff/core 2.0.0 jako wycofane.

Dla agentów

GET https://vigia.coredls.cloud/v1/packages/npm/@blazediff/core/upgrade?from=1.10.0&to=2.0.0