Vigia

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 paths0
Removed exports0
Changed signatures1
Removed class or interface members0
Changed class or interface members1
Newly deprecated0
Requirement changes (engines, peer dependencies)1
New exports9

Removed exports

None detected.

Changed signatures

exportBeforeAfter
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

memberBeforeAfter
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)

BeforeAfter
engines.node>= 10.13.0—
New exports (9)
importexportkind
schema-utilsSchematype
schema-utilsprecompilefunction
schema-utilsJSONSchema4type
schema-utilsJSONSchema6type
schema-utilsJSONSchema7type
schema-utilsExtendedSchematype
schema-utilsPrecompiledChecktype
schema-utilsPrecompileOptionstype
schema-utilsValidationErrorConfigurationtype

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