Vigia

Nâng cấp @types/json-schema từ 6.x lên 7.x

So sánh API công khai của @types/json-schema 6.0.1 và 7.0.15, được tính tự động từ kiểu TypeScript. Chữ ký thay đổi là thay đổi có thể không tương thích, không phải điều chắc chắn.

Tóm tắt

Đường dẫn import bị xóa0
Export bị xóa0
Chữ ký thay đổi2
Thành viên lớp hoặc interface bị xóa0
Thành viên lớp hoặc interface thay đổi15
Mới bị ngừng hỗ trợ0
Thay đổi yêu cầu (engines, phụ thuộc peer)0
Export mới19

Export bị xóa

Không phát hiện.

Chữ ký thay đổi

exportTrướcSau
@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

Thành viên lớp hoặc interface bị xóa

Không phát hiện.

Thành viên lớp hoặc interface thay đổi

memberTrướcSau
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

Mới bị ngừng hỗ trợ

Không phát hiện.

Thay đổi yêu cầu (engines, phụ thuộc peer)

Không phát hiện.

Export mới (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

Câu hỏi thường gặp

Nâng cấp @types/json-schema từ 6 lên 7 có những thay đổi không tương thích nào?

Giữa @types/json-schema 6.0.1 và 7.0.15, Vigia tìm thấy 0 export bị xóa, 2 chữ ký thay đổi và 15 thành viên lớp hoặc interface bị xóa hay thay đổi.

Những gì bị ngừng hỗ trợ trong @types/json-schema 7?

0 export hoặc thành viên mới bị đánh dấu ngừng hỗ trợ trong @types/json-schema 7.0.15.

Dành cho tác tử

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