source-map-js을(를) 0.x에서 1.x로 업그레이드하기
source-map-js 0.6.2과 1.2.2의 공개 API를 TypeScript 타입에서 자동으로 비교한 결과입니다. 시그니처 변경은 호환성이 깨질 가능성이 있다는 뜻이며 확정은 아닙니다.
요약
| 삭제된 import 경로 | 0 |
|---|---|
| 삭제된 export | 0 |
| 변경된 시그니처 | 0 |
| 삭제된 클래스·인터페이스 멤버 | 0 |
| 변경된 클래스·인터페이스 멤버 | 10 |
| 새로 지원 중단됨 | 0 |
| 요구 사항 변경 (engines, peer 의존성) | 1 |
| 새 export | 0 |
삭제된 export
감지되지 않았습니다.
변경된 시그니처
감지되지 않았습니다.
삭제된 클래스·인터페이스 멤버
감지되지 않았습니다.
변경된 클래스·인터페이스 멤버
| member | 이전 | 이후 |
|---|---|---|
Mapping.name | string | undefined | string | null | undefined |
Mapping.source | string | string | null | undefined |
Mapping.original | Position | Position | null | undefined |
MappingItem.name | string | string | null |
MappingItem.source | string | string | null |
MappingItem.originalLine | number | number | null |
MappingItem.originalColumn | number | number | null |
SourceMapConsumer.sourceContentFor | (source: string, returnNullOnMissing?: boolean | undefined): string | (source: string, returnNullOnMissing?: boolean | undefined): string | null |
SourceMapGenerator.setSourceContent | (sourceFile: string, sourceContent: string): void | (sourceFile: string, sourceContent: string | null | undefined): void |
SourceMapGenerator.static fromSourceMap | (sourceMapConsumer: SourceMapConsumer): SourceMapGenerator | (sourceMapConsumer: SourceMapConsumer, startOfSourceMap?: StartOfSourceMap | undefined): SourceMapGenerator |
새로 지원 중단됨
감지되지 않았습니다.
요구 사항 변경 (engines, peer 의존성)
| 이전 | 이후 | |
|---|---|---|
engines.node | >=0.10.0 | — |
자주 묻는 질문
source-map-js을(를) 0에서 1(으)로 업그레이드할 때 호환성이 깨지는 변경은 무엇인가요?
source-map-js 0.6.2과 1.2.2 사이에서 Vigia는 삭제된 export 0개, 변경된 시그니처 0개, 삭제되거나 변경된 클래스·인터페이스 멤버 10개를 찾았습니다.
source-map-js 1에서 지원 중단된 것은 무엇인가요?
source-map-js 1.2.2에서 export 또는 멤버 0개가 새로 지원 중단으로 표시되었습니다.
에이전트용
GET https://vigia.coredls.cloud/v1/packages/npm/source-map-js/upgrade?from=0.6.2&to=1.2.2