@rsdoctor/core を 1.x から 2.x へアップグレード
@rsdoctor/core 1.6.5 と 2.0.0 の公開 API を、TypeScript の型から自動的に比較したものです。シグネチャの変更は破壊的変更の候補であり、確定ではありません。
概要
| 削除されたインポートパス | 4 |
|---|---|
| 削除されたエクスポート | 14 |
| 変更されたシグネチャ | 1 |
| 削除されたクラス/インターフェースのメンバー | 0 |
| 変更されたクラス/インターフェースのメンバー | 1 |
| 新たに非推奨 | 0 |
| 要件の変更(engines、peer 依存関係) | 2 |
| 新しいエクスポート | 11 |
削除されたインポートパス
| 削除されたインポートパス |
|---|
@rsdoctor/core/rules |
@rsdoctor/core/types |
@rsdoctor/core/plugins |
@rsdoctor/core/build-utils |
削除されたエクスポート
| import | export | kind | 変更前 |
|---|---|---|---|
@rsdoctor/core | Rule | interface | interface |
@rsdoctor/core | Build | namespace | namespace |
@rsdoctor/core | InnerPlugins | namespace | namespace |
@rsdoctor/core | AssetsModules | type | { label?: string | undefined; isAsset?: boolean | undefined; modules?: Plugin.StatsModule[] | undefined; } |
@rsdoctor/core | InternalPlugin | interface | interface |
@rsdoctor/core | BasePluginInstance | interface | interface |
@rsdoctor/core | NativePluginConfig | interface | interface |
@rsdoctor/core | ProxyLoaderOptions | interface | interface |
@rsdoctor/core | ProxyLoaderInternalOptions | interface | interface |
@rsdoctor/core | RsdoctorRspackPluginInstance | interface | interface |
@rsdoctor/core | RsdoctorMultiplePluginOptions | interface | interface |
@rsdoctor/core | RsdoctorRspackPluginExperiments | interface | interface |
@rsdoctor/core | RsdoctorRspackPluginOptionsNormalized | type | any |
@rsdoctor/core | RsdoctorRspackPluginExperimentsNormalized | interface | interface |
変更されたシグネチャ
| export | 変更前 | 変更後 |
|---|---|---|
@rsdoctor/core · RsdoctorRspackPluginOptions | interface | Plugin_2.RsdoctorRspackPluginOptions<Rules> |
削除されたクラス/インターフェースのメンバー
検出されませんでした。
変更されたクラス/インターフェースのメンバー
| member | 変更前 | 変更後 |
|---|---|---|
RsdoctorPluginInstance.options | Plugin.RsdoctorPluginOptionsNormalized<Rules> | Plugin_2.RsdoctorPluginOptionsNormalized<Rules> |
新たに非推奨
検出されませんでした。
要件の変更(engines、peer 依存関係)
| 変更前 | 変更後 | |
|---|---|---|
engines.node | — | ^20.19.0 || >=22.12.0 |
peerDependencies.@rspack/core | — | ^2.0.0 |
新しいエクスポート (11)
| import | export | kind |
|---|---|---|
@rsdoctor/core | rules | variable |
@rsdoctor/core | Linter | class |
@rsdoctor/core | logger | variable |
@rsdoctor/core | LinterRule | class |
@rsdoctor/core | LinterType | variable |
@rsdoctor/core | defineRule | function |
@rsdoctor/core | RsdoctorSDK | class |
@rsdoctor/core | RsdoctorRspackPlugin | class |
@rsdoctor/core | migrateRsdoctorOptions | function |
@rsdoctor/core | CompatibleRsdoctorOptions | type |
@rsdoctor/core | resolveClientDiffHtmlPath | variable |
このデータを 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
よくある質問
@rsdoctor/core を 1 から 2 にアップグレードする際の破壊的変更は?
@rsdoctor/core 1.6.5 と 2.0.0 の間で、Vigia は削除されたエクスポートを 14 件、変更されたシグネチャを 1 件、削除または変更されたクラス/インターフェースのメンバーを 1 件検出しました。
@rsdoctor/core 2 で非推奨になったものは?
@rsdoctor/core 2.0.0 では 0 件のエクスポートまたはメンバーが新たに非推奨になりました。
エージェント向け
GET https://vigia.coredls.cloud/v1/packages/npm/@rsdoctor/core/upgrade?from=1.6.5&to=2.0.0