Vigia

@types/json-schema を 6.x から 7.x へアップグレード

@types/json-schema 6.0.1 と 7.0.15 の公開 API を、TypeScript の型から自動的に比較したものです。シグネチャの変更は破壊的変更の候補であり、確定ではありません。

概要

削除されたインポートパス0
削除されたエクスポート0
変更されたシグネチャ2
削除されたクラス/インターフェースのメンバー0
変更されたクラス/インターフェースのメンバー15
新たに非推奨0
要件の変更(engines、peer 依存関係)0
新しいエクスポート19

削除されたエクスポート

検出されませんでした。

変更されたシグネチャ

export変更前変更後
@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

削除されたクラス/インターフェースのメンバー

検出されませんでした。

変更されたクラス/インターフェースのメンバー

member変更前変更後
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

新たに非推奨

検出されませんでした。

要件の変更(engines、peer 依存関係)

検出されませんでした。

新しいエクスポート (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

よくある質問

@types/json-schema を 6 から 7 にアップグレードする際の破壊的変更は?

@types/json-schema 6.0.1 と 7.0.15 の間で、Vigia は削除されたエクスポートを 0 件、変更されたシグネチャを 2 件、削除または変更されたクラス/インターフェースのメンバーを 15 件検出しました。

@types/json-schema 7 で非推奨になったものは?

@types/json-schema 7.0.15 では 0 件のエクスポートまたはメンバーが新たに非推奨になりました。

エージェント向け

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