Upgrading @rsdoctor/core from 1.x to 2.x
Comparison of the public API of @rsdoctor/core 1.6.5 and 2.0.0, computed automatically from their TypeScript types. A changed signature is a candidate for a breaking change, not a certainty.
Summary
| Removed import paths | 4 |
|---|---|
| Removed exports | 14 |
| Changed signatures | 1 |
| Removed class or interface members | 0 |
| Changed class or interface members | 1 |
| Newly deprecated | 0 |
| Requirement changes (engines, peer dependencies) | 2 |
| New exports | 11 |
Removed import paths
| Removed import paths |
|---|
@rsdoctor/core/rules |
@rsdoctor/core/types |
@rsdoctor/core/plugins |
@rsdoctor/core/build-utils |
Removed exports
| import | export | kind | Before |
|---|---|---|---|
@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 |
Changed signatures
| export | Before | After |
|---|---|---|
@rsdoctor/core · RsdoctorRspackPluginOptions | interface | Plugin_2.RsdoctorRspackPluginOptions<Rules> |
Removed class or interface members
None detected.
Changed class or interface members
| member | Before | After |
|---|---|---|
RsdoctorPluginInstance.options | Plugin.RsdoctorPluginOptionsNormalized<Rules> | Plugin_2.RsdoctorPluginOptionsNormalized<Rules> |
Newly deprecated
None detected.
Requirement changes (engines, peer dependencies)
| Before | After | |
|---|---|---|
engines.node | — | ^20.19.0 || >=22.12.0 |
peerDependencies.@rspack/core | — | ^2.0.0 |
New exports (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 |
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What are the breaking changes when upgrading @rsdoctor/core from 1 to 2?
Between @rsdoctor/core 1.6.5 and 2.0.0, Vigia found 14 removed exports, 1 changed signatures and 1 removed or changed class or interface members.
What became deprecated in @rsdoctor/core 2?
0 exports or members are newly marked as deprecated in @rsdoctor/core 2.0.0.
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/@rsdoctor/core/upgrade?from=1.6.5&to=2.0.0