Vigia

Actualizar @types/json-schema de 6.x a 7.x

Comparación de la API pública de @types/json-schema 6.0.1 y 7.0.15, calculada automáticamente a partir de sus tipos TypeScript. Una firma modificada es un posible cambio incompatible, no una certeza.

Resumen

Rutas de importación eliminadas0
Exports eliminados0
Firmas modificadas2
Miembros de clases o interfaces eliminados0
Miembros de clases o interfaces modificados15
Nuevas deprecaciones0
Cambios de requisitos (engines, dependencias peer)0
Exports nuevos19

Exports eliminados

No se detectaron.

Firmas modificadas

exportAntesDespués
@types/json-schema · JSONSchema4Typestring | number | boolean | object | any[] | nullstring | number | boolean | JSONSchema4Object | JSONSchema4Array | null
@types/json-schema · JSONSchema6Typestring | number | boolean | object | any[] | nullstring | number | boolean | JSONSchema6Object | JSONSchema6Array | null

Miembros de clases o interfaces eliminados

No se detectaron.

Miembros de clases o interfaces modificados

memberAntesDespués
JSONSchema4.requiredfalse | string[] | undefinedboolean | string[] | undefined
JSONSchema6.notboolean | JSONSchema6 | undefinedJSONSchema6Definition | undefined
JSONSchema6.allOfJSONSchema6[] | undefinedJSONSchema6Definition[] | undefined
JSONSchema6.anyOfJSONSchema6[] | undefinedJSONSchema6Definition[] | undefined
JSONSchema6.itemsboolean | JSONSchema6 | JSONSchema6[] | undefinedJSONSchema6Definition | JSONSchema6Definition[] | undefined
JSONSchema6.oneOfJSONSchema6[] | undefinedJSONSchema6Definition[] | undefined
JSONSchema6.$schema"http://json-schema.org/schema#" | "http://json-schema.org/hyper-schema#" | "http://json-schema.org/draft-06/schema#" | "http://json-schema.org/draft-06/hyper-schema#" | undefinedstring | undefined
JSONSchema6.containsboolean | JSONSchema6 | undefinedJSONSchema6Definition | undefined
JSONSchema6.properties{ [k: string]: boolean | JSONSchema6; } | undefined{ [k: string]: JSONSchema6Definition; } | undefined
JSONSchema6.definitions{ [k: string]: boolean | JSONSchema6; } | undefined{ [k: string]: JSONSchema6Definition; } | undefined
JSONSchema6.dependencies{ [k: string]: boolean | string[] | JSONSchema6; } | undefined{ [k: string]: string[] | JSONSchema6Definition; } | undefined
JSONSchema6.propertyNamesboolean | JSONSchema6 | undefinedJSONSchema6Definition | undefined
JSONSchema6.additionalItemsboolean | JSONSchema6 | undefinedJSONSchema6Definition | undefined
JSONSchema6.patternProperties{ [k: string]: boolean | JSONSchema6; } | undefined{ [k: string]: JSONSchema6Definition; } | undefined
JSONSchema6.additionalPropertiesboolean | JSONSchema6 | undefinedJSONSchema6Definition | undefined

Nuevas deprecaciones

No se detectaron.

Cambios de requisitos (engines, dependencias peer)

No se detectaron.

Exports nuevos (19)
importexportkind
@types/json-schemavalidatefunction
@types/json-schemaJSONSchema7interface
@types/json-schemamustBeValidfunction
@types/json-schemaJSONSchema7Typetype
@types/json-schemaValidationErrorinterface
@types/json-schemaJSONSchema4Arrayinterface
@types/json-schemaJSONSchema6Arrayinterface
@types/json-schemaJSONSchema7Arrayinterface
@types/json-schemaValidationResultinterface
@types/json-schemaJSONSchema4Objectinterface
@types/json-schemaJSONSchema6Objectinterface
@types/json-schemaJSONSchema7Objectinterface
@types/json-schemaJSONSchema4Versiontype
@types/json-schemaJSONSchema6Versiontype
@types/json-schemaJSONSchema7Versiontype
@types/json-schemaJSONSchema7TypeNametype
@types/json-schemacheckPropertyChangefunction
@types/json-schemaJSONSchema6Definitiontype
@types/json-schemaJSONSchema7Definitiontype

Preguntas frecuentes

¿Cuáles son los cambios incompatibles al actualizar @types/json-schema de 6 a 7?

Entre @types/json-schema 6.0.1 y 7.0.15, Vigia encontró 0 exports eliminados, 2 firmas modificadas y 15 miembros de clases o interfaces eliminados o modificados.

¿Qué quedó deprecado en @types/json-schema 7?

0 exports o miembros quedaron marcados como deprecados en @types/json-schema 7.0.15.

Para agentes

GET https://vigia.coredls.cloud/v1/packages/npm/@types/json-schema/upgrade?from=6.0.1&to=7.0.15