victory-brush-line を 37.x から 38.x へアップグレード
victory-brush-line 37.4.1 と 38.0.0 の公開 API を、TypeScript の型から自動的に比較したものです。シグネチャの変更は破壊的変更の候補であり、確定ではありません。
概要
| 削除されたインポートパス | 0 |
|---|---|
| 削除されたエクスポート | 0 |
| 変更されたシグネチャ | 0 |
| 削除されたクラス/インターフェースのメンバー | 0 |
| 変更されたクラス/インターフェースのメンバー | 3 |
| 新たに非推奨 | 0 |
| 要件の変更(engines、peer 依存関係) | 1 |
| 新しいエクスポート | 0 |
削除されたエクスポート
検出されませんでした。
変更されたシグネチャ
検出されませんでした。
削除されたクラス/インターフェースのメンバー
検出されませんでした。
変更されたクラス/インターフェースのメンバー
| member | 変更前 | 変更後 |
|---|---|---|
VictoryBrushLine.render | (): JSX.Element | (): React.JSX.Element |
VictoryBrushLine.renderLine | (props: any): React.DetailedReactHTMLElement<Pick<any, "scale" | "active" | "x1" | "x2" | "y1" | "y2" | "datum" | "style">, HTMLElement> | (props: any): React.DetailedReactHTMLElement<Pick<any, "x1" | "x2" | "y1" | "y2" | "active" | "style" | "datum" | "scale">, HTMLElement> |
VictoryBrushLine.static defaultProps | { allowDrag: boolean; allowDraw: boolean; allowResize: boolean; brushAreaComponent: JSX.Element; brushComponent: JSX.Element; groupComponent: JSX.Element; handleComponent: JSX.Element; handleWidth: number; lineComponent: JSX.Element; width: number; } | { allowDrag: boolean; allowDraw: boolean; allowResize: boolean; brushAreaComponent: React.JSX.Element; brushComponent: React.JSX.Element; groupComponent: React.JSX.Element; handleComponent: React.JSX.Element; handleWidth: number; lineComponent: React.JSX.Element; width: number; } |
新たに非推奨
検出されませんでした。
要件の変更(engines、peer 依存関係)
| 変更前 | 変更後 | |
|---|---|---|
peerDependencies.react | >=16.6.0 | >=18 |
これらのバージョン間の changelog
パッケージ作者が公開したテキストをそのまま表示しています。
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.このデータを AI エージェントに渡す
Vigia は無料の MCP サーバーです。コーディングエージェントがコードを書く前に、バージョン・破壊的変更・脆弱性を確認できます。登録も API キーも不要です。
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Cursor に追加VS Code に追加★ GitHub でスターを付ける
その他の MCP クライアント
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }エージェント用スキル (SKILL.md):Vigia を使うタイミングをエージェントに伝えます · プルリクエスト用 GitHub Action
よくある質問
victory-brush-line を 37 から 38 にアップグレードする際の破壊的変更は?
victory-brush-line 37.4.1 と 38.0.0 の間で、Vigia は削除されたエクスポートを 0 件、変更されたシグネチャを 0 件、削除または変更されたクラス/インターフェースのメンバーを 3 件検出しました。
victory-brush-line 38 で非推奨になったものは?
victory-brush-line 38.0.0 では 0 件のエクスポートまたはメンバーが新たに非推奨になりました。
エージェント向け
GET https://vigia.coredls.cloud/v1/packages/npm/victory-brush-line/upgrade?from=37.4.1&to=38.0.0