Vigia

Aggiornare @types/json-schema da 6.x a 7.x

Confronto dell’API pubblica di @types/json-schema 6.0.1 e 7.0.15, calcolato automaticamente dai tipi TypeScript. Una firma modificata è una possibile modifica incompatibile, non una certezza.

Riepilogo

Percorsi di import rimossi0
Export rimossi0
Firme modificate2
Membri di classi o interfacce rimossi0
Membri di classi o interfacce modificati15
Nuove deprecazioni0
Requisiti cambiati (engines, dipendenze peer)0
Nuovi export19

Export rimossi

Nessuna rilevata.

Firme modificate

exportPrimaDopo
@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

Membri di classi o interfacce rimossi

Nessuna rilevata.

Membri di classi o interfacce modificati

memberPrimaDopo
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

Nuove deprecazioni

Nessuna rilevata.

Requisiti cambiati (engines, dipendenze peer)

Nessuna rilevata.

Nuovi export (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

Domande frequenti

Quali sono le modifiche incompatibili aggiornando @types/json-schema da 6 a 7?

Tra @types/json-schema 6.0.1 e 7.0.15, Vigia ha trovato 0 export rimossi, 2 firme modificate e 15 membri di classi o interfacce rimossi o modificati.

Cosa è stato deprecato in @types/json-schema 7?

0 export o membri risultano ora deprecati in @types/json-schema 7.0.15.

Per gli agenti

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