Vigia

victory-cursor-container: 37.x sürümünden 38.x sürümüne yükseltme

victory-cursor-container 37.4.1 ve 38.0.0 sürümlerinin genel API karşılaştırması, TypeScript tiplerinden otomatik olarak hesaplanır. Değişen bir imza olası bir uyumsuz değişikliktir, kesinlik değildir.

Özet

Kaldırılan içe aktarma yolları0
Kaldırılan dışa aktarımlar0
Değişen imzalar3
Kaldırılan sınıf veya arayüz üyeleri0
Değişen sınıf veya arayüz üyeleri0
Yeni kullanımdan kaldırılanlar0
Gereksinim değişiklikleri (engines, peer bağımlılıkları)1
Yeni dışa aktarımlar0

Kaldırılan dışa aktarımlar

Tespit edilmedi.

Değişen imzalar

exportÖnceSonra
victory-cursor-container · VictoryCursorContainer(initialProps: VictoryCursorContainerProps): JSX.Element(initialProps: VictoryCursorContainerProps): React.JSX.Element
victory-cursor-container · useVictoryCursorContainer(initialProps: VictoryCursorContainerProps): { props: { cursorValue: any; domain: { x: DomainTuple; y: DomainTuple; }; cursorComponent: JSX.Element; cursorDimension?: "x" | "y" | undefined; cursorLabel?: any; cursorLabelComponent: JSX.Element; cursorLabelOffset: any; defaultCursorValue?: any; disable?: boolean | undefined; horizontal?: boolean | undefined; padding?: any; onCursorChange?: ((value: any, props: VictoryCursorContainerProps) => void) | undefined; "aria-describedby"?: string | undefined; "aria-labelledby"?: string | undefined; children?: any; className?: string | undefined; containe…(initialProps: VictoryCursorContainerProps): { props: { cursorValue: any; domain: { x: DomainTuple; y: DomainTuple; }; cursorComponent: React.JSX.Element; cursorDimension?: "x" | "y" | undefined; cursorLabel?: any; cursorLabelComponent: React.JSX.Element; cursorLabelOffset: number | { x: number; y: number; }; defaultCursorValue?: any; disable?: boolean | undefined; horizontal?: boolean | undefined; padding?: any; onCursorChange?: ((value: any, props: VictoryCursorContainerProps) => void) | undefined; "aria-describedby"?: string | undefined; "aria-labelledby"?: string | undefined; children?: an…
victory-cursor-container · VICTORY_CURSOR_CONTAINER_DEFAULT_PROPS{ cursorLabelComponent: JSX.Element; cursorLabelOffset: { x: number; y: number; }; cursorComponent: JSX.Element; }{ cursorLabelComponent: React.JSX.Element; cursorLabelOffset: { x: number; y: number; }; cursorComponent: React.JSX.Element; }

Kaldırılan sınıf veya arayüz üyeleri

Tespit edilmedi.

Değişen sınıf veya arayüz üyeleri

Tespit edilmedi.

Yeni kullanımdan kaldırılanlar

Tespit edilmedi.

Gereksinim değişiklikleri (engines, peer bağımlılıkları)

ÖnceSonra
peerDependencies.react>=16.6.0>=18

Bu sürümler arasındaki changelog

Paket yazarlarının yayımladığı metin, olduğu gibi gösterilir.

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.

Bu verileri yapay zekâ ajanınıza verin

Vigia ücretsiz bir MCP sunucusudur: kodlama ajanınız kod yazmadan önce sürümleri, uyumsuz değişiklikleri ve güvenlik açıklarını kontrol eder. Kayıt ve API anahtarı gerekmez.

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

Cursor'a ekleVS Code'a ekle★ GitHub'da yıldız ver

Diğer tüm MCP istemcileri
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }

Ajan becerisi (SKILL.md): ajana Vigia'yı ne zaman kullanacağını söyler · Pull request için GitHub Action

Sık sorulan sorular

victory-cursor-container paketini 37 sürümünden 38 sürümüne yükseltirken uyumsuz değişiklikler nelerdir?

victory-cursor-container 37.4.1 ile 38.0.0 arasında Vigia 0 kaldırılan dışa aktarım, 3 değişen imza ve 0 kaldırılan veya değişen sınıf ya da arayüz üyesi buldu.

victory-cursor-container 38 sürümünde neler kullanımdan kaldırıldı?

victory-cursor-container 38.0.0 sürümünde 0 dışa aktarım veya üye yeni olarak kullanımdan kaldırılmış işaretlendi.

Ajanlar için

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