Actualizar victory-voronoi-container de 37.x a 38.x
Comparación de la API pública de victory-voronoi-container 37.4.1 y 38.0.0, calculada automáticamente a partir de sus tipos TypeScript. Una firma modificada es un posible cambio incompatible, no una certeza.
Resumen
| Rutas de importación eliminadas | 0 |
|---|---|
| Exports eliminados | 0 |
| Firmas modificadas | 3 |
| Miembros de clases o interfaces eliminados | 0 |
| Miembros de clases o interfaces modificados | 0 |
| Nuevas deprecaciones | 0 |
| Cambios de requisitos (engines, dependencias peer) | 1 |
| Exports nuevos | 0 |
Exports eliminados
No se detectaron.
Firmas modificadas
| export | Antes | Después |
|---|---|---|
victory-voronoi-container · VictoryVoronoiContainer | (initialProps: VictoryVoronoiContainerProps): JSX.Element | (initialProps: VictoryVoronoiContainerProps): React.JSX.Element |
victory-voronoi-container · useVictoryVoronoiContainer | (initialProps: VictoryVoronoiContainerProps): { props: { mousePosition: { x: number; y: number; }; activePoints: any[]; activateData: boolean; activateLabels: boolean; disable?: boolean | undefined; labels?: ((point: any, index?: number | undefined, points?: any[] | undefined) => string) | undefined; labelComponent: JSX.Element; mouseFollowTooltips?: boolean | undefined; onActivated?: ((points: any[], props: VictoryVoronoiContainerProps) => void) | undefined; onDeactivated?: ((points: any[], props: VictoryVoronoiContainerProps) => void) | undefined; radius?: number | undefined; voronoiBlacklis… | (initialProps: VictoryVoronoiContainerProps): { props: { mousePosition: { x: number; y: number; }; activePoints: any[]; activateData: boolean; activateLabels: boolean; disable?: boolean | undefined; labels?: ((point: any, index?: number | undefined, points?: any[] | undefined) => string) | undefined; labelComponent: React.JSX.Element; mouseFollowTooltips?: boolean | undefined; onActivated?: ((points: any[], props: VictoryVoronoiContainerProps) => void) | undefined; onDeactivated?: ((points: any[], props: VictoryVoronoiContainerProps) => void) | undefined; radius?: number | undefined; voronoiBl… |
victory-voronoi-container · VICTORY_VORONOI_CONTAINER_DEFAULT_PROPS | { activateData: boolean; activateLabels: boolean; labelComponent: JSX.Element; voronoiPadding: number; } | { activateData: boolean; activateLabels: boolean; labelComponent: React.JSX.Element; voronoiPadding: number; } |
Miembros de clases o interfaces eliminados
No se detectaron.
Miembros de clases o interfaces modificados
No se detectaron.
Nuevas deprecaciones
No se detectaron.
Cambios de requisitos (engines, dependencias peer)
| Antes | Después | |
|---|---|---|
peerDependencies.react | >=16.6.0 | >=18 |
Changelog entre estas versiones
Texto publicado por los autores del paquete, mostrado tal cual.
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.
### Patch Changes
- [#3120](https://github.com/FormidableLabs/victory/pull/3120) [`0e0b940`](https://github.com/FormidableLabs/victory/commit/0e0b940b47d371c739e68456f62802c4b11c2625) - Fix `VictoryVoronoiContainer` in strict ESM (Node, webpack for `.mjs`): the `delaunay-find/lib` entry is Babel-compiled CommonJS, so its default import was the whole `module.exports` and mouse moves threw `Delaunay.from is not a function`.Dale estos datos a tu agente de IA
Vigia es un servidor MCP gratuito: tu agente de programación verifica versiones, cambios incompatibles y vulnerabilidades antes de escribir código. Sin registro ni clave de API.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Agregar a CursorAgregar a VS Code★ Estrella en GitHub
Cualquier otro cliente MCP
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Skill para agentes (SKILL.md): le indica al agente cuándo usar Vigia · GitHub Action para pull requests
Preguntas frecuentes
¿Cuáles son los cambios incompatibles al actualizar victory-voronoi-container de 37 a 38?
Entre victory-voronoi-container 37.4.1 y 38.0.0, Vigia encontró 0 exports eliminados, 3 firmas modificadas y 0 miembros de clases o interfaces eliminados o modificados.
¿Qué quedó deprecado en victory-voronoi-container 38?
0 exports o miembros quedaron marcados como deprecados en victory-voronoi-container 38.0.0.
Para agentes
GET https://vigia.coredls.cloud/v1/packages/npm/victory-voronoi-container/upgrade?from=37.4.1&to=38.0.0