Upgrading schema-utils from 3.x to 4.x
Comparison of the public API of schema-utils 3.3.0 and 4.8.3, computed automatically from their TypeScript types. A changed signature is a candidate for a breaking change, not a certainty.
Summary
| Removed import paths | 0 |
|---|---|
| Removed exports | 0 |
| Changed signatures | 1 |
| Removed class or interface members | 0 |
| Changed class or interface members | 1 |
| Newly deprecated | 0 |
| Requirement changes (engines, peer dependencies) | 1 |
| New exports | 9 |
Removed exports
None detected.
Changed signatures
| export | Before | After |
|---|---|---|
schema-utils · validate | (schema: any, options: object | object[], configuration?: ValidationErrorConfiguration | undefined): void | (schema: any, options: object | object[], configuration?: ValidationErrorConfiguration | undefined, check?: PrecompiledCheck | undefined): void |
Removed class or interface members
None detected.
Changed class or interface members
| member | Before | After |
|---|---|---|
ValidationError.formatSchema | (schema: any, logic?: boolean | undefined, prevSchemas?: Object[] | undefined): string | (schema: any, logic?: boolean | undefined, prevSchemas?: object[] | undefined): string |
Newly deprecated
None detected.
Requirement changes (engines, peer dependencies)
| Before | After | |
|---|---|---|
engines.node | >= 10.13.0 | — |
New exports (9)
| import | export | kind |
|---|---|---|
schema-utils | Schema | type |
schema-utils | precompile | function |
schema-utils | JSONSchema4 | type |
schema-utils | JSONSchema6 | type |
schema-utils | JSONSchema7 | type |
schema-utils | ExtendedSchema | type |
schema-utils | PrecompiledCheck | type |
schema-utils | PrecompileOptions | type |
schema-utils | ValidationErrorConfiguration | type |
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 schema-utils from 3 to 4?
Between schema-utils 3.3.0 and 4.8.3, Vigia found 0 removed exports, 1 changed signatures and 1 removed or changed class or interface members.
What became deprecated in schema-utils 4?
0 exports or members are newly marked as deprecated in schema-utils 4.8.3.
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/schema-utils/upgrade?from=3.3.0&to=4.8.3