Aktualizacja victory-zoom-container z 37.x do 38.x
Porównanie publicznego API victory-zoom-container 37.4.1 i 38.0.0, obliczone automatycznie na podstawie typów TypeScript. Zmieniona sygnatura to możliwa zmiana niekompatybilna, a nie pewność.
Podsumowanie
| Usunięte ścieżki importu | 0 |
|---|---|
| Usunięte eksporty | 0 |
| Zmienione sygnatury | 3 |
| Usunięte składowe klas lub interfejsów | 0 |
| Zmienione składowe klas lub interfejsów | 0 |
| Nowo wycofane | 0 |
| Zmiany wymagań (engines, zależności peer) | 1 |
| Nowe eksporty | 0 |
Usunięte eksporty
Nie wykryto.
Zmienione sygnatury
| export | Przed | Po |
|---|---|---|
victory-zoom-container · VictoryZoomContainer | (initialProps: VictoryZoomContainerProps): JSX.Element | (initialProps: VictoryZoomContainerProps): React.JSX.Element |
victory-zoom-container · useVictoryZoomContainer | (initialProps: VictoryZoomContainerProps): { props: { domain: ZoomDomain; originalDomain: ZoomDomain; currentDomain: ZoomDomain; cachedZoomDomain: ZoomDomain; scale: any; polar: boolean; origin: { x: number; y: number; }; allowPan: boolean; allowZoom: boolean; clipContainerComponent: JSX.Element; disable?: boolean | undefined; downsample?: number | boolean | undefined; minimumZoom?: { x?: number | undefined; y?: number | undefined; } | undefined; onZoomDomainChange?: ((domain: ZoomDomain, props: VictoryZoomContainerProps) => void) | undefined; zoomDimension?: ZoomDimensionType | undefined; zoo… | (initialProps: VictoryZoomContainerProps): { props: { domain: ZoomDomain; originalDomain: ZoomDomain; currentDomain: ZoomDomain; cachedZoomDomain: ZoomDomain; scale: any; polar: boolean; origin: { x: number; y: number; }; allowPan: boolean; allowZoom: boolean; clipContainerComponent: React.JSX.Element; disable?: boolean | undefined; downsample?: number | boolean | undefined; minimumZoom?: { x?: number | undefined; y?: number | undefined; } | undefined; onZoomDomainChange?: ((domain: ZoomDomain, props: VictoryZoomContainerProps) => void) | undefined; zoomDimension?: ZoomDimensionType | undefine… |
victory-zoom-container · VICTORY_ZOOM_CONTAINER_DEFAULT_PROPS | { clipContainerComponent: JSX.Element; allowPan: boolean; allowZoom: boolean; zoomActive: boolean; } | { clipContainerComponent: React.JSX.Element; allowPan: boolean; allowZoom: boolean; zoomActive: boolean; } |
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)
| Przed | Po | |
|---|---|---|
peerDependencies.react | >=16.6.0 | >=18 |
Changelog między tymi wersjami
Tekst opublikowany przez autorów pakietu, pokazany bez zmian.
38.0.0
### Major Changes
- [#3138](https://github.com/FormidableLabs/victory/pull/3138) [`b7ebc3e`](https://github.com/FormidableLabs/victory/commit/b7ebc3e316d05740f11d4e8b8072d420db6ccfad) - Require React 18 or later: the `react` peer dependency is now `>=18` (was `>=16.6.0`). If you're on React 16 or 17, stay on Victory 37.x until you upgrade React.
- [#3107](https://github.com/FormidableLabs/victory/pull/3107) [`4c436bd`](https://github.com/FormidableLabs/victory/commit/4c436bd47b835e795e96bc205cdf9c590fe92ddb) - Remove the UMD bundles (`dist/<package>.js` and `dist/<package>.min.js`). To use Victory in the browser without a build step, import it as ESM from a CDN with an import map; see [Using Victory in the browser](https://commerce.nearform.com/open-source/victory/docs/introduction/browser).
- [#3108](https://github.com/FormidableLabs/victory/pull/3108) [`8f16467`](https://github.com/FormidableLabs/victory/commit/8f1646767d6059d764541118284cf71cc1da5c95) - Packages are now built with tsdown and published from `dist/`, with an `exports` map:
- ESM is `dist/*.mjs` and CommonJS is `dist/*.cjs`, with matching `.d.mts`/`.d.cts` types. `main`, `module` and `types` still point at them for older tooling.
- Only the package root (and `package.json`) can be imported. Deep imports into `lib/`, `es/` or `src/` no longer resolve; import from the package root instead (for example `import { Helpers } from "victory-core"`).
- The output targets ES2022 and is no longer down-leveled further. If you support older browsers, transpile `node_modules` in your bundler.
- `src/` is no longer published.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 victory-zoom-container z 37 do 38?
Między victory-zoom-container 37.4.1 a 38.0.0 Vigia znalazła 0 usuniętych eksportów, 3 zmienionych sygnatur i 0 usuniętych lub zmienionych składowych klas lub interfejsów.
Co zostało wycofane w victory-zoom-container 38?
0 eksportów lub składowych oznaczono w victory-zoom-container 38.0.0 jako wycofane.
Dla agentów
GET https://vigia.coredls.cloud/v1/packages/npm/victory-zoom-container/upgrade?from=37.4.1&to=38.0.0