@types/json-schema을(를) 6.x에서 7.x로 업그레이드하기
@types/json-schema 6.0.1과 7.0.15의 공개 API를 TypeScript 타입에서 자동으로 비교한 결과입니다. 시그니처 변경은 호환성이 깨질 가능성이 있다는 뜻이며 확정은 아닙니다.
요약
| 삭제된 import 경로 | 0 |
|---|---|
| 삭제된 export | 0 |
| 변경된 시그니처 | 2 |
| 삭제된 클래스·인터페이스 멤버 | 0 |
| 변경된 클래스·인터페이스 멤버 | 15 |
| 새로 지원 중단됨 | 0 |
| 요구 사항 변경 (engines, peer 의존성) | 0 |
| 새 export | 19 |
삭제된 export
감지되지 않았습니다.
변경된 시그니처
| export | 이전 | 이후 |
|---|---|---|
@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 |
삭제된 클래스·인터페이스 멤버
감지되지 않았습니다.
변경된 클래스·인터페이스 멤버
| member | 이전 | 이후 |
|---|---|---|
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 |
새로 지원 중단됨
감지되지 않았습니다.
요구 사항 변경 (engines, peer 의존성)
감지되지 않았습니다.
새 export (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 |
자주 묻는 질문
@types/json-schema을(를) 6에서 7(으)로 업그레이드할 때 호환성이 깨지는 변경은 무엇인가요?
@types/json-schema 6.0.1과 7.0.15 사이에서 Vigia는 삭제된 export 0개, 변경된 시그니처 2개, 삭제되거나 변경된 클래스·인터페이스 멤버 15개를 찾았습니다.
@types/json-schema 7에서 지원 중단된 것은 무엇인가요?
@types/json-schema 7.0.15에서 export 또는 멤버 0개가 새로 지원 중단으로 표시되었습니다.
에이전트용
GET https://vigia.coredls.cloud/v1/packages/npm/@types/json-schema/upgrade?from=6.0.1&to=7.0.15