Vigia

Atualizar victory-selection-container de 37.x para 38.x

Comparação da API pública de victory-selection-container 37.4.1 e 38.0.0, calculada automaticamente a partir dos tipos TypeScript. Uma assinatura alterada é uma possível mudança incompatível, não uma certeza.

Resumo

Caminhos de importação removidos0
Exports removidos0
Assinaturas alteradas2
Membros de classes ou interfaces removidos0
Membros de classes ou interfaces alterados0
Novas descontinuações0
Mudanças de requisitos (engines, dependências peer)1
Novos exports0

Exports removidos

Nenhuma detectada.

Assinaturas alteradas

exportAntesDepois
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; }; }

Membros de classes ou interfaces removidos

Nenhuma detectada.

Membros de classes ou interfaces alterados

Nenhuma detectada.

Novas descontinuações

Nenhuma detectada.

Mudanças de requisitos (engines, dependências peer)

AntesDepois
peerDependencies.react>=16.6.0>=18

Changelog entre estas versões

Texto publicado pelos autores do pacote, exibido como está.

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.

Dê estes dados ao seu agente de IA

Vigia é um servidor MCP gratuito: seu agente de programação verifica versões, mudanças incompatíveis e vulnerabilidades antes de escrever código. Sem cadastro, sem chave de API.

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

Adicionar ao CursorAdicionar ao VS Code★ Estrela no GitHub

Qualquer outro cliente MCP
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }

Skill para agentes (SKILL.md): diz ao agente quando usar o Vigia · GitHub Action para pull requests

Perguntas frequentes

Quais são as mudanças incompatíveis ao atualizar victory-selection-container de 37 para 38?

Entre victory-selection-container 37.4.1 e 38.0.0, o Vigia encontrou 0 exports removidos, 2 assinaturas alteradas e 0 membros de classes ou interfaces removidos ou alterados.

O que foi descontinuado em victory-selection-container 38?

0 exports ou membros foram marcados como descontinuados em victory-selection-container 38.0.0.

Para agentes

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