Vigia

Passer de victory-selection-container 37.x à 38.x

Comparaison de l’API publique de victory-selection-container 37.4.1 et 38.0.0, calculée automatiquement à partir de leurs types TypeScript. Une signature modifiée est un changement incompatible possible, pas une certitude.

Résumé

Chemins d’importation supprimés0
Exports supprimés0
Signatures modifiées2
Membres de classes ou d’interfaces supprimés0
Membres de classes ou d’interfaces modifiés0
Nouvelles dépréciations0
Changements d’exigences (engines, dépendances peer)1
Nouveaux exports0

Exports supprimés

Aucun détecté.

Signatures modifiées

exportAvantAprès
victory-selection-container · VictorySelectionContainer(initialProps: VictorySelectionContainerProps): JSX.Element(initialProps: VictorySelectionContainerProps): React.JSX.Element
victory-selection-container · VICTORY_SELECTION_CONTAINER_DEFAULT_PROPS{ activateSelectedData: boolean; allowSelection: boolean; selectionComponent: JSX.Element; selectionStyle: { stroke: string; fill: string; fillOpacity: number; }; }{ activateSelectedData: boolean; allowSelection: boolean; selectionComponent: React.JSX.Element; selectionStyle: { stroke: string; fill: string; fillOpacity: number; }; }

Membres de classes ou d’interfaces supprimés

Aucun détecté.

Membres de classes ou d’interfaces modifiés

Aucun détecté.

Nouvelles dépréciations

Aucun détecté.

Changements d’exigences (engines, dépendances peer)

AvantAprès
peerDependencies.react>=16.6.0>=18

Changelog entre ces versions

Texte publié par les auteurs du paquet, affiché tel quel.

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.

Donnez ces données à votre agent IA

Vigia est un serveur MCP gratuit : votre agent de code vérifie les versions, les changements incompatibles et les vulnérabilités avant d'écrire du code. Sans inscription ni clé d'API.

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

Ajouter à CursorAjouter à VS Code★ Étoile sur GitHub

Tout autre client MCP
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }

Skill pour agents (SKILL.md) : indique à l'agent quand utiliser Vigia · GitHub Action pour les pull requests

Questions fréquentes

Quels sont les changements incompatibles en passant de victory-selection-container 37 à 38 ?

Entre victory-selection-container 37.4.1 et 38.0.0, Vigia a trouvé 0 exports supprimés, 2 signatures modifiées et 0 membres de classes ou d’interfaces supprimés ou modifiés.

Qu’est-ce qui a été déprécié dans victory-selection-container 38 ?

0 exports ou membres sont désormais marqués comme dépréciés dans victory-selection-container 38.0.0.

Pour les agents

GET https://vigia.coredls.cloud/v1/packages/npm/victory-selection-container/upgrade?from=37.4.1&to=38.0.0