@types/json-schema upgraden van 6.x naar 7.x
Vergelijking van de publieke API van @types/json-schema 6.0.1 en 7.0.15, automatisch berekend uit hun TypeScript-types. Een gewijzigde signatuur is een mogelijke brekende wijziging, geen zekerheid.
Samenvatting
| Verwijderde importpaden | 0 |
|---|---|
| Verwijderde exports | 0 |
| Gewijzigde signaturen | 2 |
| Verwijderde leden van klassen of interfaces | 0 |
| Gewijzigde leden van klassen of interfaces | 15 |
| Nieuw als verouderd gemarkeerd | 0 |
| Gewijzigde vereisten (engines, peer-afhankelijkheden) | 0 |
| Nieuwe exports | 19 |
Verwijderde exports
Niets gevonden.
Gewijzigde signaturen
| export | Voor | Na |
|---|---|---|
@types/json-schema · JSONSchema4Type | string | number | boolean | object | any[] | null | string | number | boolean | JSONSchema4Object | JSONSchema4Array | null |
@types/json-schema · JSONSchema6Type | string | number | boolean | object | any[] | null | string | number | boolean | JSONSchema6Object | JSONSchema6Array | null |
Verwijderde leden van klassen of interfaces
Niets gevonden.
Gewijzigde leden van klassen of interfaces
| member | Voor | Na |
|---|---|---|
JSONSchema4.required | false | string[] | undefined | boolean | string[] | undefined |
JSONSchema6.not | boolean | JSONSchema6 | undefined | JSONSchema6Definition | undefined |
JSONSchema6.allOf | JSONSchema6[] | undefined | JSONSchema6Definition[] | undefined |
JSONSchema6.anyOf | JSONSchema6[] | undefined | JSONSchema6Definition[] | undefined |
JSONSchema6.items | boolean | JSONSchema6 | JSONSchema6[] | undefined | JSONSchema6Definition | JSONSchema6Definition[] | undefined |
JSONSchema6.oneOf | JSONSchema6[] | undefined | JSONSchema6Definition[] | 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#" | undefined | string | undefined |
JSONSchema6.contains | boolean | JSONSchema6 | undefined | JSONSchema6Definition | 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.propertyNames | boolean | JSONSchema6 | undefined | JSONSchema6Definition | undefined |
JSONSchema6.additionalItems | boolean | JSONSchema6 | undefined | JSONSchema6Definition | undefined |
JSONSchema6.patternProperties | { [k: string]: boolean | JSONSchema6; } | undefined | { [k: string]: JSONSchema6Definition; } | undefined |
JSONSchema6.additionalProperties | boolean | JSONSchema6 | undefined | JSONSchema6Definition | undefined |
Nieuw als verouderd gemarkeerd
Niets gevonden.
Gewijzigde vereisten (engines, peer-afhankelijkheden)
Niets gevonden.
Nieuwe exports (19)
| import | export | kind |
|---|---|---|
@types/json-schema | validate | function |
@types/json-schema | JSONSchema7 | interface |
@types/json-schema | mustBeValid | function |
@types/json-schema | JSONSchema7Type | type |
@types/json-schema | ValidationError | interface |
@types/json-schema | JSONSchema4Array | interface |
@types/json-schema | JSONSchema6Array | interface |
@types/json-schema | JSONSchema7Array | interface |
@types/json-schema | ValidationResult | interface |
@types/json-schema | JSONSchema4Object | interface |
@types/json-schema | JSONSchema6Object | interface |
@types/json-schema | JSONSchema7Object | interface |
@types/json-schema | JSONSchema4Version | type |
@types/json-schema | JSONSchema6Version | type |
@types/json-schema | JSONSchema7Version | type |
@types/json-schema | JSONSchema7TypeName | type |
@types/json-schema | checkPropertyChange | function |
@types/json-schema | JSONSchema6Definition | type |
@types/json-schema | JSONSchema7Definition | type |
Veelgestelde vragen
Wat zijn de brekende wijzigingen bij het upgraden van @types/json-schema van 6 naar 7?
Tussen @types/json-schema 6.0.1 en 7.0.15 vond Vigia 0 verwijderde exports, 2 gewijzigde signaturen en 15 verwijderde of gewijzigde leden van klassen of interfaces.
Wat is verouderd in @types/json-schema 7?
0 exports of leden zijn in @types/json-schema 7.0.15 nieuw als verouderd gemarkeerd.
Voor agents
GET https://vigia.coredls.cloud/v1/packages/npm/@types/json-schema/upgrade?from=6.0.1&to=7.0.15