Vigia

nock을(를) 14.x에서 15.x로 업그레이드하기

nock 14.0.17과 15.0.1의 공개 API를 TypeScript 타입에서 자동으로 비교한 결과입니다. 시그니처 변경은 호환성이 깨질 가능성이 있다는 뜻이며 확정은 아닙니다.

요약

삭제된 import 경로0
삭제된 export42
변경된 시그니처0
삭제된 클래스·인터페이스 멤버0
변경된 클래스·인터페이스 멤버0
새로 지원 중단됨0
요구 사항 변경 (engines, peer 의존성)1
새 export1

삭제된 export

importexportkind이전
nockBackinterfaceinterface
nockBodytypestring | Record<string, any>
nockbackvariable(fixtureName: string, nockedFn: (nockDone: () => void) => void): void | (fixtureName: string, options: BackOptions, nockedFn: (nockDone: () => void) => void): void | (fixtureName: string, options?: BackOptions | undefined): Promise<{ nockDone: () => void; context: BackContext; }>
nockloadfunction(path: string): Scope[]
nockScopeinterfaceinterface
nockdefinefunction(defs: Definition[]): Scope[]
nockisDonefunction(): boolean
nockOptionsinterfaceinterface
nockemittervariableNodeJS.EventEmitter
nockrestorefunction(): void
nockBackModetype"wild" | "dryrun" | "record" | "update" | "lockdown"
nockRecorderinterfaceinterface
nockactivatefunction(): void
nockcleanAllfunction(): void
nockisActivefunction(): boolean
nockloadDefsfunction(path: string): Definition[]
nockrecordervariableRecorder
nockReplyBodytypeany
nockDefinitioninterfaceinterface
nockStatusCodetypenumber
nockBackContextinterfaceinterface
nockBackOptionsinterfaceinterface
nockDataMatchertypestring | number | boolean | RegExp | DataMatcherArray | DataMatcherMap | null | undefined
nockInterceptorinterfaceinterface
nockactiveMocksfunction(): string[]
nockReplyHeaderstypeRecord<string, ReplyHeaderValue> | Map<string, ReplyHeaderValue> | ReplyHeaderValue[]
nockpendingMocksfunction(): string[]
nockReplyFnResulttypereadonly [number] | readonly [number, any] | readonly [number, any, ReplyHeaders]
nockDataMatcherMapinterfaceinterface
nockReplyFnContextinterfaceinterface
nockRecorderOptionsinterfaceinterface
nockDataMatcherArrayinterfaceinterface
nockReplyHeaderValuetypestring | string[] | ReplyHeaderFunction
nockenableNetConnectfunction(matcher?: string | RegExp | ((host: string) => boolean) | undefined): void
nockInterceptFunctiontype(uri: string | RegExp | ((uri: string) => boolean), requestBody?: any, interceptorOptions?: Options | undefined) => Interceptor
nockdisableNetConnectfunction(): void
nockremoveInterceptorfunction(interceptor: any): boolean
nockInterceptorSurfaceinterfaceinterface
nockRequestBodyMatchertypeany
nockReplyHeaderFunctiontype(req: ClientRequest, res: IncomingMessage, body: any) => string | string[]
nockRequestHeaderMatchertypestring | RegExp | ((fieldValue: string) => boolean)
nockabortPendingRequestsfunction(): void

변경된 시그니처

감지되지 않았습니다.

삭제된 클래스·인터페이스 멤버

감지되지 않았습니다.

변경된 클래스·인터페이스 멤버

감지되지 않았습니다.

새로 지원 중단됨

감지되지 않았습니다.

요구 사항 변경 (engines, peer 의존성)

이전이후
engines.node>=18.20.0 <20 || >=20.12.1>=20.12.1
새 export (1)
importexportkind
nockdefaultfunction

이 데이터를 AI 에이전트에 제공하세요

Vigia는 무료 MCP 서버입니다. 코딩 에이전트가 코드를 작성하기 전에 버전, 호환성을 깨는 변경, 취약점을 확인합니다. 가입도 API 키도 필요 없습니다.

claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp

Cursor에 추가VS Code에 추가★ GitHub에서 스타 누르기

그 밖의 MCP 클라이언트
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }

에이전트 스킬(SKILL.md): 에이전트에게 Vigia를 언제 쓸지 알려 줍니다 · 풀 리퀘스트용 GitHub Action

자주 묻는 질문

nock을(를) 14에서 15(으)로 업그레이드할 때 호환성이 깨지는 변경은 무엇인가요?

nock 14.0.17과 15.0.1 사이에서 Vigia는 삭제된 export 42개, 변경된 시그니처 0개, 삭제되거나 변경된 클래스·인터페이스 멤버 0개를 찾았습니다.

nock 15에서 지원 중단된 것은 무엇인가요?

nock 15.0.1에서 export 또는 멤버 0개가 새로 지원 중단으로 표시되었습니다.

에이전트용

GET https://vigia.coredls.cloud/v1/packages/npm/nock/upgrade?from=14.0.17&to=15.0.1